summaryrefslogtreecommitdiff
path: root/libavcodec/ac3tab.h
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-03-11 02:49:55 +0000
committerMans Rullgard <mans@mansr.com>2011-03-29 19:31:45 +0100
commit6d9f52b2cd760eacf6cc6b7d694b0b00d991f1de (patch)
treeb6275771445a9cf058d92cb5fb2847698a3414a8 /libavcodec/ac3tab.h
parentd38345878cbb89e4d8d33bd79f47836d4e9cd637 (diff)
downloadffmpeg-6d9f52b2cd760eacf6cc6b7d694b0b00d991f1de.tar.gz
ac3: move ff_ac3_bit_alloc_calc_bap to ac3dsp
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/ac3tab.h')
-rw-r--r--libavcodec/ac3tab.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libavcodec/ac3tab.h b/libavcodec/ac3tab.h
index e3fda9715a..292ce0d32f 100644
--- a/libavcodec/ac3tab.h
+++ b/libavcodec/ac3tab.h
@@ -25,6 +25,12 @@
#include "libavutil/common.h"
#include "ac3.h"
+#if CONFIG_HARDCODED_TABLES
+# define HCONST const
+#else
+# define HCONST
+#endif
+
extern const uint16_t ff_ac3_frame_size_tab[38][3];
extern const uint8_t ff_ac3_channels_tab[8];
extern const uint16_t ff_ac3_channel_layout_tab[8];
@@ -44,6 +50,8 @@ 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 uint16_t ff_eac3_default_chmap[8];
+extern const uint8_t ff_ac3_band_start_tab[AC3_CRITICAL_BANDS+1];
+extern HCONST uint8_t ff_ac3_bin_to_band_tab[253];
/** Custom channel map locations bitmask
* Other channels described in documentation: