Lines Matching refs:rect
564 struct v4l2_rect rect;
572 rect.left = clamp(ALIGN(sel->r.left + 1, 2) - 1,
575 rect.top = clamp(ALIGN(sel->r.top + 1, 2) - 1,
578 rect.width = clamp_t(unsigned int, ALIGN(sel->r.width, 2),
581 rect.height = clamp_t(unsigned int, ALIGN(sel->r.height, 2),
585 rect.width = min_t(unsigned int,
586 rect.width, MT9V032_PIXEL_ARRAY_WIDTH - rect.left);
587 rect.height = min_t(unsigned int,
588 rect.height, MT9V032_PIXEL_ARRAY_HEIGHT - rect.top);
593 if (rect.width != __crop->width || rect.height != __crop->height) {
600 __format->width = rect.width;
601 __format->height = rect.height;
609 *__crop = rect;
610 sel->r = rect;