Lines Matching refs:right
138 ctx->mViewFrame[dpy].right = ctx->dpyAttr[dpy].xres; in updateDisplayInfo()
342 ctx->mViewFrame[HWC_DISPLAY_PRIMARY].right = in initContext()
550 int w = rect.right - rect.left; in getActionSafePosition()
605 rect.right = w + rect.left; in getActionSafePosition()
633 Dim inPos(inRect.left, inRect.top, inRect.right - inRect.left, in getAspectRatioPosition()
635 Dim outPos(outRect.left, outRect.top, outRect.right - outRect.left, in getAspectRatioPosition()
650 width = float(rect.right - rect.left); in getAspectRatioPosition()
725 outRect.right = outPos.x + outPos.w; in getAspectRatioPosition()
775 displayFrame.right = dstWidth; in calcExtDisplayPosition()
802 displayFrame.right = int(wRatio*(float)displayFrame.right); in calcExtDisplayPosition()
807 displayFrame.right, displayFrame.bottom); in calcExtDisplayPosition()
864 dst_w = displayFrame.right - displayFrame.left; in isDownscaleRequired()
866 src_w = sourceCrop.right - sourceCrop.left; in isDownscaleRequired()
879 dst_w = displayFrame.right - displayFrame.left; in needsScaling()
881 src_w = sourceCrop.right - sourceCrop.left; in needsScaling()
925 dst_width_l = dstL.right - dstL.left; in needsScalingWithSplit()
927 src_width_l = cropL.right - cropL.left; in needsScalingWithSplit()
935 dst_width_r = dstR.right - dstR.left; in needsScalingWithSplit()
937 src_width_r = cropR.right - cropR.left; in needsScalingWithSplit()
974 dst.right > hw_w || dst.bottom > hw_h) { in trimLayer()
993 layer->sourceCropf.right = (float)crop.right; in trimList()
1254 int& crop_r = crop.right; in calculate_crop_rects()
1256 int crop_w = crop.right - crop.left; in calculate_crop_rects()
1261 int& dst_r = dst.right; in calculate_crop_rects()
1263 int dst_w = abs(dst.right - dst.left); in calculate_crop_rects()
1268 const int& sci_r = scissor.right; in calculate_crop_rects()
1311 (rect1.right == rect2.right) && (rect1.bottom == rect2.bottom)); in isSameRect()
1316 return ((rect.bottom > rect.top) && (rect.right > rect.left)) ; in isValidRect()
1321 lhs.right == rhs.right && lhs.bottom == rhs.bottom ) in operator ==()
1341 res.right = rect.right + x_off; in moveRect()
1359 res.right = min(rect1.right, rect2.right); in getIntersection()
1383 res.right = max(rect1.right, rect2.right); in getUnion()
1395 if((rect1.left == rect2.left) && (rect1.right == rect2.right)) { in deductRect()
1402 if((rect1.left == rect2.left) && (rect2.right <= rect1.right)) in deductRect()
1403 res.left = rect2.right; in deductRect()
1404 else if((rect1.right == rect2.right)&& (rect2.left >= rect1.left)) in deductRect()
1405 res.right = rect2.left; in deductRect()
1440 layer->sourceCropf.right = (float)bottomCrop.right; in optimizeLayerRects()
1464 nwr.right = list->hwLayers[0].displayFrame.right; in getNonWormholeRegion()
1766 Dim rotCrop(crop.left, crop.top, crop.right - crop.left, in configRotator()
1785 int crop_w = crop.right - crop.left; in configMdp()
1790 int posW = pos.right - pos.left; in configMdp()
1813 int dst_w = dst.right - dst.left; in configColorLayer()
1844 crop.right - crop.left, in updateSource()
1861 crop.right = transformedCrop.x + transformedCrop.w; in updateSource()
1888 downscale = Rotator::getDownscaleFactor(crop.right - crop.left, in getRotDownscale()
1889 crop.bottom - crop.top, dst.right - dst.left, in getRotDownscale()
1892 Dim adjCrop(crop.left, crop.top, crop.right - crop.left, in getRotDownscale()
1894 Dim pos(dst.left, dst.top, dst.right - dst.left, in getRotDownscale()
1913 crop.left, crop.top, crop.right, crop.bottom); in updateCropAIVVideoMode()
1916 crop.right - crop.left, in updateCropAIVVideoMode()
1928 crop.right -= offset; in updateCropAIVVideoMode()
1932 crop.left, crop.top, crop.right, crop.bottom); in updateCropAIVVideoMode()
1939 dst.left, dst.top, dst.right, dst.bottom); in updateDestAIVVideoMode()
1941 crop.right - crop.left, in updateDestAIVVideoMode()
1956 dst.right = extW; in updateDestAIVVideoMode()
1961 extW, extH, dpy, dst.left, dst.top, dst.right, dst.bottom, in updateDestAIVVideoMode()
1962 crop.left, crop.top, crop.right, crop.bottom); in updateDestAIVVideoMode()
2044 if(cropL.right - cropL.left) { in sanitizeSourceCrop()
2050 ovutils::even_floor(cropL.right); in sanitizeSourceCrop()
2054 if(cropR.right - cropR.left) { in sanitizeSourceCrop()
2055 cropR.left = cropL.right; in sanitizeSourceCrop()
2059 if(cropR.right - cropR.left) { in sanitizeSourceCrop()
2065 ovutils::even_floor(cropR.right); in sanitizeSourceCrop()
2154 if(dst.right > lSplit) { in configureSplit()
2168 (dst.right > lSplit) && (*rot) == NULL) { in configureSplit()
2171 new_cropR.right = new_cropR.left + (tmp_cropR.right - tmp_cropR.left); in configureSplit()
2174 new_cropL.left = new_cropR.right; in configureSplit()
2175 new_cropL.right = tmp_cropR.right; in configureSplit()
2178 tmp_cropL.right = new_cropL.right; in configureSplit()
2181 tmp_cropR.right = new_cropR.right; in configureSplit()
2208 tmp_dstR.right = tmp_dstR.right - lSplit; in configureSplit()
2272 int lSplit = dst.left + (dst.right - dst.left)/2; in configureSourceSplit()
2286 hwc_rect_t scissor = {lSplit, dst.top, dst.right, dst.bottom }; in configureSourceSplit()
2299 new_cropR.right = new_cropR.left + (tmp_cropR.right - tmp_cropR.left); in configureSourceSplit()
2302 new_cropL.left = new_cropR.right; in configureSourceSplit()
2303 new_cropL.right = tmp_cropR.right; in configureSourceSplit()
2306 tmp_cropL.right = new_cropL.right; in configureSourceSplit()
2309 tmp_cropR.right = new_cropR.right; in configureSourceSplit()
2508 if (rect1.right == rect2.right) in isPeripheral()
2555 int src_w = crop.right - crop.left; in setBwc()
2557 int dst_w = dst.right - dst.left; in setBwc()
2628 int half_frame_width = fullFrame.right/2; in expandROIFromMidPoint()
2632 lFrame.right = (lFrame.right - lFrame.left)/2; in expandROIFromMidPoint()
2633 rFrame.left = lFrame.right; in expandROIFromMidPoint()
2638 lRoiWidth = lRoi.right - lRoi.left; in expandROIFromMidPoint()
2639 rRoiWidth = rRoi.right - rRoi.left; in expandROIFromMidPoint()
2645 roi.right = half_frame_width + lRoiWidth; in expandROIFromMidPoint()
2684 if((t_roi.right - t_roi.left) < MIN_WIDTH) { in getSanitizeROI()
2685 if(MIN_WIDTH == boundary.right - boundary.left) { in getSanitizeROI()
2687 t_roi.right = MIN_WIDTH; in getSanitizeROI()
2689 if((t_roi.left + MIN_WIDTH) > boundary.right) in getSanitizeROI()
2690 t_roi.left = t_roi.right - MIN_WIDTH; in getSanitizeROI()
2692 t_roi.right = t_roi.left + MIN_WIDTH; in getSanitizeROI()
2714 int width = t_roi.right - t_roi.left; in getSanitizeROI()
2716 t_roi.right = t_roi.left + width; in getSanitizeROI()
2718 if(t_roi.right > boundary.right) { in getSanitizeROI()
2719 t_roi.right = boundary.right; in getSanitizeROI()
2720 t_roi.left = t_roi.right - width; in getSanitizeROI()