Lines Matching defs:crop_rect
32 struct v4l2_rect crop_rect;
163 struct v4l2_rect *crop_rect;
168 crop_rect = v4l2_subdev_get_try_crop(sd, cfg, 0);
171 crop_rect = &vsca->crop_rect;
176 format->format.width = crop_rect->width * sca_mult;
177 format->format.height = crop_rect->height * sca_mult;
209 struct v4l2_rect *crop_rect;
217 crop_rect = &vsca->crop_rect;
220 crop_rect = v4l2_subdev_get_try_crop(sd, cfg, 0);
229 fmt->format.width = crop_rect->width * sca_mult;
230 fmt->format.height = crop_rect->height * sca_mult;
250 vimc_sca_adjust_sink_crop(crop_rect, sink_fmt);
262 struct v4l2_rect *crop_rect;
269 crop_rect = &vsca->crop_rect;
272 crop_rect = v4l2_subdev_get_try_crop(sd, cfg, 0);
277 sel->r = *crop_rect;
295 struct v4l2_rect *crop_rect;
305 crop_rect = &vsca->crop_rect;
308 crop_rect = v4l2_subdev_get_try_crop(sd, cfg, 0);
316 *crop_rect = sel->r;
351 vsca->src_line_size = vsca->crop_rect.width *
355 frame_size = vsca->src_line_size * vsca->crop_rect.height *
400 const struct v4l2_rect crop_rect = vsca->crop_rect;
417 lin -= crop_rect.top;
418 col -= crop_rect.left;
420 crop_rect.width * sca_mult, vsca->bpp);
448 const struct v4l2_rect r = vsca->crop_rect;
514 vsca->crop_rect = crop_rect_default;