diff options
author | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2013-11-29 16:38:20 -0500 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2013-11-29 16:38:20 -0500 |
commit | 7d2502359fa2b5a5b8b708655b7bccbddc22fcff (patch) | |
tree | a9720fcb9f5a1aae186e566fb5bc007595ad2f90 | |
parent | f47adfa660da386fc404123c44a010e8708e40c1 (diff) | |
download | opus-7d2502359fa2b5a5b8b708655b7bccbddc22fcff.tar.gz |
Fixes the mips_alt build
-rw-r--r-- | celt/fixed_generic.h | 3 | ||||
-rw-r--r-- | celt/kiss_fft.c | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/celt/fixed_generic.h b/celt/fixed_generic.h index e8b90f49..865f0aab 100644 --- a/celt/fixed_generic.h +++ b/celt/fixed_generic.h @@ -33,6 +33,9 @@ #ifndef FIXED_GENERIC_H #define FIXED_GENERIC_H +#define S_MUL_ADD(a, b, c, d) (S_MUL(a,b)+S_MUL(c,d)) +#define S_MUL_SUB(a, b, c, d) (S_MUL(a,b)-S_MUL(c,d)) + static inline int MULT16_16_Q15_ADD(int a, int b, int c, int d) { int m; long long ac1 = ((long long)a * (long long)b); diff --git a/celt/kiss_fft.c b/celt/kiss_fft.c index b0227069..db4ec16d 100644 --- a/celt/kiss_fft.c +++ b/celt/kiss_fft.c @@ -43,9 +43,6 @@ #ifdef FIXED_POINT -#define S_MUL_ADD(a, b, c, d) (S_MUL(a,b)+S_MUL(c,d)) -#define S_MUL_SUB(a, b, c, d) (S_MUL(a,b)-S_MUL(c,d)) - #undef S_MUL_ADD static inline int S_MUL_ADD(int a, int b, int c, int d) { int m; |