commit | a02ca1ee35927e52b8c6c07fe63c9c1286a3df82 | [log] [tgz] |
---|---|---|
author | Jean-Marc Valin <Jean-Marc.Valin@csiro.au> | Thu Feb 28 11:33:22 2008 +1100 |
committer | Jean-Marc Valin <Jean-Marc.Valin@csiro.au> | Thu Feb 28 11:33:22 2008 +1100 |
tree | a0354ed8dd9e153223e229ac48f09d3d48d45177 | |
parent | 6ba69782fca5fa8ad528c65e7e99bd48b1fe5afb [diff] [blame] |
fixed-point: Added a ROUND() operator, no real change to the code
diff --git a/libcelt/arch.h b/libcelt/arch.h index c836910..084acd5 100644 --- a/libcelt/arch.h +++ b/libcelt/arch.h
@@ -154,6 +154,8 @@ #define SHL(a,shift) (a) #define SATURATE(x,a) (x) +#define ROUND(a,shift) (a) + #define ADD16(a,b) ((a)+(b)) #define SUB16(a,b) ((a)-(b)) #define ADD32(a,b) ((a)+(b))