#include <stdint.h>
#include "avcodec.h"
-#include "dsputil.h"
#include "get_bits.h"
#include "put_bits.h"
#include "rangecoder.h"
#define MAX_QUANT_TABLES 8
#define MAX_CONTEXT_INPUTS 5
+#define AC_GOLOMB_RICE 0
+#define AC_RANGE_DEFAULT_TAB 1
+#define AC_RANGE_CUSTOM_TAB 2
+
extern const uint8_t ff_log2_run[41];
extern const int8_t ffv1_quant5_10bit[256];
int transparency;
int flags;
int picture_number;
- AVFrame picture, last_picture;
+ int key_frame;
+ const AVFrame *frame;
+ AVFrame *last_picture;
AVFrame *cur;
int plane_count;
int ec;
int slice_damaged;
int key_frame_ok;
+ int context_model;
int bits_per_raw_sample;
int packed_at_lsb;
int gob_count;
int quant_table_count;
- DSPContext dsp;
-
struct FFV1Context *slice_context[MAX_SLICES];
int slice_count;
int num_v_slices;