shithub: opus

Download patch

ref: bfcbd184b5413f0cbddc286b2b4e57f8bd1ac90c
parent: fb7359a61f657f6795353d7d1ba261886eb5ebaf
author: Jean-Marc Valin <[email protected]>
date: Sat Mar 15 04:12:49 EDT 2008

New C55 macro

--- a/libcelt/fixed_c5x.h
+++ b/libcelt/fixed_c5x.h
@@ -35,7 +35,6 @@
 #ifndef FIXED_C5X_H
 #define FIXED_C5X_H
 
-#if 0 /* All macros disabled until they can be properly tested */
 #undef MAX16
 #define MAX16(a,b) _max(a,b)
 
@@ -50,6 +49,9 @@
 
 #undef VSHR32
 #define VSHR32(a, shift) _lshl(a,-(shift))
-#endif
 
-#endif /* FIXED_C5X_H */
\ No newline at end of file
+#undef MULT16_16_Q15
+#define MULT16_16_Q15(a,b) (_smpy(a,b))
+
+
+#endif /* FIXED_C5X_H */