FFmpeg
Data Fields
Vp3DecodeContext Struct Reference

Data Fields

AVCodecContextavctx
 
int theora
 
int theora_tables
 
int theora_header
 
int version
 
int width
 
int height
 
int chroma_x_shift
 
int chroma_y_shift
 
ThreadFrame golden_frame
 
ThreadFrame last_frame
 
ThreadFrame current_frame
 
int keyframe
 
uint8_t idct_permutation [64]
 
uint8_t idct_scantable [64]
 
HpelDSPContext hdsp
 
VideoDSPContext vdsp
 
VP3DSPContext vp3dsp
 
int16_t block [64]
 
int flipped_image
 
int last_slice_end
 
int skip_loop_filter
 
int qps [3]
 
int nqps
 
int last_qps [3]
 
int superblock_count
 
int y_superblock_width
 
int y_superblock_height
 
int y_superblock_count
 
int c_superblock_width
 
int c_superblock_height
 
int c_superblock_count
 
int u_superblock_start
 
int v_superblock_start
 
unsigned char * superblock_coding
 
int macroblock_count
 
int macroblock_width
 
int macroblock_height
 
int c_macroblock_count
 
int c_macroblock_width
 
int c_macroblock_height
 
int yuv_macroblock_count
 
int fragment_count
 
int fragment_width [2]
 
int fragment_height [2]
 
Vp3Fragmentall_fragments
 
int fragment_start [3]
 
int data_offset [3]
 
uint8_t offset_x
 
uint8_t offset_y
 
int offset_x_warned
 
int8_t(*[2] motion_val )[2]
 
uint16_t coded_dc_scale_factor [2][64]
 
uint32_t coded_ac_scale_factor [64]
 
uint8_t base_matrix [384][64]
 
uint8_t qr_count [2][3]
 
uint8_t qr_size [2][3][64]
 
uint16_t qr_base [2][3][64]
 
int16_t * dct_tokens [3][64]
 This is a list of all tokens in bitstream order. More...
 
int16_t * dct_tokens_base
 
int num_coded_frags [3][64]
 number of blocks that contain DCT coefficients at the given level or higher More...
 
int total_num_coded_frags
 
intcoded_fragment_list [3]
 
intkf_coded_fragment_list
 
intnkf_coded_fragment_list
 
int num_kf_coded_fragment [3]
 
VLC coeff_vlc [5 *16]
 
VLC superblock_run_length_vlc
 
VLC fragment_run_length_vlc
 
VLC block_pattern_vlc [2]
 
VLC mode_code_vlc
 
VLC motion_vector_vlc
 
VLC vp4_mv_vlc [2][7]
 
int16_t qmat [3][2][3][64]
 qmat[qpi][is_inter][plane] More...
 
intsuperblock_fragments
 
unsigned char * macroblock_coding
 
uint8_t * edge_emu_buffer
 
HuffTable huffman_table [5 *16]
 
uint8_t filter_limit_values [64]
 
int bounding_values_array [256+2]
 
VP4Predictordc_pred_row
 

Detailed Description

Definition at line 172 of file vp3.c.

Field Documentation

◆ avctx

AVCodecContext* Vp3DecodeContext::avctx

Definition at line 173 of file vp3.c.

◆ theora

int Vp3DecodeContext::theora

Definition at line 174 of file vp3.c.

◆ theora_tables

int Vp3DecodeContext::theora_tables

Definition at line 174 of file vp3.c.

◆ theora_header

int Vp3DecodeContext::theora_header

Definition at line 174 of file vp3.c.

◆ version

int Vp3DecodeContext::version

Definition at line 175 of file vp3.c.

◆ width

int Vp3DecodeContext::width

Definition at line 176 of file vp3.c.

◆ height

int Vp3DecodeContext::height

Definition at line 176 of file vp3.c.

◆ chroma_x_shift

int Vp3DecodeContext::chroma_x_shift

Definition at line 177 of file vp3.c.

◆ chroma_y_shift

int Vp3DecodeContext::chroma_y_shift

Definition at line 177 of file vp3.c.

◆ golden_frame

ThreadFrame Vp3DecodeContext::golden_frame

Definition at line 178 of file vp3.c.

◆ last_frame

ThreadFrame Vp3DecodeContext::last_frame

Definition at line 179 of file vp3.c.

◆ current_frame

ThreadFrame Vp3DecodeContext::current_frame

Definition at line 180 of file vp3.c.

◆ keyframe

int Vp3DecodeContext::keyframe

Definition at line 181 of file vp3.c.

◆ idct_permutation

uint8_t Vp3DecodeContext::idct_permutation[64]

Definition at line 182 of file vp3.c.

