Lines Matching refs:subrect
129 struct v4l2_rect subrect;
961 /* We are called with current camera crop, initialise subrect with it */
963 cam->subrect = rect;
1085 struct v4l2_rect *rect = &cam->rect, *subrect = &cam->subrect;
1087 if (rect->width < subrect->width)
1088 subrect->width = rect->width;
1090 if (rect->height < subrect->height)
1091 subrect->height = rect->height;
1093 if (rect->left > subrect->left)
1094 subrect->left = rect->left;
1096 subrect->left + subrect->width)
1097 subrect->left = rect->left + rect->width -
1098 subrect->width;
1100 if (rect->top > subrect->top)
1101 subrect->top = rect->top;
1103 subrect->top + subrect->height)
1104 subrect->top = rect->top + rect->height -
1105 subrect->height;
1339 *width = scale_down(cam->subrect.width, scale_h);
1340 *height = scale_down(cam->subrect.height, scale_v);
1445 cam->subrect = *rect;
1466 a->c = cam->subrect;
1474 * CEU crop, mapped backed onto the client input (subrect).
1481 struct v4l2_rect *cam_subrect = &cam->subrect;