23 #ifndef AVCODEC_FFV1_H    24 #define AVCODEC_FFV1_H    45 #ifdef __INTEL_COMPILER    51 #define CONTEXT_SIZE 32    53 #define MAX_QUANT_TABLES 8    54 #define MAX_CONTEXT_INPUTS 5    56 #define AC_GOLOMB_RICE          0    57 #define AC_RANGE_DEFAULT_TAB    1    58 #define AC_RANGE_CUSTOM_TAB     2    59 #define AC_RANGE_DEFAULT_TAB_FORCE -2    77 #define MAX_SLICES 1024    85     uint64_t rc_stat[256][2];
   156         diff +=  1 << (bits  - 1);
   157         diff  = av_mod_uintp2(diff, bits);
   158         diff -=  1 << (bits  - 1);
   178     if (drift <= -count) {
   179         if (state->
bias > -128)
   185     } 
else if (drift > 0) {
   186         if (state->
bias < 127)
   199 #define RENAME(name) name   205 #define RENAME(name) name ## 32 static av_always_inline int fold(int diff, int bits)
This structure describes decoded (raw) audio or video data. 
int ff_ffv1_init_slice_contexts(FFV1Context *f)
#define MAX_CONTEXT_INPUTS
enum AVPictureType last_picture
Multithreading support functions. 
uint8_t(*[MAX_QUANT_TABLES] initial_states)[32]
Public header for CRC hash function implementation. 
int ff_ffv1_allocate_initial_states(FFV1Context *f)
bitstream reader API header. 
high precision timer, useful to profile code 
int16_t quant_tables[MAX_QUANT_TABLES][MAX_CONTEXT_INPUTS][256]
simple assert() macros that are a bit more flexible than ISO C assert(). 
int ac
1=range coder <-> 0=golomb rice 
int ff_ffv1_init_slices_state(FFV1Context *f)
int ff_ffv1_close(AVCodecContext *avctx)
uint8_t state_transition[256]
static float quant_table[96]
static void update_vlc_state(VlcState *const state, const int v)
#define FFABS(a)
Absolute value, Note, INT_MIN / INT64_MIN result in undefined behavior as they are not representable ...
int ac_byte_count
number of bytes used for AC coding 
int context_count[MAX_QUANT_TABLES]
Libavcodec external API header. 
main external API structure. 
Describe the class of an AVClass context structure. 
int32_t * sample_buffer32
common internal api header. 
int ff_ffv1_init_slice_state(FFV1Context *f, FFV1Context *fs)
static av_always_inline int diff(const uint32_t a, const uint32_t b)
struct FFV1Context * fsrc
struct FFV1Context * slice_context[MAX_SLICES]
int ff_ffv1_common_init(AVCodecContext *avctx)
void ff_ffv1_clear_slice_state(FFV1Context *f, FFV1Context *fs)