Searched refs:__crop (Results 1 - 6 of 6) sorted by relevance
/linux-master/drivers/media/i2c/ |
H A D | mt9v032.c | 504 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 D | mt9p031.c | 592 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 D | ov5693.c | 926 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 D | imx214.c | 604 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 D | ov5645.c | 898 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 D | ov7251.c | 1221 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