Searched refs:SATURATE (Results 1 - 18 of 18) sorted by relevance

/external/sonivox/arm-wt-22k/lib_src/
H A Deas_reverb.c561 nApOut = SATURATE(nDelayOut - nTemp1); // allpass output
565 nTemp1 = SATURATE(nApIn + nTemp1);
589 nApOut = SATURATE(nDelayOut - nTemp1); // allpass output
593 nTemp1 = SATURATE(nApIn + nTemp1);
621 nDelayOut = SATURATE(nTemp1 + nTemp2);
630 pReverbData->m_zLpf0 = (EAS_PCM) SATURATE(nTemp1 + nTemp2);
650 nDelayOut = SATURATE(nTemp1 + nTemp2);
659 pReverbData->m_zLpf1 = (EAS_PCM)SATURATE(nTemp1 + nTemp2);
666 (EAS_PCM)SATURATE((EAS_I32)pReverbData->m_zLpf1 + (EAS_I32)pReverbData->m_zLpf0);
671 (EAS_PCM)SATURATE((EAS_I3
[all...]
H A Deas_chorus.c318 nOutputSample = SATURATE(tempValue + nInputSample);
320 *pOut = (EAS_I16)SATURATE(nOutputSample);
364 nOutputSample = SATURATE(tempValue + nInputSample);
366 *pOut = (EAS_I16)SATURATE(nOutputSample);
H A Deas_math.h320 #define SATURATE(x) \ macro
H A Deas_mixer.c287 s = SATURATE(s);
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_wm_emit.c472 if (mask & SATURATE)
509 if (mask & SATURATE)
523 if (mask & SATURATE)
532 if (mask & SATURATE)
549 if (mask & SATURATE)
558 if (mask & SATURATE)
576 brw_set_saturate(p, (mask & SATURATE) ? 1 : 0);
601 brw_set_saturate(p, (mask & SATURATE) ? 1 : 0);
697 brw_set_saturate(p, (mask & SATURATE) ? 1 : 0);
739 brw_set_saturate(p, (mask & SATURATE)
[all...]
H A Dbrw_wm.h43 #define SATURATE (1<<5) macro
162 #define SATURATE (1<<5) macro
/external/speex/libspeex/
H A Dfilters.c103 yi = EXTRACT16(SATURATE(PSHR32(vout,14),32767));
326 yi = EXTRACT16(SATURATE(ADD32(EXTEND32(x[i]),PSHR32(mem[0],LPC_SHIFT)),32767));
346 yi = EXTRACT16(SATURATE(ADD32(EXTEND32(x[i]),PSHR32(mem[0],LPC_SHIFT)),32767));
367 yi = EXTRACT16(SATURATE(ADD32(EXTEND32(x[i]),PSHR32(mem[0],LPC_SHIFT)),32767));
471 y1[k] = EXTRACT16(SATURATE(PSHR32(y1k,15),32767));
472 y2[k] = EXTRACT16(SATURATE(PSHR32(y2k,15),32767));
H A Darch.h179 #define SATURATE(x,a) (x) macro
H A Dfixed_generic.h62 #define SATURATE(x,a) (((x)>(a) ? (a) : (x)<-(a) ? -(a) : (x))) macro
H A Dfixed_debug.h317 static inline int SATURATE(int a, int b) function
H A Dsb_celp.c590 filter_ratio=EXTRACT16(SATURATE(PDIV32(SHL32(ADD32(rl,82),7),ADD32(82,rh)),32767));
1020 filter_ratio=EXTRACT16(SATURATE(PDIV32(SHL32(ADD32(rl,82),7),ADD32(82,rh)),32767));
H A Dltp.c800 target[i]=EXTRACT16(SATURATE(SUB32(EXTEND32(target[i]),EXTEND32(res[i])),32700));
H A Dnb_celp.c754 target[i]=EXTRACT16(SATURATE(SUB32(sw[i],PSHR32(ringing[i],1)),32767));
/external/libopus/celt/
H A Darch.h166 #define SATURATE(x,a) (x) macro
H A Dfixed_generic.h85 #define SATURATE(x,a) (((x)>(a) ? (a) : (x)<-(a) ? -(a) : (x))) macro
H A Dfixed_debug.h500 static OPUS_INLINE int SATURATE(int a, int b) function
/external/libopus/src/
H A Dopus_decoder.c561 pcm[i] = SATURATE(x, 32767);
H A Dopus_encoder.c375 out[channels*i+c] = EXTRACT16(SATURATE(PSHR32(y, 15), 32767));

Completed in 2193 milliseconds