Lines Matching refs:height
22 r->height = size->height; in v4l2_rect_set_size_to()
35 if (r->height < min_size->height) in v4l2_rect_set_min_size()
36 r->height = min_size->height; in v4l2_rect_set_min_size()
49 if (r->height > max_size->height) in v4l2_rect_set_max_size()
50 r->height = max_size->height; in v4l2_rect_set_max_size()
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()
82 return r1->width == r2->width && r1->height == r2->height; in v4l2_rect_same_size()
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()
122 if (from->width == 0 || from->height == 0) { in v4l2_rect_scale()
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()
129 r->height = (r->height * to->height) / from->height; in v4l2_rect_scale()
155 if (r1->top >= r2->top + r2->height || in v4l2_rect_overlap()
156 r2->top >= r1->top + r1->height) in v4l2_rect_overlap()