Lines Matching refs:width
362 wh = pixm->width * pixm->height; in queue_setup()
584 u32 *width, u32 *height, in fimc_capture_try_format() argument
620 v4l_bound_align_image(width, max_t(u32, *width, 32), max_w, 4, in fimc_capture_try_format()
630 *width = ctx->s_frame.f_width; in fimc_capture_try_format()
637 min_w = dst->offs_h + dst->width; in fimc_capture_try_format()
647 v4l_bound_align_image(width, min_w, max_w, in fimc_capture_try_format()
654 pad, code ? *code : 0, *width, *height, in fimc_capture_try_format()
675 r->width = sink->f_width; in fimc_capture_try_selection()
683 max_sc_h = min(SCALER_MAX_HRATIO, 1 << (ffs(sink->width) - 3)); in fimc_capture_try_selection()
715 v4l_bound_align_image(&r->width, min_w, max_w, ffs(min_sz) - 1, in fimc_capture_try_selection()
719 r->left = clamp_t(u32, r->left, 0, sink->f_width - r->width); in fimc_capture_try_selection()
724 target, r->left, r->top, r->width, r->height, in fimc_capture_try_selection()
845 tfmt->width = mf->width; in fimc_pipeline_try_format()
847 ffmt = fimc_capture_try_format(ctx, &tfmt->width, &tfmt->height, in fimc_pipeline_try_format()
849 ffmt = fimc_capture_try_format(ctx, &tfmt->width, &tfmt->height, in fimc_pipeline_try_format()
853 if (mf->width != tfmt->width || mf->height != tfmt->height) in fimc_pipeline_try_format()
933 unsigned int width = 0, height = 0; in __video_try_or_set_format() local
938 fimc_capture_try_format(ctx, &pix->width, &pix->height, in __video_try_or_set_format()
942 width = pix->width; in __video_try_or_set_format()
945 ctx->s_frame.f_width = pix->width; in __video_try_or_set_format()
951 *out_fmt = fimc_capture_try_format(ctx, &pix->width, &pix->height, in __video_try_or_set_format()
959 pix->width = width; in __video_try_or_set_format()
971 mf->width = pix->width; in __video_try_or_set_format()
981 pix->width = mf->width; in __video_try_or_set_format()
985 fimc_adjust_mplane_format(*out_fmt, pix->width, pix->height, pix); in __video_try_or_set_format()
1053 set_frame_bounds(ff, pix->width, pix->height); in __fimc_capture_set_format()
1056 set_frame_crop(ff, 0, 0, pix->width, pix->height); in __fimc_capture_set_format()
1063 set_frame_bounds(&ctx->s_frame, pix->width, pix->height); in __fimc_capture_set_format()
1064 set_frame_crop(&ctx->s_frame, 0, 0, pix->width, pix->height); in __fimc_capture_set_format()
1151 sink_fmt.format.width = ff->f_width; in fimc_pipeline_validate()
1170 if (src_fmt.format.width != sink_fmt.format.width || in fimc_pipeline_validate()
1294 s->r.width = f->o_width; in fimc_cap_g_selection()
1303 s->r.width = f->width; in fimc_cap_g_selection()
1316 if (a->left + a->width > b->left + b->width) in enclosed_rectangle()
1355 set_frame_crop(f, s->r.left, s->r.top, s->r.width, in fimc_cap_s_selection()
1520 mf->width = ff->width; in fimc_subdev_get_fmt()
1550 fmt->pad, mf->code, mf->width, mf->height); in fimc_subdev_set_fmt()
1556 ffmt = fimc_capture_try_format(ctx, &mf->width, &mf->height, in fimc_subdev_set_fmt()
1577 mf->width = ctx->s_frame.width; in fimc_subdev_set_fmt()
1584 set_frame_bounds(ff, mf->width, mf->height); in fimc_subdev_set_fmt()
1595 set_frame_crop(ff, 0, 0, mf->width, mf->height); in fimc_subdev_set_fmt()
1623 r->width = f->o_width; in fimc_subdev_get_selection()
1647 r->width = f->width; in fimc_subdev_get_selection()
1652 sel->pad, r->left, r->top, r->width, r->height, in fimc_subdev_get_selection()
1693 set_frame_crop(f, r->left, r->top, r->width, r->height); in fimc_subdev_set_selection()
1701 r->width, r->height); in fimc_subdev_set_selection()
1725 .width = FIMC_DEFAULT_WIDTH, in fimc_capture_set_default_format()
1794 vid_cap->ci_fmt.width = FIMC_DEFAULT_WIDTH; in fimc_register_capture_device()
1798 ctx->s_frame.width = FIMC_DEFAULT_WIDTH; in fimc_register_capture_device()