Lines Matching defs:rect
558 struct v4l2_rect rect;
566 rect.left = clamp(ALIGN(sel->r.left + 1, 2) - 1,
569 rect.top = clamp(ALIGN(sel->r.top + 1, 2) - 1,
572 rect.width = clamp_t(unsigned int, ALIGN(sel->r.width, 2),
575 rect.height = clamp_t(unsigned int, ALIGN(sel->r.height, 2),
579 rect.width = min_t(unsigned int,
580 rect.width, MT9V032_PIXEL_ARRAY_WIDTH - rect.left);
581 rect.height = min_t(unsigned int,
582 rect.height, MT9V032_PIXEL_ARRAY_HEIGHT - rect.top);
586 if (rect.width != __crop->width || rect.height != __crop->height) {
592 __format->width = rect.width;
593 __format->height = rect.height;
601 *__crop = rect;
602 sel->r = rect;