Lines Matching refs:__crop
372 struct v4l2_rect *__crop; in mt9t001_set_format() local
378 __crop = __mt9t001_get_pad_crop(mt9t001, cfg, format->pad, in mt9t001_set_format()
383 max_t(unsigned int, __crop->width / 8, in mt9t001_set_format()
385 __crop->width); in mt9t001_set_format()
387 max_t(unsigned int, __crop->height / 8, in mt9t001_set_format()
389 __crop->height); in mt9t001_set_format()
391 hratio = DIV_ROUND_CLOSEST(__crop->width, width); in mt9t001_set_format()
392 vratio = DIV_ROUND_CLOSEST(__crop->height, height); in mt9t001_set_format()
396 __format->width = __crop->width / hratio; in mt9t001_set_format()
397 __format->height = __crop->height / vratio; in mt9t001_set_format()
423 struct v4l2_rect *__crop; in mt9t001_set_selection() local
450 __crop = __mt9t001_get_pad_crop(mt9t001, cfg, sel->pad, sel->which); in mt9t001_set_selection()
452 if (rect.width != __crop->width || rect.height != __crop->height) { in mt9t001_set_selection()
462 *__crop = rect; in mt9t001_set_selection()