Home
last modified time | relevance | path

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

12

/external/sonivox/arm-fm-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.h319 #define SATURATE(x) \ macro
Deas_mixer.c287 s = SATURATE(s); in SynthMasterGain()
/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/sonivox/arm-hybrid-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.h319 #define SATURATE(x) \ macro
Deas_mixer.c287 s = SATURATE(s); in SynthMasterGain()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_wm_emit.c472 if (mask & SATURATE) in emit_ddxy()
509 if (mask & SATURATE) in emit_ddxy()
523 if (mask & SATURATE) in emit_alu1()
532 if (mask & SATURATE) in emit_alu1()
549 if (mask & SATURATE) in emit_alu2()
558 if (mask & SATURATE) in emit_alu2()
576 brw_set_saturate(p, (mask & SATURATE) ? 1 : 0); in emit_mad()
601 brw_set_saturate(p, (mask & SATURATE) ? 1 : 0); in emit_lrp()
697 brw_set_saturate(p, (mask & SATURATE) ? 1 : 0); in emit_cmp()
739 brw_set_saturate(p, (mask & SATURATE) ? 1 : 0); in emit_max()
[all …]
Dbrw_wm.h43 #define SATURATE (1<<5) macro
162 #define SATURATE (1<<5) macro
/external/speex/libspeex/
Dfilters.c103 yi = EXTRACT16(SATURATE(PSHR32(vout,14),32767)); in highpass()
326 yi = EXTRACT16(SATURATE(ADD32(EXTEND32(x[i]),PSHR32(mem[0],LPC_SHIFT)),32767)); in filter_mem16()
346 yi = EXTRACT16(SATURATE(ADD32(EXTEND32(x[i]),PSHR32(mem[0],LPC_SHIFT)),32767)); in iir_mem16()
367 yi = EXTRACT16(SATURATE(ADD32(EXTEND32(x[i]),PSHR32(mem[0],LPC_SHIFT)),32767)); in fir_mem16()
471 y1[k] = EXTRACT16(SATURATE(PSHR32(y1k,15),32767)); in qmf_decomp()
472 y2[k] = EXTRACT16(SATURATE(PSHR32(y2k,15),32767)); in qmf_decomp()
Darch.h179 #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
Dsb_celp.c590 filter_ratio=EXTRACT16(SATURATE(PDIV32(SHL32(ADD32(rl,82),7),ADD32(82,rh)),32767)); in sb_encode()
1020 filter_ratio=EXTRACT16(SATURATE(PDIV32(SHL32(ADD32(rl,82),7),ADD32(82,rh)),32767)); in sb_decode()
Dltp.c800 target[i]=EXTRACT16(SATURATE(SUB32(EXTEND32(target[i]),EXTEND32(res[i])),32700)); in forced_pitch_quant()
Dnb_celp.c754 target[i]=EXTRACT16(SATURATE(SUB32(sw[i],PSHR32(ringing[i],1)),32767)); in nb_encode()
/external/libopus/celt/
Dfixed_generic.h85 #define SATURATE(x,a) (((x)>(a) ? (a) : (x)<-(a) ? -(a) : (x))) macro
Darch.h166 #define SATURATE(x,a) (x) macro
Dfixed_debug.h500 static OPUS_INLINE int SATURATE(int a, int b) in SATURATE() function
/external/libopus/src/
Dopus_decoder.c561 pcm[i] = SATURATE(x, 32767); in opus_decode_frame()

12