]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/mpegaudiodectab.h
amrwbdec: set channels, channel_layout, and sample_rate
[ffmpeg] / libavcodec / mpegaudiodectab.h
index fdcf83fb882f17a2fdaefbbf8e30071c0f7a96aa..12216579880a9aa464574de026763fc82abb1b73 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 },