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

decoder context More...

#include <rv34.h>

Data Fields

MpegEncContext s
 
RV34DSPContext rdsp
 
int8_t * intra_types_hist
 old block types, used for prediction
 
int8_t * intra_types
 block types
 
int intra_types_stride
 block types array stride
 
const uint8_tluma_dc_quant_i
 luma subblock DC quantizer for intraframes
 
const uint8_tluma_dc_quant_p
 luma subblock DC quantizer for interframes
 
RV34VLCcur_vlcs
 VLC set used for current frame decoding.
 
H264PredContext h
 functions for 4x4 and 16x16 intra block prediction
 
SliceInfo si
 current slice information
 
int * mb_type
 internal macroblock types
 
int block_type
 current block type
 
int luma_vlc
 which VLC set will be used for decoding of luma blocks
 
int chroma_vlc
 which VLC set will be used for decoding of chroma blocks
 
int is16
 current block has additional 16x16 specific features or not
 
int dmv [4][2]
 differential motion vectors for the current macroblock
 
int rv30
 indicates which RV variasnt is currently decoded
 
int max_rpr
 
int cur_pts
 
int last_pts
 
int next_pts
 
int scaled_weight
 
int weight1
 
int weight2
 B frame distance fractions (0.14) used in motion compensation.
 
int mv_weight1
 
int mv_weight2
 
uint16_t * cbp_luma
 CBP values for luma subblocks.
 
uint8_tcbp_chroma
 CBP values for chroma subblocks.
 
uint16_t * deblock_coefs
 deblock coefficients for each macroblock
 
uint32_t avail_cache [3 *4]
 8x8 block available flags (for MV prediction)
 
uint8_ttmp_b_block_y [2]
 temporary blocks for RV4 weighted MC
 
uint8_ttmp_b_block_uv [4]
 
uint8_ttmp_b_block_base
 
int(* parse_slice_header )(struct RV34DecContext *r, GetBitContext *gb, SliceInfo *si)
 
int(* decode_mb_info )(struct RV34DecContext *r)
 
int(* decode_intra_types )(struct RV34DecContext *r, GetBitContext *gb, int8_t *dst)
 
void(* loop_filter )(struct RV34DecContext *r, int row)
 

Detailed Description

decoder context

Definition at line 84 of file rv34.h.

Field Documentation

MpegEncContext RV34DecContext::s
RV34DSPContext RV34DecContext::rdsp
int8_t* RV34DecContext::intra_types_hist

old block types, used for prediction

Definition at line 87 of file rv34.h.

Referenced by rv34_decode_slice(), rv34_decoder_alloc(), and rv34_decoder_free().

int8_t* RV34DecContext::intra_types

block types

Definition at line 88 of file rv34.h.

Referenced by rv34_decode_slice(), rv34_decoder_alloc(), and rv34_decoder_free().

int RV34DecContext::intra_types_stride
const uint8_t* RV34DecContext::luma_dc_quant_i

luma subblock DC quantizer for intraframes

Definition at line 90 of file rv34.h.

Referenced by rv30_decode_init(), rv34_output_i16x16(), and rv40_decode_init().

const uint8_t* RV34DecContext::luma_dc_quant_p

luma subblock DC quantizer for interframes

Definition at line 91 of file rv34.h.

Referenced by rv30_decode_init(), rv34_decode_inter_macroblock(), and rv40_decode_init().

RV34VLC* RV34DecContext::cur_vlcs

VLC set used for current frame decoding.

Definition at line 93 of file rv34.h.

Referenced by rv34_decode_inter_macroblock(), rv34_decode_inter_mb_header(), rv34_decode_intra_mb_header(), rv34_output_i16x16(), and rv34_process_block().

H264PredContext RV34DecContext::h

functions for 4x4 and 16x16 intra block prediction

Definition at line 94 of file rv34.h.

Referenced by ff_rv34_decode_init(), rv34_output_i16x16(), and rv34_pred_4x4_block().

SliceInfo RV34DecContext::si
int* RV34DecContext::mb_type

internal macroblock types

Definition at line 97 of file rv34.h.

Referenced by rv34_decode_inter_mb_header(), rv34_decoder_alloc(), rv34_decoder_free(), and rv40_decode_mb_info().

int RV34DecContext::block_type

current block type

Definition at line 98 of file rv34.h.

Referenced by rv34_decode_inter_mb_header(), and rv34_decode_intra_mb_header().

int RV34DecContext::luma_vlc

which VLC set will be used for decoding of luma blocks

Definition at line 99 of file rv34.h.

