diff options
author | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2013-08-29 23:29:02 +0400 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2013-08-29 23:29:02 +0400 |
commit | 02fed471a4568852d6618e041c4f2af0d7730ee2 (patch) | |
tree | 1e2ba204606f5aed0ca027cf76edd4b8af5f6552 /celt/arch.h | |
parent | 00a1b3e0da9337939f528c71dd4be4bb6872668f (diff) |
Implements fixed-point silk_LPC_analysis_filter() in terms of celt_fir()
Saves 2.5% on ARM without any asm. The float build still uses the old
code because celt_fir() then becomes a float function.
Diffstat (limited to 'celt/arch.h')
-rw-r--r-- | celt/arch.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/celt/arch.h b/celt/arch.h index e497a4d9..78e2635f 100644 --- a/celt/arch.h +++ b/celt/arch.h @@ -163,6 +163,7 @@ typedef float celt_ener; #define SHR(a,shift) (a) #define SHL(a,shift) (a) #define SATURATE(x,a) (x) +#define SATURATE16(x) (x) #define ROUND16(a,shift) (a) #define HALF16(x) (.5f*(x)) |