Home
last modified time | relevance | path

Searched refs:SATURATE (Results 1 – 14 of 14) sorted by relevance

/external/sonivox/arm-wt-22k/lib_src/
Deas_reverb.c561 nApOut = SATURATE(nDelayOut - nTemp1); // allpass output in Reverb()
565 nTemp1 = SATURATE(nApIn + nTemp1); in Reverb()
589 nApOut = SATURATE(nDelayOut - nTemp1); // allpass output in Reverb()
593 nTemp1 = SATURATE(nApIn + nTemp1); in Reverb()
621 nDelayOut = SATURATE(nTemp1 + nTemp2); in Reverb()
630 pReverbData->m_zLpf0 = (EAS_PCM) SATURATE(nTemp1 + nTemp2); in Reverb()
650 nDelayOut = SATURATE(nTemp1 + nTemp2); in Reverb()
659 pReverbData->m_zLpf1 = (EAS_PCM)SATURATE(nTemp1 + nTemp2); in Reverb()
666 (EAS_PCM)SATURATE((EAS_I32)pReverbData->m_zLpf1 + (EAS_I32)pReverbData->m_zLpf0); in Reverb()
671 (EAS_PCM)SATURATE((EAS_I32)pReverbData->m_zLpf1 - (EAS_I32)pReverbData->m_zLpf0); in Reverb()
[all …]
Deas_chorus.c318 nOutputSample = SATURATE(tempValue + nInputSample); in ChorusProcess()
320 *pOut = (EAS_I16)SATURATE(nOutputSample); in ChorusProcess()
364 nOutputSample = SATURATE(tempValue + nInputSample); in ChorusProcess()
366 *pOut = (EAS_I16)SATURATE(nOutputSample); in ChorusProcess()
Deas_math.h320 #define SATURATE(x) \ macro
Deas_mixer.c287 s = SATURATE(s); in SynthMasterGain()
/external/libopus/celt/
Dcelt.c114 t = SATURATE(t, SIG_SAT); in comb_filter_const_c()
120 t = SATURATE(t, SIG_SAT); in comb_filter_const_c()
126 t = SATURATE(t, SIG_SAT); in comb_filter_const_c()
132 t = SATURATE(t, SIG_SAT); in comb_filter_const_c()
138 t = SATURATE(t, SIG_SAT); in comb_filter_const_c()
149 t = SATURATE(t, SIG_SAT); in comb_filter_const_c()
178 y[i] = SATURATE(y[i], SIG_SAT); in comb_filter_const_c()
239 y[i] = SATURATE(y[i], SIG_SAT); in comb_filter()
Dfixed_generic.h101 #define SATURATE(x,a) (((x)>(a) ? (a) : (x)<-(a) ? -(a) : (x))) macro
108 #define SROUND16(x,a) EXTRACT16(SATURATE(PSHR32(x,a), 32767));
Darch.h234 #define SATURATE(x,a) (x) macro
Dfixed_debug.h238 #define SROUND16(x,a) (celt_mips--,EXTRACT16(SATURATE(PSHR32(x,a), 32767)));
508 static OPUS_INLINE int SATURATE(int a, int b) in SATURATE() function
Dcelt_decoder.c436 out_syn[c][i] = SATURATE(out_syn[c][i], SIG_SAT); in celt_synthesis()
747 buf[DECODE_BUFFER_SIZE-N+i] = SATURATE(buf[DECODE_BUFFER_SIZE-N+i], SIG_SAT); in celt_decode_lost()
/external/speex/libspeexdsp/
Darch.h171 #define SATURATE(x,a) (x) macro
Dfixed_generic.h62 #define SATURATE(x,a) (((x)>(a) ? (a) : (x)<-(a) ? -(a) : (x))) macro
Dfixed_debug.h317 static inline int SATURATE(int a, int b) in SATURATE() function
/external/libopus/src/
Dopus_decoder.c603 pcm[i] = SATURATE(x, 32767); in opus_decode_frame()
Dopus_encoder.c398 out[channels*i+c] = EXTRACT16(SATURATE(PSHR32(y, 14), 32767)); in dc_reject()