diff options
author | Ganesh Ajjanagadde <gajjanagadde@gmail.com> | 2015-12-29 08:50:43 -0800 |
---|---|---|
committer | Ganesh Ajjanagadde <gajjanagadde@gmail.com> | 2015-12-30 20:37:13 -0800 |
commit | b492fbcc6e87094804fdf71308dc500976c6b165 (patch) | |
tree | 0a1fde6c102f6c5c4b10c05eaad8acde8da7c41b /libavcodec/dsd_tablegen.h | |
parent | 73ce8162f3499cf0e86d1d80dea53324bd62bcb3 (diff) | |
download | ffmpeg-streaming-b492fbcc6e87094804fdf71308dc500976c6b165.zip ffmpeg-streaming-b492fbcc6e87094804fdf71308dc500976c6b165.tar.gz |
lavc/dsd_tablegen: always generate tables at runtime
Commit b272c3a5aa has sped up dsd_tablegen, and now table generation takes
~ 40k cycles. Thus, these tables can always be generated at runtime.
Tested with/without --enable-hardcoded-tables.
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Diffstat (limited to 'libavcodec/dsd_tablegen.h')
-rw-r--r-- | libavcodec/dsd_tablegen.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/dsd_tablegen.h b/libavcodec/dsd_tablegen.h index d4ef302..990d57a 100644 --- a/libavcodec/dsd_tablegen.h +++ b/libavcodec/dsd_tablegen.h @@ -29,10 +29,6 @@ #define HTAPS 48 /** number of FIR constants */ #define CTABLES ((HTAPS + 7) / 8) /** number of "8 MACs" lookup tables */ -#if CONFIG_HARDCODED_TABLES -#define dsd_ctables_tableinit() -#include "libavcodec/dsd_tables.h" -#else #include "libavutil/common.h" /* @@ -91,6 +87,5 @@ static av_cold void dsd_ctables_tableinit(void) ctables[CTABLES - 1 - t][e] = acc[t]; } } -#endif /* CONFIG_HARDCODED_TABLES */ #endif /* AVCODEC_DSD_TABLEGEN_H */ |