]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/mpegaudiodectab.h
Merge remote-tracking branch 'qatar/master'
[ffmpeg] / libavcodec / mpegaudiodectab.h
index 234a70e47495cf2249a9e5304372895920e91621..accd12b8e2d8bda482725e39bcc08038079d70d5 100644 (file)
 #ifndef AVCODEC_MPEGAUDIODECTAB_H
 #define AVCODEC_MPEGAUDIODECTAB_H
 
+#include <stddef.h>
 #include <stdint.h>
+
 #include "mpegaudio.h"
 
 /*******************************************************/
 /* layer 3 tables */
 
+/* layer 3 huffman tables */
+typedef struct HuffTable {
+    int xsize;
+    const uint8_t *bits;
+    const uint16_t *codes;
+} HuffTable;
+
 /* layer3 scale factor size */
 static const uint8_t slen_table[2][16] = {
     { 0, 0, 0, 0, 3, 1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4 },