Lines Matching refs:left

40   return ((rect.bottom > rect.top) && (rect.right > rect.left));  in IsValid()
44 return ((rect1.left == rect2.left) && 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()
61 rect->left = ROUND_UP_ALIGN_UP(rect->left, align_x); in Normalize()
74 res.left = std::max(rect1.left, rect2.left); in Intersection()
93 res.left = rect.left + FLOAT(x_offset); in Reposition()
107 rect1.left <= rect2.left && rect1.right >= rect2.right); in Contains()
119 if (rect1.left != rect2.left || rect1.right != rect2.right) { in Subtract()
122 res[0].left = rect1.left; in Subtract()
131 res[1].left = rect1.left; in Subtract()
148 if ((rect1.left == rect2.left) && (rect1.right == rect2.right)) { in Subtract()
155 if ((rect1.left == rect2.left) && (rect2.right <= rect1.right)) { in Subtract()
156 res.left = rect2.right; in Subtract()
157 } else if ((rect1.right == rect2.right) && (rect2.left >= rect1.left)) { in Subtract()
158 res.right = rect2.left; in Subtract()
180 res.left = std::min(rect1.left, rect2.left); in Union()
192 uint32_t split_width = UINT32(rect_temp.right - rect_temp.left) / split_count; in SplitLeftRight()
196 float aligned_right = rect_temp.left + aligned_width; in SplitLeftRight()
197 out_rects[count].left = rect_temp.left; in SplitLeftRight()
202 rect_temp.left = out_rects[count].right; in SplitLeftRight()
211 out_rects[0].right = out_rects[0].left + (out_rects[1].right - out_rects[1].left); in SplitLeftRight()
212 out_rects[1].left = out_rects[0].right; in SplitLeftRight()
229 out_rects[count].left = rect_temp.left; in SplitTopBottom()
254 int x_offset = INT(src_domain.left); in MapRect()
258 double src_domain_width = DOUBLE(src_domain.right - src_domain.left); in MapRect()
260 double dst_domain_width = DOUBLE(dst_domain.right - dst_domain.left); in MapRect()
267 out_rect->left = floor(dst_domain.left + (width_ratio * modified_in_rect.left)); in MapRect()
269 out_rect->right = floor(dst_domain.left + (width_ratio * modified_in_rect.right)); in MapRect()
279 float in_width = in_rect.right - in_rect.left; in TransformHV()
281 float x_offset = in_rect.left - src_domain.left; in TransformHV()
287 out_rect->left = out_rect->right - in_width; in TransformHV()
301 float input_width = in_rect.right - in_rect.left; in GetOrientation()
325 *crop_width = crop.right - crop.left; in GetCropAndDestination()
331 *dst_width = dst.right - dst.left; in GetCropAndDestination()