Lines Matching defs:crop
145 struct mutex lock; /* Protects streaming, format, interval and crop */
150 struct v4l2_rect crop;
183 struct v4l2_rect *crop = &sensor->crop;
191 row_time = mt9m032_row_time(sensor, crop->width);
195 - crop->height;
201 div_u64((crop->height + MT9M032_VBLANK_MAX) *
206 - crop->height;
221 sensor->crop.width - 1);
224 sensor->crop.height - 1);
227 sensor->crop.left);
230 sensor->crop.top);
333 * __mt9m032_get_pad_crop() - get crop rect
335 * @cfg: v4l2_subdev_pad_config for getting the try crop rect from
336 * @which: select try or active crop rect
338 * Returns a pointer the current active or fh relative try crop rect
348 return &sensor->crop;
448 /* Clamp the crop rectangle boundaries and align them to a multiple of 2
468 /* Reset the output image size if the crop rectangle size has
748 sensor->crop.left = MT9M032_COLUMN_START_DEF;
749 sensor->crop.top = MT9M032_ROW_START_DEF;
750 sensor->crop.width = MT9M032_COLUMN_SIZE_DEF;
751 sensor->crop.height = MT9M032_ROW_SIZE_DEF;
753 sensor->format.width = sensor->crop.width;
754 sensor->format.height = sensor->crop.height;