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

/drivers/media/i2c/
H A Dmt9p031.c552 struct v4l2_rect *__crop; local
558 __crop = __mt9p031_get_pad_crop(mt9p031, fh, format->pad,
563 max_t(unsigned int, __crop->width / 7,
565 __crop->width);
567 max_t(unsigned int, __crop->height / 8,
569 __crop->height);
571 hratio = DIV_ROUND_CLOSEST(__crop->width, width);
572 vratio = DIV_ROUND_CLOSEST(__crop->height, height);
576 __format->width = __crop->width / hratio;
577 __format->height = __crop
601 struct v4l2_rect *__crop; local
[all...]
H A Dmt9t001.c372 struct v4l2_rect *__crop; local
378 __crop = __mt9t001_get_pad_crop(mt9t001, fh, format->pad,
383 max_t(unsigned int, __crop->width / 8,
385 __crop->width);
387 max_t(unsigned int, __crop->height / 8,
389 __crop->height);
391 hratio = DIV_ROUND_CLOSEST(__crop->width, width);
392 vratio = DIV_ROUND_CLOSEST(__crop->height, height);
396 __format->width = __crop->width / hratio;
397 __format->height = __crop
421 struct v4l2_rect *__crop; local
[all...]
H A Dmt9v032.c517 struct v4l2_rect *__crop; local
523 __crop = __mt9v032_get_pad_crop(mt9v032, fh, format->pad,
528 max_t(unsigned int, __crop->width / 4,
530 __crop->width);
532 max_t(unsigned int, __crop->height / 4,
534 __crop->height);
536 hratio = mt9v032_calc_ratio(__crop->width, width);
537 vratio = mt9v032_calc_ratio(__crop->height, height);
541 __format->width = __crop->width / hratio;
542 __format->height = __crop
572 struct v4l2_rect *__crop; local
[all...]
H A Dmt9m032.c444 struct v4l2_rect *__crop; local
472 __crop = __mt9m032_get_pad_crop(sensor, fh, crop->which);
474 if (rect.width != __crop->width || rect.height != __crop->height) {
483 *__crop = rect;

Completed in 75 milliseconds