History

vlc: Add header #include when the types are used

Do not rely on indirectly including it from bitstream.h.

Luca Barbato committed 9 years ago

Commit 73fc82f1 parent edbf0ff29 files · +29 −0Browse files

Unified · Split

29 files
  1. libavcodec/4xm.c +1 −0
  2. libavcodec/atrac3.c +1 −0
  3. libavcodec/atrac3plus.c +1 −0
  4. libavcodec/bink.c +1 −0
  5. libavcodec/cfhd.h +1 −0
  6. libavcodec/clearvideo.c +1 −0
  7. libavcodec/cook.c +1 −0
  8. libavcodec/faxcompr.c +1 −0
  9. libavcodec/g2meet.c +1 −0
  10. libavcodec/hqx.h +1 −0
  11. libavcodec/imc.c +1 −0
  12. libavcodec/indeo2.c +1 −0
  13. libavcodec/indeo4.c +1 −0
  14. libavcodec/indeo5.c +1 −0
  15. libavcodec/ivi.h +1 −0
  16. libavcodec/mimic.c +1 −0
  17. libavcodec/mlpdec.c +1 −0
  18. libavcodec/motionpixels.c +1 −0
  19. libavcodec/mpc7.c +1 −0
  20. libavcodec/mpc8.c +1 −0
  21. libavcodec/qdm2.c +1 −0
  22. libavcodec/smacker.c +1 −0
  23. libavcodec/truemotion2.c +1 −0
  24. libavcodec/tscc2.c +1 −0
  25. libavcodec/utvideodec.c +1 −0
  26. libavcodec/vorbisdec.c +1 −0
  27. libavcodec/wma.h +1 −0
  28. libavcodec/wmavoice.c +1 −0
  29. libavcodec/wnv1.c +1 −0
