FFmpeg
4.0
|
decoder context More...
#include <libavcodec/rv34.h>
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_t * | luma_dc_quant_i |
luma subblock DC quantizer for intraframes More... | |
const uint8_t * | luma_dc_quant_p |
luma subblock DC quantizer for interframes More... | |
RV34VLC * | cur_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 variant is currently decoded More... | |
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. More... | |
int | mv_weight1 |
int | mv_weight2 |
int | orig_width |
int | orig_height |
uint16_t * | cbp_luma |
CBP values for luma subblocks. More... | |
uint8_t * | cbp_chroma |
CBP values for chroma subblocks. More... | |
uint16_t * | deblock_coefs |
deblock coefficients for each macroblock More... | |
uint32_t | avail_cache [3 *4] |
8x8 block available flags (for MV prediction) More... | |
uint8_t * | tmp_b_block_y [2] |
temporary blocks for RV4 weighted MC More... | |
uint8_t * | tmp_b_block_uv [4] |
uint8_t * | tmp_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) |
MpegEncContext RV34DecContext::s |
Definition at line 85 of file rv34.h.
Referenced by check_slice_end(), ff_rv34_decode_end(), ff_rv34_decode_frame(), ff_rv34_decode_init(), ff_rv34_decode_init_thread_copy(), ff_rv34_decode_update_thread_context(), finish_frame(), rv30_decode_intra_types(), rv30_decode_mb_info(), rv30_loop_filter(), rv30_parse_slice_header(), rv34_decode_inter_macroblock(), rv34_decode_inter_mb_header(), rv34_decode_intra_macroblock(), rv34_decode_intra_mb_header(), rv34_decode_mv(), rv34_decode_slice(), rv34_decoder_alloc(), rv34_mc(), rv34_mc_2mv_skip(), rv34_output_i16x16(), rv34_output_intra(), rv34_pred_mv(), rv34_pred_mv_b(), rv34_pred_mv_rv3(), rv34_process_block(), rv34_set_deblock_coef(), rv40_decode_intra_types(), rv40_decode_mb_info(), rv40_loop_filter(), rv40_parse_slice_header(), and rv4_weight().
RV34DSPContext RV34DecContext::rdsp |
Definition at line 86 of file rv34.h.
Referenced by ff_rv34_decode_init(), rv34_decode_inter_macroblock(), rv34_mc_1mv(), rv34_mc_2mv(), rv34_mc_2mv_skip(), rv34_output_i16x16(), rv34_process_block(), rv40_loop_filter(), and rv4_weight().
int8_t* RV34DecContext::intra_types_hist |
old block types, used for prediction
Definition at line 87 of file rv34.h.
Referenced by ff_rv34_decode_init_thread_copy(), 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 |
block types array stride
Definition at line 89 of file rv34.h.
Referenced by rv30_decode_intra_types(), rv34_decode_inter_mb_header(), rv34_decode_intra_mb_header(), rv34_decode_slice(), rv34_decoder_alloc(), rv34_output_intra(), and rv40_decode_intra_types().
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 |
current slice information
Definition at line 95 of file rv34.h.
Referenced by ff_rv34_decode_frame(), ff_rv34_decode_update_thread_context(), rv34_decode_inter_macroblock(), rv34_decode_inter_mb_header(), rv34_decode_intra_macroblock(), rv34_decode_intra_mb_header(), and rv34_decode_slice().
int* RV34DecContext::mb_type |
internal macroblock types
Definition at line 97 of file rv34.h.
Referenced by ff_rv34_decode_init_thread_copy(), 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 variant 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().
int RV34DecContext::orig_width |
Definition at line 112 of file rv34.h.
Referenced by rv30_decode_init(), and rv30_parse_slice_header().
int RV34DecContext::orig_height |
Definition at line 112 of file rv34.h.
Referenced by rv30_decode_init(), and rv30_parse_slice_header().
uint16_t* RV34DecContext::cbp_luma |
CBP values for luma subblocks.
Definition at line 114 of file rv34.h.
Referenced by ff_rv34_decode_init_thread_copy(), rv34_decode_inter_macroblock(), rv34_decode_intra_macroblock(), rv34_decoder_alloc(), rv34_decoder_free(), and rv40_loop_filter().
uint8_t* RV34DecContext::cbp_chroma |
CBP values for chroma subblocks.
Definition at line 115 of file rv34.h.
Referenced by ff_rv34_decode_init_thread_copy(), rv30_loop_filter(), rv34_decode_inter_macroblock(), rv34_decode_intra_macroblock(), rv34_decoder_alloc(), rv34_decoder_free(), and rv40_loop_filter().
uint16_t* RV34DecContext::deblock_coefs |
deblock coefficients for each macroblock
Definition at line 116 of file rv34.h.
Referenced by ff_rv34_decode_init_thread_copy(), rv30_loop_filter(), rv34_decode_inter_macroblock(), rv34_decode_intra_macroblock(), rv34_decoder_alloc(), rv34_decoder_free(), rv34_set_deblock_coef(), and rv40_loop_filter().
uint32_t RV34DecContext::avail_cache[3 *4] |
8x8 block available flags (for MV prediction)
Definition at line 119 of file rv34.h.
Referenced by rv34_decode_inter_macroblock(), rv34_decode_intra_macroblock(), rv34_output_i16x16(), rv34_output_intra(), rv34_pred_mv(), rv34_pred_mv_b(), rv34_pred_mv_rv3(), and rv40_decode_mb_info().
uint8_t* RV34DecContext::tmp_b_block_y[2] |
temporary blocks for RV4 weighted MC
Definition at line 122 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 123 of file rv34.h.
Referenced by ff_rv34_decode_frame(), rv34_mc(), and rv4_weight().
uint8_t* RV34DecContext::tmp_b_block_base |
Definition at line 124 of file rv34.h.
Referenced by ff_rv34_decode_frame(), ff_rv34_decode_init_thread_copy(), and rv34_decoder_free().
int(* RV34DecContext::parse_slice_header) (struct RV34DecContext *r, GetBitContext *gb, SliceInfo *si) |
Definition at line 126 of file rv34.h.
Referenced by ff_rv34_decode_frame(), rv30_decode_init(), rv34_decode_slice(), and rv40_decode_init().
int(* RV34DecContext::decode_mb_info) (struct RV34DecContext *r) |
Definition at line 127 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) |
Definition at line 128 of file rv34.h.
Referenced by rv30_decode_init(), rv34_decode_inter_mb_header(), rv34_decode_intra_mb_header(), and rv40_decode_init().
void(* RV34DecContext::loop_filter) (struct RV34DecContext *r, int row) |
Definition at line 129 of file rv34.h.
Referenced by ff_rv34_decode_frame(), rv30_decode_init(), rv34_decode_slice(), and rv40_decode_init().