◆ idct_scantable

uint8_t Vp3DecodeContext::idct_scantable[64]

Definition at line 183 of file vp3.c.

◆ hdsp

HpelDSPContext Vp3DecodeContext::hdsp

Definition at line 184 of file vp3.c.

◆ vdsp

VideoDSPContext Vp3DecodeContext::vdsp

Definition at line 185 of file vp3.c.

◆ vp3dsp

VP3DSPContext Vp3DecodeContext::vp3dsp

Definition at line 186 of file vp3.c.

◆ block

int16_t Vp3DecodeContext::block[64]

Definition at line 187 of file vp3.c.

◆ flipped_image

int Vp3DecodeContext::flipped_image

Definition at line 188 of file vp3.c.

◆ last_slice_end

int Vp3DecodeContext::last_slice_end

Definition at line 189 of file vp3.c.

◆ skip_loop_filter

int Vp3DecodeContext::skip_loop_filter

Definition at line 190 of file vp3.c.

◆ qps

int Vp3DecodeContext::qps[3]

Definition at line 192 of file vp3.c.

◆ nqps

int Vp3DecodeContext::nqps

Definition at line 193 of file vp3.c.

◆ last_qps

int Vp3DecodeContext::last_qps[3]

Definition at line 194 of file vp3.c.

◆ superblock_count

int Vp3DecodeContext::superblock_count

Definition at line 196 of file vp3.c.

◆ y_superblock_width

int Vp3DecodeContext::y_superblock_width

Definition at line 197 of file vp3.c.

◆ y_superblock_height

int Vp3DecodeContext::y_superblock_height

Definition at line 198 of file vp3.c.

◆ y_superblock_count

int Vp3DecodeContext::y_superblock_count

Definition at line 199 of file vp3.c.

◆ c_superblock_width

int Vp3DecodeContext::c_superblock_width

Definition at line 200 of file vp3.c.

◆ c_superblock_height

int Vp3DecodeContext::c_superblock_height

Definition at line 201 of file vp3.c.

◆ c_superblock_count

int Vp3DecodeContext::c_superblock_count

Definition at line 202 of file vp3.c.

◆ u_superblock_start

int Vp3DecodeContext::u_superblock_start

Definition at line 203 of file vp3.c.

◆ v_superblock_start

int Vp3DecodeContext::v_superblock_start

Definition at line 204 of file vp3.c.

◆ superblock_coding

unsigned char* Vp3DecodeContext::superblock_coding

Definition at line 205 of file vp3.c.

◆ macroblock_count

int Vp3DecodeContext::macroblock_count

Definition at line 207 of file vp3.c.

◆ macroblock_width

int Vp3DecodeContext::macroblock_width

Definition at line 208 of file vp3.c.

◆ macroblock_height

int Vp3DecodeContext::macroblock_height

Definition at line 209 of file vp3.c.

◆ c_macroblock_count

int Vp3DecodeContext::c_macroblock_count

Definition at line 210 of file vp3.c.

◆ c_macroblock_width

int Vp3DecodeContext::c_macroblock_width

Definition at line 211 of file vp3.c.

◆ c_macroblock_height

int Vp3DecodeContext::c_macroblock_height

Definition at line 212 of file vp3.c.

◆ yuv_macroblock_count

int Vp3DecodeContext::yuv_macroblock_count

Definition at line 213 of file vp3.c.

◆ fragment_count

int Vp3DecodeContext::fragment_count

Definition at line 215 of file vp3.c.

◆ fragment_width

int Vp3DecodeContext::fragment_width[2]

Definition at line 216 of file vp3.c.

◆ fragment_height

int Vp3DecodeContext::fragment_height[2]

Definition at line 217 of file vp3.c.

◆ all_fragments

Vp3Fragment* Vp3DecodeContext::all_fragments

Definition at line 219 of file vp3.c.

◆ fragment_start

int Vp3DecodeContext::fragment_start[3]

Definition at line 220 of file vp3.c.

◆ data_offset

int Vp3DecodeContext::data_offset[3]

Definition at line 221 of file vp3.c.

◆ offset_x

uint8_t Vp3DecodeContext::offset_x

Definition at line 222 of file vp3.c.

◆ offset_y

uint8_t Vp3DecodeContext::offset_y

Definition at line 223 of file vp3.c.

◆ offset_x_warned

int Vp3DecodeContext::offset_x_warned

Definition at line 224 of file vp3.c.

◆ motion_val

int8_t(*[2] Vp3DecodeContext::motion_val)[2]

Definition at line 226 of file vp3.c.

◆ coded_dc_scale_factor

uint16_t Vp3DecodeContext::coded_dc_scale_factor[2][64]

Definition at line 229 of file vp3.c.

◆ coded_ac_scale_factor

uint32_t Vp3DecodeContext::coded_ac_scale_factor[64]

Definition at line 230 of file vp3.c.

◆ base_matrix

uint8_t Vp3DecodeContext::base_matrix[384][64]

Definition at line 231 of file vp3.c.

◆ qr_count

uint8_t Vp3DecodeContext::qr_count[2][3]

Definition at line 232 of file vp3.c.

◆ qr_size

uint8_t Vp3DecodeContext::qr_size[2][3][64]

Definition at line 233 of file vp3.c.

◆ qr_base

uint16_t Vp3DecodeContext::qr_base[2][3][64]

Definition at line 234 of file vp3.c.

◆ dct_tokens

int16_t* Vp3DecodeContext::dct_tokens[3][64]

This is a list of all tokens in bitstream order.

Reordering takes place by pulling from each level during IDCT. As a consequence, IDCT must be in Hilbert order, making the minimum slice height 64 for 4:2:0 and 32 otherwise. The 32 different tokens with up to 12 bits of extradata are collapsed into 3 types, packed as follows: (from the low to high bits)

2 bits: type (0,1,2) 0: EOB run, 14 bits for run length (12 needed) 1: zero run, 7 bits for run length 7 bits for the next coefficient (3 needed) 2: coefficient, 14 bits (11 needed)

Coefficients are signed, so are packed in the highest bits for automatic sign extension.

Definition at line 253 of file vp3.c.

◆ dct_tokens_base

int16_t* Vp3DecodeContext::dct_tokens_base

Definition at line 254 of file vp3.c.

◆ num_coded_frags

int Vp3DecodeContext::num_coded_frags[3][64]

number of blocks that contain DCT coefficients at the given level or higher

Definition at line 263 of file vp3.c.

◆ total_num_coded_frags

int Vp3DecodeContext::total_num_coded_frags

Definition at line 264 of file vp3.c.

◆ coded_fragment_list

int* Vp3DecodeContext::coded_fragment_list[3]

Definition at line 268 of file vp3.c.

◆ kf_coded_fragment_list

int* Vp3DecodeContext::kf_coded_fragment_list

Definition at line 270 of file vp3.c.

◆ nkf_coded_fragment_list

int* Vp3DecodeContext::nkf_coded_fragment_list

Definition at line 271 of file vp3.c.

◆ num_kf_coded_fragment

int Vp3DecodeContext::num_kf_coded_fragment[3]

Definition at line 272 of file vp3.c.

◆ coeff_vlc

VLC Vp3DecodeContext::coeff_vlc[5 *16]

Definition at line 276 of file vp3.c.

◆ superblock_run_length_vlc

VLC Vp3DecodeContext::superblock_run_length_vlc

Definition at line 278 of file vp3.c.

◆ fragment_run_length_vlc

VLC Vp3DecodeContext::fragment_run_length_vlc

Definition at line 279 of file vp3.c.

◆ block_pattern_vlc

VLC Vp3DecodeContext::block_pattern_vlc[2]

Definition at line 280 of file vp3.c.

◆ mode_code_vlc

VLC Vp3DecodeContext::mode_code_vlc

Definition at line 281 of file vp3.c.

◆ motion_vector_vlc

VLC Vp3DecodeContext::motion_vector_vlc

Definition at line 282 of file vp3.c.

◆ vp4_mv_vlc

VLC Vp3DecodeContext::vp4_mv_vlc[2][7]

Definition at line 283 of file vp3.c.

◆ qmat

int16_t Vp3DecodeContext::qmat[3][2][3][64]

qmat[qpi][is_inter][plane]

Definition at line 287 of file vp3.c.

◆ superblock_fragments

int* Vp3DecodeContext::superblock_fragments

Definition at line 293 of file vp3.c.

◆ macroblock_coding

unsigned char* Vp3DecodeContext::macroblock_coding

Definition at line 297 of file vp3.c.

◆ edge_emu_buffer

uint8_t* Vp3DecodeContext::edge_emu_buffer

Definition at line 299 of file vp3.c.

◆ huffman_table

HuffTable Vp3DecodeContext::huffman_table[5 *16]

Definition at line 302 of file vp3.c.

◆ filter_limit_values

uint8_t Vp3DecodeContext::filter_limit_values[64]

Definition at line 304 of file vp3.c.

◆ bounding_values_array

int Vp3DecodeContext::bounding_values_array[256+2]

Definition at line 305 of file vp3.c.

◆ dc_pred_row

VP4Predictor* Vp3DecodeContext::dc_pred_row

Definition at line 307 of file vp3.c.


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