#include <h264dec.h>
Definition at line 178 of file h264dec.h.
Referenced by alloc_scratch_buffers(), decode_cabac_mb_mvd(), decode_finish_row(), decode_slice(), er_add_slice(), get_scale_factor(), h264_init_context(), and h264_slice_header_init().
Definition at line 179 of file h264dec.h.
Referenced by decode_slice(), ff_h264_decode_mb_cavlc(), ff_h264_decode_ref_pic_list_reordering(), ff_h264_queue_decode_slice(), fill_slice_long(), h264_slice_header_parse(), and vaapi_h264_decode_slice().
Definition at line 180 of file h264dec.h.
Referenced by decode_finish_row(), decode_nal_units(), decode_slice(), er_add_slice(), ff_h264_execute_decode_slices(), ff_h264_free_tables(), ff_h264_slice_context_init(), and h264_frame_start().
Definition at line 182 of file h264dec.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(), fill_decode_neighbors(), fill_filter_caches(), fill_filter_caches_inter(), h264_slice_init(), predict_field_decoding_flag(), and xchg_mb_border().
Definition at line 183 of file h264dec.h.
Referenced by dxva2_h264_decode_slice(), ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), ff_h264_get_slice_type(), fill_slice_long(), h264_frame_start(), h264_slice_header_parse(), h264_slice_init(), loop_filter(), nvdec_h264_decode_slice(), and vaapi_h264_decode_slice().
S free slice type (SI/SP are remapped to I/P)
Definition at line 184 of file h264dec.h.
Referenced by decode_cabac_mb_ref(), decode_cabac_mb_skip(), decode_mb_skip(), ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), ff_h264_direct_ref_list_init(), ff_h264_init_cabac_states(), ff_h264_queue_decode_slice(), fill_decode_caches(), h264_field_start(), h264_initialise_ref_list(), h264_slice_header_parse(), h264_slice_init(), and write_back_motion().
Definition at line 185 of file h264dec.h.
Referenced by fill_slice_long(), h264_slice_header_parse(), and h264_slice_init().
Definition at line 187 of file h264dec.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_hl_decode_mb(), ff_h264_init_cabac_states(), fill_slice_long(), h264_slice_header_parse(), h264_slice_init(), hl_decode_mb_predict_luma(), loop_filter(), and vaapi_h264_decode_slice().
Definition at line 188 of file h264dec.h.
Referenced by decode_cabac_luma_residual(), decode_luma_residual(), ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), filter_mb_dir(), h264_slice_header_parse(), hl_decode_mb_predict_luma(), and loop_filter().
QP threshold to skip loopfilter.
Definition at line 189 of file h264dec.h.
Referenced by fill_filter_caches(), and h264_slice_init().
Definition at line 190 of file h264dec.h.
Referenced by ff_h264_decode_mb_cabac(), and h264_slice_header_parse().
disable_deblocking_filter_idc with 1 <-> 0
Definition at line 193 of file h264dec.h.
Referenced by decode_finish_row(), decode_slice(), fill_filter_caches(), fill_slice_long(), h264_slice_header_parse(), h264_slice_init(), loop_filter(), vaapi_h264_decode_slice(), and xchg_mb_border().
Definition at line 194 of file h264dec.h.
Referenced by ff_h264_filter_mb(), fill_slice_long(), h264_filter_mb_fast_internal(), h264_slice_header_parse(), h264_slice_init(), and vaapi_h264_decode_slice().
Definition at line 195 of file h264dec.h.
Referenced by ff_h264_filter_mb(), fill_slice_long(), h264_filter_mb_fast_internal(), h264_slice_header_parse(), h264_slice_init(), and vaapi_h264_decode_slice().
Definition at line 197 of file h264dec.h.
Referenced by fill_slice_long(), fill_vaapi_plain_pred_weight_table(), h264_slice_header_parse(), h264_slice_init(), implicit_weight_table(), mc_part(), mc_part_weighted(), and vaapi_h264_decode_slice().
Definition at line 199 of file h264dec.h.
Referenced by decode_mb_skip(), ff_h264_decode_mb_cabac(), and ff_h264_decode_mb_cavlc().
Definition at line 200 of file h264dec.h.
Referenced by ff_h264_decode_mb_cabac().
Definition at line 202 of file h264dec.h.
Referenced by ff_h264_decode_mb_cabac(), and ff_h264_decode_mb_cavlc().
Definition at line 203 of file h264dec.h.
Referenced by ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), hl_decode_mb_idct_luma(), and hl_decode_mb_predict_luma().
Definition at line 205 of file h264dec.h.
Referenced by ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), fill_decode_caches(), hl_decode_mb_predict_luma(), pred_intra_mode(), and write_back_intra_pred_mode().
Definition at line 206 of file h264dec.h.
Referenced by ff_h264_alloc_tables(), fill_decode_caches(), h264_slice_header_init(), and write_back_intra_pred_mode().
Definition at line 208 of file h264dec.h.
Referenced by fill_decode_caches(), fill_decode_neighbors(), and pred_pskip_motion().
Definition at line 209 of file h264dec.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().
Definition at line 210 of file h264dec.h.
Referenced by fill_decode_caches(), fill_decode_neighbors(), and pred_pskip_motion().
Definition at line 211 of file h264dec.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().
Definition at line 213 of file h264dec.h.
Referenced by fill_decode_caches(), fill_decode_neighbors(), and pred_pskip_motion().
Definition at line 214 of file h264dec.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().
Definition at line 215 of file h264dec.h.
Referenced by fill_decode_caches(), fill_decode_neighbors(), and pred_pskip_motion().
Definition at line 216 of file h264dec.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().
Definition at line 218 of file h264dec.h.
Referenced by fill_decode_caches(), fill_decode_neighbors(), and pred_pskip_motion().
Definition at line 219 of file h264dec.h.
Referenced by fill_decode_caches(), fill_decode_neighbors(), and pred_pskip_motion().
Definition at line 221 of file h264dec.h.
Referenced by fill_decode_caches(), and hl_decode_mb_predict_luma().
Definition at line 222 of file h264dec.h.
Referenced by ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), and fill_decode_caches().
Definition at line 223 of file h264dec.h.
Referenced by fill_decode_caches(), and hl_decode_mb_predict_luma().
Definition at line 224 of file h264dec.h.
Referenced by ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), and fill_decode_caches().
Definition at line 226 of file h264dec.h.
Referenced by decode_slice(), h264_frame_start(), loop_filter(), and prefetch_motion().
Definition at line 226 of file h264dec.h.
Referenced by decode_slice(), h264_frame_start(), loop_filter(), and prefetch_motion().
may be equal to s->linesize or s->linesize * 2, for mbaff
Definition at line 227 of file h264dec.h.
Referenced by loop_filter(), mc_dir_part(), mc_part_std(), mc_part_weighted(), and prefetch_motion().
Definition at line 228 of file h264dec.h.
Referenced by loop_filter(), mc_dir_part(), mc_part_std(), and mc_part_weighted().
Definition at line 230 of file h264dec.h.
Referenced by backup_mb_border(), decode_cabac_field_decoding_flag(), decode_residual(), decode_slice(), ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), ff_h264_execute_decode_slices(), fill_filter_caches_inter(), fill_slice_long(), h264_er_decode_mb(), h264_slice_init(), 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(), vaapi_h264_decode_slice(), write_back_motion(), and xchg_mb_border().
Definition at line 230 of file h264dec.h.
Referenced by backup_mb_border(), decode_finish_row(), decode_residual(), decode_slice(), fetch_diagonal_mv(), ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), 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(), h264_slice_init(), 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(), vaapi_h264_decode_slice(), write_back_motion(), and xchg_mb_border().
Definition at line 231 of file h264dec.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(), write_back_intra_pred_mode(), write_back_motion(), write_back_motion_list(), write_back_non_zero_count(), and xchg_mb_border().
Definition at line 232 of file h264dec.h.
Referenced by decode_slice(), ff_h264_execute_decode_slices(), and h264_slice_init().
Definition at line 233 of file h264dec.h.
Referenced by decode_slice(), ff_h264_execute_decode_slices(), and h264_slice_init().
Definition at line 234 of file h264dec.h.
Referenced by ff_h264_queue_decode_slice(), h264_slice_header_parse(), and h264_slice_init().
Definition at line 236 of file h264dec.h.
Referenced by decode_slice(), and ff_h264_execute_decode_slices().
Definition at line 237 of file h264dec.h.
Referenced by decode_slice(), and ff_h264_decode_mb_cavlc().
Definition at line 238 of file h264dec.h.
Referenced by decode_slice(), and ff_h264_hl_decode_mb().
Definition at line 240 of file h264dec.h.
Referenced by ff_h264_queue_decode_slice(), h264_field_start(), and h264_slice_header_parse().
Definition at line 241 of file h264dec.h.
Referenced by decode_cabac_field_decoding_flag(), ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), h264_er_decode_mb(), h264_slice_header_parse(), loop_filter(), and predict_field_decoding_flag().
mb_aff_frame && mb_field_decoding_flag
Definition at line 242 of file h264dec.h.
Referenced by ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), h264_er_decode_mb(), h264_slice_header_parse(), loop_filter(), and predict_field_decoding_flag().
Definition at line 244 of file h264dec.h.
Referenced by ff_h264_queue_decode_slice(), fill_slice_long(), and h264_slice_header_parse().
number of neighbors (top and/or left) that used 8x8 dct
Definition at line 249 of file h264dec.h.
Referenced by ff_h264_decode_mb_cabac(), and fill_decode_caches().
Definition at line 251 of file h264dec.h.
Referenced by decode_mb_skip(), ff_h264_direct_ref_list_init(), ff_h264_pred_direct_motion(), fill_decode_caches(), fill_slice_long(), h264_slice_header_parse(), h264_slice_init(), and vaapi_h264_decode_slice().
Definition at line 252 of file h264dec.h.
Referenced by ff_h264_direct_ref_list_init(), pred_spatial_direct_motion(), and pred_temp_direct_motion().
Definition at line 253 of file h264dec.h.
Referenced by ff_h264_direct_ref_list_init(), pred_spatial_direct_motion(), and pred_temp_direct_motion().
Definition at line 255 of file h264dec.h.
Referenced by ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), fill_filter_caches(), filter_mb_dir(), h264_filter_mb_fast_internal(), and hl_decode_mb_idct_luma().
Definition at line 256 of file h264dec.h.
Referenced by decode_cabac_mb_cbp_luma(), and fill_decode_caches().
Definition at line 257 of file h264dec.h.
Referenced by decode_cabac_mb_cbp_chroma(), decode_cabac_mb_cbp_luma(), fill_decode_caches(), and get_cabac_cbf_ctx().
Definition at line 259 of file h264dec.h.
Referenced by ff_h264_direct_dist_scale_factor(), and pred_temp_direct_motion().
Definition at line 260 of file h264dec.h.
Referenced by ff_h264_direct_dist_scale_factor(), and pred_temp_direct_motion().
Definition at line 261 of file h264dec.h.
Referenced by ff_h264_direct_ref_list_init(), and pred_temp_direct_motion().
Definition at line 262 of file h264dec.h.
Referenced by ff_h264_direct_ref_list_init(), and pred_temp_direct_motion().
num_ref_idx_l0/1_active_minus1 + 1
counts frames or fields, depending on current mb mode
Definition at line 267 of file h264dec.h.
Referenced by decode_nal_units(), ff_h264_build_ref_list(), ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), ff_h264_decode_ref_pic_list_reordering(), ff_h264_direct_dist_scale_factor(), ff_h264_direct_ref_list_init(), ff_h264_queue_decode_slice(), fill_colmap(), fill_slice_long(), fill_vaapi_plain_pred_weight_table(), h264_er_decode_mb(), h264_fill_mbaff_ref_list(), h264_initialise_ref_list(), h264_slice_header_parse(), h264_slice_init(), implicit_weight_table(), pred_spatial_direct_motion(), and vaapi_h264_decode_slice().
Definition at line 268 of file h264dec.h.
Referenced by await_references(), check_mv(), ff_h264_build_ref_list(), ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), ff_h264_decode_ref_pic_list_reordering(), ff_h264_direct_ref_list_init(), fill_decode_caches(), fill_filter_caches(), fill_slice_long(), h264_fill_mbaff_ref_list(), h264_filter_mb_fast_internal(), h264_initialise_ref_list(), h264_slice_header_parse(), and vaapi_h264_decode_slice().
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 269 of file h264dec.h.
Referenced by await_references(), decode_nal_units(), ff_h264_build_ref_list(), ff_h264_direct_dist_scale_factor(), ff_h264_direct_ref_list_init(), fill_colmap(), fill_slice_long(), get_lowest_part_y(), get_scale_factor(), h264_er_decode_mb(), h264_fill_mbaff_ref_list(), h264_initialise_ref_list(), h264_slice_init(), implicit_weight_table(), mc_part_std(), mc_part_weighted(), pred_spatial_direct_motion(), pred_temp_direct_motion(), prefetch_motion(), and vaapi_h264_decode_slice().
Definition at line 273 of file h264dec.h.
Referenced by ff_h264_build_ref_list(), and ff_h264_decode_ref_pic_list_reordering().
Definition at line 274 of file h264dec.h.
Referenced by ff_h264_build_ref_list(), and ff_h264_decode_ref_pic_list_reordering().
Referenced by ff_h264_build_ref_list(), and ff_h264_decode_ref_pic_list_reordering().
Definition at line 276 of file h264dec.h.
Referenced by ff_h264_build_ref_list(), and ff_h264_decode_ref_pic_list_reordering().
Definition at line 278 of file h264dec.h.
Referenced by ff_h264_queue_decode_slice(), h264_init_ps(), and h264_slice_header_parse().
Definition at line 280 of file h264dec.h.
Referenced by ff_h264_decode_mb_cabac(), and ff_h264_decode_mb_cavlc().
Definition at line 281 of file h264dec.h.
Referenced by ff_h264_free_tables(), and ff_h264_slice_context_init().
Definition at line 283 of file h264dec.h.
Referenced by alloc_scratch_buffers(), ff_h264_free_tables(), and mc_part_weighted().
Definition at line 284 of file h264dec.h.
Referenced by alloc_scratch_buffers(), ff_h264_free_tables(), and mc_dir_part().
Definition at line 285 of file h264dec.h.
Referenced by alloc_scratch_buffers(), backup_mb_border(), ff_h264_free_tables(), and xchg_mb_border().
Definition at line 286 of file h264dec.h.
Referenced by alloc_scratch_buffers(), and ff_h264_free_tables().
Definition at line 287 of file h264dec.h.
Referenced by alloc_scratch_buffers(), and ff_h264_free_tables().
Definition at line 288 of file h264dec.h.
Referenced by alloc_scratch_buffers(), and ff_h264_free_tables().
non zero coeff count cache.
is 64 if not available.
Definition at line 294 of file h264dec.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(), and write_back_non_zero_count().
Motion vector cache.
Definition at line 299 of file h264dec.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(), and write_back_motion_list().
Definition at line 300 of file h264dec.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(), and write_back_motion_list().
Definition at line 301 of file h264dec.h.
Referenced by ff_h264_decode_mb_cabac(), fill_decode_caches(), and write_back_motion_list().
Definition at line 302 of file h264dec.h.
Referenced by decode_cabac_mb_ref(), ff_h264_decode_mb_cabac(), and fill_decode_caches().
as a DCT coefficient is int32_t in high depth, we need to reserve twice the space.
Definition at line 304 of file h264dec.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().
Definition at line 307 of file h264dec.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(), and hl_decode_mb_predict_luma().
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 308 of file h264dec.h.
Referenced by decode_cabac_luma_residual(), decode_luma_residual(), and hl_decode_mb_predict_luma().
Definition at line 313 of file h264dec.h.
Referenced by ff_h264_alloc_tables(), fill_decode_caches(), h264_slice_header_init(), and write_back_motion_list().
Cabac.
Definition at line 318 of file h264dec.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().
Definition at line 319 of file h264dec.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().
Definition at line 320 of file h264dec.h.
Referenced by ff_h264_init_cabac_states(), fill_slice_long(), h264_slice_header_parse(), and vaapi_h264_decode_slice().
Definition at line 322 of file h264dec.h.
Referenced by ff_h264_decode_ref_pic_marking(), and h264_field_start().
Definition at line 323 of file h264dec.h.
Referenced by ff_h264_decode_ref_pic_marking(), and h264_field_start().
Definition at line 324 of file h264dec.h.
Referenced by ff_h264_decode_ref_pic_marking(), h264_field_start(), and h264_slice_header_parse().
Definition at line 326 of file h264dec.h.
Referenced by h264_field_start(), and h264_slice_header_parse().
Definition at line 327 of file h264dec.h.
Referenced by h264_field_start(), and h264_slice_header_parse().
Definition at line 328 of file h264dec.h.
Referenced by h264_field_start(), and h264_slice_header_parse().
Definition at line 329 of file h264dec.h.
Referenced by h264_field_start(), and h264_slice_header_parse().
Definition at line 330 of file h264dec.h.
Referenced by ff_h264_build_ref_list(), ff_h264_decode_ref_pic_marking(), and h264_slice_header_parse().
Definition at line 331 of file h264dec.h.
Referenced by ff_h264_build_ref_list(), ff_h264_decode_ref_pic_marking(), and h264_slice_header_parse().