• Home
  • Raw
  • Download

Lines Matching refs:frame

195 	struct fimc_frame *frame;  in fimc_buf_prepare()  local
198 frame = ctx_get_frame(ctx, vb->vb2_queue->type); in fimc_buf_prepare()
199 if (IS_ERR(frame)) in fimc_buf_prepare()
200 return PTR_ERR(frame); in fimc_buf_prepare()
202 for (i = 0; i < frame->fmt->memplanes; i++) in fimc_buf_prepare()
203 vb2_set_plane_payload(vb, i, frame->payload[i]); in fimc_buf_prepare()
255 struct fimc_frame *frame = ctx_get_frame(ctx, f->type); in fimc_m2m_g_fmt_mplane() local
257 if (IS_ERR(frame)) in fimc_m2m_g_fmt_mplane()
258 return PTR_ERR(frame); in fimc_m2m_g_fmt_mplane()
260 __fimc_get_format(frame, f); in fimc_m2m_g_fmt_mplane()
317 static void __set_frame_format(struct fimc_frame *frame, struct fimc_fmt *fmt, in __set_frame_format() argument
323 frame->bytesperline[i] = pixm->plane_fmt[i].bytesperline; in __set_frame_format()
324 frame->payload[i] = pixm->plane_fmt[i].sizeimage; in __set_frame_format()
327 frame->f_width = pixm->width; in __set_frame_format()
328 frame->f_height = pixm->height; in __set_frame_format()
329 frame->o_width = pixm->width; in __set_frame_format()
330 frame->o_height = pixm->height; in __set_frame_format()
331 frame->width = pixm->width; in __set_frame_format()
332 frame->height = pixm->height; in __set_frame_format()
333 frame->offs_h = 0; in __set_frame_format()
334 frame->offs_v = 0; in __set_frame_format()
335 frame->fmt = fmt; in __set_frame_format()
345 struct fimc_frame *frame; in fimc_m2m_s_fmt_mplane() local
360 frame = &ctx->s_frame; in fimc_m2m_s_fmt_mplane()
362 frame = &ctx->d_frame; in fimc_m2m_s_fmt_mplane()
369 __set_frame_format(frame, fmt, &f->fmt.pix_mp); in fimc_m2m_s_fmt_mplane()
381 struct fimc_frame *frame; in fimc_m2m_g_selection() local
383 frame = ctx_get_frame(ctx, s->type); in fimc_m2m_g_selection()
384 if (IS_ERR(frame)) in fimc_m2m_g_selection()
385 return PTR_ERR(frame); in fimc_m2m_g_selection()
407 s->r.left = frame->offs_h; in fimc_m2m_g_selection()
408 s->r.top = frame->offs_v; in fimc_m2m_g_selection()
409 s->r.width = frame->width; in fimc_m2m_g_selection()
410 s->r.height = frame->height; in fimc_m2m_g_selection()
418 s->r.width = frame->o_width; in fimc_m2m_g_selection()
419 s->r.height = frame->o_height; in fimc_m2m_g_selection()