Libav
Data Fields
Vp3DecodeContext Struct Reference

Data Fields

AVCodecContextavctx
 
int theora
 
int theora_tables
 
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 fragment_count
 
int fragment_width [2]
 
int fragment_height [2]
 
Vp3Fragmentall_fragments
 
int fragment_start [3]
 
int data_offset [3]
 
int8_t(*[2] motion_val )[2]
 
uint16_t coded_dc_scale_factor [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
 
int * coded_fragment_list [3]
 
VLC dc_vlc [16]
 
VLC ac_vlc_1 [16]
 
VLC ac_vlc_2 [16]
 
VLC ac_vlc_3 [16]
 
VLC ac_vlc_4 [16]
 
VLC superblock_run_length_vlc
 
VLC fragment_run_length_vlc
 
VLC mode_code_vlc
 
VLC motion_vector_vlc
 
int16_t qmat [3][2][3][64]
 qmat[qpi][is_inter][plane] More...
 
int * superblock_fragments
 
unsigned char * macroblock_coding
 
uint8_tedge_emu_buffer
 
int hti
 
unsigned int hbits
 
int entries
 
int huff_code_size
 
uint32_t huffman_table [80][32][2]
 
uint8_t filter_limit_values [64]
 
int bounding_values_array [256+2]
 

Detailed Description

Definition at line 128 of file vp3.c.

Field Documentation

§ avctx

AVCodecContext* Vp3DecodeContext::avctx

§ theora

int Vp3DecodeContext::theora

Definition at line 130 of file vp3.c.

Referenced by unpack_superblocks(), vp3_decode_frame(), and vp3_init_thread_copy().

§ theora_tables

int Vp3DecodeContext::theora_tables

Definition at line 130 of file vp3.c.

Referenced by vp3_decode_init(), and vp3_init_thread_copy().

§ version

int Vp3DecodeContext::version

Definition at line 131 of file vp3.c.

Referenced by vp3_decode_frame(), and vp3_decode_init().

§ width

int Vp3DecodeContext::width

§ height

int Vp3DecodeContext::height

§ chroma_x_shift

int Vp3DecodeContext::chroma_x_shift

Definition at line 133 of file vp3.c.

Referenced by render_slice(), unpack_modes(), unpack_vectors(), and vp3_decode_init().

§ chroma_y_shift

int Vp3DecodeContext::chroma_y_shift

§ golden_frame

ThreadFrame Vp3DecodeContext::golden_frame

§ last_frame

ThreadFrame Vp3DecodeContext::last_frame

§ current_frame

ThreadFrame Vp3DecodeContext::current_frame

§ keyframe

int Vp3DecodeContext::keyframe

§ idct_permutation

uint8_t Vp3DecodeContext::idct_permutation[64]

Definition at line 138 of file vp3.c.

Referenced by init_dequantizer(), and vp3_decode_init().

§ idct_scantable

uint8_t Vp3DecodeContext::idct_scantable[64]

Definition at line 139 of file vp3.c.

Referenced by vp3_decode_init(), and vp3_dequant().

§ hdsp

HpelDSPContext Vp3DecodeContext::hdsp

Definition at line 140 of file vp3.c.

Referenced by render_slice(), and vp3_decode_init().

§ vdsp

VideoDSPContext Vp3DecodeContext::vdsp

Definition at line 141 of file vp3.c.

Referenced by render_slice(), and vp3_decode_init().

§ vp3dsp

VP3DSPContext Vp3DecodeContext::vp3dsp

Definition at line 142 of file vp3.c.

Referenced by apply_loop_filter(), render_slice(), and vp3_decode_init().

§ block

int16_t Vp3DecodeContext::block[64]

Definition at line 143 of file vp3.c.

Referenced by render_slice().

§ flipped_image

int Vp3DecodeContext::flipped_image

§ last_slice_end

int Vp3DecodeContext::last_slice_end

Definition at line 145 of file vp3.c.

Referenced by vp3_decode_frame(), and vp3_draw_horiz_band().

§ skip_loop_filter

int Vp3DecodeContext::skip_loop_filter

Definition at line 146 of file vp3.c.

Referenced by render_slice(), and vp3_decode_frame().

§ qps

int Vp3DecodeContext::qps[3]

§ nqps

int Vp3DecodeContext::nqps

Definition at line 149 of file vp3.c.

Referenced by unpack_block_qpis(), and vp3_decode_frame().

§ last_qps

int Vp3DecodeContext::last_qps[3]

Definition at line 150 of file vp3.c.

Referenced by vp3_decode_frame().

§ superblock_count

int Vp3DecodeContext::superblock_count

Definition at line 152 of file vp3.c.

Referenced by allocate_tables(), unpack_superblocks(), and vp3_decode_init().

§ y_superblock_width

int Vp3DecodeContext::y_superblock_width

§ y_superblock_height

int Vp3DecodeContext::y_superblock_height

Definition at line 154 of file vp3.c.

Referenced by init_block_mapping(), unpack_modes(), unpack_vectors(), and vp3_decode_init().

§ y_superblock_count

int Vp3DecodeContext::y_superblock_count

Definition at line 155 of file vp3.c.

Referenced by unpack_superblocks(), and vp3_decode_init().

§ c_superblock_width

int Vp3DecodeContext::c_superblock_width

Definition at line 156 of file vp3.c.

Referenced by init_block_mapping(), render_slice(), and vp3_decode_init().

§ c_superblock_height

int Vp3DecodeContext::c_superblock_height

Definition at line 157 of file vp3.c.

Referenced by init_block_mapping(), render_slice(), vp3_decode_frame(), and vp3_decode_init().

§ c_superblock_count

int Vp3DecodeContext::c_superblock_count

Definition at line 158 of file vp3.c.

Referenced by unpack_superblocks(), and vp3_decode_init().

§ u_superblock_start

int Vp3DecodeContext::u_superblock_start

Definition at line 159 of file vp3.c.

Referenced by unpack_superblocks(), and vp3_decode_init().

§ v_superblock_start

int Vp3DecodeContext::v_superblock_start

Definition at line 160 of file vp3.c.

Referenced by unpack_superblocks(), and vp3_decode_init().

§ superblock_coding

unsigned char* Vp3DecodeContext::superblock_coding

Definition at line 161 of file vp3.c.

Referenced by allocate_tables(), unpack_superblocks(), vp3_decode_end(), and vp3_init_thread_copy().

§ macroblock_count

int Vp3DecodeContext::macroblock_count

Definition at line 163 of file vp3.c.

Referenced by allocate_tables(), unpack_superblocks(), and vp3_decode_init().

§ macroblock_width

int Vp3DecodeContext::macroblock_width

Definition at line 164 of file vp3.c.

Referenced by unpack_modes(), unpack_vectors(), and vp3_decode_init().

§ macroblock_height

int Vp3DecodeContext::macroblock_height

Definition at line 165 of file vp3.c.

Referenced by unpack_modes(), unpack_vectors(), and vp3_decode_init().

§ fragment_count

int Vp3DecodeContext::fragment_count

Definition at line 167 of file vp3.c.

Referenced by allocate_tables(), unpack_modes(), vp3_decode_frame(), and vp3_decode_init().

§ fragment_width

int Vp3DecodeContext::fragment_width[2]

§ fragment_height

int Vp3DecodeContext::fragment_height[2]

§ all_fragments

Vp3Fragment* Vp3DecodeContext::all_fragments

§ fragment_start

int Vp3DecodeContext::fragment_start[3]

§ data_offset

int Vp3DecodeContext::data_offset[3]

Definition at line 173 of file vp3.c.

Referenced by apply_loop_filter(), render_slice(), and vp3_decode_frame().

§ motion_val

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

§ coded_dc_scale_factor

uint16_t Vp3DecodeContext::coded_dc_scale_factor[64]

Definition at line 178 of file vp3.c.

Referenced by init_dequantizer(), vp3_decode_init(), and vp3_init_thread_copy().

§ coded_ac_scale_factor

uint32_t Vp3DecodeContext::coded_ac_scale_factor[64]

Definition at line 179 of file vp3.c.

Referenced by init_dequantizer(), vp3_decode_init(), and vp3_init_thread_copy().

§ base_matrix

uint8_t Vp3DecodeContext::base_matrix[384][64]

Definition at line 180 of file vp3.c.

Referenced by init_dequantizer(), vp3_decode_init(), and vp3_init_thread_copy().

§ qr_count

uint8_t Vp3DecodeContext::qr_count[2][3]

Definition at line 181 of file vp3.c.

Referenced by init_dequantizer(), vp3_decode_init(), and vp3_init_thread_copy().

§ qr_size

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

Definition at line 182 of file vp3.c.

Referenced by init_dequantizer(), vp3_decode_init(), and vp3_init_thread_copy().

§ qr_base

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

Definition at line 183 of file vp3.c.

Referenced by init_dequantizer(), vp3_decode_init(), and vp3_init_thread_copy().

§ 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 202 of file vp3.c.

Referenced by unpack_dct_coeffs(), unpack_vlcs(), and vp3_dequant().

§ dct_tokens_base

int16_t* Vp3DecodeContext::dct_tokens_base

Definition at line 203 of file vp3.c.

Referenced by allocate_tables(), unpack_dct_coeffs(), vp3_decode_end(), and vp3_init_thread_copy().

§ 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 212 of file vp3.c.

Referenced by unpack_superblocks(), and unpack_vlcs().

§ total_num_coded_frags

int Vp3DecodeContext::total_num_coded_frags

Definition at line 213 of file vp3.c.

Referenced by unpack_block_qpis(), and unpack_superblocks().

§ coded_fragment_list

int* Vp3DecodeContext::coded_fragment_list[3]

§ dc_vlc

VLC Vp3DecodeContext::dc_vlc[16]

Definition at line 219 of file vp3.c.

Referenced by unpack_dct_coeffs(), vp3_decode_end(), and vp3_decode_init().

§ ac_vlc_1

VLC Vp3DecodeContext::ac_vlc_1[16]

Definition at line 220 of file vp3.c.

Referenced by unpack_dct_coeffs(), vp3_decode_end(), and vp3_decode_init().

§ ac_vlc_2

VLC Vp3DecodeContext::ac_vlc_2[16]

Definition at line 221 of file vp3.c.

Referenced by unpack_dct_coeffs(), vp3_decode_end(), and vp3_decode_init().

§ ac_vlc_3

VLC Vp3DecodeContext::ac_vlc_3[16]

Definition at line 222 of file vp3.c.

Referenced by unpack_dct_coeffs(), vp3_decode_end(), and vp3_decode_init().

§ ac_vlc_4

VLC Vp3DecodeContext::ac_vlc_4[16]

Definition at line 223 of file vp3.c.

Referenced by unpack_dct_coeffs(), vp3_decode_end(), and vp3_decode_init().

§ superblock_run_length_vlc

VLC Vp3DecodeContext::superblock_run_length_vlc

Definition at line 225 of file vp3.c.

Referenced by unpack_block_qpis(), unpack_superblocks(), vp3_decode_end(), and vp3_decode_init().

§ fragment_run_length_vlc

VLC Vp3DecodeContext::fragment_run_length_vlc

Definition at line 226 of file vp3.c.

Referenced by unpack_superblocks(), vp3_decode_end(), and vp3_decode_init().

§ mode_code_vlc

VLC Vp3DecodeContext::mode_code_vlc

Definition at line 227 of file vp3.c.

Referenced by unpack_modes(), vp3_decode_end(), and vp3_decode_init().

§ motion_vector_vlc

VLC Vp3DecodeContext::motion_vector_vlc

Definition at line 228 of file vp3.c.

Referenced by unpack_vectors(), vp3_decode_end(), and vp3_decode_init().

§ qmat

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

qmat[qpi][is_inter][plane]

Definition at line 232 of file vp3.c.

Referenced by init_dequantizer(), vp3_dequant(), and vp3_update_thread_context().

§ superblock_fragments

int* Vp3DecodeContext::superblock_fragments

§ macroblock_coding

unsigned char* Vp3DecodeContext::macroblock_coding

§ edge_emu_buffer

uint8_t* Vp3DecodeContext::edge_emu_buffer

Definition at line 244 of file vp3.c.

Referenced by render_slice(), vp3_decode_end(), vp3_decode_frame(), and vp3_init_thread_copy().

§ hti

int Vp3DecodeContext::hti

Definition at line 247 of file vp3.c.

Referenced by read_huffman_tree(), and vp3_init_thread_copy().

§ hbits

unsigned int Vp3DecodeContext::hbits

Definition at line 248 of file vp3.c.

Referenced by read_huffman_tree(), and vp3_init_thread_copy().

§ entries

int Vp3DecodeContext::entries

Definition at line 249 of file vp3.c.

Referenced by read_huffman_tree(), and vp3_init_thread_copy().

§ huff_code_size

int Vp3DecodeContext::huff_code_size

Definition at line 250 of file vp3.c.

Referenced by read_huffman_tree(), and vp3_init_thread_copy().

§ huffman_table

uint32_t Vp3DecodeContext::huffman_table[80][32][2]

Definition at line 251 of file vp3.c.

Referenced by read_huffman_tree(), and vp3_decode_init().

§ filter_limit_values

uint8_t Vp3DecodeContext::filter_limit_values[64]

Definition at line 253 of file vp3.c.

Referenced by init_loop_filter(), vp3_decode_frame(), vp3_decode_init(), and vp3_init_thread_copy().

§ bounding_values_array

int Vp3DecodeContext::bounding_values_array[256+2]

Definition at line 254 of file vp3.c.

Referenced by apply_loop_filter(), init_loop_filter(), and vp3_update_thread_context().


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