summaryrefslogtreecommitdiffstats
path: root/libavcodec/aactab.c
diff options
context:
space:
mode:
authorGanesh Ajjanagadde <gajjanagadde@gmail.com>2015-11-27 17:01:49 -0500
committerGanesh Ajjanagadde <gajjanagadde@gmail.com>2015-11-28 09:41:15 -0500
commit79abf2d0ded860acf505de22c4f7a750e5e98446 (patch)
treeb06a373e2e9fe43ba605f3a918d89421be672721 /libavcodec/aactab.c
parent861f2b2a536b4bdc97cd4f4f14fcb08b957fe690 (diff)
downloadffmpeg-streaming-79abf2d0ded860acf505de22c4f7a750e5e98446.zip
ffmpeg-streaming-79abf2d0ded860acf505de22c4f7a750e5e98446.tar.gz
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.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/aactab.c b/libavcodec/aactab.c
index dc9acc1..77d8732 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];
OpenPOWER on IntegriCloud