Lines Matching defs:rect
432 struct v4l2_rect rect;
440 rect.left = clamp(ALIGN(sel->r.left, 2),
443 rect.top = clamp(ALIGN(sel->r.top, 2),
446 rect.width = clamp_t(unsigned int, ALIGN(sel->r.width, 2),
449 rect.height = clamp_t(unsigned int, ALIGN(sel->r.height, 2),
453 rect.width = min_t(unsigned int, rect.width,
454 MT9T001_PIXEL_ARRAY_WIDTH - rect.left);
455 rect.height = min_t(unsigned int, rect.height,
456 MT9T001_PIXEL_ARRAY_HEIGHT - rect.top);
460 if (rect.width != __crop->width || rect.height != __crop->height) {
466 __format->width = rect.width;
467 __format->height = rect.height;
470 *__crop = rect;
471 sel->r = rect;