FFmpeg  4.0
Data Fields
FFV1Context Struct Reference

#include <libavcodec/ffv1.h>

Data Fields

AVClassclass
 
AVCodecContextavctx
 
RangeCoder c
 
GetBitContext gb
 
PutBitContext pb
 
uint64_t rc_stat [256][2]
 
uint64_t(*[MAX_QUANT_TABLESrc_stat2 )[32][2]
 
int version
 
int micro_version
 
int width
 
int height
 
int chroma_planes
 
int chroma_h_shift
 
int chroma_v_shift
 
int transparency
 
int flags
 
int picture_number
 
int key_frame
 
ThreadFrame picture
 
ThreadFrame last_picture
 
struct FFV1Contextfsrc
 
AVFramecur
 
int plane_count
 
int ac
 1=range coder <-> 0=golomb rice More...
 
int ac_byte_count
 number of bytes used for AC coding More...
 
PlaneContext plane [MAX_PLANES]
 
int16_t quant_table [MAX_CONTEXT_INPUTS][256]
 
int16_t quant_tables [MAX_QUANT_TABLES][MAX_CONTEXT_INPUTS][256]
 
int context_count [MAX_QUANT_TABLES]
 
uint8_t state_transition [256]
 
uint8_t(*[MAX_QUANT_TABLESinitial_states )[32]
 
int run_index
 
int colorspace
 
int16_t * sample_buffer
 
int32_tsample_buffer32
 
int use32bit
 
int ec
 
int intra
 
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
 
struct FFV1Contextslice_context [MAX_SLICES]
 
int slice_count
 
int max_slice_count
 
int num_v_slices
 
int num_h_slices
 
int slice_width
 
int slice_height
 
int slice_x
 
int slice_y
 
int slice_reset_contexts
 
int slice_coding_mode
 
int slice_rct_by_coef
 
int slice_rct_ry_coef
 

Detailed Description

Definition at line 79 of file ffv1.h.

Field Documentation

◆ class

AVClass* FFV1Context::class

Definition at line 80 of file ffv1.h.

◆ avctx

AVCodecContext* FFV1Context::avctx

◆ c

RangeCoder FFV1Context::c

◆ gb

GetBitContext FFV1Context::gb

Definition at line 83 of file ffv1.h.

Referenced by decode_slice(), and is_input_end().

◆ pb

PutBitContext FFV1Context::pb

Definition at line 84 of file ffv1.h.

Referenced by encode_frame(), and encode_slice().

◆ rc_stat

uint64_t FFV1Context::rc_stat[256][2]

Definition at line 85 of file ffv1.h.

Referenced by encode_frame(), encode_init(), and sort_stt().

◆ rc_stat2

uint64_t(*[MAX_QUANT_TABLES] FFV1Context::rc_stat2)[32][2]

Definition at line 86 of file ffv1.h.

Referenced by encode_frame(), encode_init(), ff_ffv1_close(), and ff_ffv1_init_slice_contexts().

◆ version

int FFV1Context::version

◆ micro_version

int FFV1Context::micro_version

Definition at line 88 of file ffv1.h.

Referenced by copy_fields(), decode_slice(), read_extra_header(), and write_extradata().

◆ width

int FFV1Context::width

◆ height

int FFV1Context::height

◆ chroma_planes

int FFV1Context::chroma_planes

◆ chroma_h_shift

int FFV1Context::chroma_h_shift

◆ chroma_v_shift

int FFV1Context::chroma_v_shift

◆ transparency

int FFV1Context::transparency

◆ flags

int FFV1Context::flags

Definition at line 93 of file ffv1.h.

Referenced by ff_ffv1_common_init().

◆ picture_number

int FFV1Context::picture_number

Definition at line 94 of file ffv1.h.

Referenced by decode_frame(), encode_frame(), and encode_init().

◆ key_frame

int FFV1Context::key_frame

Definition at line 95 of file ffv1.h.

Referenced by encode_frame(), and encode_slice().

◆ picture

ThreadFrame FFV1Context::picture

◆ last_picture

ThreadFrame FFV1Context::last_picture

Definition at line 96 of file ffv1.h.

Referenced by copy_fields(), decode_frame(), decode_slice(), ff_ffv1_close(), and ff_ffv1_common_init().

◆ fsrc

struct FFV1Context* FFV1Context::fsrc

Definition at line 97 of file ffv1.h.

Referenced by copy_fields(), and decode_slice().

◆ cur

AVFrame* FFV1Context::cur

Definition at line 99 of file ffv1.h.

Referenced by decode_frame(), decode_slice(), and decode_slice_header().

◆ plane_count

int FFV1Context::plane_count

◆ ac

int FFV1Context::ac

◆ ac_byte_count

int FFV1Context::ac_byte_count

number of bytes used for AC coding

Definition at line 102 of file ffv1.h.

Referenced by decode_slice(), encode_frame(), and encode_slice().

◆ plane

PlaneContext FFV1Context::plane[MAX_PLANES]

◆ quant_table

int16_t FFV1Context::quant_table[MAX_CONTEXT_INPUTS][256]

Definition at line 104 of file ffv1.h.

Referenced by encode_init(), read_header(), and write_header().

◆ quant_tables

int16_t FFV1Context::quant_tables[MAX_QUANT_TABLES][MAX_CONTEXT_INPUTS][256]

◆ context_count

int FFV1Context::context_count[MAX_QUANT_TABLES]

◆ state_transition

uint8_t FFV1Context::state_transition[256]

◆ initial_states

uint8_t(*[MAX_QUANT_TABLES] FFV1Context::initial_states)[32]

◆ run_index

int FFV1Context::run_index

Definition at line 109 of file ffv1.h.

Referenced by decode_line(), decode_plane(), encode_line(), and encode_plane().

◆ colorspace

int FFV1Context::colorspace

◆ sample_buffer

int16_t* FFV1Context::sample_buffer

◆ sample_buffer32

int32_t* FFV1Context::sample_buffer32

Definition at line 112 of file ffv1.h.

Referenced by ff_ffv1_close(), and ff_ffv1_init_slice_contexts().

◆ use32bit

int FFV1Context::use32bit

Definition at line 114 of file ffv1.h.

Referenced by decode_slice(), encode_init(), encode_slice(), and read_header().

◆ ec

int FFV1Context::ec

◆ intra

int FFV1Context::intra

Definition at line 117 of file ffv1.h.

Referenced by copy_fields(), read_extra_header(), and write_extradata().

◆ slice_damaged

int FFV1Context::slice_damaged

Definition at line 118 of file ffv1.h.

Referenced by copy_fields(), decode_frame(), decode_slice(), and read_header().

◆ key_frame_ok

int FFV1Context::key_frame_ok

Definition at line 119 of file ffv1.h.

Referenced by copy_fields(), and decode_frame().

◆ context_model

int FFV1Context::context_model

Definition at line 120 of file ffv1.h.

Referenced by encode_init(), encode_plane(), encode_slice_header(), and write_header().

◆ bits_per_raw_sample

int FFV1Context::bits_per_raw_sample

◆ packed_at_lsb

int FFV1Context::packed_at_lsb

Definition at line 123 of file ffv1.h.

Referenced by copy_fields(), decode_plane(), encode_init(), encode_plane(), and read_header().

◆ gob_count

int FFV1Context::gob_count

Definition at line 125 of file ffv1.h.

Referenced by encode_frame(), and encode_init().

◆ quant_table_count

int FFV1Context::quant_table_count

◆ slice_context

struct FFV1Context* FFV1Context::slice_context[MAX_SLICES]

◆ slice_count

int FFV1Context::slice_count

Definition at line 129 of file ffv1.h.

Referenced by copy_fields(), decode_frame(), encode_frame(), encode_init(), read_header(), and write_header().

◆ max_slice_count

int FFV1Context::max_slice_count

◆ num_v_slices

int FFV1Context::num_v_slices

◆ num_h_slices

int FFV1Context::num_h_slices

◆ slice_width

int FFV1Context::slice_width

◆ slice_height

int FFV1Context::slice_height

◆ slice_x

int FFV1Context::slice_x

◆ slice_y

int FFV1Context::slice_y

◆ slice_reset_contexts

int FFV1Context::slice_reset_contexts

Definition at line 137 of file ffv1.h.

Referenced by decode_slice(), and decode_slice_header().

◆ slice_coding_mode

int FFV1Context::slice_coding_mode

Definition at line 138 of file ffv1.h.

Referenced by decode_slice_header(), encode_slice(), and encode_slice_header().

◆ slice_rct_by_coef

int FFV1Context::slice_rct_by_coef

◆ slice_rct_ry_coef

int FFV1Context::slice_rct_ry_coef

The documentation for this struct was generated from the following file: