Searched refs:horDscale (Results 1 – 7 of 7) sorted by relevance
/hardware/qcom/display/msm8994/liboverlay/ |
D | overlayUtils.cpp | 277 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/ |
D | overlayUtils.cpp | 286 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/ |
D | overlayMdp.cpp | 152 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()
|
D | overlayUtils.cpp | 288 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()
|
D | overlayUtils.h | 416 const int& dst_w, const int& dst_h, float& horDscale,
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/test/ |
D | omx_vdec_test.cpp | 3810 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/ |
D | hwc_utils.cpp | 2174 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()
|