Home
last modified time | relevance | path

Searched refs:SATURATE16 (Results 1 – 9 of 9) sorted by relevance

/external/libopus/celt/
Dcelt_lpc.c124 _y[i] = SATURATE16(PSHR32(sum, SIG_SHIFT)); in celt_fir_c()
131 _y[i ] = SATURATE16(ADD32(EXTEND32(_x[i ]), PSHR32(sum[0], SIG_SHIFT))); in celt_fir_c()
132 _y[i+1] = SATURATE16(ADD32(EXTEND32(_x[i+1]), PSHR32(sum[1], SIG_SHIFT))); in celt_fir_c()
133 _y[i+2] = SATURATE16(ADD32(EXTEND32(_x[i+2]), PSHR32(sum[2], SIG_SHIFT))); in celt_fir_c()
134 _y[i+3] = SATURATE16(ADD32(EXTEND32(_x[i+3]), PSHR32(sum[3], SIG_SHIFT))); in celt_fir_c()
141 _y[i] = SATURATE16(ADD32(EXTEND32(_x[i]), PSHR32(sum, SIG_SHIFT))); in celt_fir_c()
Dfixed_generic.h103 #define SATURATE16(x) (EXTRACT16((x)>32767 ? 32767 : (x)<-32768 ? -32768 : (x))) macro
Darch.h202 #define SATURATE16(x) (x) macro
Dfixed_debug.h511 static OPUS_INLINE opus_int16 SATURATE16(opus_int32 a) in SATURATE16() function
/external/libopus/celt/x86/
Dcelt_lpc_sse.c99 _y[i] = SATURATE16(PSHR32(sum, SIG_SHIFT)); in celt_fir_sse4_1()
125 _y[i] = SATURATE16(ADD32(EXTEND32(_x[i]), PSHR32(sum, SIG_SHIFT))); in celt_fir_sse4_1()
/external/speex/libspeex/
Dfixed_generic.h52 #define SATURATE16(x,a) (((x)>(a) ? (a) : (x)<-(a) ? -(a) : (x))) macro
Darch.h172 #define SATURATE16(x,a) (x) macro
Dfixed_debug.h167 #define SATURATE16(x,a) (((x)>(a) ? (a) : (x)<-(a) ? -(a) : (x))) macro
Dfilters.c817 new_exc[i] = SHL16(SATURATE16(new_exc[i],16383),1); in multicomb()