FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
VP8ThreadData Struct Reference

#include <vp8.h>

Data Fields

int16_t block [6][4][16]
 
int16_t block_dc [16]
 
uint8_t non_zero_count_cache [6][4]
 This is the index plus one of the last non-zero coeff for each of the blocks in the current macroblock. More...
 
uint8_t left_nnz [9]
 For coeff decode, we need to know whether the above block had non-zero coefficients. More...
 
int thread_nr
 
int thread_mb_pos
 
int wait_mb_pos
 
uint8_t edge_emu_buffer [21 *EDGE_EMU_LINESIZE]
 
VP8FilterStrengthfilter_strength
 

Detailed Description

Definition at line 94 of file vp8.h.

Field Documentation

int16_t VP8ThreadData::block[6][4][16]

Definition at line 95 of file vp8.h.

Referenced by decode_mb_coeffs(), idct_mb(), and intra_predict().

int16_t VP8ThreadData::block_dc[16]

Definition at line 96 of file vp8.h.

Referenced by decode_mb_coeffs().

uint8_t VP8ThreadData::non_zero_count_cache[6][4]

This is the index plus one of the last non-zero coeff for each of the blocks in the current macroblock.

So, 0 -> no coeffs 1 -> dc-only (special transform) 2+-> full transform

Definition at line 104 of file vp8.h.

Referenced by decode_mb_coeffs(), idct_mb(), and intra_predict().

uint8_t VP8ThreadData::left_nnz[9]

For coeff decode, we need to know whether the above block had non-zero coefficients.

This means for each macroblock, we need data for 4 luma blocks, 2 u blocks, 2 v blocks, and the luma dc block, for a total of 9 per macroblock. We keep the last row in top_nnz.

Definition at line 111 of file vp8.h.

Referenced by decode_mb_row_no_filter().

int VP8ThreadData::thread_nr

Definition at line 112 of file vp8.h.

Referenced by intra_predict(), and vp78_decode_mb_row_sliced().

int VP8ThreadData::thread_mb_pos
int VP8ThreadData::wait_mb_pos

Definition at line 118 of file vp8.h.

Referenced by vp78_decode_frame().

uint8_t VP8ThreadData::edge_emu_buffer[21 *EDGE_EMU_LINESIZE]

Definition at line 121 of file vp8.h.

Referenced by vp8_mc_chroma(), and vp8_mc_luma().

VP8FilterStrength* VP8ThreadData::filter_strength

Definition at line 122 of file vp8.h.

Referenced by decode_mb_row_no_filter(), filter_mb_row(), free_buffers(), and update_dimensions().


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