Home
last modified time | relevance | path

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

/hardware/qcom/display/msm8909/liboverlay/
DoverlayUtils.cpp257 float verDscale = ceilf((float)src_h / (float)dst_h); in getDecimationFactor() local
262 verDscale = powf(2.0f, ceilf(log2f(verDscale))); in getDecimationFactor()
267 verDscale /= (float)mdpHw.getMaxMDPDownscale(); in getDecimationFactor()
272 if((int)verDscale) in getDecimationFactor()
273 vertDeci = (uint8_t)log2f(verDscale); in getDecimationFactor()
/hardware/qcom/display/msm8226/liboverlay/
DoverlayUtils.cpp287 float verDscale = ceilf((float)src_h / (float)dst_h); in getDecimationFactor() local
291 verDscale = powf(2.0f, ceilf(log2f(verDscale))); in getDecimationFactor()
296 verDscale /= 4.0f; in getDecimationFactor()
301 if((int)verDscale) in getDecimationFactor()
302 vertDeci = (uint8_t)log2f(verDscale); in getDecimationFactor()
/hardware/qcom/display/msm8994/liboverlay/
DoverlayUtils.cpp278 float verDscale = ceilf((float)src_h / (float)dst_h); in getDecimationFactor() local
283 verDscale = powf(2.0f, ceilf(log2f(verDscale))); in getDecimationFactor()
288 verDscale /= (float)mdpHw.getMaxMDPDownscale(); in getDecimationFactor()
293 if((int)verDscale) in getDecimationFactor()
294 vertDeci = (uint8_t)log2f(verDscale); in getDecimationFactor()
/hardware/qcom/display/msm8084/liboverlay/
DoverlayUtils.cpp289 float& verDscale) { in getDecimationFactor() argument
291 verDscale = ceilf((float)src_h / (float)dst_h); in getDecimationFactor()
295 verDscale = powf(2.0f, ceilf(log2f(verDscale))); in getDecimationFactor()
300 verDscale /= 4.0f; in getDecimationFactor()
DoverlayMdp.cpp153 float verDscale = 0.0f; in doDownscale() local
156 mOVInfo.dst_rect.w, mOVInfo.dst_rect.h, horDscale, verDscale); in doDownscale()
164 if((int)verDscale) in doDownscale()
165 mOVInfo.vert_deci = (int)log2f(verDscale); in doDownscale()
DoverlayUtils.h417 float& verDscale);
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/test/
Domx_vdec_test.cpp3812 float verDscale = ceilf((float)overlayp->src_rect.h / in overlay_set() local
3817 verDscale = powf(2.0f, ceilf(log2f(verDscale))); in overlay_set()
3822 verDscale /= 4.0f; in overlay_set()
3829 if ((int)verDscale) in overlay_set()
3830 overlayp->vert_deci = (int)log2f(verDscale); in overlay_set()
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_utils.cpp2175 float verDscale = 0.0f; in setBwc() local
2179 verDscale); in setBwc()
2183 if((int)verDscale) in setBwc()
2184 vertDeci = (int)(log(verDscale) / log(2)); in setBwc()