Home
last modified time | relevance | path

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

/hardware/qcom/display/msm8994/liboverlay/
DoverlayUtils.cpp277 float horDscale = ceilf((float)src_w / (float)dst_w); in getDecimationFactor() local
282 horDscale = powf(2.0f, ceilf(log2f(horDscale))); in getDecimationFactor()
287 horDscale /= (float)mdpHw.getMaxMDPDownscale(); in getDecimationFactor()
290 if((int)horDscale) in getDecimationFactor()
291 horzDeci = (uint8_t)log2f(horDscale); in getDecimationFactor()
/hardware/qcom/display/msm8226/liboverlay/
DoverlayUtils.cpp286 float horDscale = ceilf((float)src_w / (float)dst_w); in getDecimationFactor() local
290 horDscale = powf(2.0f, ceilf(log2f(horDscale))); in getDecimationFactor()
295 horDscale /= 4.0f; in getDecimationFactor()
298 if((int)horDscale) in getDecimationFactor()
299 horzDeci = (uint8_t)log2f(horDscale); in getDecimationFactor()
/hardware/qcom/display/msm8084/liboverlay/
DoverlayMdp.cpp152 float horDscale = 0.0f; in doDownscale() local
156 mOVInfo.dst_rect.w, mOVInfo.dst_rect.h, horDscale, verDscale); in doDownscale()
158 if(horDscale < minHorDeci) in doDownscale()
159 horDscale = minHorDeci; in doDownscale()
161 if((int)horDscale) in doDownscale()
162 mOVInfo.horz_deci = (int)log2f(horDscale); in doDownscale()
DoverlayUtils.cpp288 const int& dst_w, const int& dst_h, float& horDscale, in getDecimationFactor() argument
290 horDscale = ceilf((float)src_w / (float)dst_w); in getDecimationFactor()
294 horDscale = powf(2.0f, ceilf(log2f(horDscale))); in getDecimationFactor()
299 horDscale /= 4.0f; in getDecimationFactor()
DoverlayUtils.h416 const int& dst_w, const int& dst_h, float& horDscale,
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/test/
Domx_vdec_test.cpp3810 float horDscale = ceilf((float)overlayp->src_rect.w / in overlay_set() local
3816 horDscale = powf(2.0f, ceilf(log2f(horDscale))); in overlay_set()
3821 horDscale /= 4.0f; in overlay_set()
3824 if (horDscale < minHorDeci) in overlay_set()
3825 horDscale = minHorDeci; in overlay_set()
3826 if ((int)horDscale) in overlay_set()
3827 overlayp->horz_deci = (int)log2f(horDscale); in overlay_set()
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_utils.cpp2174 float horDscale = 0.0f; in setBwc() local
2178 ovutils::getDecimationFactor(src_w, src_h, dst_w, dst_h, horDscale, in setBwc()
2181 if((int)horDscale) in setBwc()
2182 horzDeci = (int)(log(horDscale) / log(2)); in setBwc()