Home | History | Annotate | Download | only in celt

Lines Matching full:shr32

45 #define MULT32_32_Q31(a,b) ADD32(ADD32(SHL32(MULT16_16(SHR32((a),16),SHR((b),16)),1), SHR32(MULT16_16SU(SHR32((a),16),((b)&0x0000ffff)),15)), SHR32(MULT16_16SU(SHR32((b),16),((a)&0x0000ffff)),15))
48 #define MULT16_32_Q16(a,b) ADD32(MULT16_16((a),SHR32((b),16)), SHR32(MULT16_16SU((a),((b)&0x0000ffff)),16))
59 #define SHR(a,b) SHR32(a,b)
182 static OPUS_INLINE int SHR32(opus_int64 a, int shift)
187 fprintf (stderr, "SHR32: inputs are not int: %d %d\n", (int)a, shift);
195 fprintf (stderr, "SHR32: output is not int: %d\n", (int)res);
226 #define PSHR32(a,shift) (celt_mips--,SHR32(ADD32((a),(((opus_val32)(1)<<((shift))>>1))),shift))
227 #define VSHR32(a, shift) (((shift)>0) ? SHR32(a, shift) : SHL32(a, -(shift)))
231 #define HALF32(x) (SHR32(x,1))