]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/cabac.h
avcodec: Constify all the AVCodecParsers
[ffmpeg] / libavcodec / cabac.h
index 1bf1c620d6b30060acb7fb1679454879dd55d2a8..38d06b2842e89a8070f11059697b4b097d979213 100644 (file)
@@ -29,8 +29,6 @@
 
 #include <stdint.h>
 
-#include "put_bits.h"
-
 extern const uint8_t ff_h264_cabac_tables[512 + 4*2*64 + 4*64 + 63];
 #define H264_NORM_SHIFT_OFFSET 0
 #define H264_LPS_RANGE_OFFSET 512
@@ -43,14 +41,11 @@ extern const uint8_t ff_h264_cabac_tables[512 + 4*2*64 + 4*64 + 63];
 typedef struct CABACContext{
     int low;
     int range;
-    int outstanding_count;
     const uint8_t *bytestream_start;
     const uint8_t *bytestream;
     const uint8_t *bytestream_end;
-    PutBitContext pb;
 }CABACContext;
 
-void ff_init_cabac_encoder(CABACContext *c, uint8_t *buf, int buf_size);
 int ff_init_cabac_decoder(CABACContext *c, const uint8_t *buf, int buf_size);
 
 #endif /* AVCODEC_CABAC_H */