From 79abf2d0ded860acf505de22c4f7a750e5e98446 Mon Sep 17 00:00:00 2001 From: Ganesh Ajjanagadde Date: Fri, 27 Nov 2015 17:01:49 -0500 Subject: 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 Signed-off-by: Ganesh Ajjanagadde --- libavcodec/aactab.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libavcodec/aactab.c') 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 +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]; -- cgit v1.2.3