Searched refs:SATURATE16 (Results 1 – 8 of 8) sorted by relevance
83 y[i] = SATURATE16(ADD32(EXTEND32(x[i]), PSHR32(sum, SIG_SHIFT))); in celt_fir_sse4_1()
52 #define SATURATE16(x,a) (((x)>(a) ? (a) : (x)<-(a) ? -(a) : (x))) macro
164 #define SATURATE16(x,a) (x) macro
167 #define SATURATE16(x,a) (((x)>(a) ? (a) : (x)<-(a) ? -(a) : (x))) macro
103 #define SATURATE16(x) (EXTRACT16((x)>32767 ? 32767 : (x)<-32768 ? -32768 : (x))) macro
235 #define SATURATE16(x) (x) macro
518 static OPUS_INLINE opus_int16 SATURATE16(opus_int32 a) in SATURATE16() function
228 lg = SATURATE16(ADD32(bandLogE[i], SHL32((opus_val32)eMeans[i],6))); in denormalise_bands()