aboutsummaryrefslogtreecommitdiffstats
path: root/libSACdec/src/sac_rom.h
diff options
context:
space:
mode:
authorXin Li <delphij@google.com>2020-09-10 17:22:12 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2020-09-10 17:22:12 +0000
commit89b6626d5d9f5968da53d107e7f6c2666ef5400f (patch)
tree0e353968c34e8c9699663a9b252836b70847c30b /libSACdec/src/sac_rom.h
parent946a672b0f5b8481eb3a429f854fcb34d847d692 (diff)
parent7f7e67fe023aa5e479aba0388a7e3fb591bda4e5 (diff)
downloadfdk-aac-89b6626d5d9f5968da53d107e7f6c2666ef5400f.tar.gz
fdk-aac-89b6626d5d9f5968da53d107e7f6c2666ef5400f.tar.bz2
fdk-aac-89b6626d5d9f5968da53d107e7f6c2666ef5400f.zip
Merge "Merge Android R"
Diffstat (limited to 'libSACdec/src/sac_rom.h')
-rw-r--r--libSACdec/src/sac_rom.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/libSACdec/src/sac_rom.h b/libSACdec/src/sac_rom.h
index 38f17f2..d317856 100644
--- a/libSACdec/src/sac_rom.h
+++ b/libSACdec/src/sac_rom.h
@@ -111,21 +111,12 @@ amm-info@iis.fraunhofer.de
#include "machine_type.h"
/* Global ROM table data type: */
-#ifndef ARCH_PREFER_MULT_32x32
-#define FIXP_CFG FIXP_SGL
-#define FX_CFG2FX_DBL FX_SGL2FX_DBL
-#define FX_CFG2FX_SGL
-#define CFG(a) (FX_DBL2FXCONST_SGL(a))
-#define FL2FXCONST_CFG FL2FXCONST_SGL
-#define FX_DBL2FX_CFG(x) FX_DBL2FX_SGL((FIXP_DBL)(x))
-#else
#define FIXP_CFG FIXP_DBL
#define FX_CFG2FX_DBL
#define FX_CFG2FX_SGL FX_DBL2FX_SGL
#define CFG(a) FIXP_DBL(a)
#define FL2FXCONST_CFG FL2FXCONST_DBL
#define FX_DBL2FX_CFG(x) ((FIXP_DBL)(x))
-#endif
/* others */
#define SCALE_INV_ICC (2)
@@ -133,15 +124,9 @@ amm-info@iis.fraunhofer.de
#define QCC_SCALE 1
#define M1M2_DATA FIXP_DBL
-#ifndef ARCH_PREFER_MULT_32x32
-#define M1M2_CDATA FIXP_SGL
-#define M1M2_CDATA2FX_DBL(a) FX_SGL2FX_DBL(a)
-#define FX_DBL2M1M2_CDATA(a) FX_DBL2FX_SGL(a)
-#else
#define M1M2_CDATA FIXP_DBL
#define M1M2_CDATA2FX_DBL(a) (a)
#define FX_DBL2M1M2_CDATA(a) (a)
-#endif
#define CLIP_PROTECT_GAIN_0(x) FL2FXCONST_CFG(((x) / (float)(1 << 0)))
#define CLIP_PROTECT_GAIN_1(x) FL2FXCONST_CFG(((x) / (float)(1 << 1)))