RV34DecContext Struct Reference

decoder context More...

#include <rv34.h>

Collaboration diagram for RV34DecContext:
Collaboration graph

Public Member Functions

 DECLARE_ALIGNED (8, uint32_t, avail_cache)[3 *4]
 8x8 block available flags (for MV prediction) More...
 

Data Fields

MpegEncContext s
 
RV34DSPContext rdsp
 
int8_t * intra_types_hist
 old block types, used for prediction More...
 
int8_t * intra_types
 block types More...
 
int intra_types_stride
 block types array stride More...
 
const uint8_tluma_dc_quant_i
 luma subblock DC quantizer for intraframes More...
 
const uint8_tluma_dc_quant_p
 luma subblock DC quantizer for interframes More...
 
RV34VLCcur_vlcs
 VLC set used for current frame decoding. More...
 
H264PredContext h
 functions for 4x4 and 16x16 intra block prediction More...
 
SliceInfo si
 current slice information More...
 
int * mb_type
 internal macroblock types More...
 
int block_type
 current block type More...
 
int luma_vlc
 which VLC set will be used for decoding of luma blocks More...
 
int chroma_vlc
 which VLC set will be used for decoding of chroma blocks More...
 
int is16
 current block has additional 16x16 specific features or not More...
 
int dmv [4][2]
 differential motion vectors for the current macroblock More...
 
int rv30
 indicates which RV variasnt is currently decoded More...
 
int rpr
 one field size in RV30 slice header More...
 
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. More...
 
int mv_weight1
 
int mv_weight2
 
uint16_t * cbp_luma
 CBP values for luma subblocks. More...
 
uint8_tcbp_chroma
 CBP values for chroma subblocks. More...
 
uint16_t * deblock_coefs
 deblock coefficients for each macroblock More...
 
uint8_ttmp_b_block_y [2]
 temporary blocks for RV4 weighted MC More...
 
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.

Member Function Documentation

RV34DecContext::DECLARE_ALIGNED ( ,
uint32_t  ,
avail_cache   
)

8x8 block available flags (for MV prediction)

Field Documentation

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().

uint8_t* RV34DecContext::cbp_chroma
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().

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::cur_pts

Definition at line 107 of file rv34.h.

Referenced by ff_rv34_decode_frame(), and ff_rv34_decode_update_thread_context().

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().

uint16_t* RV34DecContext::deblock_coefs
int(* RV34DecContext::decode_intra_types) (struct RV34DecContext *r, GetBitContext *gb, int8_t *dst)
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::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().

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().

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().

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().

int RV34DecContext::intra_types_stride
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::last_pts

Definition at line 107 of file rv34.h.

Referenced by ff_rv34_decode_frame(), and ff_rv34_decode_update_thread_context().

void(* RV34DecContext::loop_filter) (struct RV34DecContext *r, int row)
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().

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::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::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().

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::parse_slice_header) (struct RV34DecContext *r, GetBitContext *gb, SliceInfo *si)
int RV34DecContext::rpr

one field size in RV30 slice header

Definition at line 105 of file rv34.h.

Referenced by rv30_decode_init(), and rv30_parse_slice_header().

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::scaled_weight

Definition at line 108 of file rv34.h.

Referenced by ff_rv34_decode_frame(), and rv4_weight().

uint8_t* RV34DecContext::tmp_b_block_base
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_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().

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().


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