#include <cavs.h>
Data Fields | |
MpegEncContext | s |
CAVSDSPContext | cdsp |
Picture | picture |
currently decoded frame | |
Picture | DPB [2] |
reference frames | |
int | dist [2] |
temporal distances from current frame to ref frames | |
int | profile |
int | level |
int | aspect_ratio |
int | mb_width |
int | mb_height |
int | pic_type |
int | stream_revision |
0 for samples from 2006, 1 for rm52j encoder | |
int | progressive |
int | pic_structure |
int | skip_mode_flag |
select between skip_count or one skip_flag per MB | |
int | loop_filter_disable |
int | alpha_offset |
int | beta_offset |
int | ref_flag |
int | mbx |
int | mby |
int | mbidx |
macroblock coordinates | |
int | flags |
availability flags of neighbouring macroblocks | |
int | stc |
last start code | |
uint8_t * | cy |
uint8_t * | cu |
uint8_t * | cv |
current MB sample pointers | |
int | left_qp |
uint8_t * | top_qp |
cavs_vector | mv [2 *4 *3] |
mv motion vector cache 0: D3 B2 B3 C2 4: A1 X0 X1 - 8: A3 X2 X3 - | |
cavs_vector * | top_mv [2] |
cavs_vector * | col_mv |
int | pred_mode_Y [3 *3] |
luma pred mode cache 0: -- B2 B3 3: A1 X0 X1 6: A3 X2 X3 | |
int * | top_pred_Y |
int | l_stride |
int | c_stride |
int | luma_scan [4] |
int | qp |
int | qp_fixed |
int | cbp |
ScanTable | scantable |
uint8_t * | top_border_y |
intra prediction is done with un-deblocked samples they are saved here before deblocking the MB | |
uint8_t * | top_border_u |
uint8_t * | top_border_v |
uint8_t | left_border_y [26] |
uint8_t | left_border_u [10] |
uint8_t | left_border_v [10] |
uint8_t | intern_border_y [26] |
uint8_t | topleft_border_y |
uint8_t | topleft_border_u |
uint8_t | topleft_border_v |
void(* | intra_pred_l [8])(uint8_t *d, uint8_t *top, uint8_t *left, int stride) |
void(* | intra_pred_c [7])(uint8_t *d, uint8_t *top, uint8_t *left, int stride) |
uint8_t * | col_type_base |
int | sym_factor |
for scaling in symmetrical B block | |
int | direct_den [2] |
for scaling in direct B block | |
int | scale_den [2] |
for scaling neighbouring MVs | |
int | got_keyframe |
DCTELEM * | block |
Definition at line 155 of file cavs.h.
Definition at line 225 of file cavs.h.
Referenced by decode_residual_block(), ff_cavs_end(), and ff_cavs_init_top_lines().
Definition at line 201 of file cavs.h.
Referenced by decode_mb_i(), decode_residual_chroma(), ff_cavs_filter(), ff_cavs_init_pic(), ff_cavs_next_mb(), mc_dir_part(), and mc_part_std().
int AVSContext::cbp |
Definition at line 205 of file cavs.h.
Referenced by decode_mb_i(), decode_residual_chroma(), and decode_residual_inter().
Definition at line 157 of file cavs.h.
Referenced by decode_residual_block(), ff_cavs_filter(), ff_cavs_init(), and ff_cavs_inter().
Definition at line 193 of file cavs.h.
Referenced by decode_mb_b(), ff_cavs_end(), ff_cavs_init_top_lines(), and store_mvs().
uint8_t* AVSContext::col_type_base |
Definition at line 217 of file cavs.h.
Referenced by decode_mb_b(), decode_mb_p(), ff_cavs_end(), ff_cavs_init_top_lines(), and set_mv_intra().
uint8_t * AVSContext::cu |
Definition at line 175 of file cavs.h.
Referenced by decode_mb_i(), decode_residual_chroma(), ff_cavs_filter(), ff_cavs_init_pic(), ff_cavs_inter(), and ff_cavs_next_mb().
uint8_t * AVSContext::cv |
current MB sample pointers
Definition at line 175 of file cavs.h.
Referenced by decode_mb_i(), decode_residual_chroma(), ff_cavs_filter(), ff_cavs_init_pic(), ff_cavs_inter(), and ff_cavs_next_mb().
uint8_t* AVSContext::cy |
Definition at line 175 of file cavs.h.
Referenced by decode_mb_i(), decode_residual_inter(), ff_cavs_filter(), ff_cavs_init_pic(), ff_cavs_inter(), ff_cavs_load_intra_pred_luma(), and ff_cavs_next_mb().
int AVSContext::direct_den[2] |
for scaling in direct B block
Definition at line 221 of file cavs.h.
Referenced by decode_pic(), and mv_pred_direct().
int AVSContext::dist[2] |
temporal distances from current frame to ref frames
Definition at line 160 of file cavs.h.
Referenced by decode_pic(), ff_cavs_mv(), mv_pred_direct(), and mv_pred_sym().
reference frames
Definition at line 159 of file cavs.h.
Referenced by cavs_decode_frame(), decode_pic(), and mc_part_std().
availability flags of neighbouring macroblocks
Definition at line 173 of file cavs.h.
Referenced by decode_slice_header(), ff_cavs_filter(), ff_cavs_init_mb(), ff_cavs_init_pic(), ff_cavs_load_intra_pred_luma(), ff_cavs_modify_mb_i(), and ff_cavs_next_mb().
uint8_t AVSContext::intern_border_y[26] |
void(* AVSContext::intra_pred_c[7])(uint8_t *d, uint8_t *top, uint8_t *left, int stride) |
Referenced by decode_mb_i(), and ff_cavs_init().
void(* AVSContext::intra_pred_l[8])(uint8_t *d, uint8_t *top, uint8_t *left, int stride) |
Referenced by decode_mb_i(), and ff_cavs_init().
Definition at line 201 of file cavs.h.
Referenced by decode_mb_i(), decode_residual_inter(), ff_cavs_filter(), ff_cavs_init_pic(), ff_cavs_load_intra_pred_luma(), ff_cavs_next_mb(), mc_dir_part(), and mc_part_std().
uint8_t AVSContext::left_border_u[10] |
Definition at line 211 of file cavs.h.
Referenced by decode_mb_i(), ff_cavs_filter(), and ff_cavs_load_intra_pred_chroma().
uint8_t AVSContext::left_border_v[10] |
Definition at line 211 of file cavs.h.
Referenced by decode_mb_i(), ff_cavs_filter(), and ff_cavs_load_intra_pred_chroma().
uint8_t AVSContext::left_border_y[26] |
Definition at line 211 of file cavs.h.
Referenced by ff_cavs_filter(), and ff_cavs_load_intra_pred_luma().
int AVSContext::luma_scan[4] |
Definition at line 202 of file cavs.h.
Referenced by decode_mb_i(), decode_residual_inter(), ff_cavs_init(), and ff_cavs_init_pic().
Definition at line 163 of file cavs.h.
Referenced by check_for_slice(), decode_seq_header(), ff_cavs_init_top_lines(), ff_cavs_next_mb(), and mc_dir_part().
Definition at line 163 of file cavs.h.
Referenced by decode_seq_header(), decode_slice_header(), ff_cavs_init_mb(), ff_cavs_init_top_lines(), ff_cavs_next_mb(), and mc_dir_part().
macroblock coordinates
Definition at line 172 of file cavs.h.
Referenced by decode_mb_b(), decode_mb_p(), decode_slice_header(), ff_cavs_init_pic(), ff_cavs_next_mb(), set_mv_intra(), and store_mvs().
int AVSContext::mbx |
Definition at line 172 of file cavs.h.
Referenced by check_for_slice(), decode_mb_i(), dequant(), ff_cavs_filter(), ff_cavs_init_mb(), ff_cavs_init_pic(), ff_cavs_load_intra_pred_chroma(), ff_cavs_load_intra_pred_luma(), ff_cavs_modify_mb_i(), ff_cavs_next_mb(), mc_part_std(), and set_intra_mode_default().
int AVSContext::mby |
Definition at line 172 of file cavs.h.
Referenced by decode_slice_header(), dequant(), ff_cavs_init_pic(), ff_cavs_load_intra_pred_chroma(), ff_cavs_next_mb(), and mc_part_std().
cavs_vector AVSContext::mv[2 *4 *3] |
mv motion vector cache 0: D3 B2 B3 C2 4: A1 X0 X1 - 8: A3 X2 X3 -
X are the vectors in the current macroblock (5,6,9,10) A is the macroblock to the left (4,8) B is the macroblock to the top (1,2) C is the macroblock to the top-right (3) D is the macroblock to the top-left (0)
the same is repeated for backward motion vectors
Definition at line 191 of file cavs.h.
Referenced by decode_mb_b(), ff_cavs_filter(), ff_cavs_init(), ff_cavs_init_mb(), ff_cavs_init_pic(), ff_cavs_inter(), ff_cavs_mv(), ff_cavs_next_mb(), set_mv_intra(), and store_mvs().
Definition at line 164 of file cavs.h.
Referenced by cavs_decode_frame(), decode_mb_i(), decode_pic(), decode_slice_header(), and set_mv_intra().
currently decoded frame
Definition at line 158 of file cavs.h.
Referenced by cavs_decode_frame(), decode_pic(), dequant(), ff_cavs_init_pic(), and ff_cavs_next_mb().
int AVSContext::pred_mode_Y[3 *3] |
luma pred mode cache 0: -- B2 B3 3: A1 X0 X1 6: A3 X2 X3
Definition at line 199 of file cavs.h.
Referenced by decode_mb_i(), ff_cavs_init_mb(), ff_cavs_init_pic(), ff_cavs_modify_mb_i(), ff_cavs_next_mb(), and set_intra_mode_default().
int AVSContext::qp |
Definition at line 203 of file cavs.h.
Referenced by decode_mb_i(), decode_pic(), decode_residual_chroma(), decode_residual_inter(), decode_slice_header(), and ff_cavs_filter().
Definition at line 204 of file cavs.h.
Referenced by decode_mb_i(), decode_pic(), decode_residual_inter(), and decode_slice_header().
Definition at line 156 of file cavs.h.
Referenced by cavs_decode_frame(), check_for_slice(), decode_mb_b(), decode_mb_i(), decode_mb_p(), decode_pic(), decode_residual_block(), decode_residual_chroma(), decode_residual_inter(), decode_seq_header(), decode_slice_header(), dequant(), ff_cavs_init(), ff_cavs_inter(), ff_cavs_mv(), and mc_dir_part().
int AVSContext::scale_den[2] |
for scaling neighbouring MVs
Definition at line 222 of file cavs.h.
Referenced by decode_pic(), and scale_mv().
select between skip_count or one skip_flag per MB
Definition at line 168 of file cavs.h.
Referenced by decode_pic().
int AVSContext::stc |
last start code
Definition at line 174 of file cavs.h.
Referenced by cavs_decode_frame(), check_for_slice(), decode_pic(), and decode_slice_header().
0 for samples from 2006, 1 for rm52j encoder
Definition at line 165 of file cavs.h.
Referenced by decode_pic(), and set_intra_mode_default().
for scaling in symmetrical B block
Definition at line 220 of file cavs.h.
Referenced by decode_pic(), and mv_pred_sym().
uint8_t * AVSContext::top_border_u |
Definition at line 210 of file cavs.h.
Referenced by decode_mb_i(), ff_cavs_end(), ff_cavs_filter(), ff_cavs_init_top_lines(), and ff_cavs_load_intra_pred_chroma().
uint8_t * AVSContext::top_border_v |
Definition at line 210 of file cavs.h.
Referenced by decode_mb_i(), ff_cavs_end(), ff_cavs_filter(), ff_cavs_init_top_lines(), and ff_cavs_load_intra_pred_chroma().
uint8_t* AVSContext::top_border_y |
intra prediction is done with un-deblocked samples they are saved here before deblocking the MB
Definition at line 210 of file cavs.h.
Referenced by ff_cavs_end(), ff_cavs_filter(), ff_cavs_init_top_lines(), and ff_cavs_load_intra_pred_luma().
Definition at line 192 of file cavs.h.
Referenced by ff_cavs_end(), ff_cavs_init_mb(), ff_cavs_init_top_lines(), and ff_cavs_next_mb().
Definition at line 200 of file cavs.h.
Referenced by ff_cavs_end(), ff_cavs_init_mb(), ff_cavs_init_top_lines(), ff_cavs_modify_mb_i(), and set_intra_mode_default().
uint8_t* AVSContext::top_qp |
Definition at line 177 of file cavs.h.
Referenced by decode_seq_header(), ff_cavs_end(), ff_cavs_filter(), and ff_cavs_init_top_lines().
uint8_t AVSContext::topleft_border_u |
Definition at line 213 of file cavs.h.
Referenced by ff_cavs_filter(), and ff_cavs_load_intra_pred_chroma().
uint8_t AVSContext::topleft_border_v |
Definition at line 213 of file cavs.h.
Referenced by ff_cavs_filter(), and ff_cavs_load_intra_pred_chroma().
uint8_t AVSContext::topleft_border_y |
Definition at line 213 of file cavs.h.
Referenced by ff_cavs_filter(), and ff_cavs_load_intra_pred_luma().