]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/ac3.h
renaming L1CODE to attribute_l1_text, which is defined in dsputil_bfin.h
[ffmpeg] / libavcodec / ac3.h
index 770103a45a3fc42d8cc56dd53ae3ececfaf9f863..bfaf7d0db2215b9543bd885a72a284c2c99122dc 100644 (file)
  * Common code between AC3 encoder and decoder.
  */
 
+#ifndef AC3_H
+#define AC3_H
+
+#include "ac3tab.h"
+
 #define AC3_MAX_CODED_FRAME_SIZE 3840 /* in bytes */
 #define AC3_MAX_CHANNELS 6 /* including LFE channel */
 
@@ -77,17 +82,6 @@ typedef struct {
     /** @} */
 } 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);
 
@@ -157,3 +151,5 @@ void ac3_parametric_bit_allocation(AC3BitAllocParameters *s, uint8_t *bap,
                                    int snroffset, int fgain, int is_lfe,
                                    int deltbae,int deltnseg,
                                    uint8_t *deltoffst, uint8_t *deltlen, uint8_t *deltba);
+
+#endif /* AC3_H */