Searched refs:clamp16 (Results 1 – 5 of 5) sorted by relevance
/frameworks/av/media/libeffects/downmix/ |
D | EffectDownmix.c | 349 pDst[0] = clamp16(pDst[0] + pSrc[0]); in Downmix_Process() 350 pDst[1] = clamp16(pDst[1] + pSrc[1]); in Downmix_Process() 952 pDst[0] = clamp16(pDst[0] + ((pSrc[0] + pSrc[2]) >> 1)); in Downmix_foldFromQuad() 954 pDst[1] = clamp16(pDst[1] + ((pSrc[1] + pSrc[3]) >> 1)); in Downmix_foldFromQuad() 962 pDst[0] = clamp16((pSrc[0] + pSrc[2]) >> 1); in Downmix_foldFromQuad() 964 pDst[1] = clamp16((pSrc[1] + pSrc[3]) >> 1); in Downmix_foldFromQuad() 1039 pDst[0] = clamp16(pDst[0] + (lt >> 13)); in Downmix_foldFrom5Point1() 1040 pDst[1] = clamp16(pDst[1] + (rt >> 13)); in Downmix_foldFrom5Point1() 1055 pDst[0] = clamp16(lt >> 13); // differs from when accumulate is true above in Downmix_foldFrom5Point1() 1056 pDst[1] = clamp16(rt >> 13); // differs from when accumulate is true above in Downmix_foldFrom5Point1() [all …]
|
/frameworks/av/media/libaudioprocessing/ |
D | AudioMixerOps.h | 118 return clamp16(MixMul<int32_t, int16_t, int16_t>(value, volume) >> 12); 123 return clamp16(MixMul<int32_t, int32_t, int16_t>(value, volume) >> 12); 128 return clamp16(MixMul<int32_t, int16_t, int32_t>(value, volume) >> 12); 133 return clamp16(MixMul<int32_t, int32_t, int32_t>(value, volume) >> 12);
|
D | AudioMixerBase.cpp | 1251 l = clamp16(l); in process__oneTrack16BitsStereoNoResampling() 1252 r = clamp16(r); in process__oneTrack16BitsStereoNoResampling()
|
/frameworks/av/media/libeffects/loudness/ |
D | EffectLoudnessEnhancer.cpp | 44 static inline int16_t clamp16(int32_t sample) in clamp16() function 337 outBuffer->s16[i] = clamp16(outBuffer->s16[i] + inBuffer->s16[i]); in LE_process()
|
/frameworks/av/media/libeffects/visualizer/ |
D | EffectVisualizer.cpp | 471 outBuffer->s16[i] = clamp16(outBuffer->s16[i] + inBuffer->s16[i]); in Visualizer_process()
|