Do not rely on indirectly including it from bitstream.h.
Unified · Split
| @@ -36,6 +36,7 @@ · 35 unmodified lines | ||
| 36 | 36 | #include "bswapdsp.h" |
| 37 | 37 | #include "bytestream.h" |
| 38 | 38 | #include "internal.h" |
| 39 | +#include "vlc.h" | |
| 39 | 40 | |
| 40 | 41 | #define BLOCK_TYPE_VLC_BITS 5 |
| 41 | 42 | #define ACDC_VLC_BITS 9 |
| @@ -44,6 +44,7 @@ · 43 unmodified lines | ||
| 44 | 44 | #include "bytestream.h" |
| 45 | 45 | #include "fft.h" |
| 46 | 46 | #include "internal.h" |
| 47 | +#include "vlc.h" | |
| 47 | 48 | |
| 48 | 49 | #include "atrac.h" |
| 49 | 50 | #include "atrac3data.h" |
| @@ -29,6 +29,7 @@ · 28 unmodified lines | ||
| 29 | 29 | |
| 30 | 30 | #include "avcodec.h" |
| 31 | 31 | #include "bitstream.h" |
| 32 | +#include "vlc.h" | |
| 32 | 33 | #include "atrac3plus.h" |
| 33 | 34 | #include "atrac3plus_data.h" |
| 34 | 35 | |
| @@ -33,6 +33,7 @@ · 32 unmodified lines | ||
| 33 | 33 | #include "hpeldsp.h" |
| 34 | 34 | #include "internal.h" |
| 35 | 35 | #include "mathops.h" |
| 36 | +#include "vlc.h" | |
| 36 | 37 | |
| 37 | 38 | #define BINK_FLAG_ALPHA 0x00100000 |
| 38 | 39 | #define BINK_FLAG_GRAY 0x00020000 |
| @@ -25,6 +25,7 @@ · 24 unmodified lines | ||
| 25 | 25 | |
| 26 | 26 | #include "avcodec.h" |
| 27 | 27 | #include "bitstream.h" |
| 28 | +#include "vlc.h" | |
| 28 | 29 | |
| 29 | 30 | #define VLC_BITS 9 |
| 30 | 31 | #define SUBBAND_COUNT 10 |
| @@ -29,6 +29,7 @@ · 28 unmodified lines | ||
| 29 | 29 | #include "bytestream.h" |
| 30 | 30 | #include "idctdsp.h" |
| 31 | 31 | #include "internal.h" |
| 32 | +#include "vlc.h" | |
| 32 | 33 | |
| 33 | 34 | #define NUM_DC_CODES 127 |
| 34 | 35 | #define NUM_AC_CODES 103 |
| @@ -52,6 +52,7 @@ · 51 unmodified lines | ||
| 52 | 52 | #include "fft.h" |
| 53 | 53 | #include "internal.h" |
| 54 | 54 | #include "sinewin.h" |
| 55 | +#include "vlc.h" | |
| 55 | 56 | |
| 56 | 57 | #include "cookdata.h" |
| 57 | 58 | |
| @@ -27,6 +27,7 @@ · 26 unmodified lines | ||
| 27 | 27 | #include "avcodec.h" |
| 28 | 28 | #include "bitstream.h" |
| 29 | 29 | #include "put_bits.h" |
| 30 | +#include "vlc.h" | |
| 30 | 31 | #include "faxcompr.h" |
| 31 | 32 | |
| 32 | 33 | #define CCITT_SYMS 104 |
| @@ -39,6 +39,7 @@ · 38 unmodified lines | ||
| 39 | 39 | #include "internal.h" |
| 40 | 40 | #include "jpegtables.h" |
| 41 | 41 | #include "mjpeg.h" |
| 42 | +#include "vlc.h" | |
| 42 | 43 | |
| 43 | 44 | #define EPIC_PIX_STACK_SIZE 1024 |
| 44 | 45 | #define EPIC_PIX_STACK_MAX (EPIC_PIX_STACK_SIZE - 1) |
| @@ -28,6 +28,7 @@ · 27 unmodified lines | ||
| 28 | 28 | |
| 29 | 29 | #include "bitstream.h" |
| 30 | 30 | #include "hqxdsp.h" |
| 31 | +#include "vlc.h" | |
| 31 | 32 | |
| 32 | 33 | enum HQXACMode { |
| 33 | 34 | HQX_AC_Q0 = 0, |
| @@ -44,6 +44,7 @@ · 43 unmodified lines | ||
| 44 | 44 | #include "fft.h" |
| 45 | 45 | #include "internal.h" |
| 46 | 46 | #include "sinewin.h" |
| 47 | +#include "vlc.h" | |
| 47 | 48 | |
| 48 | 49 | #include "imcdata.h" |
| 49 | 50 | |
| @@ -32,6 +32,7 @@ · 31 unmodified lines | ||
| 32 | 32 | #include "indeo2data.h" |
| 33 | 33 | #include "internal.h" |
| 34 | 34 | #include "mathops.h" |
| 35 | +#include "vlc.h" | |
| 35 | 36 | |
| 36 | 37 | typedef struct Ir2Context{ |
| 37 | 38 | AVCodecContext *avctx; |
| @@ -34,6 +34,7 @@ · 33 unmodified lines | ||
| 34 | 34 | #include "internal.h" |
| 35 | 35 | #include "ivi.h" |
| 36 | 36 | #include "ivi_dsp.h" |
| 37 | +#include "vlc.h" | |
| 37 | 38 | |
| 38 | 39 | #define IVI4_PIC_SIZE_ESC 7 |
| 39 | 40 | |
| @@ -33,6 +33,7 @@ · 32 unmodified lines | ||
| 33 | 33 | #include "ivi.h" |
| 34 | 34 | #include "ivi_dsp.h" |
| 35 | 35 | #include "indeo5data.h" |
| 36 | +#include "vlc.h" | |
| 36 | 37 | |
| 37 | 38 | /** |
| 38 | 39 | * Indeo5 frame types. |
| @@ -33,6 +33,7 @@ · 32 unmodified lines | ||
| 33 | 33 | |
| 34 | 34 | #include "avcodec.h" |
| 35 | 35 | #include "bitstream.h" |
| 36 | +#include "vlc.h" | |
| 36 | 37 | |
| 37 | 38 | /** |
| 38 | 39 | * Indeo 4 frame types. |
| @@ -32,6 +32,7 @@ · 31 unmodified lines | ||
| 32 | 32 | #include "hpeldsp.h" |
| 33 | 33 | #include "idctdsp.h" |
| 34 | 34 | #include "thread.h" |
| 35 | +#include "vlc.h" | |
| 35 | 36 | |
| 36 | 37 | #define MIMIC_HEADER_SIZE 20 |
| 37 | 38 | |
| @@ -39,6 +39,7 @@ · 38 unmodified lines | ||
| 39 | 39 | #include "mlpdsp.h" |
| 40 | 40 | #include "mlp.h" |
| 41 | 41 | #include "config.h" |
| 42 | +#include "vlc.h" | |
| 42 | 43 | |
| 43 | 44 | /** number of bits used for VLC lookup - longest Huffman code is 9 */ |
| 44 | 45 | #if ARCH_ARM |
| @@ -23,6 +23,7 @@ · 22 unmodified lines | ||
| 23 | 23 | #include "bitstream.h" |
| 24 | 24 | #include "bswapdsp.h" |
| 25 | 25 | #include "internal.h" |
| 26 | +#include "vlc.h" | |
| 26 | 27 | |
| 27 | 28 | #define MAX_HUFF_CODES 16 |
| 28 | 29 | |
| @@ -33,6 +33,7 @@ · 32 unmodified lines | ||
| 33 | 33 | #include "bitstream.h" |
| 34 | 34 | #include "internal.h" |
| 35 | 35 | #include "mpegaudiodsp.h" |
| 36 | +#include "vlc.h" | |
| 36 | 37 | |
| 37 | 38 | #include "mpc.h" |
| 38 | 39 | #include "mpc7data.h" |
| @@ -32,6 +32,7 @@ · 31 unmodified lines | ||
| 32 | 32 | #include "bitstream.h" |
| 33 | 33 | #include "internal.h" |
| 34 | 34 | #include "mpegaudiodsp.h" |
| 35 | +#include "vlc.h" | |
| 35 | 36 | |
| 36 | 37 | #include "mpc.h" |
| 37 | 38 | #include "mpc8data.h" |
| @@ -44,6 +44,7 @@ · 43 unmodified lines | ||
| 44 | 44 | #include "mpegaudio.h" |
| 45 | 45 | #include "mpegaudiodsp.h" |
| 46 | 46 | #include "rdft.h" |
| 47 | +#include "vlc.h" | |
| 47 | 48 | |
| 48 | 49 | #include "qdm2data.h" |
| 49 | 50 | #include "qdm2_tablegen.h" |
| @@ -39,6 +39,7 @@ · 38 unmodified lines | ||
| 39 | 39 | #include "bytestream.h" |
| 40 | 40 | #include "internal.h" |
| 41 | 41 | #include "mathops.h" |
| 42 | +#include "vlc.h" | |
| 42 | 43 | |
| 43 | 44 | #define SMKTREE_BITS 9 |
| 44 | 45 | #define SMK_NODE 0x80000000 |
| @@ -31,6 +31,7 @@ · 30 unmodified lines | ||
| 31 | 31 | #include "bswapdsp.h" |
| 32 | 32 | #include "bytestream.h" |
| 33 | 33 | #include "internal.h" |
| 34 | +#include "vlc.h" | |
| 34 | 35 | |
| 35 | 36 | #define TM2_ESCAPE 0x80000000 |
| 36 | 37 | #define TM2_DELTAS 64 |
| @@ -33,6 +33,7 @@ · 32 unmodified lines | ||
| 33 | 33 | #include "internal.h" |
| 34 | 34 | #include "mathops.h" |
| 35 | 35 | #include "tscc2data.h" |
| 36 | +#include "vlc.h" | |
| 36 | 37 | |
| 37 | 38 | typedef struct TSCC2Context { |
| 38 | 39 | AVCodecContext *avctx; |
| @@ -36,6 +36,7 @@ · 35 unmodified lines | ||
| 36 | 36 | #include "internal.h" |
| 37 | 37 | #include "thread.h" |
| 38 | 38 | #include "utvideo.h" |
| 39 | +#include "vlc.h" | |
| 39 | 40 | |
| 40 | 41 | static int build_huff10(const uint8_t *src, VLC *vlc, int *fsym) |
| 41 | 42 | { |
| @@ -32,6 +32,7 @@ · 31 unmodified lines | ||
| 32 | 32 | #include "fft.h" |
| 33 | 33 | #include "get_bits.h" |
| 34 | 34 | #include "internal.h" |
| 35 | +#include "vlc.h" | |
| 35 | 36 | #include "vorbis.h" |
| 36 | 37 | #include "vorbisdsp.h" |
| 37 | 38 | #include "xiph.h" |
| @@ -28,6 +28,7 @@ · 27 unmodified lines | ||
| 28 | 28 | #include "bitstream.h" |
| 29 | 29 | #include "fft.h" |
| 30 | 30 | #include "put_bits.h" |
| 31 | +#include "vlc.h" | |
| 31 | 32 | |
| 32 | 33 | /* size of blocks */ |
| 33 | 34 | #define BLOCK_MIN_BITS 7 |
| @@ -43,6 +43,7 @@ · 42 unmodified lines | ||
| 43 | 43 | #include "dct.h" |
| 44 | 44 | #include "rdft.h" |
| 45 | 45 | #include "sinewin.h" |
| 46 | +#include "vlc.h" | |
| 46 | 47 | |
| 47 | 48 | #define MAX_BLOCKS 8 ///< maximum number of blocks per frame |
| 48 | 49 | #define MAX_LSPS 16 ///< maximum filter order |
| @@ -28,6 +28,7 @@ · 27 unmodified lines | ||
| 28 | 28 | #include "bitstream.h" |
| 29 | 29 | #include "internal.h" |
| 30 | 30 | #include "mathops.h" |
| 31 | +#include "vlc.h" | |
| 31 | 32 | |
| 32 | 33 | |
| 33 | 34 | typedef struct WNV1Context { |