Home
last modified time | relevance | path

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

/frameworks/av/media/libeffects/downmix/
DEffectDownmix.cpp126 static inline float clamp_float(float value) { in clamp_float() function
354 pDst[0] = clamp_float(pDst[0] + pSrc[0]); in Downmix_Process()
355 pDst[1] = clamp_float(pDst[1] + pSrc[1]); in Downmix_Process()
858 pDst[0] = clamp_float(pDst[0] + ((pSrc[0] + pSrc[2]) / 2.0f)); in Downmix_foldFromQuad()
860 pDst[1] = clamp_float(pDst[1] + ((pSrc[1] + pSrc[3]) / 2.0f)); in Downmix_foldFromQuad()
868 pDst[0] = clamp_float((pSrc[0] + pSrc[2]) / 2.0f); in Downmix_foldFromQuad()
870 pDst[1] = clamp_float((pSrc[1] + pSrc[3]) / 2.0f); in Downmix_foldFromQuad()
915 pDst[0] = clamp_float(pDst[0] + (lt / 2.0f)); in Downmix_foldFrom5Point1()
916 pDst[1] = clamp_float(pDst[1] + (rt / 2.0f)); in Downmix_foldFrom5Point1()
931 pDst[0] = clamp_float(lt / 2.0f); // differs from when accumulate is true above in Downmix_foldFrom5Point1()
[all …]