Lines Matching refs:clamp16
298 pDst[0] = clamp16(pDst[0] + pSrc[0]); in Downmix_Process()
299 pDst[1] = clamp16(pDst[1] + pSrc[1]); in Downmix_Process()
795 pDst[0] = clamp16(pDst[0] + ((pSrc[0] + pSrc[2]) >> 1)); in Downmix_foldFromQuad()
797 pDst[1] = clamp16(pDst[1] + ((pSrc[1] + pSrc[3]) >> 1)); in Downmix_foldFromQuad()
805 pDst[0] = clamp16((pSrc[0] + pSrc[2]) >> 1); in Downmix_foldFromQuad()
807 pDst[1] = clamp16((pSrc[1] + pSrc[3]) >> 1); in Downmix_foldFromQuad()
853 pDst[0] = clamp16(pDst[0] + (lt >> 13)); in Downmix_foldFrom5Point1()
854 pDst[1] = clamp16(pDst[1] + (rt >> 13)); in Downmix_foldFrom5Point1()
869 pDst[0] = clamp16(lt >> 13); // differs from when accumulate is true above in Downmix_foldFrom5Point1()
870 pDst[1] = clamp16(rt >> 13); // differs from when accumulate is true above in Downmix_foldFrom5Point1()
918 pDst[0] = clamp16(pDst[0] + (lt >> 13)); in Downmix_foldFrom7Point1()
919 pDst[1] = clamp16(pDst[1] + (rt >> 13)); in Downmix_foldFrom7Point1()
934 pDst[0] = clamp16(lt >> 13); // differs from when accumulate is true above in Downmix_foldFrom7Point1()
935 pDst[1] = clamp16(rt >> 13); // differs from when accumulate is true above in Downmix_foldFrom7Point1()
1044 pDst[0] = clamp16(pDst[0] + (lt >> 13)); in Downmix_foldGeneric()
1045 pDst[1] = clamp16(pDst[1] + (rt >> 13)); in Downmix_foldGeneric()
1073 pDst[0] = clamp16(lt >> 13); // differs from when accumulate is true above in Downmix_foldGeneric()
1074 pDst[1] = clamp16(rt >> 13); // differs from when accumulate is true above in Downmix_foldGeneric()