Lines Matching refs:frame
369 struct flite_frame *frame = &fimc->out_frame; in queue_setup() local
370 const struct fimc_fmt *fmt = frame->fmt; in queue_setup()
379 wh = frame->f_width * frame->f_height; in queue_setup()
624 struct flite_frame *frame = &fimc->inp_frame; in fimc_lite_try_crop() local
626 v4l_bound_align_image(&r->width, 0, frame->f_width, 0, in fimc_lite_try_crop()
627 &r->height, 0, frame->f_height, 0, 0); in fimc_lite_try_crop()
630 r->left = clamp_t(u32, r->left, 0, frame->f_width - r->width); in fimc_lite_try_crop()
632 r->top = clamp_t(u32, r->top, 0, frame->f_height - r->height); in fimc_lite_try_crop()
636 frame->f_width, frame->f_height); in fimc_lite_try_crop()
641 struct flite_frame *frame = &fimc->out_frame; in fimc_lite_try_compose() local
650 r->left = clamp_t(u32, r->left, 0, frame->f_width - r->width); in fimc_lite_try_compose()
656 frame->f_width, frame->f_height); in fimc_lite_try_compose()
698 struct flite_frame *frame = &fimc->out_frame; in fimc_lite_g_fmt_mplane() local
699 const struct fimc_fmt *fmt = frame->fmt; in fimc_lite_g_fmt_mplane()
701 plane_fmt->bytesperline = (frame->f_width * fmt->depth[0]) / 8; in fimc_lite_g_fmt_mplane()
702 plane_fmt->sizeimage = plane_fmt->bytesperline * frame->f_height; in fimc_lite_g_fmt_mplane()
706 pixm->width = frame->f_width; in fimc_lite_g_fmt_mplane()
707 pixm->height = frame->f_height; in fimc_lite_g_fmt_mplane()
769 struct flite_frame *frame = &fimc->out_frame; in fimc_lite_s_fmt_mplane() local
780 frame->fmt = fmt; in fimc_lite_s_fmt_mplane()
783 frame->f_width = pixm->width; in fimc_lite_s_fmt_mplane()
784 frame->f_height = pixm->height; in fimc_lite_s_fmt_mplane()