FFmpeg
|
#include <h264.h>
Data Fields | |
struct H264Context * | h264 |
GetBitContext | gb |
ERContext | er |
int | slice_num |
int | slice_type |
int | slice_type_nos |
S free slice type (SI/SP are remapped to I/P) More... | |
int | slice_type_fixed |
int | qscale |
int | chroma_qp [2] |
int | qp_thresh |
QP threshold to skip loopfilter. More... | |
int | last_qscale_diff |
int | deblocking_filter |
disable_deblocking_filter_idc with 1 <-> 0 More... | |
int | slice_alpha_c0_offset |
int | slice_beta_offset |
int | use_weight |
int | use_weight_chroma |
int | luma_log2_weight_denom |
int | chroma_log2_weight_denom |
int | luma_weight_flag [2] |
7.4.3.2 luma_weight_lX_flag More... | |
int | chroma_weight_flag [2] |
7.4.3.2 chroma_weight_lX_flag More... | |
int | luma_weight [48][2][2] |
int | chroma_weight [48][2][2][2] |
int | implicit_weight [48][48][2] |
int | prev_mb_skipped |
int | next_mb_skipped |
int | chroma_pred_mode |
int | intra16x16_pred_mode |
int8_t | intra4x4_pred_mode_cache [5 *8] |
int8_t * | intra4x4_pred_mode |
int | topleft_mb_xy |
int | top_mb_xy |
int | topright_mb_xy |
int | left_mb_xy [LEFT_MBS] |
int | topleft_type |
int | top_type |
int | topright_type |
int | left_type [LEFT_MBS] |
const uint8_t * | left_block |
int | topleft_partition |
unsigned int | topleft_samples_available |
unsigned int | top_samples_available |
unsigned int | topright_samples_available |
unsigned int | left_samples_available |
ptrdiff_t | linesize |
ptrdiff_t | uvlinesize |
ptrdiff_t | mb_linesize |
may be equal to s->linesize or s->linesize * 2, for mbaff More... | |
ptrdiff_t | mb_uvlinesize |
int | mb_x |
int | mb_y |
int | mb_xy |
int | resync_mb_x |
int | resync_mb_y |
int | next_slice_idx |
int | mb_skip_run |
int | is_complex |
int | mb_field_decoding_flag |
int | mb_mbaff |
mb_aff_frame && mb_field_decoding_flag More... | |
int | redundant_pic_count |
int | neighbor_transform_size |
number of neighbors (top and/or left) that used 8x8 dct More... | |
int | direct_spatial_mv_pred |
int | col_parity |
int | col_fieldoff |
int | cbp |
int | top_cbp |
int | left_cbp |
int | dist_scale_factor [32] |
int | dist_scale_factor_field [2][32] |
int | map_col_to_list0 [2][16+32] |
int | map_col_to_list0_field [2][2][16+32] |
unsigned int | ref_count [2] |
num_ref_idx_l0/1_active_minus1 + 1 More... | |
unsigned int | list_count |
H264Ref | ref_list [2][48] |
0..15: frame refs, 16..47: mbaff field refs. More... | |
int | ref2frm [MAX_SLICES][2][64] |
reference to frame number lists, used in the loop filter, the first 2 are for -2,-1 More... | |
const uint8_t * | intra_pcm_ptr |
int16_t * | dc_val_base |
uint8_t * | bipred_scratchpad |
uint8_t * | edge_emu_buffer |
uint8_t(*[2] | top_borders )[(16 *3)*2] |
int | bipred_scratchpad_allocated |
int | edge_emu_buffer_allocated |
int | top_borders_allocated [2] |
uint8_t | non_zero_count_cache [15 *8] |
non zero coeff count cache. More... | |
int16_t | mv_cache [2][5 *8][2] |
Motion vector cache. More... | |
int8_t | ref_cache [2][5 *8] |
uint8_t | mvd_cache [2][5 *8][2] |
uint8_t | direct_cache [5 *8] |
uint16_t | sub_mb_type [4] |
as a dct coefficient is int32_t in high depth, we need to reserve twice the space. More... | |
int16_t | mb [16 *48 *2] |
int16_t | mb_luma_dc [3][16 *2] |
as mb is addressed by scantable[i] and scantable is uint8_t we can either check that i is not too large or ensure that there is some unused stuff after mb More... | |
int16_t | mb_padding [256 *2] |
uint8_t(*[2] | mvd_table )[2] |
CABACContext | cabac |
Cabac. More... | |
uint8_t | cabac_state [1024] |
int | cabac_init_idc |
uint8_t * | rbsp_buffer |
unsigned int | rbsp_buffer_size |
struct H264Context* H264SliceContext::h264 |
Definition at line 363 of file h264.h.
Referenced by alloc_scratch_buffers(), decode_cabac_mb_mvd(), decode_finish_row(), decode_slice(), er_add_slice(), h264_init_context(), and h264_slice_header_init().
GetBitContext H264SliceContext::gb |
Definition at line 364 of file h264.h.
Referenced by decode_nal_units(), decode_slice(), ff_h264_decode_mb_cavlc(), ff_h264_decode_ref_pic_list_reordering(), ff_h264_decode_slice_header(), ff_pred_weight_table(), ff_set_ref_count(), fill_slice_long(), parse_nal_units(), scan_mmco_reset(), and vaapi_h264_decode_slice().
ERContext H264SliceContext::er |
Definition at line 365 of file h264.h.
Referenced by decode_finish_row(), decode_slice(), er_add_slice(), ff_h264_execute_decode_slices(), ff_h264_field_end(), ff_h264_free_tables(), ff_h264_slice_context_init(), and h264_frame_start().
int H264SliceContext::slice_num |
Definition at line 367 of file h264.h.
Referenced by decode_cabac_field_decoding_flag(), decode_cabac_mb_skip(), decode_mb_skip(), ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), ff_h264_decode_slice_header(), fill_decode_neighbors(), fill_filter_caches(), fill_filter_caches_inter(), loop_filter(), predict_field_decoding_flag(), svq3_decode_frame(), svq3_decode_slice_header(), and xchg_mb_border().
int H264SliceContext::slice_type |
Definition at line 368 of file h264.h.
Referenced by dxva2_h264_decode_slice(), ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), ff_h264_decode_slice_header(), ff_h264_get_slice_type(), fill_slice_long(), loop_filter(), svq3_decode_frame(), svq3_decode_slice_header(), and vaapi_h264_decode_slice().
int H264SliceContext::slice_type_nos |
S free slice type (SI/SP are remapped to I/P)
Definition at line 369 of file h264.h.
Referenced by decode_cabac_mb_ref(), decode_cabac_mb_skip(), decode_mb_skip(), decode_nal_units(), ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), ff_h264_decode_slice_header(), ff_h264_direct_ref_list_init(), ff_h264_fill_default_ref_list(), ff_h264_init_cabac_states(), ff_pred_weight_table(), ff_set_ref_count(), fill_decode_caches(), scan_mmco_reset(), and write_back_motion().
int H264SliceContext::slice_type_fixed |
Definition at line 370 of file h264.h.
Referenced by ff_h264_decode_slice_header(), and fill_slice_long().
int H264SliceContext::qscale |
Definition at line 372 of file h264.h.
Referenced by decode_cabac_luma_residual(), decode_luma_residual(), decode_mb_skip(), ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), ff_h264_decode_slice_header(), ff_h264_hl_decode_mb(), ff_h264_init_cabac_states(), fill_slice_long(), hl_decode_mb_idct_luma(), hl_decode_mb_predict_luma(), loop_filter(), svq3_decode_frame(), svq3_decode_mb(), svq3_decode_slice_header(), and vaapi_h264_decode_slice().
int H264SliceContext::chroma_qp[2] |
Definition at line 373 of file h264.h.
Referenced by decode_cabac_luma_residual(), decode_luma_residual(), ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), ff_h264_decode_slice_header(), filter_mb_dir(), hl_decode_mb_predict_luma(), loop_filter(), and svq3_decode_init().
int H264SliceContext::qp_thresh |
QP threshold to skip loopfilter.
Definition at line 374 of file h264.h.
Referenced by ff_h264_decode_slice_header(), and fill_filter_caches().
int H264SliceContext::last_qscale_diff |
Definition at line 375 of file h264.h.
Referenced by ff_h264_decode_mb_cabac(), and ff_h264_decode_slice_header().
int H264SliceContext::deblocking_filter |
disable_deblocking_filter_idc with 1 <-> 0
Definition at line 378 of file h264.h.
Referenced by decode_finish_row(), ff_h264_decode_slice_header(), fill_filter_caches(), fill_slice_long(), loop_filter(), vaapi_h264_decode_slice(), and xchg_mb_border().
int H264SliceContext::slice_alpha_c0_offset |
Definition at line 379 of file h264.h.
Referenced by ff_h264_decode_slice_header(), ff_h264_filter_mb(), fill_slice_long(), h264_filter_mb_fast_internal(), and vaapi_h264_decode_slice().
int H264SliceContext::slice_beta_offset |
Definition at line 380 of file h264.h.
Referenced by ff_h264_decode_slice_header(), ff_h264_filter_mb(), fill_slice_long(), h264_filter_mb_fast_internal(), and vaapi_h264_decode_slice().
int H264SliceContext::use_weight |
Definition at line 383 of file h264.h.
Referenced by ff_h264_decode_slice_header(), ff_pred_weight_table(), implicit_weight_table(), mc_part(), and mc_part_weighted().
int H264SliceContext::use_weight_chroma |
Definition at line 384 of file h264.h.
Referenced by ff_h264_decode_slice_header(), ff_pred_weight_table(), implicit_weight_table(), and mc_part_weighted().
int H264SliceContext::luma_log2_weight_denom |
Definition at line 385 of file h264.h.
Referenced by ff_pred_weight_table(), fill_slice_long(), fill_vaapi_plain_pred_weight_table(), implicit_weight_table(), mc_part_weighted(), and vaapi_h264_decode_slice().
int H264SliceContext::chroma_log2_weight_denom |
Definition at line 386 of file h264.h.
Referenced by ff_pred_weight_table(), fill_slice_long(), fill_vaapi_plain_pred_weight_table(), implicit_weight_table(), mc_part_weighted(), and vaapi_h264_decode_slice().
int H264SliceContext::luma_weight_flag[2] |
7.4.3.2 luma_weight_lX_flag
Definition at line 387 of file h264.h.
Referenced by ff_h264_decode_slice_header(), ff_pred_weight_table(), fill_slice_long(), fill_vaapi_plain_pred_weight_table(), and implicit_weight_table().
int H264SliceContext::chroma_weight_flag[2] |
7.4.3.2 chroma_weight_lX_flag
Definition at line 388 of file h264.h.
Referenced by ff_h264_decode_slice_header(), ff_pred_weight_table(), fill_slice_long(), fill_vaapi_plain_pred_weight_table(), and implicit_weight_table().
int H264SliceContext::luma_weight[48][2][2] |
Definition at line 390 of file h264.h.
Referenced by ff_h264_fill_mbaff_ref_list(), ff_pred_weight_table(), fill_slice_long(), fill_vaapi_plain_pred_weight_table(), and mc_part_weighted().
int H264SliceContext::chroma_weight[48][2][2][2] |
Definition at line 391 of file h264.h.
Referenced by ff_h264_fill_mbaff_ref_list(), ff_pred_weight_table(), fill_slice_long(), fill_vaapi_plain_pred_weight_table(), and mc_part_weighted().
int H264SliceContext::implicit_weight[48][48][2] |
Definition at line 392 of file h264.h.
Referenced by implicit_weight_table(), mc_part(), and mc_part_weighted().
int H264SliceContext::prev_mb_skipped |
Definition at line 394 of file h264.h.
Referenced by decode_mb_skip(), ff_h264_decode_mb_cabac(), and ff_h264_decode_mb_cavlc().
int H264SliceContext::next_mb_skipped |
Definition at line 395 of file h264.h.
Referenced by ff_h264_decode_mb_cabac().
int H264SliceContext::chroma_pred_mode |
Definition at line 397 of file h264.h.
Referenced by ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), and svq3_decode_mb().
int H264SliceContext::intra16x16_pred_mode |
Definition at line 398 of file h264.h.
Referenced by ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), hl_decode_mb_idct_luma(), hl_decode_mb_predict_luma(), and svq3_decode_mb().
int8_t H264SliceContext::intra4x4_pred_mode_cache[5 *8] |
Definition at line 400 of file h264.h.
Referenced by ff_h264_check_intra4x4_pred_mode(), ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), fill_decode_caches(), hl_decode_mb_predict_luma(), pred_intra_mode(), svq3_decode_mb(), and write_back_intra_pred_mode().
int8_t* H264SliceContext::intra4x4_pred_mode |
Definition at line 401 of file h264.h.
Referenced by ff_h264_alloc_tables(), fill_decode_caches(), h264_slice_header_init(), svq3_decode_mb(), svq3_decode_slice_header(), and write_back_intra_pred_mode().
int H264SliceContext::topleft_mb_xy |
Definition at line 403 of file h264.h.
Referenced by fill_decode_caches(), fill_decode_neighbors(), and pred_pskip_motion().
int H264SliceContext::top_mb_xy |
Definition at line 404 of file h264.h.
Referenced by decode_cabac_mb_chroma_pre_mode(), fill_decode_caches(), fill_decode_neighbors(), fill_filter_caches(), filter_mb_dir(), h264_filter_mb_fast_internal(), and pred_pskip_motion().
int H264SliceContext::topright_mb_xy |
Definition at line 405 of file h264.h.
Referenced by fill_decode_caches(), fill_decode_neighbors(), and pred_pskip_motion().
int H264SliceContext::left_mb_xy[LEFT_MBS] |
Definition at line 406 of file h264.h.
Referenced by decode_cabac_mb_chroma_pre_mode(), fetch_diagonal_mv(), ff_h264_filter_mb(), fill_decode_caches(), fill_decode_neighbors(), fill_filter_caches(), and pred_pskip_motion().
int H264SliceContext::topleft_type |
Definition at line 408 of file h264.h.
Referenced by fill_decode_caches(), fill_decode_neighbors(), and pred_pskip_motion().
int H264SliceContext::top_type |
Definition at line 409 of file h264.h.
Referenced by decode_cabac_intra_mb_type(), decode_cabac_mb_chroma_pre_mode(), ff_h264_decode_mb_cabac(), fill_decode_caches(), fill_decode_neighbors(), fill_filter_caches(), filter_mb_dir(), h264_filter_mb_fast_internal(), pred_pskip_motion(), and xchg_mb_border().
int H264SliceContext::topright_type |
Definition at line 410 of file h264.h.
Referenced by fill_decode_caches(), fill_decode_neighbors(), and pred_pskip_motion().
int H264SliceContext::left_type[LEFT_MBS] |
Definition at line 411 of file h264.h.
Referenced by decode_cabac_intra_mb_type(), decode_cabac_mb_chroma_pre_mode(), fetch_diagonal_mv(), ff_h264_decode_mb_cabac(), ff_h264_filter_mb(), fill_decode_caches(), fill_decode_neighbors(), fill_filter_caches(), filter_mb_dir(), h264_filter_mb_fast_internal(), and pred_pskip_motion().
const uint8_t* H264SliceContext::left_block |
Definition at line 413 of file h264.h.
Referenced by fill_decode_caches(), fill_decode_neighbors(), and pred_pskip_motion().
int H264SliceContext::topleft_partition |
Definition at line 414 of file h264.h.
Referenced by fill_decode_caches(), fill_decode_neighbors(), and pred_pskip_motion().
unsigned int H264SliceContext::topleft_samples_available |
Definition at line 416 of file h264.h.
Referenced by fill_decode_caches(), and hl_decode_mb_predict_luma().
unsigned int H264SliceContext::top_samples_available |
Definition at line 417 of file h264.h.
Referenced by ff_h264_check_intra4x4_pred_mode(), ff_h264_check_intra_pred_mode(), fill_decode_caches(), and svq3_decode_mb().
unsigned int H264SliceContext::topright_samples_available |
Definition at line 418 of file h264.h.
Referenced by fill_decode_caches(), hl_decode_mb_predict_luma(), and svq3_decode_mb().
unsigned int H264SliceContext::left_samples_available |
Definition at line 419 of file h264.h.
Referenced by ff_h264_check_intra4x4_pred_mode(), ff_h264_check_intra_pred_mode(), fill_decode_caches(), and svq3_decode_mb().
ptrdiff_t H264SliceContext::linesize |
Definition at line 421 of file h264.h.
Referenced by decode_slice(), get_buffer(), h264_frame_start(), loop_filter(), prefetch_motion(), svq3_decode_frame(), and svq3_mc_dir_part().
ptrdiff_t H264SliceContext::uvlinesize |
Definition at line 421 of file h264.h.
Referenced by decode_slice(), get_buffer(), h264_frame_start(), loop_filter(), prefetch_motion(), svq3_decode_frame(), and svq3_mc_dir_part().
ptrdiff_t H264SliceContext::mb_linesize |
may be equal to s->linesize or s->linesize * 2, for mbaff
Definition at line 422 of file h264.h.
Referenced by loop_filter(), mc_dir_part(), mc_part_std(), mc_part_weighted(), and prefetch_motion().
ptrdiff_t H264SliceContext::mb_uvlinesize |
Definition at line 423 of file h264.h.
Referenced by loop_filter(), mc_dir_part(), mc_part_std(), and mc_part_weighted().
int H264SliceContext::mb_x |
Definition at line 425 of file h264.h.
Referenced by backup_mb_border(), decode_cabac_field_decoding_flag(), decode_residual(), decode_slice(), ff_h264_check_intra4x4_pred_mode(), ff_h264_check_intra_pred_mode(), ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), ff_h264_decode_slice_header(), ff_h264_execute_decode_slices(), fill_filter_caches_inter(), fill_slice_long(), h264_er_decode_mb(), loop_filter(), mc_part_std(), mc_part_weighted(), pred_16x8_motion(), pred_8x16_motion(), pred_motion(), pred_pskip_motion(), pred_spatial_direct_motion(), pred_temp_direct_motion(), predict_field_decoding_flag(), prefetch_motion(), svq3_decode_frame(), svq3_decode_mb(), svq3_decode_slice_header(), svq3_mc_dir(), vaapi_h264_decode_slice(), write_back_motion(), and xchg_mb_border().
int H264SliceContext::mb_y |
Definition at line 425 of file h264.h.
Referenced by backup_mb_border(), decode_finish_row(), decode_residual(), decode_slice(), fetch_diagonal_mv(), ff_h264_check_intra4x4_pred_mode(), ff_h264_check_intra_pred_mode(), ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), ff_h264_decode_slice_header(), ff_h264_execute_decode_slices(), fill_decode_neighbors(), fill_filter_caches(), fill_filter_caches_inter(), fill_slice_long(), get_lowest_part_y(), h264_er_decode_mb(), hl_decode_mb_predict_luma(), loop_filter(), mc_dir_part(), mc_part(), mc_part_std(), mc_part_weighted(), pred_16x8_motion(), pred_8x16_motion(), pred_motion(), pred_pskip_motion(), pred_spatial_direct_motion(), pred_temp_direct_motion(), predict_field_decoding_flag(), prefetch_motion(), svq3_decode_frame(), svq3_decode_mb(), svq3_decode_slice_header(), svq3_mc_dir(), vaapi_h264_decode_slice(), write_back_motion(), and xchg_mb_border().
int H264SliceContext::mb_xy |
Definition at line 426 of file h264.h.
Referenced by await_references(), decode_cabac_field_decoding_flag(), decode_cabac_mb_skip(), decode_cabac_residual_internal(), decode_mb_skip(), ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), ff_h264_hl_decode_mb(), fill_decode_neighbors(), fill_filter_caches(), h264_er_decode_mb(), h264_filter_mb_fast_internal(), loop_filter(), pred_spatial_direct_motion(), pred_temp_direct_motion(), svq3_decode_frame(), svq3_decode_mb(), svq3_decode_slice_header(), write_back_intra_pred_mode(), write_back_motion(), write_back_motion_list(), write_back_non_zero_count(), and xchg_mb_border().
int H264SliceContext::resync_mb_x |
Definition at line 427 of file h264.h.
Referenced by decode_slice(), and ff_h264_decode_slice_header().
int H264SliceContext::resync_mb_y |
Definition at line 428 of file h264.h.
Referenced by decode_slice(), and ff_h264_decode_slice_header().
int H264SliceContext::next_slice_idx |
Definition at line 430 of file h264.h.
Referenced by decode_slice(), and ff_h264_execute_decode_slices().
int H264SliceContext::mb_skip_run |
Definition at line 431 of file h264.h.
Referenced by decode_slice(), ff_h264_decode_mb_cavlc(), and svq3_decode_slice_header().
int H264SliceContext::is_complex |
Definition at line 432 of file h264.h.
Referenced by decode_slice(), ff_h264_hl_decode_mb(), and svq3_decode_init().
int H264SliceContext::mb_field_decoding_flag |
Definition at line 434 of file h264.h.
Referenced by decode_cabac_field_decoding_flag(), ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), ff_h264_decode_slice_header(), h264_er_decode_mb(), loop_filter(), and predict_field_decoding_flag().
int H264SliceContext::mb_mbaff |
mb_aff_frame && mb_field_decoding_flag
Definition at line 435 of file h264.h.
Referenced by ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), ff_h264_decode_slice_header(), h264_er_decode_mb(), loop_filter(), and predict_field_decoding_flag().
int H264SliceContext::redundant_pic_count |
Definition at line 437 of file h264.h.
Referenced by decode_nal_units(), ff_h264_decode_slice_header(), and fill_slice_long().
int H264SliceContext::neighbor_transform_size |
number of neighbors (top and/or left) that used 8x8 dct
Definition at line 442 of file h264.h.
Referenced by ff_h264_decode_mb_cabac(), and fill_decode_caches().
int H264SliceContext::direct_spatial_mv_pred |
Definition at line 444 of file h264.h.
Referenced by decode_mb_skip(), ff_h264_decode_slice_header(), ff_h264_direct_ref_list_init(), ff_h264_pred_direct_motion(), ff_set_ref_count(), fill_decode_caches(), fill_slice_long(), and vaapi_h264_decode_slice().
int H264SliceContext::col_parity |
Definition at line 445 of file h264.h.
Referenced by ff_h264_direct_ref_list_init(), pred_spatial_direct_motion(), and pred_temp_direct_motion().
int H264SliceContext::col_fieldoff |
Definition at line 446 of file h264.h.
Referenced by ff_h264_direct_ref_list_init(), pred_spatial_direct_motion(), and pred_temp_direct_motion().
int H264SliceContext::cbp |
Definition at line 448 of file h264.h.
Referenced by ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), fill_filter_caches(), filter_mb_dir(), h264_filter_mb_fast_internal(), hl_decode_mb_idct_luma(), svq3_decode_frame(), and svq3_decode_mb().
int H264SliceContext::top_cbp |
Definition at line 449 of file h264.h.
Referenced by decode_cabac_mb_cbp_luma(), and fill_decode_caches().
int H264SliceContext::left_cbp |
Definition at line 450 of file h264.h.
Referenced by decode_cabac_mb_cbp_chroma(), decode_cabac_mb_cbp_luma(), fill_decode_caches(), and get_cabac_cbf_ctx().
int H264SliceContext::dist_scale_factor[32] |
Definition at line 452 of file h264.h.
Referenced by ff_h264_direct_dist_scale_factor(), and pred_temp_direct_motion().
int H264SliceContext::dist_scale_factor_field[2][32] |
Definition at line 453 of file h264.h.
Referenced by ff_h264_direct_dist_scale_factor(), and pred_temp_direct_motion().
int H264SliceContext::map_col_to_list0[2][16+32] |
Definition at line 454 of file h264.h.
Referenced by ff_h264_direct_ref_list_init(), and pred_temp_direct_motion().
int H264SliceContext::map_col_to_list0_field[2][2][16+32] |
Definition at line 455 of file h264.h.
Referenced by ff_h264_direct_ref_list_init(), and pred_temp_direct_motion().
unsigned int H264SliceContext::ref_count[2] |
num_ref_idx_l0/1_active_minus1 + 1
counts frames or fields, depending on current mb mode
Definition at line 460 of file h264.h.
Referenced by decode_nal_units(), ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), ff_h264_decode_ref_pic_list_reordering(), ff_h264_decode_slice_header(), ff_h264_direct_dist_scale_factor(), ff_h264_direct_ref_list_init(), ff_h264_field_end(), ff_h264_fill_default_ref_list(), ff_h264_fill_mbaff_ref_list(), ff_h264_remove_all_refs(), ff_pred_weight_table(), ff_set_ref_count(), fill_colmap(), fill_slice_long(), fill_vaapi_plain_pred_weight_table(), h264_er_decode_mb(), implicit_weight_table(), pred_spatial_direct_motion(), scan_mmco_reset(), and vaapi_h264_decode_slice().
unsigned int H264SliceContext::list_count |
Definition at line 461 of file h264.h.
Referenced by await_references(), check_mv(), decode_nal_units(), ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), ff_h264_decode_ref_pic_list_reordering(), ff_h264_direct_ref_list_init(), ff_h264_fill_mbaff_ref_list(), ff_h264_flush_change(), ff_h264_remove_all_refs(), ff_set_ref_count(), fill_decode_caches(), fill_filter_caches(), fill_slice_long(), h264_filter_mb_fast_internal(), loop_filter(), scan_mmco_reset(), and vaapi_h264_decode_slice().
H264Ref H264SliceContext::ref_list[2][48] |
0..15: frame refs, 16..47: mbaff field refs.
Reordered version of default_ref_list according to picture reordering in slice header
Definition at line 462 of file h264.h.
Referenced by await_references(), ff_h264_decode_ref_pic_list_reordering(), ff_h264_decode_slice_header(), ff_h264_direct_dist_scale_factor(), ff_h264_direct_ref_list_init(), ff_h264_field_end(), ff_h264_fill_mbaff_ref_list(), ff_h264_remove_all_refs(), fill_colmap(), fill_slice_long(), get_lowest_part_y(), get_scale_factor(), h264_er_decode_mb(), implicit_weight_table(), mc_part_std(), mc_part_weighted(), pred_spatial_direct_motion(), pred_temp_direct_motion(), prefetch_motion(), and vaapi_h264_decode_slice().
int H264SliceContext::ref2frm[MAX_SLICES][2][64] |
reference to frame number lists, used in the loop filter, the first 2 are for -2,-1
Definition at line 465 of file h264.h.
Referenced by ff_h264_decode_slice_header(), and fill_filter_caches_inter().
const uint8_t* H264SliceContext::intra_pcm_ptr |
Definition at line 467 of file h264.h.
Referenced by ff_h264_decode_mb_cabac(), and ff_h264_decode_mb_cavlc().
int16_t* H264SliceContext::dc_val_base |
Definition at line 468 of file h264.h.
Referenced by ff_h264_free_tables(), and ff_h264_slice_context_init().
uint8_t* H264SliceContext::bipred_scratchpad |
Definition at line 470 of file h264.h.
Referenced by alloc_scratch_buffers(), ff_h264_free_tables(), and mc_part_weighted().
uint8_t* H264SliceContext::edge_emu_buffer |
Definition at line 471 of file h264.h.
Referenced by alloc_scratch_buffers(), ff_h264_free_tables(), get_buffer(), mc_dir_part(), and svq3_mc_dir_part().
uint8_t(*[2] H264SliceContext::top_borders)[(16 *3)*2] |
Definition at line 472 of file h264.h.
Referenced by alloc_scratch_buffers(), backup_mb_border(), ff_h264_free_tables(), and xchg_mb_border().
int H264SliceContext::bipred_scratchpad_allocated |
Definition at line 473 of file h264.h.
Referenced by alloc_scratch_buffers(), and ff_h264_free_tables().
int H264SliceContext::edge_emu_buffer_allocated |
Definition at line 474 of file h264.h.
Referenced by alloc_scratch_buffers(), and ff_h264_free_tables().
int H264SliceContext::top_borders_allocated[2] |
Definition at line 475 of file h264.h.
Referenced by alloc_scratch_buffers(), and ff_h264_free_tables().
uint8_t H264SliceContext::non_zero_count_cache[15 *8] |
non zero coeff count cache.
is 64 if not available.
Definition at line 481 of file h264.h.
Referenced by decode_cabac_luma_residual(), decode_cabac_residual_dc(), decode_cabac_residual_dc_422(), decode_cabac_residual_internal(), decode_cabac_residual_nondc(), decode_luma_residual(), decode_residual(), ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), ff_h264_filter_mb(), fill_decode_caches(), fill_filter_caches(), filter_mb_dir(), get_cabac_cbf_ctx(), h264_er_decode_mb(), h264_filter_mb_fast_internal(), hl_decode_mb_idct_luma(), hl_decode_mb_predict_luma(), pred_non_zero_count(), svq3_decode_mb(), and write_back_non_zero_count().
int16_t H264SliceContext::mv_cache[2][5 *8][2] |
Motion vector cache.
Definition at line 486 of file h264.h.
Referenced by check_mv(), fetch_diagonal_mv(), ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), fill_decode_caches(), fill_filter_caches_inter(), get_lowest_part_list_y(), h264_er_decode_mb(), h264_filter_mb_fast_internal(), mc_dir_part(), pred_16x8_motion(), pred_8x16_motion(), pred_motion(), pred_pskip_motion(), pred_spatial_direct_motion(), pred_temp_direct_motion(), prefetch_motion(), svq3_decode_mb(), svq3_mc_dir(), and write_back_motion_list().
int8_t H264SliceContext::ref_cache[2][5 *8] |
Definition at line 487 of file h264.h.
Referenced by check_mv(), decode_cabac_mb_ref(), fetch_diagonal_mv(), ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), ff_h264_slice_context_init(), fill_decode_caches(), fill_filter_caches_inter(), get_lowest_part_y(), h264_er_decode_mb(), h264_filter_mb_fast_internal(), mc_part(), mc_part_std(), mc_part_weighted(), pred_16x8_motion(), pred_8x16_motion(), pred_motion(), pred_pskip_motion(), pred_spatial_direct_motion(), pred_temp_direct_motion(), prefetch_motion(), svq3_decode_frame(), svq3_decode_mb(), and write_back_motion_list().
uint8_t H264SliceContext::mvd_cache[2][5 *8][2] |
Definition at line 488 of file h264.h.
Referenced by ff_h264_decode_mb_cabac(), fill_decode_caches(), and write_back_motion_list().
uint8_t H264SliceContext::direct_cache[5 *8] |
Definition at line 489 of file h264.h.
Referenced by decode_cabac_mb_ref(), ff_h264_decode_mb_cabac(), and fill_decode_caches().
uint16_t H264SliceContext::sub_mb_type[4] |
as a dct coefficient is int32_t in high depth, we need to reserve twice the space.
Definition at line 491 of file h264.h.
Referenced by await_references(), ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), get_dct8x8_allowed(), pred_spatial_direct_motion(), pred_temp_direct_motion(), and write_back_motion().
int16_t H264SliceContext::mb[16 *48 *2] |
Definition at line 494 of file h264.h.
Referenced by decode_cabac_luma_residual(), decode_luma_residual(), ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), hl_decode_mb_idct_luma(), hl_decode_mb_predict_luma(), and svq3_decode_mb().
int16_t H264SliceContext::mb_luma_dc[3][16 *2] |
as mb is addressed by scantable[i] and scantable is uint8_t we can either check that i is not too large or ensure that there is some unused stuff after mb
Definition at line 495 of file h264.h.
Referenced by decode_cabac_luma_residual(), decode_luma_residual(), hl_decode_mb_predict_luma(), and svq3_decode_mb().
uint8_t(*[2] H264SliceContext::mvd_table)[2] |
Definition at line 500 of file h264.h.
Referenced by ff_h264_alloc_tables(), fill_decode_caches(), h264_slice_header_init(), and write_back_motion_list().
CABACContext H264SliceContext::cabac |
Cabac.
Definition at line 505 of file h264.h.
Referenced by decode_cabac_b_mb_sub_type(), decode_cabac_field_decoding_flag(), decode_cabac_intra_mb_type(), decode_cabac_mb_cbp_chroma(), decode_cabac_mb_cbp_luma(), decode_cabac_mb_chroma_pre_mode(), decode_cabac_mb_intra4x4_pred_mode(), decode_cabac_mb_mvd(), decode_cabac_mb_ref(), decode_cabac_mb_skip(), decode_cabac_p_mb_sub_type(), decode_cabac_residual_dc(), decode_cabac_residual_dc_422(), decode_cabac_residual_internal(), decode_cabac_residual_nondc(), decode_slice(), and ff_h264_decode_mb_cabac().
uint8_t H264SliceContext::cabac_state[1024] |
Definition at line 506 of file h264.h.
Referenced by decode_cabac_b_mb_sub_type(), decode_cabac_field_decoding_flag(), decode_cabac_intra_mb_type(), decode_cabac_mb_cbp_chroma(), decode_cabac_mb_cbp_luma(), decode_cabac_mb_chroma_pre_mode(), decode_cabac_mb_intra4x4_pred_mode(), decode_cabac_mb_mvd(), decode_cabac_mb_ref(), decode_cabac_mb_skip(), decode_cabac_p_mb_sub_type(), decode_cabac_residual_dc(), decode_cabac_residual_dc_422(), decode_cabac_residual_internal(), decode_cabac_residual_nondc(), ff_h264_decode_mb_cabac(), and ff_h264_init_cabac_states().
int H264SliceContext::cabac_init_idc |
Definition at line 507 of file h264.h.
Referenced by ff_h264_decode_slice_header(), ff_h264_init_cabac_states(), fill_slice_long(), and vaapi_h264_decode_slice().
uint8_t* H264SliceContext::rbsp_buffer |
Definition at line 510 of file h264.h.
Referenced by ff_h264_decode_nal(), and ff_h264_free_context().
unsigned int H264SliceContext::rbsp_buffer_size |
Definition at line 511 of file h264.h.
Referenced by ff_h264_decode_nal().