Lines Matching refs:frame
365 struct flite_frame *frame = &fimc->out_frame; in queue_setup() local
366 const struct fimc_fmt *fmt = frame->fmt; in queue_setup()
375 wh = frame->f_width * frame->f_height; in queue_setup()
621 struct flite_frame *frame = &fimc->inp_frame; in fimc_lite_try_crop() local
623 v4l_bound_align_image(&r->width, 0, frame->f_width, 0, in fimc_lite_try_crop()
624 &r->height, 0, frame->f_height, 0, 0); in fimc_lite_try_crop()
627 r->left = clamp_t(u32, r->left, 0, frame->f_width - r->width); in fimc_lite_try_crop()
629 r->top = clamp_t(u32, r->top, 0, frame->f_height - r->height); in fimc_lite_try_crop()
633 frame->f_width, frame->f_height); in fimc_lite_try_crop()
638 struct flite_frame *frame = &fimc->out_frame; in fimc_lite_try_compose() local
647 r->left = clamp_t(u32, r->left, 0, frame->f_width - r->width); in fimc_lite_try_compose()
653 frame->f_width, frame->f_height); in fimc_lite_try_compose()
695 struct flite_frame *frame = &fimc->out_frame; in fimc_lite_g_fmt_mplane() local
696 const struct fimc_fmt *fmt = frame->fmt; in fimc_lite_g_fmt_mplane()
698 plane_fmt->bytesperline = (frame->f_width * fmt->depth[0]) / 8; in fimc_lite_g_fmt_mplane()
699 plane_fmt->sizeimage = plane_fmt->bytesperline * frame->f_height; in fimc_lite_g_fmt_mplane()
703 pixm->width = frame->f_width; in fimc_lite_g_fmt_mplane()
704 pixm->height = frame->f_height; in fimc_lite_g_fmt_mplane()
766 struct flite_frame *frame = &fimc->out_frame; in fimc_lite_s_fmt_mplane() local
777 frame->fmt = fmt; in fimc_lite_s_fmt_mplane()
780 frame->f_width = pixm->width; in fimc_lite_s_fmt_mplane()
781 frame->f_height = pixm->height; in fimc_lite_s_fmt_mplane()