diff options
author | Rostislav Pehlivanov <atomnuker@gmail.com> | 2015-07-17 22:20:14 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-07-21 13:53:04 +0200 |
commit | 331c1e74941dc91a29cfaace64311ea6ce73de75 (patch) | |
tree | 20ac1da2aee4199acbe1d7690c07c9311fc67a01 /libavcodec/aac_tablegen_decl.h | |
parent | cee7acfcfc1bc806044ff35ff7ec7b64528f99b1 (diff) | |
download | ffmpeg-331c1e74941dc91a29cfaace64311ea6ce73de75.tar.gz |
aacenc: move the generation of ff_aac_pow34sf_tab[]
This commit moves the generation of ff_aac_pow34sf_tab[] out of the
encoder and into the table generator. The original commit log for
this table in 2011 actually mentions that it should be moved outside
but this never happened.
This is the first commit which cleans up the encoder a little.
Reviewed-by: Claudio Freire <klaussfreire@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/aac_tablegen_decl.h')
-rw-r--r-- | libavcodec/aac_tablegen_decl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/aac_tablegen_decl.h b/libavcodec/aac_tablegen_decl.h index 5105dae483..ef86f85e1f 100644 --- a/libavcodec/aac_tablegen_decl.h +++ b/libavcodec/aac_tablegen_decl.h @@ -28,9 +28,11 @@ #if CONFIG_HARDCODED_TABLES #define ff_aac_tableinit() extern const float ff_aac_pow2sf_tab[428]; +extern const float ff_aac_pow34sf_tab[428]; #else void ff_aac_tableinit(void); extern float ff_aac_pow2sf_tab[428]; +extern float ff_aac_pow34sf_tab[428]; #endif /* CONFIG_HARDCODED_TABLES */ #endif /* AVCODEC_AAC_TABLEGEN_DECL_H */ |