Home
last modified time | relevance | path

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

/hardware/qcom/display/msm8994/liboverlay/
DoverlayUtils.cpp282 horDscale = powf(2.0f, ceilf(log2f(horDscale))); in getDecimationFactor()
283 verDscale = powf(2.0f, ceilf(log2f(verDscale))); in getDecimationFactor()
291 horzDeci = (uint8_t)log2f(horDscale); in getDecimationFactor()
294 vertDeci = (uint8_t)log2f(verDscale); in getDecimationFactor()
DoverlayMdssRot.cpp391 downscale = (uint32_t) powf(2.0f, floorf(log2f((float)downscale))); in getDownscaleFactor()
/hardware/qcom/display/msm8226/liboverlay/
DoverlayUtils.cpp290 horDscale = powf(2.0f, ceilf(log2f(horDscale))); in getDecimationFactor()
291 verDscale = powf(2.0f, ceilf(log2f(verDscale))); in getDecimationFactor()
299 horzDeci = (uint8_t)log2f(horDscale); in getDecimationFactor()
302 vertDeci = (uint8_t)log2f(verDscale); in getDecimationFactor()
/hardware/qcom/display/msm8974/liboverlay/
DoverlayUtils.cpp269 horDscale = powf(2.0f, ceilf(log2f(horDscale))); in getDecimationFactor()
270 verDscale = powf(2.0f, ceilf(log2f(verDscale))); in getDecimationFactor()
278 horzDeci = (uint8_t)log2f(horDscale); in getDecimationFactor()
281 vertDeci = (uint8_t)log2f(verDscale); in getDecimationFactor()
/hardware/qcom/display/msm8084/liboverlay/
DoverlayUtils.cpp294 horDscale = powf(2.0f, ceilf(log2f(horDscale))); in getDecimationFactor()
295 verDscale = powf(2.0f, ceilf(log2f(verDscale))); in getDecimationFactor()
DoverlayMdp.cpp162 mOVInfo.horz_deci = (int)log2f(horDscale); in doDownscale()
165 mOVInfo.vert_deci = (int)log2f(verDscale); in doDownscale()
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/test/
Domx_vdec_test.cpp179 static inline float log2f(const float& x) in log2f() function
3816 horDscale = powf(2.0f, ceilf(log2f(horDscale))); in overlay_set()
3817 verDscale = powf(2.0f, ceilf(log2f(verDscale))); in overlay_set()
3827 overlayp->horz_deci = (int)log2f(horDscale); in overlay_set()
3830 overlayp->vert_deci = (int)log2f(verDscale); in overlay_set()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_onyx_if.c999 #define log2f(x) (log (x) / (float) M_LOG2_E) macro
1015 double z = 256 * (2 * (log2f(8 * i) + .6)); in cal_nmvsadcosts()
1030 double z = 256 * (2 * (log2f(8 * i) + .6)); in cal_nmvsadcosts_hp()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
Donyx_if.c1766 #define log2f(x) (log (x) / (float) M_LOG2_E) macro
1776 double z = 256 * (2 * (log2f(8 * i) + .6)); in cal_mvsadcosts()