From 9fb54ae32bb6e0958094f9991caa7a493a091f27 Mon Sep 17 00:00:00 2001 From: Andree Buschmann Date: Tue, 14 Sep 2010 20:26:01 +0000 Subject: More unification of FIXED_POINT and FLOAT. Small refactoring. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28084 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/libfaad/common.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'apps/codecs/libfaad/common.h') 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 - #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)) -- cgit v1.1