diff options
author | Ganesh Ajjanagadde <gajjanagadde@gmail.com> | 2015-11-28 01:01:49 +0300 |
---|---|---|
committer | Ganesh Ajjanagadde <gajjanagadde@gmail.com> | 2015-11-28 17:41:15 +0300 |
commit | 79abf2d0ded860acf505de22c4f7a750e5e98446 (patch) | |
tree | b06a373e2e9fe43ba605f3a918d89421be672721 /libavcodec/aactab.c | |
parent | 861f2b2a536b4bdc97cd4f4f14fcb08b957fe690 (diff) |
avcodec/aac_tablegen: get rid of hardcoded tables entirely
Commit 96786a12f6df26990bbe7c0ca4592b3731724469 makes runtime
initialization cheap.
Tested with FATE, with/without --enable-hardcoded-tables.
Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Diffstat (limited to 'libavcodec/aactab.c')
-rw-r--r-- | libavcodec/aactab.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/aactab.c b/libavcodec/aactab.c index dc9acc1bf3..77d8732c47 100644 --- a/libavcodec/aactab.c +++ b/libavcodec/aactab.c @@ -29,10 +29,12 @@ #include "libavutil/mem.h" #include "aac.h" -#include "aac_tablegen.h" #include <stdint.h> +float ff_aac_pow2sf_tab[428]; +float ff_aac_pow34sf_tab[428]; + DECLARE_ALIGNED(32, float, ff_aac_kbd_long_1024)[1024]; DECLARE_ALIGNED(32, float, ff_aac_kbd_short_128)[128]; DECLARE_ALIGNED(32, int, ff_aac_kbd_long_1024_fixed)[1024]; |