Lines Matching refs:clamp_float
126 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()
932 pDst[1] = clamp_float(rt / 2.0f); // differs from when accumulate is true above in Downmix_foldFrom5Point1()
979 pDst[0] = clamp_float(pDst[0] + (lt / 2.0f)); in Downmix_foldFrom7Point1()
980 pDst[1] = clamp_float(pDst[1] + (rt / 2.0f)); in Downmix_foldFrom7Point1()
995 pDst[0] = clamp_float(lt / 2.0f); // differs from when accumulate is true above in Downmix_foldFrom7Point1()
996 pDst[1] = clamp_float(rt / 2.0f); // differs from when accumulate is true above in Downmix_foldFrom7Point1()
1120 pDst[0] = clamp_float(ch[0]); in Downmix_foldGeneric()
1121 pDst[1] = clamp_float(ch[1]); in Downmix_foldGeneric()