summaryrefslogtreecommitdiff
path: root/apps/codecs/libfaad/common.h
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2010-09-14 20:26:01 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2010-09-14 20:26:01 +0000
commit9fb54ae32bb6e0958094f9991caa7a493a091f27 (patch)
tree24a67de90086f537a4bc15982e4a2297c64aadbc /apps/codecs/libfaad/common.h
parent82c143c4e1fb248ada018663f1d5b675d2174aea (diff)
downloadrockbox-9fb54ae32bb6e0958094f9991caa7a493a091f27.zip
rockbox-9fb54ae32bb6e0958094f9991caa7a493a091f27.tar.gz
rockbox-9fb54ae32bb6e0958094f9991caa7a493a091f27.tar.bz2
rockbox-9fb54ae32bb6e0958094f9991caa7a493a091f27.tar.xz
More unification of FIXED_POINT and FLOAT. Small refactoring.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28084 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libfaad/common.h')
-rw-r--r--apps/codecs/libfaad/common.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/apps/codecs/libfaad/common.h b/apps/codecs/libfaad/common.h
index e6cdcd8..abef33e 100644
--- a/apps/codecs/libfaad/common.h
+++ b/apps/codecs/libfaad/common.h
@@ -285,9 +285,10 @@ char *strchr(), *strrchr();
#include <math.h>
- #define MUL_R(A,B) ((A)*(B))
- #define MUL_C(A,B) ((A)*(B))
- #define MUL_F(A,B) ((A)*(B))
+ #define MUL_R(A,B) ((A)*(B))
+ #define MUL_C(A,B) ((A)*(B))
+ #define MUL_F(A,B) ((A)*(B))
+ #define MUL_Q2(A,B) ((A)*(B))
/* Complex multiplication */
static INLINE void ComplexMult(real_t *y1, real_t *y2,
@@ -306,9 +307,10 @@ char *strchr(), *strrchr();
typedef float real_t;
- #define MUL_R(A,B) ((A)*(B))
- #define MUL_C(A,B) ((A)*(B))
- #define MUL_F(A,B) ((A)*(B))
+ #define MUL_R(A,B) ((A)*(B))
+ #define MUL_C(A,B) ((A)*(B))
+ #define MUL_F(A,B) ((A)*(B))
+ #define MUL_Q2(A,B) ((A)*(B))
#define REAL_CONST(A) ((real_t)(A))
#define COEF_CONST(A) ((real_t)(A))