Mercurial > libavcodec.hg
diff ac3.h @ 4879:60603c9c89d1 libavcodec
move ac3 tables from a .h to a .c
author | aurel |
---|---|
date | Wed, 25 Apr 2007 22:12:51 +0000 |
parents | 40f3a7f2b1fd |
children | f8e21b3014f7 |
line wrap: on
line diff
--- a/ac3.h Wed Apr 25 19:13:09 2007 +0000 +++ b/ac3.h Wed Apr 25 22:12:51 2007 +0000 @@ -24,6 +24,8 @@ * Common code between AC3 encoder and decoder. */ +#include "ac3tab.h" + #define AC3_MAX_CODED_FRAME_SIZE 3840 /* in bytes */ #define AC3_MAX_CHANNELS 6 /* including LFE channel */ @@ -77,17 +79,6 @@ /** @} */ } AC3HeaderInfo; -extern const uint16_t ff_ac3_frame_sizes[38][3]; -extern const uint8_t ff_ac3_channels[8]; -extern const uint16_t ff_ac3_freqs[3]; -extern const uint16_t ff_ac3_bitratetab[19]; -extern const int16_t ff_ac3_window[256]; -extern const uint8_t ff_sdecaytab[4]; -extern const uint8_t ff_fdecaytab[4]; -extern const uint16_t ff_sgaintab[4]; -extern const uint16_t ff_dbkneetab[4]; -extern const int16_t ff_floortab[8]; -extern const uint16_t ff_fgaintab[8]; void ac3_common_init(void);