Home
last modified time | relevance | path

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

/frameworks/av/media/libeffects/downmix/
DEffectDownmix.c90 static LVM_FLOAT clamp_float(LVM_FLOAT a) { in clamp_float() function
446 pDst[0] = clamp_float(pDst[0] + pSrc[0]); in Downmix_Process()
447 pDst[1] = clamp_float(pDst[1] + pSrc[1]); in Downmix_Process()
978 pDst[0] = clamp_float(pDst[0] + ((pSrc[0] + pSrc[2]) / 2.0f)); in Downmix_foldFromQuad()
980 pDst[1] = clamp_float(pDst[1] + ((pSrc[1] + pSrc[3]) / 2.0f)); in Downmix_foldFromQuad()
988 pDst[0] = clamp_float((pSrc[0] + pSrc[2]) / 2.0f); in Downmix_foldFromQuad()
990 pDst[1] = clamp_float((pSrc[1] + pSrc[3]) / 2.0f); in Downmix_foldFromQuad()
1082 pDst[0] = clamp_float(pDst[0] + (lt / 2.0f)); in Downmix_foldFrom5Point1()
1083 pDst[1] = clamp_float(pDst[1] + (rt / 2.0f)); in Downmix_foldFrom5Point1()
1098 pDst[0] = clamp_float(lt / 2.0f); // differs from when accumulate is true above in Downmix_foldFrom5Point1()
[all …]