Home
last modified time | relevance | path

Searched refs:adjCrop (Results 1 – 2 of 2) sorted by relevance

/hardware/qcom/display/msm8994/liboverlay/
DoverlayMdssRot.cpp154 Dim adjCrop(mRotInfo.src_rect.x,mRotInfo.src_rect.y, in commit() local
156 adjCrop = getFormatAdjustedCrop(adjCrop, mRotInfo.src.format, in commit()
158 adjCrop = getDownscaleAdjustedCrop(adjCrop, mDownscale); in commit()
160 mRotInfo.src_rect.x = adjCrop.x; in commit()
161 mRotInfo.src_rect.y = adjCrop.y; in commit()
162 mRotInfo.src_rect.w = adjCrop.w; in commit()
163 mRotInfo.src_rect.h = adjCrop.h; in commit()
386 Dim adjCrop = getFormatAdjustedCrop(crop, mdpFormat, in getDownscaleFactor() local
389 uint32_t downscale = min((adjCrop.w / dstW), (adjCrop.h / dstH)); in getDownscaleFactor()
399 Dim dsAdjCrop = getDownscaleAdjustedCrop(adjCrop, downscale); in getDownscaleFactor()
[all …]
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_utils.cpp1892 Dim adjCrop(crop.left, crop.top, crop.right - crop.left, in getRotDownscale() local
1897 swap(adjCrop.w, adjCrop.h); in getRotDownscale()
1899 downscale = Rotator::getDownscaleFactor(adjCrop.w, adjCrop.h, pos.w, in getRotDownscale()