Searched refs:SATURATE16 (Results 1 – 9 of 9) sorted by relevance
/external/libopus/celt/ |
D | celt_lpc.c | 124 _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()
|
D | fixed_generic.h | 103 #define SATURATE16(x) (EXTRACT16((x)>32767 ? 32767 : (x)<-32768 ? -32768 : (x))) macro
|
D | arch.h | 202 #define SATURATE16(x) (x) macro
|
D | fixed_debug.h | 511 static OPUS_INLINE opus_int16 SATURATE16(opus_int32 a) in SATURATE16() function
|
/external/libopus/celt/x86/ |
D | celt_lpc_sse.c | 99 _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/ |
D | fixed_generic.h | 52 #define SATURATE16(x,a) (((x)>(a) ? (a) : (x)<-(a) ? -(a) : (x))) macro
|
D | arch.h | 172 #define SATURATE16(x,a) (x) macro
|
D | fixed_debug.h | 167 #define SATURATE16(x,a) (((x)>(a) ? (a) : (x)<-(a) ? -(a) : (x))) macro
|
D | filters.c | 817 new_exc[i] = SHL16(SATURATE16(new_exc[i],16383),1); in multicomb()
|