Commit 73fc82f3 authored by Luca Barbato's avatar Luca Barbato Committed by Diego Biurrun

vlc: Add header #include when the types are used

Do not rely on indirectly including it from bitstream.h.
Signed-off-by: 's avatarDiego Biurrun <diego@biurrun.de>
parent edbf0fff
...@@ -36,6 +36,7 @@ ...@@ -36,6 +36,7 @@
#include "bswapdsp.h" #include "bswapdsp.h"
#include "bytestream.h" #include "bytestream.h"
#include "internal.h" #include "internal.h"
#include "vlc.h"
#define BLOCK_TYPE_VLC_BITS 5 #define BLOCK_TYPE_VLC_BITS 5
#define ACDC_VLC_BITS 9 #define ACDC_VLC_BITS 9
......
...@@ -44,6 +44,7 @@ ...@@ -44,6 +44,7 @@
#include "bytestream.h" #include "bytestream.h"
#include "fft.h" #include "fft.h"
#include "internal.h" #include "internal.h"
#include "vlc.h"
#include "atrac.h" #include "atrac.h"
#include "atrac3data.h" #include "atrac3data.h"
......
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
#include "avcodec.h" #include "avcodec.h"
#include "bitstream.h" #include "bitstream.h"
#include "vlc.h"
#include "atrac3plus.h" #include "atrac3plus.h"
#include "atrac3plus_data.h" #include "atrac3plus_data.h"
......
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
#include "hpeldsp.h" #include "hpeldsp.h"
#include "internal.h" #include "internal.h"
#include "mathops.h" #include "mathops.h"
#include "vlc.h"
#define BINK_FLAG_ALPHA 0x00100000 #define BINK_FLAG_ALPHA 0x00100000
#define BINK_FLAG_GRAY 0x00020000 #define BINK_FLAG_GRAY 0x00020000
......
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
#include "avcodec.h" #include "avcodec.h"
#include "bitstream.h" #include "bitstream.h"
#include "vlc.h"
#define VLC_BITS 9 #define VLC_BITS 9
#define SUBBAND_COUNT 10 #define SUBBAND_COUNT 10
......
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
#include "bytestream.h" #include "bytestream.h"
#include "idctdsp.h" #include "idctdsp.h"
#include "internal.h" #include "internal.h"
#include "vlc.h"
#define NUM_DC_CODES 127 #define NUM_DC_CODES 127
#define NUM_AC_CODES 103 #define NUM_AC_CODES 103
......
...@@ -52,6 +52,7 @@ ...@@ -52,6 +52,7 @@
#include "fft.h" #include "fft.h"
#include "internal.h" #include "internal.h"
#include "sinewin.h" #include "sinewin.h"
#include "vlc.h"
#include "cookdata.h" #include "cookdata.h"
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
#include "avcodec.h" #include "avcodec.h"
#include "bitstream.h" #include "bitstream.h"
#include "put_bits.h" #include "put_bits.h"
#include "vlc.h"
#include "faxcompr.h" #include "faxcompr.h"
#define CCITT_SYMS 104 #define CCITT_SYMS 104
......
...@@ -39,6 +39,7 @@ ...@@ -39,6 +39,7 @@
#include "internal.h" #include "internal.h"
#include "jpegtables.h" #include "jpegtables.h"
#include "mjpeg.h" #include "mjpeg.h"
#include "vlc.h"
#define EPIC_PIX_STACK_SIZE 1024 #define EPIC_PIX_STACK_SIZE 1024
#define EPIC_PIX_STACK_MAX (EPIC_PIX_STACK_SIZE - 1) #define EPIC_PIX_STACK_MAX (EPIC_PIX_STACK_SIZE - 1)
......
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#include "bitstream.h" #include "bitstream.h"
#include "hqxdsp.h" #include "hqxdsp.h"
#include "vlc.h"
enum HQXACMode { enum HQXACMode {
HQX_AC_Q0 = 0, HQX_AC_Q0 = 0,
......
...@@ -44,6 +44,7 @@ ...@@ -44,6 +44,7 @@
#include "fft.h" #include "fft.h"
#include "internal.h" #include "internal.h"
#include "sinewin.h" #include "sinewin.h"
#include "vlc.h"
#include "imcdata.h" #include "imcdata.h"
......
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
#include "indeo2data.h" #include "indeo2data.h"
#include "internal.h" #include "internal.h"
#include "mathops.h" #include "mathops.h"
#include "vlc.h"
typedef struct Ir2Context{ typedef struct Ir2Context{
AVCodecContext *avctx; AVCodecContext *avctx;
......
...@@ -34,6 +34,7 @@ ...@@ -34,6 +34,7 @@
#include "internal.h" #include "internal.h"
#include "ivi.h" #include "ivi.h"
#include "ivi_dsp.h" #include "ivi_dsp.h"
#include "vlc.h"
#define IVI4_PIC_SIZE_ESC 7 #define IVI4_PIC_SIZE_ESC 7
......
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
#include "ivi.h" #include "ivi.h"
#include "ivi_dsp.h" #include "ivi_dsp.h"
#include "indeo5data.h" #include "indeo5data.h"
#include "vlc.h"
/** /**
* Indeo5 frame types. * Indeo5 frame types.
......
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
#include "avcodec.h" #include "avcodec.h"
#include "bitstream.h" #include "bitstream.h"
#include "vlc.h"
/** /**
* Indeo 4 frame types. * Indeo 4 frame types.
......
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
#include "hpeldsp.h" #include "hpeldsp.h"
#include "idctdsp.h" #include "idctdsp.h"
#include "thread.h" #include "thread.h"
#include "vlc.h"
#define MIMIC_HEADER_SIZE 20 #define MIMIC_HEADER_SIZE 20
......
...@@ -39,6 +39,7 @@ ...@@ -39,6 +39,7 @@
#include "mlpdsp.h" #include "mlpdsp.h"
#include "mlp.h" #include "mlp.h"
#include "config.h" #include "config.h"
#include "vlc.h"
/** number of bits used for VLC lookup - longest Huffman code is 9 */ /** number of bits used for VLC lookup - longest Huffman code is 9 */
#if ARCH_ARM #if ARCH_ARM
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
#include "bitstream.h" #include "bitstream.h"
#include "bswapdsp.h" #include "bswapdsp.h"
#include "internal.h" #include "internal.h"
#include "vlc.h"
#define MAX_HUFF_CODES 16 #define MAX_HUFF_CODES 16
......
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
#include "bitstream.h" #include "bitstream.h"
#include "internal.h" #include "internal.h"
#include "mpegaudiodsp.h" #include "mpegaudiodsp.h"
#include "vlc.h"
#include "mpc.h" #include "mpc.h"
#include "mpc7data.h" #include "mpc7data.h"
......
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
#include "bitstream.h" #include "bitstream.h"
#include "internal.h" #include "internal.h"
#include "mpegaudiodsp.h" #include "mpegaudiodsp.h"
#include "vlc.h"
#include "mpc.h" #include "mpc.h"
#include "mpc8data.h" #include "mpc8data.h"
......
...@@ -44,6 +44,7 @@ ...@@ -44,6 +44,7 @@
#include "mpegaudio.h" #include "mpegaudio.h"
#include "mpegaudiodsp.h" #include "mpegaudiodsp.h"
#include "rdft.h" #include "rdft.h"
#include "vlc.h"
#include "qdm2data.h" #include "qdm2data.h"
#include "qdm2_tablegen.h" #include "qdm2_tablegen.h"
......
...@@ -39,6 +39,7 @@ ...@@ -39,6 +39,7 @@
#include "bytestream.h" #include "bytestream.h"
#include "internal.h" #include "internal.h"
#include "mathops.h" #include "mathops.h"
#include "vlc.h"
#define SMKTREE_BITS 9 #define SMKTREE_BITS 9
#define SMK_NODE 0x80000000 #define SMK_NODE 0x80000000
......
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
#include "bswapdsp.h" #include "bswapdsp.h"
#include "bytestream.h" #include "bytestream.h"
#include "internal.h" #include "internal.h"
#include "vlc.h"
#define TM2_ESCAPE 0x80000000 #define TM2_ESCAPE 0x80000000
#define TM2_DELTAS 64 #define TM2_DELTAS 64
......
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
#include "internal.h" #include "internal.h"
#include "mathops.h" #include "mathops.h"
#include "tscc2data.h" #include "tscc2data.h"
#include "vlc.h"
typedef struct TSCC2Context { typedef struct TSCC2Context {
AVCodecContext *avctx; AVCodecContext *avctx;
......
...@@ -36,6 +36,7 @@ ...@@ -36,6 +36,7 @@
#include "internal.h" #include "internal.h"
#include "thread.h" #include "thread.h"
#include "utvideo.h" #include "utvideo.h"
#include "vlc.h"
static int build_huff10(const uint8_t *src, VLC *vlc, int *fsym) static int build_huff10(const uint8_t *src, VLC *vlc, int *fsym)
{ {
......
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
#include "fft.h" #include "fft.h"
#include "get_bits.h" #include "get_bits.h"
#include "internal.h" #include "internal.h"
#include "vlc.h"
#include "vorbis.h" #include "vorbis.h"
#include "vorbisdsp.h" #include "vorbisdsp.h"
#include "xiph.h" #include "xiph.h"
......
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#include "bitstream.h" #include "bitstream.h"
#include "fft.h" #include "fft.h"
#include "put_bits.h" #include "put_bits.h"
#include "vlc.h"
/* size of blocks */ /* size of blocks */
#define BLOCK_MIN_BITS 7 #define BLOCK_MIN_BITS 7
......
...@@ -43,6 +43,7 @@ ...@@ -43,6 +43,7 @@
#include "dct.h" #include "dct.h"
#include "rdft.h" #include "rdft.h"
#include "sinewin.h" #include "sinewin.h"
#include "vlc.h"
#define MAX_BLOCKS 8 ///< maximum number of blocks per frame #define MAX_BLOCKS 8 ///< maximum number of blocks per frame
#define MAX_LSPS 16 ///< maximum filter order #define MAX_LSPS 16 ///< maximum filter order
......
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#include "bitstream.h" #include "bitstream.h"
#include "internal.h" #include "internal.h"
#include "mathops.h" #include "mathops.h"
#include "vlc.h"
typedef struct WNV1Context { typedef struct WNV1Context {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment