Home
last modified time | relevance | path

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

/hardware/google/graphics/common/libhwc2.1/libresource/
DExynosResourceManager.cpp1206 uint32_t otfMppRatio = 1; in getCandidateScalingM2mMPPOutImages() local
1213 otfMppRatio = ratio; in getCandidateScalingM2mMPPOutImages()
1217 const auto reqRatio = max(float(dst_img.w) / float(srcWidth * otfMppRatio), in getCandidateScalingM2mMPPOutImages()
1218 float(dst_img.h) / float(srcHeight * otfMppRatio)); in getCandidateScalingM2mMPPOutImages()
1249 otfMppRatio = ratio; in getCandidateScalingM2mMPPOutImages()
1269 dst_scale_img.h, otfMpp ? otfMpp->mLogicalType : -1, otfMppRatio, in getCandidateScalingM2mMPPOutImages()
1272 if (dst_scale_img.w * otfMppRatio < dst_img.w) { in getCandidateScalingM2mMPPOutImages()
1273 dst_scale_img.w = uint32_t(ceilf(float(dst_img.w) / float(otfMppRatio))); in getCandidateScalingM2mMPPOutImages()
1275 if (dst_scale_img.h * otfMppRatio < dst_img.h) { in getCandidateScalingM2mMPPOutImages()
1276 dst_scale_img.h = uint32_t(ceilf(float(dst_img.h) / float(otfMppRatio))); in getCandidateScalingM2mMPPOutImages()