Home
last modified time | relevance | path

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

/frameworks/av/media/libaudioprocessing/
DAudioMixerOps.h111 return clamp16(MixMul<int32_t, int16_t, int16_t>(value, volume) >> 12);
116 return clamp16(MixMul<int32_t, int32_t, int16_t>(value, volume) >> 12);
121 return clamp16(MixMul<int32_t, int16_t, int32_t>(value, volume) >> 12);
126 return clamp16(MixMul<int32_t, int32_t, int32_t>(value, volume) >> 12);
DAudioMixerBase.cpp1289 l = clamp16(l); in process__oneTrack16BitsStereoNoResampling()
1290 r = clamp16(r); in process__oneTrack16BitsStereoNoResampling()
/frameworks/av/media/libeffects/loudness/
DEffectLoudnessEnhancer.cpp44 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/
DEffectVisualizer.cpp470 outBuffer->s16[i] = clamp16(outBuffer->s16[i] + inBuffer->s16[i]); in Visualizer_process()