Lines Matching refs:left

373     int x = rect.left, y = rect.top;  in getActionSafePosition()
374 int w = rect.right - rect.left; in getActionSafePosition()
427 rect.left = x; in getActionSafePosition()
429 rect.right = w + rect.left; in getActionSafePosition()
457 rect.left = x; in getAspectRatioPosition()
459 rect.right = srcWidth + rect.left; in getAspectRatioPosition()
485 Dim inPos(inRect.left, inRect.top, inRect.right - inRect.left, in getAspectRatioPosition()
487 Dim outPos(outRect.left, outRect.top, outRect.right - outRect.left, in getAspectRatioPosition()
500 xPos = rect.left; in getAspectRatioPosition()
502 width = float(rect.right - rect.left); in getAspectRatioPosition()
532 xPos = r.left; in getAspectRatioPosition()
570 outRect.left = outPos.x; in getAspectRatioPosition()
620 displayFrame.left = 0; in calcExtDisplayPosition()
642 displayFrame.left = int(wRatio*(float)displayFrame.left); in calcExtDisplayPosition()
702 dst_w = displayFrame.right - displayFrame.left; in isDownscaleRequired()
704 src_w = sourceCrop.right - sourceCrop.left; in isDownscaleRequired()
717 dst_w = displayFrame.right - displayFrame.left; in needsScaling()
719 src_w = sourceCrop.right - sourceCrop.left; in needsScaling()
760 dst_width_l = dstL.right - dstL.left; in needsScalingWithSplit()
762 src_width_l = cropL.right - cropL.left; in needsScalingWithSplit()
770 dst_width_r = dstR.right - dstR.left; in needsScalingWithSplit()
772 src_width_r = cropR.right - cropR.left; in needsScalingWithSplit()
808 if(dst.left < 0 || dst.top < 0 || in trimLayer()
825 layer->sourceCropf.left = (float)crop.left; in trimList()
849 __FUNCTION__, dpy, outRect.left, outRect.top, in calculateDisplayViewFrame()
1047 int& crop_l = crop.left; in calculate_crop_rects()
1051 int crop_w = crop.right - crop.left; in calculate_crop_rects()
1054 int& dst_l = dst.left; in calculate_crop_rects()
1058 int dst_w = abs(dst.right - dst.left); in calculate_crop_rects()
1061 const int& sci_l = scissor.left; in calculate_crop_rects()
1105 return ((rect1.left == rect2.left) && (rect1.top == rect2.top) && in isSameRect()
1111 return ((rect.bottom > rect.top) && (rect.right > rect.left)) ; in isValidRect()
1127 res.left = rect.left + x_off; in moveRect()
1145 res.left = max(rect1.left, rect2.left); in getIntersection()
1169 res.left = min(rect1.left, rect2.left); in getUnion()
1183 if((rect1.left == rect2.left) && (rect1.right == rect2.right)) { in deductRect()
1190 if((rect1.left == rect2.left) && (rect2.right <= rect1.right)) in deductRect()
1191 res.left = rect2.right; in deductRect()
1192 else if((rect1.right == rect2.right)&& (rect2.left >= rect1.left)) in deductRect()
1193 res.right = rect2.left; in deductRect()
1224 layer->sourceCropf.left =(float)bottomCrop.left; in optimizeLayerRects()
1248 nwr.left = list->hwLayers[0].displayFrame.left; in getNonWormholeRegion()
1515 uint32_t crop_w = (crop.right - crop.left); in configRotator()
1518 ovutils::normalizeCrop((uint32_t&)crop.left, crop_w); in configRotator()
1523 crop.right = crop.left + crop_w; in configRotator()
1526 Dim rotCrop(crop.left, crop.top, crop_w, crop_h); in configRotator()
1544 int crop_w = crop.right - crop.left; in configMdp()
1546 Dim dcrop(crop.left, crop.top, crop_w, crop_h); in configMdp()
1549 int posW = pos.right - pos.left; in configMdp()
1551 Dim position(pos.left, pos.top, posW, posH); in configMdp()
1572 int dst_w = dst.right - dst.left; in configColorLayer()
1586 Dim pos(dst.left, dst.top, dst_w, dst_h); in configColorLayer()
1602 Dim srcCrop(crop.left, crop.top, in updateSource()
1603 crop.right - crop.left, in updateSource()
1610 crop.left = 0; in updateSource()
1618 crop.left = srcCrop.x; in updateSource()
1664 crop.right - crop.left, in configureNonSplit()
1666 dst.right - dst.left, in configureNonSplit()
1709 if(cropL.right - cropL.left) { in sanitizeSourceCrop()
1712 ovutils::even_floor(cropL.left); in sanitizeSourceCrop()
1719 if(cropR.right - cropR.left) { in sanitizeSourceCrop()
1720 cropR.left = cropL.right; in sanitizeSourceCrop()
1724 if(cropR.right - cropR.left) { in sanitizeSourceCrop()
1727 ovutils::even_floor(cropR.left); in sanitizeSourceCrop()
1807 if(dst.left < lSplit) { in configureSplit()
1829 if((orient & OVERLAY_TRANSFORM_FLIP_H) && (dst.left < lSplit) && in configureSplit()
1832 new_cropR.left = tmp_cropL.left; in configureSplit()
1833 new_cropR.right = new_cropR.left + (tmp_cropR.right - tmp_cropR.left); in configureSplit()
1836 new_cropL.left = new_cropR.right; in configureSplit()
1839 tmp_cropL.left = new_cropL.left; in configureSplit()
1842 tmp_cropR.left = new_cropR.left; in configureSplit()
1871 tmp_dstR.left = tmp_dstR.left - lSplit; in configureSplit()
1932 int lSplit = dst.left + (dst.right - dst.left)/2; in configureSourceSplit()
1940 hwc_rect_t scissor = {dst.left, dst.top, lSplit, dst.bottom }; in configureSourceSplit()
1958 new_cropR.left = tmp_cropL.left; in configureSourceSplit()
1959 new_cropR.right = new_cropR.left + (tmp_cropR.right - tmp_cropR.left); in configureSourceSplit()
1962 new_cropL.left = new_cropR.right; in configureSourceSplit()
1965 tmp_cropL.left = new_cropL.left; in configureSourceSplit()
1968 tmp_cropR.left = new_cropR.left; in configureSourceSplit()
2162 if((crop.right - crop.left) > qdutils::MAX_DISPLAY_DIM) { in setBwc()
2167 int src_w = crop.right - crop.left; in setBwc()
2169 int dst_w = dst.right - dst.left; in setBwc()
2249 if((t_roi.right - t_roi.left) < MIN_WIDTH) { in getSanitizeROI()
2250 if((t_roi.left + MIN_WIDTH) > boundary.right) in getSanitizeROI()
2251 t_roi.left = t_roi.right - MIN_WIDTH; in getSanitizeROI()
2253 t_roi.right = t_roi.left + MIN_WIDTH; in getSanitizeROI()
2266 t_roi.left = t_roi.left - (t_roi.left % LEFT_ALIGN); in getSanitizeROI()
2269 int width = t_roi.right - t_roi.left; in getSanitizeROI()
2271 t_roi.right = t_roi.left + width; in getSanitizeROI()
2275 t_roi.left = t_roi.right - width; in getSanitizeROI()
2278 t_roi.left = t_roi.left - (t_roi.left % LEFT_ALIGN); in getSanitizeROI()