Lines Matching refs:top

40   return ((rect.bottom > rect.top) && (rect.right > rect.left));  in IsValid()
45 (rect1.top == rect2.top) && in IsCongruent()
52 prefix, roi.left, roi.top, roi.right, roi.bottom); in LogI()
57 prefix, roi.left, roi.top, roi.right, roi.bottom); in Log()
63 rect->top = ROUND_UP_ALIGN_UP(rect->top, align_y); in Normalize()
75 res.top = std::max(rect1.top, rect2.top); in Intersection()
94 res.top = rect.top + FLOAT(y_offset); in Reposition()
106 return (rect1.top <= rect2.top && rect1.bottom >= rect2.bottom && in Contains()
124 if (rect1.top < rect2.top) { in Subtract()
125 res[0].top = rect1.top; in Subtract()
126 res[0].bottom = rect2.top; in Subtract()
128 res[0].top = rect2.top; in Subtract()
129 res[0].bottom = rect1.top; in Subtract()
134 res[1].top = rect1.bottom; in Subtract()
137 res[1].top = rect2.bottom; in Subtract()
149 if ((rect1.top == rect2.top) && (rect2.bottom <= rect1.bottom)) { in Subtract()
150 res.top = rect2.bottom; in Subtract()
151 } else if ((rect1.bottom == rect2.bottom) && (rect2.top >= rect1.top)) { in Subtract()
152 res.bottom = rect2.top; in Subtract()
154 } else if ((rect1.top == rect2.top) && (rect1.bottom == rect2.bottom)) { in Subtract()
181 res.top = std::min(rect1.top, rect2.top); in Union()
199 out_rects[count].top = rect_temp.top; in SplitLeftRight()
222 uint32_t split_height = UINT32(rect_temp.bottom - rect_temp.top) / split_count; in SplitTopBottom()
226 float aligned_bottom = rect_temp.top + aligned_height; in SplitTopBottom()
227 out_rects[count].top = rect_temp.top; in SplitTopBottom()
232 rect_temp.top = out_rects[count].bottom; in SplitTopBottom()
241 out_rects[0].bottom = out_rects[0].top + (out_rects[1].bottom - out_rects[1].top); in SplitTopBottom()
242 out_rects[1].top = out_rects[0].bottom; in SplitTopBottom()
255 int y_offset = INT(src_domain.top); in MapRect()
259 float src_domain_height = src_domain.bottom - src_domain.top; in MapRect()
261 float dst_domain_height = dst_domain.bottom - dst_domain.top; in MapRect()
267 out_rect->top = dst_domain.top + (height_ratio * modified_in_rect.top); in MapRect()
269 out_rect->bottom = dst_domain.top + (height_ratio * modified_in_rect.bottom); in MapRect()
279 float in_height = in_rect.bottom - in_rect.top; in TransformHV()
281 float y_offset = in_rect.top - src_domain.top; in TransformHV()
291 out_rect->top = out_rect->bottom - in_height; in TransformHV()
301 float input_height = in_rect.bottom - in_rect.top; in GetOrientation()
325 *crop_height = crop.bottom - crop.top; in GetCropAndDestination()
331 *dst_height = dst.bottom - dst.top; in GetCropAndDestination()