Commit 9106a698 authored by Stefano Sabatini's avatar Stefano Sabatini

Rename bitstream.h to get_bits.h.

Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 309a8bb8
......@@ -27,7 +27,7 @@
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#include "dsputil.h"
#include "bitstream.h"
#include "get_bits.h"
#include "bytestream.h"
//#undef NDEBUG
......
......@@ -78,7 +78,7 @@
#include "avcodec.h"
#include "internal.h"
#include "bitstream.h"
#include "get_bits.h"
#include "dsputil.h"
#include "lpc.h"
......
......@@ -23,7 +23,7 @@
#include "parser.h"
#include "aac_ac3_parser.h"
#include "aac_parser.h"
#include "bitstream.h"
#include "get_bits.h"
#include "mpeg4audio.h"
#define AAC_HEADER_SIZE 7
......
......@@ -25,7 +25,7 @@
#include <stdint.h>
#include "aac_ac3_parser.h"
#include "bitstream.h"
#include "get_bits.h"
typedef struct {
uint32_t sample_rate;
......
......@@ -32,7 +32,7 @@
***********************************/
#include "avcodec.h"
#include "bitstream.h"
#include "get_bits.h"
#include "dsputil.h"
#include "mpeg4audio.h"
......
......@@ -26,7 +26,7 @@
#include "avcodec.h"
#include "ac3.h"
#include "bitstream.h"
#include "get_bits.h"
static uint8_t band_start_tab[51];
static uint8_t bin_to_band_tab[253];
......
......@@ -23,7 +23,7 @@
#include "parser.h"
#include "ac3_parser.h"
#include "aac_ac3_parser.h"
#include "bitstream.h"
#include "get_bits.h"
#define AC3_HEADER_SIZE 7
......
......@@ -24,7 +24,7 @@
#define AVCODEC_AC3_PARSER_H
#include "ac3.h"
#include "bitstream.h"
#include "get_bits.h"
/**
* Parses AC-3 frame header.
......
......@@ -30,7 +30,7 @@
#include "libavutil/internal.h"
#include "libavutil/lfg.h"
#include "ac3.h"
#include "bitstream.h"
#include "get_bits.h"
#include "dsputil.h"
/* override ac3.h to include coupling channel */
......
......@@ -27,7 +27,7 @@
//#define DEBUG_BITALLOC
#include "libavutil/crc.h"
#include "avcodec.h"
#include "bitstream.h" // for ff_reverse
#include "get_bits.h" // for ff_reverse
#include "put_bits.h"
#include "ac3.h"
......
......@@ -19,7 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "avcodec.h"
#include "bitstream.h"
#include "get_bits.h"
#include "put_bits.h"
#include "bytestream.h"
......
......@@ -53,7 +53,7 @@
#include "avcodec.h"
#include "bitstream.h"
#include "get_bits.h"
#include "bytestream.h"
#include "unary.h"
#include "mathops.h"
......
......@@ -20,7 +20,7 @@
*/
#include "avcodec.h"
#include "bitstream.h"
#include "get_bits.h"
#include "put_bits.h"
#include "dsputil.h"
#include "lpc.h"
......
......@@ -23,7 +23,7 @@
#define ALT_BITSTREAM_READER_LE
#include "avcodec.h"
#include "dsputil.h"
#include "bitstream.h"
#include "get_bits.h"
#include "bytestream.h"
/**
......
......@@ -25,7 +25,7 @@
*/
#include "avcodec.h"
#include "bitstream.h"
#include "get_bits.h"
#include "put_bits.h"
#include "dsputil.h"
#include "mpeg12data.h"
......
......@@ -37,7 +37,7 @@
#include <stdio.h>
#include "avcodec.h"
#include "bitstream.h"
#include "get_bits.h"
#include "dsputil.h"
#include "bytestream.h"
......
......@@ -20,7 +20,7 @@
*/
#include "avcodec.h"
#include "bitstream.h"
#include "get_bits.h"
typedef struct {
......
......@@ -28,7 +28,7 @@
*/
#include "avcodec.h"
#include "bitstream.h"
#include "get_bits.h"
#include "put_bits.h"
const uint8_t ff_log2_run[32]={
......
......@@ -27,7 +27,7 @@
#include <string.h>
#include "libavutil/common.h"
#include "bitstream.h"
#include "get_bits.h"
#include "cabac.h"
static const uint8_t lps_range[64][4]= {
......
......@@ -26,7 +26,7 @@
*/
#include "avcodec.h"
#include "bitstream.h"
#include "get_bits.h"
#include "golomb.h"
#include "mathops.h"
#include "cavs.h"
......
......@@ -26,7 +26,7 @@
*/
#include "avcodec.h"
#include "bitstream.h"
#include "get_bits.h"
#include "golomb.h"
#include "cavs.h"
......
......@@ -26,7 +26,7 @@
#include "avcodec.h"
#include "dsputil.h"
#include "bitstream.h"
#include "get_bits.h"
/* Disable the encoder. */
#undef CONFIG_CLJR_ENCODER
......
......@@ -49,7 +49,7 @@
#include "libavutil/lfg.h"
#include "libavutil/random_seed.h"
#include "avcodec.h"
#include "bitstream.h"
#include "get_bits.h"
#include "dsputil.h"
#include "bytestream.h"
......
......@@ -32,7 +32,7 @@
#include "avcodec.h"
#include "dsputil.h"
#include "bitstream.h"
#include "get_bits.h"
#include "put_bits.h"
#include "dcadata.h"
#include "dcahuff.h"
......
......@@ -23,7 +23,7 @@
//#define DEBUG
#include "avcodec.h"
#include "bitstream.h"
#include "get_bits.h"
#include "dnxhddata.h"
#include "dsputil.h"
......
......@@ -40,7 +40,7 @@
#define ALT_BITSTREAM_READER
#include "avcodec.h"
#include "dsputil.h"
#include "bitstream.h"
#include "get_bits.h"
#include "put_bits.h"
#include "simple_idct.h"
#include "dvdata.h"
......
......@@ -20,7 +20,7 @@
*/
#include "avcodec.h"
#include "dsputil.h"
#include "bitstream.h"
#include "get_bits.h"
//#define DEBUG
//#define DEBUG_PACKET_CONTENTS
......
......@@ -20,7 +20,7 @@
*/
#include "avcodec.h"
#include "dsputil.h"
#include "bitstream.h"
#include "get_bits.h"
#include "colorspace.h"
//#define DEBUG
......
......@@ -19,7 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "avcodec.h"
#include "bitstream.h"
#include "get_bits.h"
#include "colorspace.h"
#include "dsputil.h"
......
......@@ -30,7 +30,7 @@
#include "avcodec.h"
#define ALT_BITSTREAM_READER_LE
#include "bitstream.h"
#include "get_bits.h"
#include "bytestream.h"
#include "dsputil.h"
#include "aandcttab.h"
......
......@@ -30,7 +30,7 @@
#include "avcodec.h"
#define ALT_BITSTREAM_READER_LE
#include "bitstream.h"
#include "get_bits.h"
#include "libavutil/lzo.h"
#define EA_PREAMBLE_SIZE 8
......
......@@ -29,7 +29,7 @@
*/
#include "avcodec.h"
#include "bitstream.h"
#include "get_bits.h"
#include "dsputil.h"
#include "aandcttab.h"
#include "mpeg12.h"
......
......@@ -22,7 +22,7 @@
#include "avcodec.h"
#define ALT_BITSTREAM_READER_LE
#include "bitstream.h"
#include "get_bits.h"
typedef union MacroBlock {
uint16_t pixels[4];
......
......@@ -25,7 +25,7 @@
* @author Konstantin Shishkov
*/
#include "avcodec.h"
#include "bitstream.h"
#include "get_bits.h"
#include "put_bits.h"
#include "faxcompr.h"
......
......@@ -26,7 +26,7 @@
*/
#include "avcodec.h"
#include "bitstream.h"
#include "get_bits.h"
#include "put_bits.h"
#include "dsputil.h"
#include "rangecoder.h"
......
......@@ -38,7 +38,7 @@
#include "libavutil/crc.h"
#include "avcodec.h"
#include "internal.h"
#include "bitstream.h"
#include "get_bits.h"
#include "bytestream.h"
#include "golomb.h"
#include "flac.h"
......
......@@ -23,7 +23,7 @@
#include "libavutil/lls.h"
#include "libavutil/md5.h"
#include "avcodec.h"
#include "bitstream.h"
#include "get_bits.h"
#include "dsputil.h"
#include "golomb.h"
#include "lpc.h"
......
......@@ -51,7 +51,7 @@
#include <stdlib.h>
#include "avcodec.h"
#include "bitstream.h"
#include "get_bits.h"
#include <zlib.h>
......
......@@ -32,7 +32,7 @@
*/
#include "avcodec.h"
#include "bitstream.h"
#include "get_bits.h"
#include "huffman.h"
#include "bytestream.h"
#include "dsputil.h"
......
......@@ -23,7 +23,7 @@
*/
#include <limits.h>
#include "avcodec.h"
#include "bitstream.h"
#include "get_bits.h"
#include "put_bits.h"
/**
......
......@@ -28,7 +28,7 @@
#include "avcodec.h"
#include "libavutil/avutil.h"
#include "bitstream.h"
#include "get_bits.h"
#include "g729.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 <stdlib.h>
......@@ -702,4 +702,4 @@ static inline int decode210(GetBitContext *gb){
return 2 - get_bits1(gb);
}
#endif /* AVCODEC_BITSTREAM_H */
#endif /* AVCODEC_GET_BITS_H */
......@@ -31,7 +31,7 @@
#define AVCODEC_GOLOMB_H
#include <stdint.h>
#include "bitstream.h"
#include "get_bits.h"
#include "put_bits.h"
#define INVALID_VLC 0x80000000
......
......@@ -20,7 +20,7 @@
#include "libavutil/common.h"
#include "bitstream.h"
#include "get_bits.h"
#include "mpegvideo.h"
#include "h264data.h"
......
......@@ -21,7 +21,7 @@
*/
#include "avcodec.h"
#include "bitstream.h"
#include "get_bits.h"
#include "huffman.h"
/* symbol for Huffman tree node */
......
......@@ -24,7 +24,7 @@
#define AVCODEC_HUFFMAN_H
#include "avcodec.h"
#include "bitstream.h"
#include "get_bits.h"
typedef struct {
int16_t sym;
......
......@@ -29,7 +29,7 @@
*/
#include "avcodec.h"
#include "bitstream.h"
#include "get_bits.h"
#include "put_bits.h"
#include "dsputil.h"
......
......@@ -36,7 +36,7 @@
#define ALT_BITSTREAM_READER
#include "avcodec.h"
#include "bitstream.h"
#include "get_bits.h"
#include "dsputil.h"
#include "imcdata.h"
......
......@@ -25,7 +25,7 @@
*/
#define ALT_BITSTREAM_READER_LE
#include "avcodec.h"
#include "bitstream.h"
#include "get_bits.h"
#include "indeo2data.h"
typedef struct Ir2Context{
......
......@@ -22,7 +22,7 @@
*/
#include "avcodec.h"
#include "bitstream.h"
#include "get_bits.h"
#include "mpegvideo.h"
#include "msmpeg4data.h"
#include "intrax8huf.h"
......
......@@ -19,7 +19,7 @@
#ifndef AVCODEC_INTRAX8_H
#define AVCODEC_INTRAX8_H
#include "bitstream.h"
#include "get_bits.h"
#include "mpegvideo.h"
typedef struct{
......
......@@ -26,7 +26,7 @@
*/
#include "avcodec.h"
#include "bitstream.h"
#include "get_bits.h"
#include "golomb.h"
#include "mathops.h"
#include "mjpeg.h"
......
......@@ -26,7 +26,7 @@
*/
#include "avcodec.h"
#include "bitstream.h"
#include "get_bits.h"
#include "golomb.h"
#include "mathops.h"
#include "dsputil.h"
......
......@@ -42,7 +42,7 @@
#include <stdlib.h>
#include "avcodec.h"
#include "bitstream.h"
#include "get_bits.h"
#include "lcl.h"
#if CONFIG_ZLIB
......
......@@ -25,7 +25,7 @@
*/
#include "avcodec.h"
#include "bitstream.h"
#include "get_bits.h"
#include "golomb.h"
#include "mathops.h"
......
......@@ -30,7 +30,7 @@
#ifndef AVCODEC_LZW_H
#define AVCODEC_LZW_H
#include "bitstream.h"
#include "get_bits.h"
enum FF_LZW_MODES{
FF_LZW_GIF,
......
......@@ -24,7 +24,7 @@
#include <stdint.h>
#include "avcodec.h"
#include "bitstream.h"
#include "get_bits.h"
#include "bytestream.h"
#include "dsputil.h"
......
......@@ -30,7 +30,7 @@
#define AVCODEC_MJPEGDEC_H
#include "avcodec.h"
#include "bitstream.h"
#include "get_bits.h"
#include "dsputil.h"
#define MAX_COMPONENTS 4
......
......@@ -27,7 +27,7 @@
#include <stdint.h>
#include "libavutil/crc.h"
#include "bitstream.h"
#include "get_bits.h"
#include "parser.h"
#include "mlp_parser.h"
#include "mlp.h"
......
......@@ -27,7 +27,7 @@
#ifndef AVCODEC_MLP_PARSER_H
#define AVCODEC_MLP_PARSER_H
#include "bitstream.h"
#include "get_bits.h"
typedef struct MLPHeaderInfo