#include <h264.h>
Public Member Functions | |
DECLARE_ALIGNED_8 (uint8_t, non_zero_count_cache[6 *8]) | |
non zero coeff count cache. | |
DECLARE_ALIGNED_8 (int16_t, mv_cache[2][5 *8][2]) | |
Motion vector cache. | |
DECLARE_ALIGNED_8 (int8_t, ref_cache[2][5 *8]) | |
DECLARE_ALIGNED_8 (uint16_t, sub_mb_type[4]) | |
DECLARE_ALIGNED_16 (DCTELEM, mb[16 *24]) | |
DECLARE_ALIGNED_8 (int16_t, mvd_cache[2][5 *8][2]) | |
Data Fields | |
MpegEncContext | s |
int | nal_ref_idc |
int | nal_unit_type |
uint8_t * | rbsp_buffer [2] |
unsigned int | rbsp_buffer_size [2] |
int | is_avc |
Used to parse AVC variant of h264. | |
int | got_avcC |
flag used to parse avcC data only once | |
int | nal_length_size |
Number of bytes used for nal length (1, 2 or 4). | |
int | chroma_qp [2] |
int | prev_mb_skipped |
int | next_mb_skipped |
int | chroma_pred_mode |
int | intra16x16_pred_mode |
int | top_mb_xy |
int | left_mb_xy [2] |
int8_t | intra4x4_pred_mode_cache [5 *8] |
int8_t(* | intra4x4_pred_mode )[8] |
H264PredContext | hpc |
unsigned int | topleft_samples_available |
unsigned int | top_samples_available |
unsigned int | topright_samples_available |
unsigned int | left_samples_available |
uint8_t(*[2] | top_borders )[16+2 *8] |
uint8_t | left_border [2 *(17+2 *9)] |
uint8_t(* | non_zero_count )[16] |
int | mv_cache_clean [2] |
is 1 if the specific list MV&references are set to 0,0,-2. | |
int | neighbor_transform_size |
number of neighbors (top and/or left) that used 8x8 dct | |
int | block_offset [2 *(16+8)] |
block_offset[ 0. | |
uint32_t * | mb2b_xy |
uint32_t * | mb2b8_xy |
int | b_stride |
int | b8_stride |
int | mb_linesize |
may be equal to s->linesize or s->linesize*2, for mbaff | |
int | mb_uvlinesize |
int | emu_edge_width |
int | emu_edge_height |
int | halfpel_flag |
int | thirdpel_flag |
int | unknown_svq3_flag |
int | next_slice_index |
SPS * | sps_buffers [MAX_SPS_COUNT] |
SPS | sps |
current sps | |
PPS * | pps_buffers [MAX_PPS_COUNT] |
PPS | pps |
current pps | |
uint32_t | dequant4_buffer [6][52][16] |
uint32_t | dequant8_buffer [2][52][64] |
uint32_t(*[6] | dequant4_coeff )[16] |
uint32_t(*[2] | dequant8_coeff )[64] |
int | dequant_coeff_pps |
reinit tables when pps changes | |
int | slice_num |
uint16_t * | slice_table_base |
uint16_t * | slice_table |
slice_table_base + 2*mb_stride + 1 | |
int | slice_type |
int | slice_type_nos |
S free slice type (SI/SP are remapped to I/P). | |
int | slice_type_fixed |
int | mb_aff_frame |
int | mb_field_decoding_flag |
int | mb_mbaff |
mb_aff_frame && mb_field_decoding_flag | |
int | poc_lsb |
int | poc_msb |
int | delta_poc_bottom |
int | delta_poc [2] |
int | frame_num |
int | prev_poc_msb |
poc_msb of the last reference pic for POC type 0 | |
int | prev_poc_lsb |
poc_lsb of the last reference pic for POC type 0 | |
int | frame_num_offset |
for POC type 2 | |
int | prev_frame_num_offset |
for POC type 2 | |
int | prev_frame_num |
frame_num of the last pic for POC type 1/2 | |
int | curr_pic_num |
frame_num for frames or 2*frame_num+1 for field pics. | |
int | max_pic_num |
max_frame_num or 2*max_frame_num for field pics. | |
int | use_weight |
int | use_weight_chroma |
int | luma_log2_weight_denom |
int | chroma_log2_weight_denom |
int | luma_weight [2][48] |
int | luma_offset [2][48] |
int | chroma_weight [2][48][2] |
int | chroma_offset [2][48][2] |
int | implicit_weight [48][48] |
int | deblocking_filter |
disable_deblocking_filter_idc with 1<->0 | |
int | slice_alpha_c0_offset |
int | slice_beta_offset |
int | redundant_pic_count |
int | direct_spatial_mv_pred |
int | dist_scale_factor [16] |
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 | |
unsigned int | list_count |
Picture * | short_ref [32] |
Picture * | long_ref [32] |
Picture | default_ref_list [2][32] |
base reference list for all slices of a coded picture | |
Picture | ref_list [2][48] |
0. | |
int | ref2frm [MAX_SLICES][2][64] |
reference to frame number lists, used in the loop filter, the first 2 are for -2,-1 | |
Picture * | delayed_pic [MAX_DELAYED_PIC_COUNT+2] |
int | outputed_poc |
MMCO | mmco [MAX_MMCO_COUNT] |
memory management control operations buffer. | |
int | mmco_index |
int | long_ref_count |
number of actual long term references | |
int | short_ref_count |
number of actual short term references | |
GetBitContext | intra_gb |
GetBitContext | inter_gb |
GetBitContext * | intra_gb_ptr |
GetBitContext * | inter_gb_ptr |
DCTELEM | mb_padding [256] |
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 | |
CABACContext | cabac |
Cabac. | |
uint8_t | cabac_state [460] |
int | cabac_init_idc |
uint16_t * | cbp_table |
int | cbp |
int | top_cbp |
int | left_cbp |
uint8_t * | chroma_pred_mode_table |
int | last_qscale_diff |
int16_t(*[2] | mvd_table )[2] |
uint8_t * | direct_table |
uint8_t | direct_cache [5 *8] |
uint8_t | zigzag_scan [16] |
uint8_t | zigzag_scan8x8 [64] |
uint8_t | zigzag_scan8x8_cavlc [64] |
uint8_t | field_scan [16] |
uint8_t | field_scan8x8 [64] |
uint8_t | field_scan8x8_cavlc [64] |
const uint8_t * | zigzag_scan_q0 |
const uint8_t * | zigzag_scan8x8_q0 |
const uint8_t * | zigzag_scan8x8_cavlc_q0 |
const uint8_t * | field_scan_q0 |
const uint8_t * | field_scan8x8_q0 |
const uint8_t * | field_scan8x8_cavlc_q0 |
int | x264_build |
struct H264Context * | thread_context [MAX_THREADS] |
int | current_slice |
current slice number, used to initalize slice_num of each thread/context | |
int | max_contexts |
Max number of threads / contexts. | |
int | single_decode_warning |
1 if the single thread fallback warning has already been displayed, 0 otherwise. | |
int | last_slice_type |
int | mb_xy |
uint32_t | svq3_watermark_key |
SEI_PicStructType | sei_pic_struct |
pic_struct in picture timing SEI message | |
int | sei_dpb_output_delay |
dpb_output_delay in picture timing SEI message, see H.264 C.2.2 | |
int | sei_cpb_removal_delay |
cpb_removal_delay in picture timing SEI message, see H.264 C.1.2 | |
int | sei_recovery_frame_cnt |
recovery_frame_cnt from SEI message | |
int | is_complex |
int | luma_weight_flag [2] |
7.4.3.2 luma_weight_lX_flag | |
int | chroma_weight_flag [2] |
7.4.3.2 chroma_weight_lX_flag | |
int | sei_buffering_period_present |
Buffering period SEI flag. | |
int | initial_cpb_removal_delay [32] |
Initial timestamps for CPBs. |
Definition at line 242 of file h264.h.
H264Context::DECLARE_ALIGNED_16 | ( | DCTELEM | , | |
mb | [16 *24] | |||
) |
H264Context::DECLARE_ALIGNED_8 | ( | int16_t | , | |
mvd_cache | [2][5 *8][2] | |||
) |
H264Context::DECLARE_ALIGNED_8 | ( | uint16_t | , | |
sub_mb_type | [4] | |||
) |
H264Context::DECLARE_ALIGNED_8 | ( | int8_t | , | |
ref_cache | [2][5 *8] | |||
) |
H264Context::DECLARE_ALIGNED_8 | ( | int16_t | , | |
mv_cache | [2][5 *8][2] | |||
) |
Motion vector cache.
H264Context::DECLARE_ALIGNED_8 | ( | uint8_t | , | |
non_zero_count_cache | [6 *8] | |||
) |
non zero coeff count cache.
is 64 if not available.
Definition at line 312 of file h264.h.
Referenced by alloc_tables(), decode_slice_header(), fill_caches(), pred_direct_motion(), and write_back_motion().
Definition at line 311 of file h264.h.
Referenced by alloc_tables(), decode_slice_header(), fill_caches(), pred_direct_motion(), svq3_decode_init(), svq3_decode_mb(), svq3_mc_dir(), and write_back_motion().
int H264Context::block_offset[2 *(16+8)] |
block_offset[ 0.
.23] for frame macroblocks block_offset[24..47] for field macroblocks
Definition at line 307 of file h264.h.
Referenced by clone_slice(), frame_start(), and hl_decode_mb_internal().
Cabac.
Definition at line 437 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_dqp(), decode_cabac_mb_intra4x4_pred_mode(), decode_cabac_mb_mvd(), decode_cabac_mb_ref(), decode_cabac_mb_skip(), decode_cabac_mb_transform_size(), decode_cabac_mb_type_b(), decode_cabac_p_mb_sub_type(), decode_cabac_residual_internal(), decode_mb_cabac(), and decode_slice().
uint8_t H264Context::cabac_state[460] |
Definition at line 438 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_dqp(), decode_cabac_mb_intra4x4_pred_mode(), decode_cabac_mb_mvd(), decode_cabac_mb_ref(), decode_cabac_mb_skip(), decode_cabac_mb_transform_size(), decode_cabac_mb_type_b(), decode_cabac_p_mb_sub_type(), decode_cabac_residual_internal(), decode_mb_cabac(), and decode_slice().
int H264Context::cbp |
Definition at line 443 of file h264.h.
Referenced by decode_mb_cabac(), decode_mb_cavlc(), filter_mb(), filter_mb_fast(), hl_decode_mb_internal(), and svq3_decode_mb().
uint16_t* H264Context::cbp_table |
Definition at line 442 of file h264.h.
Referenced by alloc_tables(), clone_tables(), decode_cabac_residual_internal(), decode_mb_cabac(), decode_mb_cavlc(), fill_caches(), filter_mb(), and free_tables().
Definition at line 381 of file h264.h.
Referenced by implicit_weight_table(), mc_part_weighted(), and pred_weight_table().
int H264Context::chroma_offset[2][48][2] |
Definition at line 385 of file h264.h.
Referenced by fill_mbaff_ref_list(), mc_part_weighted(), and pred_weight_table().
Definition at line 262 of file h264.h.
Referenced by decode_mb_cabac(), decode_mb_cavlc(), hl_decode_mb_internal(), and svq3_decode_mb().
uint8_t* H264Context::chroma_pred_mode_table |
Definition at line 447 of file h264.h.
Referenced by alloc_tables(), clone_tables(), decode_cabac_mb_chroma_pre_mode(), decode_mb_cabac(), and free_tables().
int H264Context::chroma_qp[2] |
Definition at line 256 of file h264.h.
Referenced by decode_mb_cabac(), decode_mb_cavlc(), decode_slice_header(), filter_mb_dir(), hl_decode_mb_internal(), and svq3_decode_init().
int H264Context::chroma_weight[2][48][2] |
Definition at line 384 of file h264.h.
Referenced by fill_mbaff_ref_list(), mc_part_weighted(), and pred_weight_table().
7.4.3.2 chroma_weight_lX_flag
Definition at line 528 of file h264.h.
Referenced by decode_slice_header(), implicit_weight_table(), and pred_weight_table().
frame_num for frames or 2*frame_num+1 for field pics.
Definition at line 370 of file h264.h.
Referenced by decode_ref_pic_list_reordering(), decode_ref_pic_marking(), and decode_slice_header().
disable_deblocking_filter_idc with 1<->0
Definition at line 389 of file h264.h.
Referenced by decode_slice_header(), fill_caches(), filter_mb(), filter_mb_dir(), filter_mb_fast(), hl_decode_mb_internal(), and xchg_mb_border().
base reference list for all slices of a coded picture
Definition at line 408 of file h264.h.
Referenced by clone_slice(), decode_ref_pic_list_reordering(), and fill_default_ref_list().
Picture* H264Context::delayed_pic[MAX_DELAYED_PIC_COUNT+2] |
Definition at line 413 of file h264.h.
Referenced by decode_frame(), flush_dpb(), and unreference_pic().
int H264Context::delta_poc[2] |
uint32_t H264Context::dequant4_buffer[6][52][16] |
uint32_t(*[6] H264Context::dequant4_coeff)[16] |
Definition at line 337 of file h264.h.
Referenced by alloc_tables(), clone_slice(), decode_mb_cabac(), decode_mb_cavlc(), hl_decode_mb_internal(), init_dequant4_coeff_table(), and init_dequant_tables().
uint32_t H264Context::dequant8_buffer[2][52][64] |
uint32_t(*[2] H264Context::dequant8_coeff)[64] |
Definition at line 338 of file h264.h.
Referenced by clone_slice(), decode_mb_cabac(), decode_mb_cavlc(), init_dequant8_coeff_table(), and init_dequant_tables().
reinit tables when pps changes
Definition at line 339 of file h264.h.
Referenced by common_init(), decode_slice_header(), and ff_h264_decode_picture_parameter_set().
uint8_t H264Context::direct_cache[5 *8] |
Definition at line 452 of file h264.h.
Referenced by decode_cabac_mb_ref(), decode_mb_cabac(), and fill_caches().
Definition at line 395 of file h264.h.
Referenced by decode_slice_header(), direct_ref_list_init(), fill_caches(), and pred_direct_motion().
uint8_t* H264Context::direct_table |
Definition at line 451 of file h264.h.
Referenced by alloc_tables(), clone_tables(), fill_caches(), free_tables(), and write_back_motion().
int H264Context::dist_scale_factor[16] |
Definition at line 396 of file h264.h.
Referenced by direct_dist_scale_factor(), and pred_direct_motion().
int H264Context::dist_scale_factor_field[2][32] |
Definition at line 397 of file h264.h.
Referenced by direct_dist_scale_factor(), and pred_direct_motion().
uint8_t H264Context::field_scan[16] |
Definition at line 457 of file h264.h.
Referenced by decode_mb_cabac(), decode_mb_cavlc(), and init_scan_tables().
uint8_t H264Context::field_scan8x8[64] |
uint8_t H264Context::field_scan8x8_cavlc[64] |
const uint8_t* H264Context::field_scan8x8_cavlc_q0 |
const uint8_t* H264Context::field_scan8x8_q0 |
const uint8_t* H264Context::field_scan_q0 |
Definition at line 463 of file h264.h.
Referenced by decode_mb_cabac(), decode_mb_cavlc(), and init_scan_tables().
Definition at line 360 of file h264.h.
Referenced by decode_frame(), decode_mb_cabac(), decode_mb_cavlc(), decode_slice_header(), execute_ref_pic_marking(), ff_vdpau_h264_picture_complete(), init_poc(), parse_nal_units(), and svq3_decode_frame().
for POC type 2
Definition at line 363 of file h264.h.
Referenced by decode_frame(), init_poc(), svq3_decode_frame(), and svq3_mc_dir().
flag used to parse avcC data only once
Definition at line 253 of file h264.h.
Referenced by decode_frame(), and decode_init().
Definition at line 320 of file h264.h.
Referenced by svq3_decode_frame(), svq3_decode_init(), and svq3_decode_mb().
Definition at line 270 of file h264.h.
Referenced by clone_tables(), common_init(), and hl_decode_mb_internal().
int H264Context::implicit_weight[48][48] |
Definition at line 386 of file h264.h.
Referenced by fill_mbaff_ref_list(), implicit_weight_table(), mc_part(), and mc_part_weighted().
Initial timestamps for CPBs.
Definition at line 532 of file h264.h.
Referenced by decode_buffering_period().
Definition at line 263 of file h264.h.
Referenced by decode_mb_cabac(), decode_mb_cavlc(), hl_decode_mb_internal(), and svq3_decode_mb().
int8_t(* H264Context::intra4x4_pred_mode)[8] |
Definition at line 269 of file h264.h.
Referenced by alloc_tables(), clone_tables(), fill_caches(), free_tables(), svq3_decode_mb(), svq3_decode_slice_header(), and write_back_intra_pred_mode().
int8_t H264Context::intra4x4_pred_mode_cache[5 *8] |
Definition at line 268 of file h264.h.
Referenced by check_intra4x4_pred_mode(), decode_mb_cabac(), decode_mb_cavlc(), fill_caches(), hl_decode_mb_internal(), pred_intra_mode(), svq3_decode_mb(), and write_back_intra_pred_mode().
Used to parse AVC variant of h264.
this flag is != 0 if codec is avc1
Definition at line 252 of file h264.h.
Referenced by decode_frame(), decode_init(), and decode_nal_units().
Definition at line 525 of file h264.h.
Referenced by decode_slice(), hl_decode_mb(), and svq3_decode_init().
Definition at line 448 of file h264.h.
Referenced by decode_cabac_mb_dqp(), decode_mb_cabac(), and decode_slice_header().
uint8_t H264Context::left_border[2 *(17+2 *9)] |
Definition at line 445 of file h264.h.
Referenced by decode_cabac_mb_cbp_chroma(), decode_cabac_mb_cbp_luma(), fill_caches(), and get_cabac_cbf_ctx().
int H264Context::left_mb_xy[2] |
Definition at line 266 of file h264.h.
Referenced by compute_mb_neighbors(), decode_cabac_intra_mb_type(), decode_cabac_mb_cbp_luma(), decode_cabac_mb_chroma_pre_mode(), decode_cabac_mb_type_b(), fetch_diagonal_mv(), fill_caches(), and filter_mb().
unsigned int H264Context::left_samples_available |
Definition at line 274 of file h264.h.
Referenced by check_intra4x4_pred_mode(), check_intra_pred_mode(), fill_caches(), and svq3_decode_mb().
unsigned int H264Context::list_count |
Definition at line 405 of file h264.h.
Referenced by decode_mb_cabac(), decode_mb_cavlc(), decode_ref_pic_list_reordering(), decode_slice_header(), fill_caches(), hl_decode_mb_internal(), and write_back_motion().
Definition at line 407 of file h264.h.
Referenced by clone_slice(), decode_ref_pic_list_reordering(), execute_ref_pic_marking(), ff_vdpau_h264_set_reference_frames(), fill_default_ref_list(), print_long_term(), and remove_long().
number of actual long term references
Definition at line 422 of file h264.h.
Referenced by decode_ref_pic_marking(), execute_ref_pic_marking(), ff_vdpau_h264_set_reference_frames(), idr(), and remove_long().
Definition at line 380 of file h264.h.
Referenced by implicit_weight_table(), mc_part_weighted(), and pred_weight_table().
int H264Context::luma_offset[2][48] |
Definition at line 383 of file h264.h.
Referenced by fill_mbaff_ref_list(), mc_part_weighted(), and pred_weight_table().
int H264Context::luma_weight[2][48] |
Definition at line 382 of file h264.h.
Referenced by fill_mbaff_ref_list(), mc_part_weighted(), and pred_weight_table().
7.4.3.2 luma_weight_lX_flag
Definition at line 527 of file h264.h.
Referenced by decode_slice_header(), implicit_weight_table(), and pred_weight_table().
int H264Context::map_col_to_list0[2][16+32] |
Definition at line 398 of file h264.h.
Referenced by direct_ref_list_init(), and pred_direct_motion().
int H264Context::map_col_to_list0_field[2][2][16+32] |
Definition at line 399 of file h264.h.
Referenced by direct_ref_list_init(), and pred_direct_motion().
max_frame_num or 2*max_frame_num for field pics.
Definition at line 375 of file h264.h.
Referenced by decode_ref_pic_list_reordering(), decode_ref_pic_marking(), and decode_slice_header().
uint32_t* H264Context::mb2b8_xy |
Definition at line 310 of file h264.h.
Referenced by alloc_tables(), clone_tables(), fill_caches(), free_tables(), and pred_direct_motion().
uint32_t* H264Context::mb2b_xy |
Definition at line 309 of file h264.h.
Referenced by alloc_tables(), clone_tables(), fill_caches(), free_tables(), and pred_direct_motion().
Definition at line 350 of file h264.h.
Referenced by decode_mb_cabac(), decode_mb_cavlc(), decode_slice_header(), and predict_field_decoding_flag().
may be equal to s->linesize or s->linesize*2, for mbaff
Definition at line 314 of file h264.h.
Referenced by hl_decode_mb_internal(), hl_motion(), mc_dir_part(), mc_part_weighted(), and prefetch_motion().
mb_aff_frame && mb_field_decoding_flag
Definition at line 351 of file h264.h.
Referenced by decode_mb_cabac(), decode_mb_cavlc(), decode_slice_header(), and predict_field_decoding_flag().
Definition at line 315 of file h264.h.
Referenced by hl_decode_mb_internal(), mc_dir_part(), mc_part_std(), and mc_part_weighted().
Definition at line 497 of file h264.h.
Referenced by compute_mb_neighbors(), decode_cabac_mb_skip(), decode_cabac_residual_internal(), decode_mb_cabac(), decode_mb_cavlc(), decode_mb_skip(), fill_caches(), filter_mb_fast(), hl_decode_mb(), hl_decode_mb_internal(), hl_motion(), pred_direct_motion(), predict_field_decoding_flag(), svq3_decode_frame(), svq3_decode_mb(), svq3_decode_slice_header(), write_back_intra_pred_mode(), write_back_non_zero_count(), and xchg_mb_border().
MMCO H264Context::mmco[MAX_MMCO_COUNT] |
memory management control operations buffer.
Definition at line 419 of file h264.h.
Referenced by decode_frame(), decode_ref_pic_marking(), and execute_ref_pic_marking().
int H264Context::mv_cache_clean[2] |
is 1 if the specific list MV&references are set to 0,0,-2.
Definition at line 296 of file h264.h.
Referenced by fill_caches().
int16_t(*[2] H264Context::mvd_table)[2] |
Definition at line 449 of file h264.h.
Referenced by alloc_tables(), clone_tables(), fill_caches(), free_tables(), and write_back_motion().
Number of bytes used for nal length (1, 2 or 4).
Definition at line 254 of file h264.h.
Referenced by decode_frame(), and decode_nal_units().
Definition at line 244 of file h264.h.
Referenced by decode_nal_units(), decode_slice_header(), ff_h264_decode_nal(), and init_poc().
Definition at line 245 of file h264.h.
Referenced by decode_nal_units(), decode_ref_pic_marking(), decode_slice_header(), ff_h264_decode_nal(), and parse_nal_units().
number of neighbors (top and/or left) that used 8x8 dct
Definition at line 301 of file h264.h.
Referenced by decode_cabac_mb_transform_size(), and fill_caches().
Definition at line 324 of file h264.h.
Referenced by svq3_decode_frame(), and svq3_decode_slice_header().
uint8_t(* H264Context::non_zero_count)[16] |
Definition at line 283 of file h264.h.
Referenced by alloc_tables(), clone_tables(), decode_mb_cabac(), decode_mb_cavlc(), decode_mb_skip(), fill_caches(), filter_mb(), filter_mb_dir(), free_tables(), and write_back_non_zero_count().
Definition at line 414 of file h264.h.
Referenced by decode_frame(), decode_init(), and flush_dpb().
Definition at line 356 of file h264.h.
Referenced by decode_frame(), decode_slice_header(), execute_ref_pic_marking(), and init_poc().
Definition at line 357 of file h264.h.
Referenced by decode_frame(), execute_ref_pic_marking(), and init_poc().
current pps
Definition at line 333 of file h264.h.
Referenced by common_init(), decode_mb_cabac(), decode_mb_cavlc(), decode_slice(), decode_slice_header(), ff_h264_decode_picture_parameter_set(), ff_vdpau_h264_picture_complete(), fill_caches(), filter_mb(), filter_mb_fast(), get_chroma_qp(), init_dequant4_coeff_table(), init_dequant8_coeff_table(), init_dequant_tables(), parse_nal_units(), and write_back_motion().
PPS* H264Context::pps_buffers[MAX_PPS_COUNT] |
Definition at line 329 of file h264.h.
Referenced by decode_end(), decode_slice_header(), ff_h264_decode_picture_parameter_set(), and parse_nal_units().
frame_num of the last pic for POC type 1/2
Definition at line 365 of file h264.h.
Referenced by clone_slice(), decode_frame(), decode_slice_header(), idr(), init_poc(), and svq3_decode_frame().
for POC type 2
Definition at line 364 of file h264.h.
Referenced by clone_slice(), decode_frame(), idr(), init_poc(), svq3_decode_frame(), and svq3_mc_dir().
Definition at line 258 of file h264.h.
Referenced by decode_mb_cabac(), decode_mb_cavlc(), and decode_mb_skip().
poc_lsb of the last reference pic for POC type 0
Definition at line 362 of file h264.h.
Referenced by clone_slice(), decode_frame(), idr(), and init_poc().
poc_msb of the last reference pic for POC type 0
Definition at line 361 of file h264.h.
Referenced by clone_slice(), decode_frame(), decode_init(), idr(), and init_poc().
uint8_t* H264Context::rbsp_buffer[2] |
unsigned int H264Context::rbsp_buffer_size[2] |
int H264Context::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 412 of file h264.h.
Referenced by decode_slice_header(), and filter_mb_dir().
unsigned int H264Context::ref_count[2] |
num_ref_idx_l0/1_active_minus1 + 1
counts frames or fields, depending on current mb mode
Definition at line 404 of file h264.h.
Referenced by decode_mb_cabac(), decode_mb_cavlc(), decode_ref_pic_list_reordering(), decode_slice_header(), direct_dist_scale_factor(), direct_ref_list_init(), fill_colmap(), fill_default_ref_list(), fill_mbaff_ref_list(), implicit_weight_table(), and pred_weight_table().
Picture H264Context::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 409 of file h264.h.
Referenced by clone_slice(), decode_ref_pic_list_reordering(), decode_slice_header(), direct_dist_scale_factor(), direct_ref_list_init(), fill_colmap(), fill_mbaff_ref_list(), get_scale_factor(), implicit_weight_table(), mc_part_std(), mc_part_weighted(), pred_direct_motion(), and prefetch_motion().
Definition at line 243 of file h264.h.
Referenced by alloc_tables(), backup_mb_border(), check_intra4x4_pred_mode(), check_intra_pred_mode(), clone_slice(), clone_tables(), close(), common_init(), compute_mb_neighbors(), context_init(), decode_buffering_period(), decode_cabac_field_decoding_flag(), decode_cabac_intra_mb_type(), decode_cabac_mb_mvd(), decode_cabac_mb_skip(), decode_cabac_mb_type_b(), decode_end(), decode_frame(), decode_hrd_parameters(), decode_init(), decode_mb_cabac(), decode_mb_cavlc(), decode_mb_skip(), decode_nal_units(), decode_picture_timing(), decode_recovery_point(), decode_ref_pic_list_reordering(), decode_ref_pic_marking(), decode_residual(), decode_scaling_list(), decode_scaling_matrices(), decode_slice(), decode_slice_header(), decode_unregistered_user_data(), decode_vui_parameters(), direct_dist_scale_factor(), direct_ref_list_init(), execute_decode_slices(), execute_ref_pic_marking(), fetch_diagonal_mv(), ff_h264_decode_picture_parameter_set(), ff_h264_decode_rbsp_trailing(), ff_h264_decode_sei(), ff_h264_decode_seq_parameter_set(), ff_h264_find_frame_end(), fill_caches(), fill_colmap(), fill_default_ref_list(), filter_mb(), filter_mb_dir(), filter_mb_edgech(), filter_mb_edgecv(), filter_mb_edgeh(), filter_mb_edgev(), filter_mb_fast(), filter_mb_mbaff_edgecv(), filter_mb_mbaff_edgev(), find_short(), flush_dpb(), frame_start(), free_tables(), h264_parse(), hl_decode_mb(), hl_decode_mb_internal(), hl_motion(), implicit_weight_table(), init_dequant4_coeff_table(), init_dequant8_coeff_table(), init_poc(), init_scan_tables(), mc_dir_part(), mc_part_std(), mc_part_weighted(), parse_nal_units(), pic_num_extract(), pred_16x8_motion(), pred_8x16_motion(), pred_direct_motion(), pred_intra_mode(), pred_motion(), pred_non_zero_count(), pred_pskip_motion(), pred_weight_table(), predict_field_decoding_flag(), prefetch_motion(), print_long_term(), print_short_term(), remove_short(), svq3_decode_frame(), svq3_decode_mb(), svq3_decode_slice_header(), svq3_mc_dir(), write_back_motion(), and xchg_mb_border().
Buffering period SEI flag.
Definition at line 531 of file h264.h.
Referenced by decode_buffering_period(), h264_parse(), parse_nal_units(), and reset_sei().
cpb_removal_delay in picture timing SEI message, see H.264 C.1.2
Definition at line 514 of file h264.h.
Referenced by decode_picture_timing(), h264_parse(), parse_nal_units(), and reset_sei().
dpb_output_delay in picture timing SEI message, see H.264 C.2.2
Definition at line 509 of file h264.h.
Referenced by decode_picture_timing(), h264_parse(), parse_nal_units(), and reset_sei().
pic_struct in picture timing SEI message
Definition at line 504 of file h264.h.
Referenced by decode_frame(), decode_picture_timing(), and parse_nal_units().
recovery_frame_cnt from SEI message
Set to -1 if no recovery point SEI message found or to number of frames before playback synchronizes. Frames having recovery point are key frames.
Definition at line 523 of file h264.h.
Referenced by decode_nal_units(), decode_recovery_point(), parse_nal_units(), and reset_sei().
Definition at line 406 of file h264.h.
Referenced by clone_slice(), decode_ref_pic_list_reordering(), decode_ref_pic_marking(), execute_ref_pic_marking(), ff_vdpau_h264_set_reference_frames(), fill_default_ref_list(), find_short(), idr(), print_short_term(), and remove_short_at_index().
number of actual short term references
Definition at line 423 of file h264.h.
Referenced by clone_slice(), decode_ref_pic_list_reordering(), decode_ref_pic_marking(), execute_ref_pic_marking(), ff_vdpau_h264_set_reference_frames(), fill_default_ref_list(), find_short(), idr(), print_short_term(), remove_short(), and remove_short_at_index().
Definition at line 390 of file h264.h.
Referenced by decode_slice_header(), filter_mb(), filter_mb_edgech(), filter_mb_edgecv(), filter_mb_edgeh(), filter_mb_edgev(), filter_mb_fast(), filter_mb_mbaff_edgecv(), and filter_mb_mbaff_edgev().
Definition at line 391 of file h264.h.
Referenced by decode_slice_header(), filter_mb_edgech(), filter_mb_edgecv(), filter_mb_edgeh(), filter_mb_edgev(), filter_mb_mbaff_edgecv(), and filter_mb_mbaff_edgev().
Definition at line 341 of file h264.h.
Referenced by decode_cabac_field_decoding_flag(), decode_cabac_intra_mb_type(), decode_cabac_mb_cbp_luma(), decode_cabac_mb_chroma_pre_mode(), decode_cabac_mb_skip(), decode_cabac_mb_type_b(), decode_mb_cabac(), decode_mb_cavlc(), decode_mb_skip(), decode_slice_header(), ff_vdpau_h264_picture_complete(), fill_caches(), filter_mb_dir(), predict_field_decoding_flag(), svq3_decode_frame(), and svq3_decode_slice_header().
uint16_t* H264Context::slice_table |
slice_table_base + 2*mb_stride + 1
Definition at line 343 of file h264.h.
Referenced by alloc_tables(), clone_tables(), decode_cabac_field_decoding_flag(), decode_cabac_intra_mb_type(), decode_cabac_mb_cbp_luma(), decode_cabac_mb_chroma_pre_mode(), decode_cabac_mb_skip(), decode_cabac_mb_type_b(), decode_mb_cabac(), decode_mb_cavlc(), decode_mb_skip(), fill_caches(), filter_mb(), filter_mb_dir(), filter_mb_fast(), frame_start(), free_tables(), predict_field_decoding_flag(), and xchg_mb_border().
uint16_t* H264Context::slice_table_base |
Definition at line 344 of file h264.h.
Referenced by decode_mb_cabac(), decode_mb_cavlc(), decode_slice_header(), svq3_decode_frame(), and svq3_decode_slice_header().
S free slice type (SI/SP are remapped to I/P).
Definition at line 345 of file h264.h.
Referenced by decode_cabac_mb_ref(), decode_cabac_mb_skip(), decode_cabac_mb_type_b(), decode_mb_cabac(), decode_mb_cavlc(), decode_mb_skip(), decode_nal_units(), decode_slice(), decode_slice_header(), fill_caches(), fill_default_ref_list(), filter_mb_dir(), filter_mb_fast(), pred_weight_table(), and write_back_motion().
current sps
Definition at line 327 of file h264.h.
Referenced by decode_frame(), decode_mb_cabac(), decode_mb_cavlc(), decode_picture_timing(), decode_ref_pic_marking(), decode_slice_header(), execute_ref_pic_marking(), ff_vdpau_h264_picture_complete(), get_dct8x8_allowed(), hl_decode_mb_internal(), init_dequant_tables(), init_poc(), init_scan_tables(), parse_nal_units(), and pred_direct_motion().
SPS* H264Context::sps_buffers[MAX_SPS_COUNT] |
Definition at line 326 of file h264.h.
Referenced by decode_buffering_period(), decode_end(), decode_slice_header(), ff_h264_decode_picture_parameter_set(), and parse_nal_units().
uint32_t H264Context::svq3_watermark_key |
Definition at line 499 of file h264.h.
Referenced by svq3_decode_init(), and svq3_decode_slice_header().
Definition at line 321 of file h264.h.
Referenced by svq3_decode_frame(), svq3_decode_init(), and svq3_decode_mb().
uint8_t(*[2] H264Context::top_borders)[16+2 *8] |
Definition at line 275 of file h264.h.
Referenced by backup_mb_border(), context_init(), free_tables(), and xchg_mb_border().
Definition at line 265 of file h264.h.
Referenced by compute_mb_neighbors(), decode_cabac_intra_mb_type(), decode_cabac_mb_cbp_luma(), decode_cabac_mb_chroma_pre_mode(), decode_cabac_mb_type_b(), fill_caches(), filter_mb(), filter_mb_dir(), filter_mb_fast(), and xchg_mb_border().
unsigned int H264Context::top_samples_available |
Definition at line 272 of file h264.h.
Referenced by check_intra4x4_pred_mode(), check_intra_pred_mode(), fill_caches(), and svq3_decode_mb().
unsigned int H264Context::topleft_samples_available |
unsigned int H264Context::topright_samples_available |
Definition at line 273 of file h264.h.
Referenced by fill_caches(), hl_decode_mb_internal(), and svq3_decode_mb().
Definition at line 323 of file h264.h.
Referenced by svq3_decode_init(), and svq3_decode_slice_header().
Definition at line 378 of file h264.h.
Referenced by decode_slice_header(), implicit_weight_table(), mc_part(), mc_part_weighted(), and pred_weight_table().
Definition at line 379 of file h264.h.
Referenced by decode_slice_header(), implicit_weight_table(), mc_part_weighted(), and pred_weight_table().
Definition at line 467 of file h264.h.
Referenced by decode_slice_header(), decode_unregistered_user_data(), and pred_direct_motion().
uint8_t H264Context::zigzag_scan[16] |
Definition at line 454 of file h264.h.
Referenced by decode_mb_cabac(), decode_mb_cavlc(), and init_scan_tables().
uint8_t H264Context::zigzag_scan8x8[64] |
uint8_t H264Context::zigzag_scan8x8_cavlc[64] |
const uint8_t* H264Context::zigzag_scan8x8_cavlc_q0 |
const uint8_t* H264Context::zigzag_scan8x8_q0 |
const uint8_t* H264Context::zigzag_scan_q0 |
Definition at line 460 of file h264.h.
Referenced by decode_mb_cabac(), decode_mb_cavlc(), and init_scan_tables().