Lines Matching refs:crop
144 struct v4l2_rect *crop;
146 /* Update the sink crop rectangle. */
147 crop = v4l2_subdev_state_get_crop(state, RWPF_PAD_SINK);
148 crop->left = 0;
149 crop->top = 0;
150 crop->width = fmt->format.width;
151 crop->height = fmt->format.height;
222 struct v4l2_rect *crop;
243 /* Make sure the crop rectangle is entirely contained in the image. */
247 * Restrict the crop rectangle coordinates to multiples of 2 to avoid
264 crop = v4l2_subdev_state_get_crop(state, RWPF_PAD_SINK);
265 *crop = sel->r;
269 format->width = crop->width;
270 format->height = crop->height;