diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2010-12-14 14:51:47 +0000 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2010-12-14 14:51:47 +0000 |
commit | e0b9f94b39d0441a349b43ae0574de4453ec73f1 (patch) | |
tree | 02f4562a6ca888313741c64044ed1e77bf039ca6 /libavcodec/ac3tab.h | |
parent | ce571ceb456479939f4e19bdb7d0003a60e107b5 (diff) | |
download | ffmpeg-e0b9f94b39d0441a349b43ae0574de4453ec73f1.tar.gz |
cosmetics: use some size macros in ac3tab.c/h
Originally committed as revision 25969 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ac3tab.h')
-rw-r--r-- | libavcodec/ac3tab.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libavcodec/ac3tab.h b/libavcodec/ac3tab.h index b5c2b77c9d..4d41337d3a 100644 --- a/libavcodec/ac3tab.h +++ b/libavcodec/ac3tab.h @@ -23,6 +23,7 @@ #define AVCODEC_AC3TAB_H #include "libavutil/common.h" +#include "ac3.h" extern const uint16_t ff_ac3_frame_size_tab[38][3]; extern const uint8_t ff_ac3_channels_tab[8]; @@ -31,9 +32,9 @@ extern const uint8_t ff_ac3_enc_channel_map[8][2][6]; extern const uint8_t ff_ac3_dec_channel_map[8][2][6]; extern const uint16_t ff_ac3_sample_rate_tab[3]; extern const uint16_t ff_ac3_bitrate_tab[19]; -extern const int16_t ff_ac3_window[256]; +extern const int16_t ff_ac3_window[AC3_WINDOW_SIZE/2]; extern const uint8_t ff_ac3_log_add_tab[260]; -extern const uint16_t ff_ac3_hearing_threshold_tab[50][3]; +extern const uint16_t ff_ac3_hearing_threshold_tab[AC3_CRITICAL_BANDS][3]; extern const uint8_t ff_ac3_bap_tab[64]; extern const uint8_t ff_ac3_slow_decay_tab[4]; extern const uint8_t ff_ac3_fast_decay_tab[4]; @@ -41,7 +42,7 @@ extern const uint16_t ff_ac3_slow_gain_tab[4]; extern const uint16_t ff_ac3_db_per_bit_tab[4]; extern const int16_t ff_ac3_floor_tab[8]; extern const uint16_t ff_ac3_fast_gain_tab[8]; -extern const uint8_t ff_ac3_critical_band_size_tab[50]; +extern const uint8_t ff_ac3_critical_band_size_tab[AC3_CRITICAL_BANDS]; extern const uint16_t ff_eac3_default_chmap[8]; /** Custom channel map locations bitmask |