Lines Matching refs:width

357 		wh = pixm->width * pixm->height;  in queue_setup()
580 u32 *width, u32 *height, in fimc_capture_try_format() argument
616 v4l_bound_align_image(width, max_t(u32, *width, 32), max_w, 4, in fimc_capture_try_format()
626 *width = ctx->s_frame.f_width; in fimc_capture_try_format()
633 min_w = dst->offs_h + dst->width; in fimc_capture_try_format()
643 v4l_bound_align_image(width, min_w, max_w, in fimc_capture_try_format()
650 pad, code ? *code : 0, *width, *height, in fimc_capture_try_format()
671 r->width = sink->f_width; in fimc_capture_try_selection()
679 max_sc_h = min(SCALER_MAX_HRATIO, 1 << (ffs(sink->width) - 3)); in fimc_capture_try_selection()
711 v4l_bound_align_image(&r->width, min_w, max_w, ffs(min_sz) - 1, in fimc_capture_try_selection()
715 r->left = clamp_t(u32, r->left, 0, sink->f_width - r->width); in fimc_capture_try_selection()
720 target, r->left, r->top, r->width, r->height, in fimc_capture_try_selection()
841 tfmt->width = mf->width; in fimc_pipeline_try_format()
843 ffmt = fimc_capture_try_format(ctx, &tfmt->width, &tfmt->height, in fimc_pipeline_try_format()
845 ffmt = fimc_capture_try_format(ctx, &tfmt->width, &tfmt->height, in fimc_pipeline_try_format()
849 if (mf->width != tfmt->width || mf->height != tfmt->height) in fimc_pipeline_try_format()
929 unsigned int width = 0, height = 0; in __video_try_or_set_format() local
934 fimc_capture_try_format(ctx, &pix->width, &pix->height, in __video_try_or_set_format()
938 width = pix->width; in __video_try_or_set_format()
941 ctx->s_frame.f_width = pix->width; in __video_try_or_set_format()
947 *out_fmt = fimc_capture_try_format(ctx, &pix->width, &pix->height, in __video_try_or_set_format()
955 pix->width = width; in __video_try_or_set_format()
967 mf->width = pix->width; in __video_try_or_set_format()
977 pix->width = mf->width; in __video_try_or_set_format()
981 fimc_adjust_mplane_format(*out_fmt, pix->width, pix->height, pix); in __video_try_or_set_format()
1049 set_frame_bounds(ff, pix->width, pix->height); in __fimc_capture_set_format()
1052 set_frame_crop(ff, 0, 0, pix->width, pix->height); in __fimc_capture_set_format()
1059 set_frame_bounds(&ctx->s_frame, pix->width, pix->height); in __fimc_capture_set_format()
1060 set_frame_crop(&ctx->s_frame, 0, 0, pix->width, pix->height); in __fimc_capture_set_format()
1147 sink_fmt.format.width = ff->f_width; in fimc_pipeline_validate()
1166 if (src_fmt.format.width != sink_fmt.format.width || in fimc_pipeline_validate()
1290 s->r.width = f->o_width; in fimc_cap_g_selection()
1299 s->r.width = f->width; in fimc_cap_g_selection()
1312 if (a->left + a->width > b->left + b->width) in enclosed_rectangle()
1351 set_frame_crop(f, s->r.left, s->r.top, s->r.width, in fimc_cap_s_selection()
1517 mf->width = ff->width; in fimc_subdev_get_fmt()
1547 fmt->pad, mf->code, mf->width, mf->height); in fimc_subdev_set_fmt()
1553 ffmt = fimc_capture_try_format(ctx, &mf->width, &mf->height, in fimc_subdev_set_fmt()
1574 mf->width = ctx->s_frame.width; in fimc_subdev_set_fmt()
1581 set_frame_bounds(ff, mf->width, mf->height); in fimc_subdev_set_fmt()
1592 set_frame_crop(ff, 0, 0, mf->width, mf->height); in fimc_subdev_set_fmt()
1620 r->width = f->o_width; in fimc_subdev_get_selection()
1644 r->width = f->width; in fimc_subdev_get_selection()
1649 sel->pad, r->left, r->top, r->width, r->height, in fimc_subdev_get_selection()
1690 set_frame_crop(f, r->left, r->top, r->width, r->height); in fimc_subdev_set_selection()
1698 r->width, r->height); in fimc_subdev_set_selection()
1722 .width = FIMC_DEFAULT_WIDTH, in fimc_capture_set_default_format()
1791 vid_cap->ci_fmt.width = FIMC_DEFAULT_WIDTH; in fimc_register_capture_device()
1795 ctx->s_frame.width = FIMC_DEFAULT_WIDTH; in fimc_register_capture_device()