Lines Matching refs:right

40   return ((rect.bottom > rect.top) && (rect.right > rect.left));  in IsValid()
46 (rect1.right == rect2.right) && 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()
62 rect->right = ROUND_UP_ALIGN_DOWN(rect->right, align_x); in Normalize()
76 res.right = std::min(rect1.right, rect2.right); in Intersection()
95 res.right = rect.right + FLOAT(x_offset); in Reposition()
107 if ((rect1.left == rect2.left) && (rect1.right == rect2.right)) { in Subtract()
114 if ((rect1.left == rect2.left) && (rect2.right <= rect1.right)) { in Subtract()
115 res.left = rect2.right; in Subtract()
116 } else if ((rect1.right == rect2.right) && (rect2.left >= rect1.left)) { in Subtract()
117 res.right = rect2.left; in Subtract()
141 res.right = std::max(rect1.right, rect2.right); in Union()
151 uint32_t split_width = UINT32(rect_temp.right - rect_temp.left) / split_count; in SplitLeftRight()
157 out_rects[count].right = std::min(rect_temp.right, aligned_right); in SplitLeftRight()
161 rect_temp.left = out_rects[count].right; in SplitLeftRight()
170 out_rects[0].right = out_rects[0].left + (out_rects[1].right - out_rects[1].left); in SplitLeftRight()
171 out_rects[1].left = out_rects[0].right; in SplitLeftRight()
189 out_rects[count].right = rect_temp.right; in SplitTopBottom()
217 float src_domain_width = src_domain.right - src_domain.left; in MapRect()
219 float dst_domain_width = dst_domain.right - dst_domain.left; in MapRect()
227 out_rect->right = dst_domain.left + (width_ratio * modified_in_rect.right); in MapRect()
237 float in_width = in_rect.right - in_rect.left; in TransformHV()
244 out_rect->right = src_domain.right - x_offset; in TransformHV()
245 out_rect->left = out_rect->right - in_width; in TransformHV()
259 float input_width = in_rect.right - in_rect.left; in GetOrientation()
283 *crop_width = crop.right - crop.left; in GetCropAndDestination()
289 *dst_width = dst.right - dst.left; in GetCropAndDestination()