libavcodec/4xm.c+1−0
@@ -36,6 +36,7 @@ · 35 unmodified lines
36#include "bswapdsp.h"36#include "bswapdsp.h"
37#include "bytestream.h"37#include "bytestream.h"
38#include "internal.h"38#include "internal.h"
39#include "vlc.h"
39 40
40#define BLOCK_TYPE_VLC_BITS 541#define BLOCK_TYPE_VLC_BITS 5
41#define ACDC_VLC_BITS 942#define ACDC_VLC_BITS 9
libavcodec/atrac3.c+1−0
@@ -44,6 +44,7 @@ · 43 unmodified lines
44#include "bytestream.h"44#include "bytestream.h"
45#include "fft.h"45#include "fft.h"
46#include "internal.h"46#include "internal.h"
47#include "vlc.h"
47 48
48#include "atrac.h"49#include "atrac.h"
49#include "atrac3data.h"50#include "atrac3data.h"
libavcodec/atrac3plus.c+1−0
@@ -29,6 +29,7 @@ · 28 unmodified lines
29 29
30#include "avcodec.h"30#include "avcodec.h"
31#include "bitstream.h"31#include "bitstream.h"
32#include "vlc.h"
32#include "atrac3plus.h"33#include "atrac3plus.h"
33#include "atrac3plus_data.h"34#include "atrac3plus_data.h"
34 35
libavcodec/bink.c+1−0
@@ -33,6 +33,7 @@ · 32 unmodified lines
33#include "hpeldsp.h"33#include "hpeldsp.h"
34#include "internal.h"34#include "internal.h"
35#include "mathops.h"35#include "mathops.h"
36#include "vlc.h"
36 37
37#define BINK_FLAG_ALPHA 0x0010000038#define BINK_FLAG_ALPHA 0x00100000
38#define BINK_FLAG_GRAY 0x0002000039#define BINK_FLAG_GRAY 0x00020000
libavcodec/cfhd.h+1−0
@@ -25,6 +25,7 @@ · 24 unmodified lines
25 25
26#include "avcodec.h"26#include "avcodec.h"
27#include "bitstream.h"27#include "bitstream.h"
28#include "vlc.h"
28 29
29#define VLC_BITS 930#define VLC_BITS 9
30#define SUBBAND_COUNT 1031#define SUBBAND_COUNT 10
libavcodec/clearvideo.c+1−0
@@ -29,6 +29,7 @@ · 28 unmodified lines
29#include "bytestream.h"29#include "bytestream.h"
30#include "idctdsp.h"30#include "idctdsp.h"
31#include "internal.h"31#include "internal.h"
32#include "vlc.h"
32 33
33#define NUM_DC_CODES 12734#define NUM_DC_CODES 127
34#define NUM_AC_CODES 10335#define NUM_AC_CODES 103
libavcodec/cook.c+1−0
@@ -52,6 +52,7 @@ · 51 unmodified lines
52#include "fft.h"52#include "fft.h"
53#include "internal.h"53#include "internal.h"
54#include "sinewin.h"54#include "sinewin.h"
55#include "vlc.h"
55 56
56#include "cookdata.h"57#include "cookdata.h"
57 58
libavcodec/faxcompr.c+1−0
@@ -27,6 +27,7 @@ · 26 unmodified lines
27#include "avcodec.h"27#include "avcodec.h"
28#include "bitstream.h"28#include "bitstream.h"
29#include "put_bits.h"29#include "put_bits.h"
30#include "vlc.h"
30#include "faxcompr.h"31#include "faxcompr.h"
31 32
32#define CCITT_SYMS 10433#define CCITT_SYMS 104
libavcodec/g2meet.c+1−0
@@ -39,6 +39,7 @@ · 38 unmodified lines
39#include "internal.h"39#include "internal.h"
40#include "jpegtables.h"40#include "jpegtables.h"
41#include "mjpeg.h"41#include "mjpeg.h"
42#include "vlc.h"
42 43
43#define EPIC_PIX_STACK_SIZE 102444#define EPIC_PIX_STACK_SIZE 1024
44#define EPIC_PIX_STACK_MAX (EPIC_PIX_STACK_SIZE - 1)45#define EPIC_PIX_STACK_MAX (EPIC_PIX_STACK_SIZE - 1)
libavcodec/hqx.h+1−0
@@ -28,6 +28,7 @@ · 27 unmodified lines
28 28
29#include "bitstream.h"29#include "bitstream.h"
30#include "hqxdsp.h"30#include "hqxdsp.h"
31#include "vlc.h"
31 32
32enum HQXACMode {33enum HQXACMode {
33 HQX_AC_Q0 = 0,34 HQX_AC_Q0 = 0,
libavcodec/imc.c+1−0
@@ -44,6 +44,7 @@ · 43 unmodified lines
44#include "fft.h"44#include "fft.h"
45#include "internal.h"45#include "internal.h"
46#include "sinewin.h"46#include "sinewin.h"
47#include "vlc.h"
47 48
48#include "imcdata.h"49#include "imcdata.h"
49 50
libavcodec/indeo2.c+1−0
@@ -32,6 +32,7 @@ · 31 unmodified lines
32#include "indeo2data.h"32#include "indeo2data.h"
33#include "internal.h"33#include "internal.h"
34#include "mathops.h"34#include "mathops.h"
35#include "vlc.h"
35 36
36typedef struct Ir2Context{37typedef struct Ir2Context{
37 AVCodecContext *avctx;38 AVCodecContext *avctx;
libavcodec/indeo4.c+1−0
@@ -34,6 +34,7 @@ · 33 unmodified lines
34#include "internal.h"34#include "internal.h"
35#include "ivi.h"35#include "ivi.h"
36#include "ivi_dsp.h"36#include "ivi_dsp.h"
37#include "vlc.h"
37 38
38#define IVI4_PIC_SIZE_ESC 739#define IVI4_PIC_SIZE_ESC 7
39 40
libavcodec/indeo5.c+1−0
@@ -33,6 +33,7 @@ · 32 unmodified lines
33#include "ivi.h"33#include "ivi.h"
34#include "ivi_dsp.h"34#include "ivi_dsp.h"
35#include "indeo5data.h"35#include "indeo5data.h"
36#include "vlc.h"
36 37
37/**38/**
38 * Indeo5 frame types.39 * Indeo5 frame types.
libavcodec/ivi.h+1−0
@@ -33,6 +33,7 @@ · 32 unmodified lines
33 33
34#include "avcodec.h"34#include "avcodec.h"
35#include "bitstream.h"35#include "bitstream.h"
36#include "vlc.h"
36 37
37/**38/**
38 * Indeo 4 frame types.39 * Indeo 4 frame types.
libavcodec/mimic.c+1−0
@@ -32,6 +32,7 @@ · 31 unmodified lines
32#include "hpeldsp.h"32#include "hpeldsp.h"
33#include "idctdsp.h"33#include "idctdsp.h"
34#include "thread.h"34#include "thread.h"
35#include "vlc.h"
35 36
36#define MIMIC_HEADER_SIZE 2037#define MIMIC_HEADER_SIZE 20
37 38
libavcodec/mlpdec.c+1−0
@@ -39,6 +39,7 @@ · 38 unmodified lines
39#include "mlpdsp.h"39#include "mlpdsp.h"
40#include "mlp.h"40#include "mlp.h"
41#include "config.h"41#include "config.h"
42#include "vlc.h"
42 43
43/** number of bits used for VLC lookup - longest Huffman code is 9 */44/** number of bits used for VLC lookup - longest Huffman code is 9 */
44#if ARCH_ARM45#if ARCH_ARM
libavcodec/motionpixels.c+1−0
@@ -23,6 +23,7 @@ · 22 unmodified lines
23#include "bitstream.h"23#include "bitstream.h"
24#include "bswapdsp.h"24#include "bswapdsp.h"
25#include "internal.h"25#include "internal.h"
26#include "vlc.h"
26 27
27#define MAX_HUFF_CODES 1628#define MAX_HUFF_CODES 16
28 29
libavcodec/mpc7.c+1−0
@@ -33,6 +33,7 @@ · 32 unmodified lines
33#include "bitstream.h"33#include "bitstream.h"
34#include "internal.h"34#include "internal.h"
35#include "mpegaudiodsp.h"35#include "mpegaudiodsp.h"
36#include "vlc.h"
36 37
37#include "mpc.h"38#include "mpc.h"
38#include "mpc7data.h"39#include "mpc7data.h"
libavcodec/mpc8.c+1−0
@@ -32,6 +32,7 @@ · 31 unmodified lines
32#include "bitstream.h"32#include "bitstream.h"
33#include "internal.h"33#include "internal.h"
34#include "mpegaudiodsp.h"34#include "mpegaudiodsp.h"
35#include "vlc.h"
35 36
36#include "mpc.h"37#include "mpc.h"
37#include "mpc8data.h"38#include "mpc8data.h"
libavcodec/qdm2.c+1−0
@@ -44,6 +44,7 @@ · 43 unmodified lines
44#include "mpegaudio.h"44#include "mpegaudio.h"
45#include "mpegaudiodsp.h"45#include "mpegaudiodsp.h"
46#include "rdft.h"46#include "rdft.h"
47#include "vlc.h"
47 48
48#include "qdm2data.h"49#include "qdm2data.h"
49#include "qdm2_tablegen.h"50#include "qdm2_tablegen.h"
libavcodec/smacker.c+1−0
@@ -39,6 +39,7 @@ · 38 unmodified lines
39#include "bytestream.h"39#include "bytestream.h"
40#include "internal.h"40#include "internal.h"
41#include "mathops.h"41#include "mathops.h"
42#include "vlc.h"
42 43
43#define SMKTREE_BITS 944#define SMKTREE_BITS 9
44#define SMK_NODE 0x8000000045#define SMK_NODE 0x80000000
libavcodec/truemotion2.c+1−0
@@ -31,6 +31,7 @@ · 30 unmodified lines
31#include "bswapdsp.h"31#include "bswapdsp.h"
32#include "bytestream.h"32#include "bytestream.h"
33#include "internal.h"33#include "internal.h"
34#include "vlc.h"
34 35
35#define TM2_ESCAPE 0x8000000036#define TM2_ESCAPE 0x80000000
36#define TM2_DELTAS 6437#define TM2_DELTAS 64
libavcodec/tscc2.c+1−0
@@ -33,6 +33,7 @@ · 32 unmodified lines
33#include "internal.h"33#include "internal.h"
34#include "mathops.h"34#include "mathops.h"
35#include "tscc2data.h"35#include "tscc2data.h"
36#include "vlc.h"
36 37
37typedef struct TSCC2Context {38typedef struct TSCC2Context {
38 AVCodecContext *avctx;39 AVCodecContext *avctx;
libavcodec/utvideodec.c+1−0
@@ -36,6 +36,7 @@ · 35 unmodified lines
36#include "internal.h"36#include "internal.h"
37#include "thread.h"37#include "thread.h"
38#include "utvideo.h"38#include "utvideo.h"
39#include "vlc.h"
39 40
40static int build_huff10(const uint8_t *src, VLC *vlc, int *fsym)41static int build_huff10(const uint8_t *src, VLC *vlc, int *fsym)
41{42{
libavcodec/vorbisdec.c+1−0
@@ -32,6 +32,7 @@ · 31 unmodified lines
32#include "fft.h"32#include "fft.h"
33#include "get_bits.h"33#include "get_bits.h"
34#include "internal.h"34#include "internal.h"
35#include "vlc.h"
35#include "vorbis.h"36#include "vorbis.h"
36#include "vorbisdsp.h"37#include "vorbisdsp.h"
37#include "xiph.h"38#include "xiph.h"
libavcodec/wma.h+1−0
@@ -28,6 +28,7 @@ · 27 unmodified lines
28#include "bitstream.h"28#include "bitstream.h"
29#include "fft.h"29#include "fft.h"
30#include "put_bits.h"30#include "put_bits.h"
31#include "vlc.h"
31 32
32/* size of blocks */33/* size of blocks */
33#define BLOCK_MIN_BITS 734#define BLOCK_MIN_BITS 7
libavcodec/wmavoice.c+1−0
@@ -43,6 +43,7 @@ · 42 unmodified lines
43#include "dct.h"43#include "dct.h"
44#include "rdft.h"44#include "rdft.h"
45#include "sinewin.h"45#include "sinewin.h"
46#include "vlc.h"
46 47
47#define MAX_BLOCKS 8 ///< maximum number of blocks per frame48#define MAX_BLOCKS 8 ///< maximum number of blocks per frame
48#define MAX_LSPS 16 ///< maximum filter order49#define MAX_LSPS 16 ///< maximum filter order
libavcodec/wnv1.c+1−0
@@ -28,6 +28,7 @@ · 27 unmodified lines
28#include "bitstream.h"28#include "bitstream.h"
29#include "internal.h"29#include "internal.h"
30#include "mathops.h"30#include "mathops.h"
31#include "vlc.h"
31 32
32 33
33typedef struct WNV1Context {34typedef struct WNV1Context {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t