Lines Matching refs:height
14 * v4l2_rect_set_size_to() - copy the width/height values.
15 * @r: rect whose width and height fields will be set
16 * @size: rect containing the width and height fields you need.
22 r->height = size->height;
26 * v4l2_rect_set_min_size() - width and height of r should be >= min_size.
27 * @r: rect whose width and height will be modified
28 * @min_size: rect containing the minimal width and height
35 if (r->height < min_size->height)
36 r->height = min_size->height;
40 * v4l2_rect_set_max_size() - width and height of r should be <= max_size
41 * @r: rect whose width and height will be modified
42 * @max_size: rect containing the maximum width and height
49 if (r->height > max_size->height)
50 r->height = max_size->height;
68 if (r->top + r->height > boundary->top + boundary->height)
69 r->top = boundary->top + boundary->height - r->height;
82 return r1->width == r2->width && r1->height == r2->height;
125 bottom = min(r1->top + r1->height, r2->top + r2->height);
127 r->height = max(0, bottom - r->top);
138 * vertically by @to->height / @from->height.
148 if (from->width == 0 || from->height == 0) {
149 r->left = r->top = r->width = r->height = 0;
154 r->top = ((r->top - from->top) * to->height) / from->height;
155 r->height = (r->height * to->height) / from->height;
181 if (r1->top >= r2->top + r2->height ||
182 r2->top >= r1->top + r1->height)
201 if (r1->top + r1->height > r2->top + r2->height)