Referenced by rv34_decode_inter_macroblock(), rv34_decode_inter_mb_header(), rv34_decode_intra_mb_header(), rv34_output_i16x16(), and rv34_output_intra().

int RV34DecContext::chroma_vlc

which VLC set will be used for decoding of chroma blocks

Definition at line 100 of file rv34.h.

Referenced by rv34_decode_inter_macroblock(), rv34_decode_inter_mb_header(), rv34_decode_intra_mb_header(), rv34_output_i16x16(), and rv34_output_intra().

int RV34DecContext::is16

current block has additional 16x16 specific features or not

Definition at line 101 of file rv34.h.

Referenced by rv34_decode_inter_macroblock(), rv34_decode_inter_mb_header(), rv34_decode_intra_macroblock(), and rv34_decode_intra_mb_header().

int RV34DecContext::dmv[4][2]

differential motion vectors for the current macroblock

Definition at line 102 of file rv34.h.

Referenced by rv34_decode_mv(), rv34_pred_mv(), rv34_pred_mv_b(), and rv34_pred_mv_rv3().

int RV34DecContext::rv30

indicates which RV variasnt is currently decoded

Definition at line 104 of file rv34.h.

Referenced by rv30_decode_init(), rv34_decode_intra_mb_header(), rv34_decode_mv(), rv34_mc_1mv(), rv34_mc_2mv(), rv34_mc_2mv_skip(), rv34_pred_mv(), rv34_set_deblock_coef(), and rv40_decode_init().

int RV34DecContext::max_rpr

Definition at line 105 of file rv34.h.

Referenced by rv30_decode_init(), and rv30_parse_slice_header().

int RV34DecContext::cur_pts

Definition at line 107 of file rv34.h.

Referenced by ff_rv34_decode_frame(), and ff_rv34_decode_update_thread_context().

int RV34DecContext::last_pts

Definition at line 107 of file rv34.h.

Referenced by ff_rv34_decode_frame(), and ff_rv34_decode_update_thread_context().

int RV34DecContext::next_pts

Definition at line 107 of file rv34.h.

Referenced by ff_rv34_decode_frame(), and ff_rv34_decode_update_thread_context().

int RV34DecContext::scaled_weight

Definition at line 108 of file rv34.h.

Referenced by ff_rv34_decode_frame(), and rv4_weight().

int RV34DecContext::weight1

Definition at line 109 of file rv34.h.

Referenced by ff_rv34_decode_frame(), rv34_mc_2mv(), rv34_mc_2mv_skip(), and rv4_weight().

int RV34DecContext::weight2

B frame distance fractions (0.14) used in motion compensation.

Definition at line 109 of file rv34.h.

Referenced by ff_rv34_decode_frame(), and rv4_weight().

int RV34DecContext::mv_weight1

Definition at line 110 of file rv34.h.

Referenced by calc_add_mv(), and ff_rv34_decode_frame().

int RV34DecContext::mv_weight2

Definition at line 110 of file rv34.h.

Referenced by calc_add_mv(), and ff_rv34_decode_frame().

uint16_t* RV34DecContext::cbp_luma

CBP values for luma subblocks.

Definition at line 112 of file rv34.h.

Referenced by rv34_decode_inter_macroblock(), rv34_decode_intra_macroblock(), rv34_decoder_alloc(), rv34_decoder_free(), and rv40_loop_filter().

uint8_t* RV34DecContext::cbp_chroma
uint16_t* RV34DecContext::deblock_coefs
uint32_t RV34DecContext::avail_cache[3 *4]
uint8_t* RV34DecContext::tmp_b_block_y[2]

temporary blocks for RV4 weighted MC

Definition at line 120 of file rv34.h.

Referenced by ff_rv34_decode_frame(), rv34_mc(), and rv4_weight().

uint8_t* RV34DecContext::tmp_b_block_uv[4]

Definition at line 121 of file rv34.h.

Referenced by ff_rv34_decode_frame(), rv34_mc(), and rv4_weight().

uint8_t* RV34DecContext::tmp_b_block_base
int(* RV34DecContext::parse_slice_header)(struct RV34DecContext *r, GetBitContext *gb, SliceInfo *si)
int(* RV34DecContext::decode_mb_info)(struct RV34DecContext *r)

Definition at line 125 of file rv34.h.

Referenced by rv30_decode_init(), rv34_decode_inter_mb_header(), and rv40_decode_init().

int(* RV34DecContext::decode_intra_types)(struct RV34DecContext *r, GetBitContext *gb, int8_t *dst)
void(* RV34DecContext::loop_filter)(struct RV34DecContext *r, int row)

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