summaryrefslogtreecommitdiff
path: root/libavcodec/mpegaudiodata.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/mpegaudiodata.h')
-rw-r--r--libavcodec/mpegaudiodata.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/libavcodec/mpegaudiodata.h b/libavcodec/mpegaudiodata.h
index 01b1f88cd0..0a425ef6a8 100644
--- a/libavcodec/mpegaudiodata.h
+++ b/libavcodec/mpegaudiodata.h
@@ -29,6 +29,8 @@
#include <stdint.h>
+#include "config.h"
+
#include "internal.h"
#include "vlc.h"
@@ -42,6 +44,15 @@ extern const int ff_mpa_quant_steps[17];
extern const int ff_mpa_quant_bits[17];
extern const unsigned char * const ff_mpa_alloc_tables[5];
+#define TABLE_4_3_SIZE ((8191 + 16)*4)
+#if CONFIG_HARDCODED_TABLES
+extern const int8_t ff_table_4_3_exp [TABLE_4_3_SIZE];
+extern const uint32_t ff_table_4_3_value[TABLE_4_3_SIZE];
+#else
+extern int8_t ff_table_4_3_exp [TABLE_4_3_SIZE];
+extern uint32_t ff_table_4_3_value[TABLE_4_3_SIZE];
+#endif
+
/* VLCs for decoding layer 3 huffman tables */
extern VLC ff_huff_vlc[16];
extern VLC ff_huff_quad_vlc[2];