Code cleanup

defining HALF16() too
This commit is contained in:
Jean-Marc Valin 2011-05-13 17:41:33 -04:00
parent f54a0a39e5
commit 21b1134aa2
4 changed files with 4 additions and 2 deletions

View file

@ -180,6 +180,7 @@ static inline int SHL32(long long a, int shift)
#define SATURATE32(x,a) (((x)>(a) ? (a) : (x)<-(a) ? -(a) : (x)))
#define ROUND16(x,a) (celt_mips--,EXTRACT16(PSHR32((x),(a))))
#define HALF16(x) (SHR16(x,1))
#define HALF32(x) (SHR32(x,1))
//#define SHR(a,shift) ((a) >> (shift))