Lines Matching refs:__crop
504 struct v4l2_rect *__crop;
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->height / vratio;
562 struct v4l2_rect *__crop;
589 __crop = __mt9v032_get_pad_crop(mt9v032, sd_state, sel->pad,
592 if (rect.width != __crop->width || rect.height != __crop->height) {
608 *__crop = rect;