diff options
author | Monty <xiphmont@xiph.org> | 2003-04-23 21:53:11 +0000 |
---|---|---|
committer | Monty <xiphmont@xiph.org> | 2003-04-23 21:53:11 +0000 |
commit | 65123df53f623f215d5c29ee6ff2c30149a73cd5 (patch) | |
tree | 6eafede99a47b7ce3af8ec4c0eb2b9857bd47e41 /lsp_lookup.h | |
parent | 46ec6d77c8a88b45e003eb343522d5a0e9a86705 (diff) | |
download | tremor-65123df53f623f215d5c29ee6ff2c30149a73cd5.tar.gz |
Eliminate two small (redundant) dB lookups in floor0 and use the
version in floor1.
git-svn-id: https://svn.xiph.org/branches/lowmem-branch/Tremor@4632 0101bb08-14d6-0310-b084-bc0e0c8e3800
Diffstat (limited to 'lsp_lookup.h')
-rw-r--r-- | lsp_lookup.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/lsp_lookup.h b/lsp_lookup.h index fa84851..72c7581 100644 --- a/lsp_lookup.h +++ b/lsp_lookup.h @@ -20,34 +20,6 @@ #include "os_types.h" -#define FROMdB_LOOKUP_SZ 35 -#define FROMdB2_LOOKUP_SZ 32 -#define FROMdB_SHIFT 5 -#define FROMdB2_SHIFT 3 -#define FROMdB2_MASK 31 - -static const ogg_int32_t FROMdB_LOOKUP[FROMdB_LOOKUP_SZ]={ - 0x003fffff, 0x0028619b, 0x00197a96, 0x0010137a, - 0x000a24b0, 0x00066666, 0x000409c3, 0x00028c42, - 0x00019b8c, 0x000103ab, 0x0000a3d7, 0x00006760, - 0x0000413a, 0x00002928, 0x000019f8, 0x00001062, - 0x00000a56, 0x00000686, 0x0000041e, 0x00000299, - 0x000001a3, 0x00000109, 0x000000a7, 0x00000069, - 0x00000042, 0x0000002a, 0x0000001a, 0x00000011, - 0x0000000b, 0x00000007, 0x00000004, 0x00000003, - 0x00000002, 0x00000001, 0x00000001}; - -static const ogg_int32_t FROMdB2_LOOKUP[FROMdB2_LOOKUP_SZ]={ - 0x000001fc, 0x000001f5, 0x000001ee, 0x000001e7, - 0x000001e0, 0x000001d9, 0x000001d2, 0x000001cc, - 0x000001c5, 0x000001bf, 0x000001b8, 0x000001b2, - 0x000001ac, 0x000001a6, 0x000001a0, 0x0000019a, - 0x00000194, 0x0000018e, 0x00000188, 0x00000183, - 0x0000017d, 0x00000178, 0x00000172, 0x0000016d, - 0x00000168, 0x00000163, 0x0000015e, 0x00000159, - 0x00000154, 0x0000014f, 0x0000014a, 0x00000145, -}; - #define INVSQ_LOOKUP_I_SHIFT 10 #define INVSQ_LOOKUP_I_MASK 1023 static const long INVSQ_LOOKUP_I[64+1]={ |