Lines Matching refs:frame
64 struct mdp_frame *frame;
82 frame = ctx_get_frame(ctx, V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE);
84 mdp_set_src_config(¶m.inputs[0], frame, &src_vb->vb2_buf);
86 frame = ctx_get_frame(ctx, V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE);
88 mdp_set_dst_config(¶m.outputs[0], frame, &dst_vb->vb2_buf);
90 if (mdp_check_pp_enable(ctx->mdp_dev, frame))
102 task.composes[0] = &frame->compose;
299 struct mdp_frame *frame;
302 frame = ctx_get_frame(ctx, f->type);
303 *f = frame->format;
317 struct mdp_frame *frame = ctx_get_frame(ctx, f->type);
330 frame->format = *f;
331 frame->mdp_fmt = fmt;
332 frame->ycbcr_prof = mdp_map_ycbcr_prof_mplane(f, fmt->mdp_color);
333 frame->usage = V4L2_TYPE_IS_OUTPUT(f->type) ?
371 struct mdp_frame *frame;
386 frame = ctx_get_frame(ctx, V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE);
387 s->r = frame->crop.c;
392 frame = ctx_get_frame(ctx, V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE);
393 s->r = frame->compose;
399 frame = ctx_get_frame(ctx, s->type);
402 s->r.width = frame->format.fmt.pix_mp.width;
403 s->r.height = frame->format.fmt.pix_mp.height;
409 frame = ctx_get_frame(ctx, s->type);
412 s->r.width = frame->format.fmt.pix_mp.width;
413 s->r.height = frame->format.fmt.pix_mp.height;
423 struct mdp_frame *frame = ctx_get_frame(ctx, s->type);
441 ret = mdp_try_crop(ctx, &r, s, frame);