Lines Matching refs:right

374     int w = rect.right - rect.left;  in getActionSafePosition()
429 rect.right = w + rect.left; in getActionSafePosition()
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()
502 width = float(rect.right - rect.left); in getAspectRatioPosition()
572 outRect.right = outPos.x + outPos.w; in getAspectRatioPosition()
622 displayFrame.right = dstWidth; in calcExtDisplayPosition()
644 displayFrame.right = int(wRatio*(float)displayFrame.right); 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()
809 dst.right > hw_w || dst.bottom > hw_h) { in trimLayer()
826 layer->sourceCropf.right = (float)crop.right; in trimList()
850 outRect.right, outRect.bottom); in calculateDisplayViewFrame()
1049 int& crop_r = crop.right; in calculate_crop_rects()
1051 int crop_w = crop.right - crop.left; in calculate_crop_rects()
1056 int& dst_r = dst.right; in calculate_crop_rects()
1058 int dst_w = abs(dst.right - dst.left); in calculate_crop_rects()
1063 const int& sci_r = scissor.right; in calculate_crop_rects()
1106 (rect1.right == rect2.right) && (rect1.bottom == rect2.bottom)); in isSameRect()
1111 return ((rect.bottom > rect.top) && (rect.right > rect.left)) ; in isValidRect()
1129 res.right = rect.right + x_off; in moveRect()
1147 res.right = min(rect1.right, rect2.right); in getIntersection()
1171 res.right = max(rect1.right, rect2.right); 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()
1226 layer->sourceCropf.right = (float)bottomCrop.right; in optimizeLayerRects()
1250 nwr.right = list->hwLayers[0].displayFrame.right; in getNonWormholeRegion()
1515 uint32_t crop_w = (crop.right - crop.left); in configRotator()
1523 crop.right = crop.left + crop_w; in configRotator()
1544 int crop_w = crop.right - crop.left; in configMdp()
1549 int posW = pos.right - pos.left; in configMdp()
1572 int dst_w = dst.right - dst.left; in configColorLayer()
1603 crop.right - crop.left, in updateSource()
1612 crop.right = srcCrop.w; in updateSource()
1620 crop.right = srcCrop.x + srcCrop.w; in updateSource()
1664 crop.right - crop.left, in configureNonSplit()
1666 dst.right - dst.left, in configureNonSplit()
1709 if(cropL.right - cropL.left) { in sanitizeSourceCrop()
1715 ovutils::even_floor(cropL.right); 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()
1730 ovutils::even_floor(cropR.right); in sanitizeSourceCrop()
1816 if(dst.right > lSplit) { in configureSplit()
1830 (dst.right > lSplit) && (*rot) == NULL) { 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()
1837 new_cropL.right = tmp_cropR.right; in configureSplit()
1840 tmp_cropL.right = new_cropL.right; in configureSplit()
1843 tmp_cropR.right = new_cropR.right; in configureSplit()
1870 tmp_dstR.right = tmp_dstR.right - lSplit; in configureSplit()
1932 int lSplit = dst.left + (dst.right - dst.left)/2; in configureSourceSplit()
1946 hwc_rect_t scissor = {lSplit, dst.top, dst.right, dst.bottom }; 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()
1963 new_cropL.right = tmp_cropR.right; in configureSourceSplit()
1966 tmp_cropL.right = new_cropL.right; in configureSourceSplit()
1969 tmp_cropR.right = new_cropR.right; 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()
2269 int width = t_roi.right - t_roi.left; in getSanitizeROI()
2271 t_roi.right = t_roi.left + width; in getSanitizeROI()
2273 if(t_roi.right > boundary.right) { in getSanitizeROI()
2274 t_roi.right = boundary.right; in getSanitizeROI()
2275 t_roi.left = t_roi.right - width; in getSanitizeROI()