Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunktags/v0.6
| @@ -27,7 +27,7 @@ | |||||
| #include "libavutil/intreadwrite.h" | #include "libavutil/intreadwrite.h" | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "dsputil.h" | #include "dsputil.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "bytestream.h" | #include "bytestream.h" | ||||
| //#undef NDEBUG | //#undef NDEBUG | ||||
| @@ -78,7 +78,7 @@ | |||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "internal.h" | #include "internal.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "dsputil.h" | #include "dsputil.h" | ||||
| #include "lpc.h" | #include "lpc.h" | ||||
| @@ -23,7 +23,7 @@ | |||||
| #include "parser.h" | #include "parser.h" | ||||
| #include "aac_ac3_parser.h" | #include "aac_ac3_parser.h" | ||||
| #include "aac_parser.h" | #include "aac_parser.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "mpeg4audio.h" | #include "mpeg4audio.h" | ||||
| #define AAC_HEADER_SIZE 7 | #define AAC_HEADER_SIZE 7 | ||||
| @@ -25,7 +25,7 @@ | |||||
| #include <stdint.h> | #include <stdint.h> | ||||
| #include "aac_ac3_parser.h" | #include "aac_ac3_parser.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| typedef struct { | typedef struct { | ||||
| uint32_t sample_rate; | uint32_t sample_rate; | ||||
| @@ -32,7 +32,7 @@ | |||||
| ***********************************/ | ***********************************/ | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "dsputil.h" | #include "dsputil.h" | ||||
| #include "mpeg4audio.h" | #include "mpeg4audio.h" | ||||
| @@ -26,7 +26,7 @@ | |||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "ac3.h" | #include "ac3.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| static uint8_t band_start_tab[51]; | static uint8_t band_start_tab[51]; | ||||
| static uint8_t bin_to_band_tab[253]; | static uint8_t bin_to_band_tab[253]; | ||||
| @@ -23,7 +23,7 @@ | |||||
| #include "parser.h" | #include "parser.h" | ||||
| #include "ac3_parser.h" | #include "ac3_parser.h" | ||||
| #include "aac_ac3_parser.h" | #include "aac_ac3_parser.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #define AC3_HEADER_SIZE 7 | #define AC3_HEADER_SIZE 7 | ||||
| @@ -24,7 +24,7 @@ | |||||
| #define AVCODEC_AC3_PARSER_H | #define AVCODEC_AC3_PARSER_H | ||||
| #include "ac3.h" | #include "ac3.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| /** | /** | ||||
| * Parses AC-3 frame header. | * Parses AC-3 frame header. | ||||
| @@ -30,7 +30,7 @@ | |||||
| #include "libavutil/internal.h" | #include "libavutil/internal.h" | ||||
| #include "libavutil/lfg.h" | #include "libavutil/lfg.h" | ||||
| #include "ac3.h" | #include "ac3.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "dsputil.h" | #include "dsputil.h" | ||||
| /* override ac3.h to include coupling channel */ | /* override ac3.h to include coupling channel */ | ||||
| @@ -27,7 +27,7 @@ | |||||
| //#define DEBUG_BITALLOC | //#define DEBUG_BITALLOC | ||||
| #include "libavutil/crc.h" | #include "libavutil/crc.h" | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" // for ff_reverse | |||||
| #include "get_bits.h" // for ff_reverse | |||||
| #include "put_bits.h" | #include "put_bits.h" | ||||
| #include "ac3.h" | #include "ac3.h" | ||||
| @@ -19,7 +19,7 @@ | |||||
| * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| */ | */ | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "put_bits.h" | #include "put_bits.h" | ||||
| #include "bytestream.h" | #include "bytestream.h" | ||||
| @@ -53,7 +53,7 @@ | |||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "bytestream.h" | #include "bytestream.h" | ||||
| #include "unary.h" | #include "unary.h" | ||||
| #include "mathops.h" | #include "mathops.h" | ||||
| @@ -20,7 +20,7 @@ | |||||
| */ | */ | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "put_bits.h" | #include "put_bits.h" | ||||
| #include "dsputil.h" | #include "dsputil.h" | ||||
| #include "lpc.h" | #include "lpc.h" | ||||
| @@ -23,7 +23,7 @@ | |||||
| #define ALT_BITSTREAM_READER_LE | #define ALT_BITSTREAM_READER_LE | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "dsputil.h" | #include "dsputil.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "bytestream.h" | #include "bytestream.h" | ||||
| /** | /** | ||||
| @@ -25,7 +25,7 @@ | |||||
| */ | */ | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "put_bits.h" | #include "put_bits.h" | ||||
| #include "dsputil.h" | #include "dsputil.h" | ||||
| #include "mpeg12data.h" | #include "mpeg12data.h" | ||||
| @@ -37,7 +37,7 @@ | |||||
| #include <stdio.h> | #include <stdio.h> | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "dsputil.h" | #include "dsputil.h" | ||||
| #include "bytestream.h" | #include "bytestream.h" | ||||
| @@ -20,7 +20,7 @@ | |||||
| */ | */ | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| typedef struct { | typedef struct { | ||||
| @@ -28,7 +28,7 @@ | |||||
| */ | */ | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "put_bits.h" | #include "put_bits.h" | ||||
| const uint8_t ff_log2_run[32]={ | const uint8_t ff_log2_run[32]={ | ||||
| @@ -27,7 +27,7 @@ | |||||
| #include <string.h> | #include <string.h> | ||||
| #include "libavutil/common.h" | #include "libavutil/common.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "cabac.h" | #include "cabac.h" | ||||
| static const uint8_t lps_range[64][4]= { | static const uint8_t lps_range[64][4]= { | ||||
| @@ -26,7 +26,7 @@ | |||||
| */ | */ | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "golomb.h" | #include "golomb.h" | ||||
| #include "mathops.h" | #include "mathops.h" | ||||
| #include "cavs.h" | #include "cavs.h" | ||||
| @@ -26,7 +26,7 @@ | |||||
| */ | */ | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "golomb.h" | #include "golomb.h" | ||||
| #include "cavs.h" | #include "cavs.h" | ||||
| @@ -26,7 +26,7 @@ | |||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "dsputil.h" | #include "dsputil.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| /* Disable the encoder. */ | /* Disable the encoder. */ | ||||
| #undef CONFIG_CLJR_ENCODER | #undef CONFIG_CLJR_ENCODER | ||||
| @@ -49,7 +49,7 @@ | |||||
| #include "libavutil/lfg.h" | #include "libavutil/lfg.h" | ||||
| #include "libavutil/random_seed.h" | #include "libavutil/random_seed.h" | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "dsputil.h" | #include "dsputil.h" | ||||
| #include "bytestream.h" | #include "bytestream.h" | ||||
| @@ -32,7 +32,7 @@ | |||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "dsputil.h" | #include "dsputil.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "put_bits.h" | #include "put_bits.h" | ||||
| #include "dcadata.h" | #include "dcadata.h" | ||||
| #include "dcahuff.h" | #include "dcahuff.h" | ||||
| @@ -23,7 +23,7 @@ | |||||
| //#define DEBUG | //#define DEBUG | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "dnxhddata.h" | #include "dnxhddata.h" | ||||
| #include "dsputil.h" | #include "dsputil.h" | ||||
| @@ -40,7 +40,7 @@ | |||||
| #define ALT_BITSTREAM_READER | #define ALT_BITSTREAM_READER | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "dsputil.h" | #include "dsputil.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "put_bits.h" | #include "put_bits.h" | ||||
| #include "simple_idct.h" | #include "simple_idct.h" | ||||
| #include "dvdata.h" | #include "dvdata.h" | ||||
| @@ -20,7 +20,7 @@ | |||||
| */ | */ | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "dsputil.h" | #include "dsputil.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| //#define DEBUG | //#define DEBUG | ||||
| //#define DEBUG_PACKET_CONTENTS | //#define DEBUG_PACKET_CONTENTS | ||||
| @@ -20,7 +20,7 @@ | |||||
| */ | */ | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "dsputil.h" | #include "dsputil.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "colorspace.h" | #include "colorspace.h" | ||||
| //#define DEBUG | //#define DEBUG | ||||
| @@ -19,7 +19,7 @@ | |||||
| * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| */ | */ | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "colorspace.h" | #include "colorspace.h" | ||||
| #include "dsputil.h" | #include "dsputil.h" | ||||
| @@ -30,7 +30,7 @@ | |||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #define ALT_BITSTREAM_READER_LE | #define ALT_BITSTREAM_READER_LE | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "bytestream.h" | #include "bytestream.h" | ||||
| #include "dsputil.h" | #include "dsputil.h" | ||||
| #include "aandcttab.h" | #include "aandcttab.h" | ||||
| @@ -30,7 +30,7 @@ | |||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #define ALT_BITSTREAM_READER_LE | #define ALT_BITSTREAM_READER_LE | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "libavutil/lzo.h" | #include "libavutil/lzo.h" | ||||
| #define EA_PREAMBLE_SIZE 8 | #define EA_PREAMBLE_SIZE 8 | ||||
| @@ -29,7 +29,7 @@ | |||||
| */ | */ | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "dsputil.h" | #include "dsputil.h" | ||||
| #include "aandcttab.h" | #include "aandcttab.h" | ||||
| #include "mpeg12.h" | #include "mpeg12.h" | ||||
| @@ -22,7 +22,7 @@ | |||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #define ALT_BITSTREAM_READER_LE | #define ALT_BITSTREAM_READER_LE | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| typedef union MacroBlock { | typedef union MacroBlock { | ||||
| uint16_t pixels[4]; | uint16_t pixels[4]; | ||||
| @@ -25,7 +25,7 @@ | |||||
| * @author Konstantin Shishkov | * @author Konstantin Shishkov | ||||
| */ | */ | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "put_bits.h" | #include "put_bits.h" | ||||
| #include "faxcompr.h" | #include "faxcompr.h" | ||||
| @@ -26,7 +26,7 @@ | |||||
| */ | */ | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "put_bits.h" | #include "put_bits.h" | ||||
| #include "dsputil.h" | #include "dsputil.h" | ||||
| #include "rangecoder.h" | #include "rangecoder.h" | ||||
| @@ -38,7 +38,7 @@ | |||||
| #include "libavutil/crc.h" | #include "libavutil/crc.h" | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "internal.h" | #include "internal.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "bytestream.h" | #include "bytestream.h" | ||||
| #include "golomb.h" | #include "golomb.h" | ||||
| #include "flac.h" | #include "flac.h" | ||||
| @@ -23,7 +23,7 @@ | |||||
| #include "libavutil/lls.h" | #include "libavutil/lls.h" | ||||
| #include "libavutil/md5.h" | #include "libavutil/md5.h" | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "dsputil.h" | #include "dsputil.h" | ||||
| #include "golomb.h" | #include "golomb.h" | ||||
| #include "lpc.h" | #include "lpc.h" | ||||
| @@ -51,7 +51,7 @@ | |||||
| #include <stdlib.h> | #include <stdlib.h> | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include <zlib.h> | #include <zlib.h> | ||||
| @@ -32,7 +32,7 @@ | |||||
| */ | */ | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "huffman.h" | #include "huffman.h" | ||||
| #include "bytestream.h" | #include "bytestream.h" | ||||
| #include "dsputil.h" | #include "dsputil.h" | ||||
| @@ -23,7 +23,7 @@ | |||||
| */ | */ | ||||
| #include <limits.h> | #include <limits.h> | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "put_bits.h" | #include "put_bits.h" | ||||
| /** | /** | ||||
| @@ -28,7 +28,7 @@ | |||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "libavutil/avutil.h" | #include "libavutil/avutil.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "g729.h" | #include "g729.h" | ||||
| #include "lsp.h" | #include "lsp.h" | ||||
| @@ -19,12 +19,12 @@ | |||||
| */ | */ | ||||
| /** | /** | ||||
| * @file libavcodec/bitstream.h | |||||
| * bitstream api header. | |||||
| * @file libavcodec/get_bits.h | |||||
| * bitstream reader API header. | |||||
| */ | */ | ||||
| #ifndef AVCODEC_BITSTREAM_H | |||||
| #define AVCODEC_BITSTREAM_H | |||||
| #ifndef AVCODEC_GET_BITS_H | |||||
| #define AVCODEC_GET_BITS_H | |||||
| #include <stdint.h> | #include <stdint.h> | ||||
| #include <stdlib.h> | #include <stdlib.h> | ||||
| @@ -702,4 +702,4 @@ static inline int decode210(GetBitContext *gb){ | |||||
| return 2 - get_bits1(gb); | return 2 - get_bits1(gb); | ||||
| } | } | ||||
| #endif /* AVCODEC_BITSTREAM_H */ | |||||
| #endif /* AVCODEC_GET_BITS_H */ | |||||
| @@ -31,7 +31,7 @@ | |||||
| #define AVCODEC_GOLOMB_H | #define AVCODEC_GOLOMB_H | ||||
| #include <stdint.h> | #include <stdint.h> | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "put_bits.h" | #include "put_bits.h" | ||||
| #define INVALID_VLC 0x80000000 | #define INVALID_VLC 0x80000000 | ||||
| @@ -20,7 +20,7 @@ | |||||
| #include "libavutil/common.h" | #include "libavutil/common.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "mpegvideo.h" | #include "mpegvideo.h" | ||||
| #include "h264data.h" | #include "h264data.h" | ||||
| @@ -21,7 +21,7 @@ | |||||
| */ | */ | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "huffman.h" | #include "huffman.h" | ||||
| /* symbol for Huffman tree node */ | /* symbol for Huffman tree node */ | ||||
| @@ -24,7 +24,7 @@ | |||||
| #define AVCODEC_HUFFMAN_H | #define AVCODEC_HUFFMAN_H | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| typedef struct { | typedef struct { | ||||
| int16_t sym; | int16_t sym; | ||||
| @@ -29,7 +29,7 @@ | |||||
| */ | */ | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "put_bits.h" | #include "put_bits.h" | ||||
| #include "dsputil.h" | #include "dsputil.h" | ||||
| @@ -36,7 +36,7 @@ | |||||
| #define ALT_BITSTREAM_READER | #define ALT_BITSTREAM_READER | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "dsputil.h" | #include "dsputil.h" | ||||
| #include "imcdata.h" | #include "imcdata.h" | ||||
| @@ -25,7 +25,7 @@ | |||||
| */ | */ | ||||
| #define ALT_BITSTREAM_READER_LE | #define ALT_BITSTREAM_READER_LE | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "indeo2data.h" | #include "indeo2data.h" | ||||
| typedef struct Ir2Context{ | typedef struct Ir2Context{ | ||||
| @@ -22,7 +22,7 @@ | |||||
| */ | */ | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "mpegvideo.h" | #include "mpegvideo.h" | ||||
| #include "msmpeg4data.h" | #include "msmpeg4data.h" | ||||
| #include "intrax8huf.h" | #include "intrax8huf.h" | ||||
| @@ -19,7 +19,7 @@ | |||||
| #ifndef AVCODEC_INTRAX8_H | #ifndef AVCODEC_INTRAX8_H | ||||
| #define AVCODEC_INTRAX8_H | #define AVCODEC_INTRAX8_H | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "mpegvideo.h" | #include "mpegvideo.h" | ||||
| typedef struct{ | typedef struct{ | ||||
| @@ -26,7 +26,7 @@ | |||||
| */ | */ | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "golomb.h" | #include "golomb.h" | ||||
| #include "mathops.h" | #include "mathops.h" | ||||
| #include "mjpeg.h" | #include "mjpeg.h" | ||||
| @@ -26,7 +26,7 @@ | |||||
| */ | */ | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "golomb.h" | #include "golomb.h" | ||||
| #include "mathops.h" | #include "mathops.h" | ||||
| #include "dsputil.h" | #include "dsputil.h" | ||||
| @@ -42,7 +42,7 @@ | |||||
| #include <stdlib.h> | #include <stdlib.h> | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "lcl.h" | #include "lcl.h" | ||||
| #if CONFIG_ZLIB | #if CONFIG_ZLIB | ||||
| @@ -25,7 +25,7 @@ | |||||
| */ | */ | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "golomb.h" | #include "golomb.h" | ||||
| #include "mathops.h" | #include "mathops.h" | ||||
| @@ -30,7 +30,7 @@ | |||||
| #ifndef AVCODEC_LZW_H | #ifndef AVCODEC_LZW_H | ||||
| #define AVCODEC_LZW_H | #define AVCODEC_LZW_H | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| enum FF_LZW_MODES{ | enum FF_LZW_MODES{ | ||||
| FF_LZW_GIF, | FF_LZW_GIF, | ||||
| @@ -24,7 +24,7 @@ | |||||
| #include <stdint.h> | #include <stdint.h> | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "bytestream.h" | #include "bytestream.h" | ||||
| #include "dsputil.h" | #include "dsputil.h" | ||||
| @@ -30,7 +30,7 @@ | |||||
| #define AVCODEC_MJPEGDEC_H | #define AVCODEC_MJPEGDEC_H | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "dsputil.h" | #include "dsputil.h" | ||||
| #define MAX_COMPONENTS 4 | #define MAX_COMPONENTS 4 | ||||
| @@ -27,7 +27,7 @@ | |||||
| #include <stdint.h> | #include <stdint.h> | ||||
| #include "libavutil/crc.h" | #include "libavutil/crc.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "parser.h" | #include "parser.h" | ||||
| #include "mlp_parser.h" | #include "mlp_parser.h" | ||||
| #include "mlp.h" | #include "mlp.h" | ||||
| @@ -27,7 +27,7 @@ | |||||
| #ifndef AVCODEC_MLP_PARSER_H | #ifndef AVCODEC_MLP_PARSER_H | ||||
| #define AVCODEC_MLP_PARSER_H | #define AVCODEC_MLP_PARSER_H | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| typedef struct MLPHeaderInfo | typedef struct MLPHeaderInfo | ||||
| { | { | ||||
| @@ -28,7 +28,7 @@ | |||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "libavutil/intreadwrite.h" | #include "libavutil/intreadwrite.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "libavutil/crc.h" | #include "libavutil/crc.h" | ||||
| #include "parser.h" | #include "parser.h" | ||||
| #include "mlp_parser.h" | #include "mlp_parser.h" | ||||
| @@ -20,7 +20,7 @@ | |||||
| */ | */ | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "dsputil.h" | #include "dsputil.h" | ||||
| #define MAX_HUFF_CODES 16 | #define MAX_HUFF_CODES 16 | ||||
| @@ -26,7 +26,7 @@ | |||||
| */ | */ | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "dsputil.h" | #include "dsputil.h" | ||||
| #include "mpegaudio.h" | #include "mpegaudio.h" | ||||
| @@ -30,7 +30,7 @@ | |||||
| #include "libavutil/lfg.h" | #include "libavutil/lfg.h" | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "dsputil.h" | #include "dsputil.h" | ||||
| #include "mpegaudio.h" | #include "mpegaudio.h" | ||||
| @@ -27,7 +27,7 @@ | |||||
| #include "libavutil/lfg.h" | #include "libavutil/lfg.h" | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "dsputil.h" | #include "dsputil.h" | ||||
| #include "mpegaudio.h" | #include "mpegaudio.h" | ||||
| @@ -27,7 +27,7 @@ | |||||
| #include "libavutil/lfg.h" | #include "libavutil/lfg.h" | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "dsputil.h" | #include "dsputil.h" | ||||
| #include "mpegaudio.h" | #include "mpegaudio.h" | ||||
| @@ -19,7 +19,7 @@ | |||||
| * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| */ | */ | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "mpeg4audio.h" | #include "mpeg4audio.h" | ||||
| const int ff_mpeg4audio_sample_rates[16] = { | const int ff_mpeg4audio_sample_rates[16] = { | ||||
| @@ -27,7 +27,7 @@ | |||||
| #define AVCODEC_MPEGAUDIO_H | #define AVCODEC_MPEGAUDIO_H | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "dsputil.h" | #include "dsputil.h" | ||||
| #define CONFIG_AUDIO_NONSHORT 0 | #define CONFIG_AUDIO_NONSHORT 0 | ||||
| @@ -25,7 +25,7 @@ | |||||
| */ | */ | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "dsputil.h" | #include "dsputil.h" | ||||
| /* | /* | ||||
| @@ -29,7 +29,7 @@ | |||||
| #define AVCODEC_MPEGVIDEO_H | #define AVCODEC_MPEGVIDEO_H | ||||
| #include "dsputil.h" | #include "dsputil.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "put_bits.h" | #include "put_bits.h" | ||||
| #include "ratecontrol.h" | #include "ratecontrol.h" | ||||
| #include "parser.h" | #include "parser.h" | ||||
| @@ -31,7 +31,7 @@ | |||||
| #define AVCODEC_MSMPEG4DATA_H | #define AVCODEC_MSMPEG4DATA_H | ||||
| #include "libavutil/common.h" | #include "libavutil/common.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "rl.h" | #include "rl.h" | ||||
| /* motion vector table */ | /* motion vector table */ | ||||
| @@ -36,7 +36,7 @@ | |||||
| #include "dsputil.h" | #include "dsputil.h" | ||||
| #define ALT_BITSTREAM_READER_LE | #define ALT_BITSTREAM_READER_LE | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| const float ff_nelly_dequantization_table[127] = { | const float ff_nelly_dequantization_table[127] = { | ||||
| 0.0000000000, | 0.0000000000, | ||||
| @@ -38,7 +38,7 @@ | |||||
| #include "dsputil.h" | #include "dsputil.h" | ||||
| #define ALT_BITSTREAM_READER_LE | #define ALT_BITSTREAM_READER_LE | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| typedef struct NellyMoserDecodeContext { | typedef struct NellyMoserDecodeContext { | ||||
| @@ -25,7 +25,7 @@ | |||||
| */ | */ | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" // for ff_reverse | |||||
| #include "get_bits.h" // for ff_reverse | |||||
| #include "bytestream.h" | #include "bytestream.h" | ||||
| #define MAX_CHANNELS 64 | #define MAX_CHANNELS 64 | ||||
| @@ -24,7 +24,7 @@ | |||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bytestream.h" | #include "bytestream.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| typedef struct PCXContext { | typedef struct PCXContext { | ||||
| AVFrame picture; | AVFrame picture; | ||||
| @@ -22,7 +22,7 @@ | |||||
| #include <inttypes.h> | #include <inttypes.h> | ||||
| #include "libavutil/intreadwrite.h" | #include "libavutil/intreadwrite.h" | ||||
| #include "libavcodec/bitstream.h" | |||||
| #include "libavcodec/get_bits.h" | |||||
| typedef struct AVComponentDescriptor{ | typedef struct AVComponentDescriptor{ | ||||
| uint16_t plane :2; ///< which of the 4 planes contains the component | uint16_t plane :2; ///< which of the 4 planes contains the component | ||||
| @@ -31,7 +31,7 @@ | |||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "internal.h" | #include "internal.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "qcelpdata.h" | #include "qcelpdata.h" | ||||
| @@ -36,7 +36,7 @@ | |||||
| #define ALT_BITSTREAM_READER_LE | #define ALT_BITSTREAM_READER_LE | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "dsputil.h" | #include "dsputil.h" | ||||
| #include "mpegaudio.h" | #include "mpegaudio.h" | ||||
| @@ -23,7 +23,7 @@ | |||||
| */ | */ | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "ra144.h" | #include "ra144.h" | ||||
| #include "celp_filters.h" | #include "celp_filters.h" | ||||
| @@ -21,7 +21,7 @@ | |||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #define ALT_BITSTREAM_READER_LE | #define ALT_BITSTREAM_READER_LE | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "ra288.h" | #include "ra288.h" | ||||
| #include "lpc.h" | #include "lpc.h" | ||||
| #include "celp_math.h" | #include "celp_math.h" | ||||
| @@ -28,7 +28,7 @@ | |||||
| #define AVCODEC_RL_H | #define AVCODEC_RL_H | ||||
| #include <stdint.h> | #include <stdint.h> | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| /* run length table */ | /* run length table */ | ||||
| #define MAX_RUN 64 | #define MAX_RUN 64 | ||||
| @@ -19,7 +19,7 @@ | |||||
| * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| */ | */ | ||||
| #include "libavutil/common.h" | #include "libavutil/common.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "dsputil.h" | #include "dsputil.h" | ||||
| #include "rtjpeg.h" | #include "rtjpeg.h" | ||||
| @@ -29,7 +29,7 @@ | |||||
| #define DEBUG | #define DEBUG | ||||
| #include <limits.h> | #include <limits.h> | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "golomb.h" | #include "golomb.h" | ||||
| #define MAX_CHANNELS 8 | #define MAX_CHANNELS 8 | ||||
| @@ -34,7 +34,7 @@ | |||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #define ALT_BITSTREAM_READER_LE | #define ALT_BITSTREAM_READER_LE | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "bytestream.h" | #include "bytestream.h" | ||||
| #define SMKTREE_BITS 9 | #define SMKTREE_BITS 9 | ||||
| @@ -19,7 +19,7 @@ | |||||
| * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| */ | */ | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "golomb.h" | #include "golomb.h" | ||||
| /** | /** | ||||
| @@ -26,7 +26,7 @@ | |||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #define ALT_BITSTREAM_READER_LE | #define ALT_BITSTREAM_READER_LE | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| typedef struct SeqVideoContext { | typedef struct SeqVideoContext { | ||||
| @@ -25,7 +25,7 @@ | |||||
| */ | */ | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "dsputil.h" | #include "dsputil.h" | ||||
| #define TM2_ESCAPE 0x80000000 | #define TM2_ESCAPE 0x80000000 | ||||
| @@ -31,7 +31,7 @@ | |||||
| //#define DEBUG | //#define DEBUG | ||||
| #include <limits.h> | #include <limits.h> | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #define FORMAT_INT 1 | #define FORMAT_INT 1 | ||||
| #define FORMAT_FLOAT 3 | #define FORMAT_FLOAT 3 | ||||
| @@ -21,7 +21,7 @@ | |||||
| #ifndef AVCODEC_UNARY_H | #ifndef AVCODEC_UNARY_H | ||||
| #define AVCODEC_UNARY_H | #define AVCODEC_UNARY_H | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| /** | /** | ||||
| * Get unary code of limited length | * Get unary code of limited length | ||||
| @@ -30,7 +30,7 @@ | |||||
| #include <stdint.h> | #include <stdint.h> | ||||
| #include "libavutil/rational.h" | #include "libavutil/rational.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| /** Table for conversion between TTBLK and TTMB */ | /** Table for conversion between TTBLK and TTMB */ | ||||
| extern const int ff_vc1_ttblk_to_tt[3][8]; | extern const int ff_vc1_ttblk_to_tt[3][8]; | ||||
| @@ -25,7 +25,7 @@ | |||||
| #define ALT_BITSTREAM_READER_LE | #define ALT_BITSTREAM_READER_LE | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "vorbis.h" | #include "vorbis.h" | ||||
| @@ -28,7 +28,7 @@ | |||||
| #define ALT_BITSTREAM_READER_LE | #define ALT_BITSTREAM_READER_LE | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "dsputil.h" | #include "dsputil.h" | ||||
| #include "vorbis.h" | #include "vorbis.h" | ||||
| @@ -36,7 +36,7 @@ | |||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "dsputil.h" | #include "dsputil.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "vp3data.h" | #include "vp3data.h" | ||||
| #include "xiph.h" | #include "xiph.h" | ||||
| @@ -26,7 +26,7 @@ | |||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "dsputil.h" | #include "dsputil.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "vp56.h" | #include "vp56.h" | ||||
| #include "vp56data.h" | #include "vp56data.h" | ||||
| @@ -26,7 +26,7 @@ | |||||
| #include "vp56data.h" | #include "vp56data.h" | ||||
| #include "dsputil.h" | #include "dsputil.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "bytestream.h" | #include "bytestream.h" | ||||
| @@ -29,7 +29,7 @@ | |||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "dsputil.h" | #include "dsputil.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "huffman.h" | #include "huffman.h" | ||||
| #include "vp56.h" | #include "vp56.h" | ||||
| @@ -20,7 +20,7 @@ | |||||
| */ | */ | ||||
| #define ALT_BITSTREAM_READER_LE | #define ALT_BITSTREAM_READER_LE | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "unary.h" | #include "unary.h" | ||||
| /** | /** | ||||
| @@ -22,7 +22,7 @@ | |||||
| #ifndef AVCODEC_WMA_H | #ifndef AVCODEC_WMA_H | ||||
| #define AVCODEC_WMA_H | #define AVCODEC_WMA_H | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "put_bits.h" | #include "put_bits.h" | ||||
| #include "dsputil.h" | #include "dsputil.h" | ||||
| @@ -25,7 +25,7 @@ | |||||
| */ | */ | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| typedef struct WNV1Context{ | typedef struct WNV1Context{ | ||||
| @@ -19,7 +19,7 @@ | |||||
| * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| */ | */ | ||||
| #include "avcodec.h" | #include "avcodec.h" | ||||
| #include "bitstream.h" | |||||
| #include "get_bits.h" | |||||
| #include "bytestream.h" | #include "bytestream.h" | ||||
| static av_cold int decode_init(AVCodecContext *avctx) { | static av_cold int decode_init(AVCodecContext *avctx) { | ||||