/frameworks/av/media/libeffects/downmix/ |
EffectDownmix.c | 332 pDst[0] = clamp16(pDst[0] + pSrc[0]); 333 pDst[1] = clamp16(pDst[1] + pSrc[1]); 829 pDst[0] = clamp16(pDst[0] + ((pSrc[0] + pSrc[2]) >> 1)); 831 pDst[1] = clamp16(pDst[1] + ((pSrc[1] + pSrc[3]) >> 1)); 839 pDst[0] = clamp16((pSrc[0] + pSrc[2]) >> 1); 841 pDst[1] = clamp16((pSrc[1] + pSrc[3]) >> 1); 887 pDst[0] = clamp16(pDst[0] + (lt >> 13)); 888 pDst[1] = clamp16(pDst[1] + (rt >> 13)); 903 pDst[0] = clamp16(lt >> 13); // differs from when accumulate is true above 904 pDst[1] = clamp16(rt >> 13); // differs from when accumulate is true abov [all...] |
/frameworks/av/media/libaudioprocessing/ |
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);
|
AudioMixer.cpp | [all...] |
/system/media/audio_utils/ |
primitives.c | 29 l = clamp16(nl); 30 r = clamp16(nr); 227 *dst++ = clamp16(*src++ >> 8);
|
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/ |
EffectReverb.cpp | 391 static inline int16_t clamp16(int32_t sample) function in namespace:android::__anon38139 487 OutFrames16[i] = clamp16(pContext->OutFrames32[i]>>8); 491 OutFrames16[i] = clamp16((pContext->OutFrames32[i]>>8) + (LVM_INT32)pIn[i]); 505 clamp16((LVM_INT32)((vl >> 16) * OutFrames16[2*i]) >> 12); 507 clamp16((LVM_INT32)((vr >> 16) * OutFrames16[2*i+1]) >> 12); 520 clamp16((LVM_INT32)(pContext->leftVolume * OutFrames16[2*i]) >> 12); 522 clamp16((LVM_INT32)(pContext->rightVolume * OutFrames16[2*i+1]) >> 12); 540 pOut[i] = clamp16((int32_t)pOut[i] + (int32_t)OutFrames16[i]); [all...] |
/frameworks/av/media/libeffects/loudness/ |
EffectLoudnessEnhancer.cpp | 83 static inline int16_t clamp16(int32_t sample) function 301 outBuffer->s16[i] = clamp16(outBuffer->s16[i] + inBuffer->s16[i]);
|
/frameworks/av/media/libeffects/visualizer/ |
EffectVisualizer.cpp | 304 static inline int16_t clamp16(int32_t sample) function 405 outBuffer->s16[i] = clamp16(outBuffer->s16[i] + inBuffer->s16[i]);
|
/system/media/audio_utils/include/audio_utils/ |
primitives.h | 583 static inline int16_t clamp16(int32_t sample) function [all...] |
/hardware/qcom/audio/post_proc/ |
volume_listener.c | 343 static inline int16_t clamp16(int32_t sample) function
|
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/ |
EffectBundle.cpp | 56 static inline int16_t clamp16(int32_t sample) function 769 pOut[i] = clamp16((LVM_INT32)pOut[i] + (LVM_INT32)pOutTmp[i]); [all...] |
/frameworks/av/services/audioflinger/ |
Effects.cpp | 302 out[i] = clamp16((int32_t)out[i] + (int32_t)in[i]); 331 out[i] = clamp16((int32_t)out[i] + (int32_t)in[i]); [all...] |