Searched refs:__crop (Results 1 - 6 of 6) sorted by relevance

/linux-master/drivers/media/i2c/
H A Dmt9v032.c504 struct v4l2_rect *__crop; local
510 __crop = __mt9v032_get_pad_crop(mt9v032, sd_state, format->pad,
515 max_t(unsigned int, __crop->width / 4,
517 __crop->width);
519 max_t(unsigned int, __crop->height / 4,
521 __crop->height);
523 hratio = mt9v032_calc_ratio(__crop->width, width);
524 vratio = mt9v032_calc_ratio(__crop->height, height);
528 __format->width = __crop->width / hratio;
529 __format->height = __crop
562 struct v4l2_rect *__crop; local
[all...]
H A Dmt9p031.c592 struct v4l2_rect *__crop; local
598 __crop = __mt9p031_get_pad_crop(mt9p031, sd_state, format->pad,
603 max_t(unsigned int, __crop->width / 7,
605 __crop->width);
607 max_t(unsigned int, __crop->height / 8,
609 __crop->height);
611 hratio = DIV_ROUND_CLOSEST(__crop->width, width);
612 vratio = DIV_ROUND_CLOSEST(__crop->height, height);
616 __format->width = __crop->width / hratio;
617 __format->height = __crop
654 struct v4l2_rect *__crop; local
[all...]
H A Dov5693.c926 struct v4l2_rect *__crop; local
952 __crop = __ov5693_get_pad_crop(ov5693, state, sel->pad, sel->which);
954 if (rect.width != __crop->width || rect.height != __crop->height) {
965 *__crop = rect;
1046 struct v4l2_rect *__crop; local
1051 __crop = __ov5693_get_pad_crop(ov5693, state, fse->pad, fse->which);
1052 if (!__crop)
1055 fse->min_width = __crop->width / (fse->index + 1);
1056 fse->min_height = __crop
[all...]
H A Dimx214.c604 struct v4l2_rect *__crop; local
609 __crop = __imx214_get_pad_crop(imx214, sd_state, format->pad,
617 __crop->width = mode->width;
618 __crop->height = mode->height;
622 __format->width = __crop->width;
623 __format->height = __crop->height;
H A Dov5645.c898 struct v4l2_rect *__crop; local
902 __crop = __ov5645_get_pad_crop(ov5645, sd_state, format->pad,
910 __crop->width = new_mode->width;
911 __crop->height = new_mode->height;
929 __format->width = __crop->width;
930 __format->height = __crop->height;
H A Dov7251.c1221 struct v4l2_rect *__crop; local
1227 __crop = __ov7251_get_pad_crop(ov7251, sd_state, format->pad,
1235 __crop->width = new_mode->width;
1236 __crop->height = new_mode->height;
1267 __format->width = __crop->width;
1268 __format->height = __crop->height;

Completed in 188 milliseconds