Home
last modified time | relevance | path

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

/hardware/qcom/display/msm8909/liboverlay/
DoverlayUtils.cpp261 horDscale = powf(2.0f, ceilf(log2f(horDscale))); in getDecimationFactor()
262 verDscale = powf(2.0f, ceilf(log2f(verDscale))); in getDecimationFactor()
270 horzDeci = (uint8_t)log2f(horDscale); in getDecimationFactor()
273 vertDeci = (uint8_t)log2f(verDscale); in getDecimationFactor()
DoverlayMdssRot.cpp391 downscale = (uint32_t) powf(2.0f, floorf(log2f((float)downscale))); in getDownscaleFactor()
/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/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/msm8974/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/qcom/display/msm8996/sdm/libs/core/
Dresource_default.cpp878 *decimation = UINT8(ceilf(log2f(downscale / max_down_scale))); in CalculateDecimation()
/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()