Lines Matching full:top
64 if (r->top < boundary->top) in v4l2_rect_map_inside()
65 r->top = boundary->top; in v4l2_rect_map_inside()
68 if (r->top + r->height > boundary->top + boundary->height) in v4l2_rect_map_inside()
69 r->top = boundary->top + boundary->height - r->height; in v4l2_rect_map_inside()
97 r->top = max(r1->top, r2->top); in v4l2_rect_intersect()
99 bottom = min(r1->top + r1->height, r2->top + r2->height); in v4l2_rect_intersect()
101 r->height = max(0, bottom - r->top); in v4l2_rect_intersect()
123 r->left = r->top = r->width = r->height = 0; in v4l2_rect_scale()
128 r->top = ((r->top - from->top) * to->height) / from->height; in v4l2_rect_scale()
151 * IF the top side of r1 is below the bottom of r2 OR in v4l2_rect_overlap()
152 * the top side of r2 is below the bottom of r1 THEN in v4l2_rect_overlap()
155 if (r1->top >= r2->top + r2->height || in v4l2_rect_overlap()
156 r2->top >= r1->top + r1->height) in v4l2_rect_overlap()