FFmpeg
|
#include <h264.h>
Data Fields | |
const AVClass * | class |
AVCodecContext * | avctx |
VideoDSPContext | vdsp |
H264DSPContext | h264dsp |
H264ChromaContext | h264chroma |
H264QpelContext | h264qpel |
GetBitContext | gb |
H264Picture | DPB [H264_MAX_PICTURE_COUNT] |
H264Picture * | cur_pic_ptr |
H264Picture | cur_pic |
H264Picture | last_pic_for_ec |
H264SliceContext * | slice_ctx |
int | nb_slice_ctx |
H2645Packet | pkt |
int | pixel_shift |
0 for 8-bit H.264, 1 for high-bit-depth H.264 More... | |
int | width |
int | height |
int | chroma_x_shift |
int | chroma_y_shift |
int | backup_width |
Backup frame properties: needed, because they can be different between returned frame and last decoded frame. More... | |
int | backup_height |
enum AVPixelFormat | backup_pix_fmt |
int | droppable |
int | coded_picture_number |
int | context_initialized |
int | flags |
int | workaround_bugs |
int | postpone_filter |
int8_t * | intra4x4_pred_mode |
H264PredContext | hpc |
uint8_t(* | non_zero_count )[48] |
int | block_offset [2 *(16 *3)] |
block_offset[ 0..23] for frame macroblocks block_offset[24..47] for field macroblocks More... | |
uint32_t * | mb2b_xy |
uint32_t * | mb2br_xy |
int | b_stride |
unsigned | current_sps_id |
id of the current SPS More... | |
int | au_pps_id |
pps_id of current access unit More... | |
uint16_t * | slice_table |
slice_table_base + 2*mb_stride + 1 More... | |
int | mb_aff_frame |
int | picture_structure |
int | first_field |
uint8_t * | list_counts |
Array of list_count per MB specifying the slice type. More... | |
uint16_t * | cbp_table |
uint8_t * | chroma_pred_mode_table |
uint8_t(*[2] | mvd_table )[2] |
uint8_t * | direct_table |
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] |
uint8_t | zigzag_scan_q0 [16] |
uint8_t | zigzag_scan8x8_q0 [64] |
uint8_t | zigzag_scan8x8_cavlc_q0 [64] |
uint8_t | field_scan_q0 [16] |
uint8_t | field_scan8x8_q0 [64] |
uint8_t | field_scan8x8_cavlc_q0 [64] |
int | mb_y |
int | mb_height |
int | mb_width |
int | mb_stride |
int | mb_num |
int | nal_ref_idc |
int | nal_unit_type |
int | is_avc |
Used to parse AVC variant of H.264. More... | |
int | nal_length_size |
Number of bytes used for nal length (1, 2 or 4) More... | |
int | bit_depth_luma |
luma bit depth from sps to detect changes More... | |
int | chroma_format_idc |
chroma format from sps to detect changes More... | |
H264ParamSets | ps |
uint16_t * | slice_table_base |
H264POCContext | poc |
int | curr_pic_num |
frame_num for frames or 2 * frame_num + 1 for field pics. More... | |
int | max_pic_num |
max_frame_num or 2 * max_frame_num for field pics. More... | |
H264Ref | default_ref [2] |
H264Picture * | short_ref [32] |
H264Picture * | long_ref [32] |
H264Picture * | delayed_pic [MAX_DELAYED_PIC_COUNT+2] |
int | last_pocs [MAX_DELAYED_PIC_COUNT] |
H264Picture * | next_output_pic |
int | next_outputed_poc |
MMCO | mmco [MAX_MMCO_COUNT] |
memory management control operations buffer. More... | |
int | mmco_index |
int | mmco_reset |
int | long_ref_count |
number of actual long term references More... | |
int | short_ref_count |
number of actual short term references More... | |
int | prev_interlaced_frame |
Complement sei_pic_struct SEI_PIC_STRUCT_TOP_BOTTOM and SEI_PIC_STRUCT_BOTTOM_TOP indicate interlaced frames. More... | |
int | valid_recovery_point |
Are the SEI recovery points looking valid. More... | |
int | recovery_frame |
recovery_frame is the frame_num at which the next frame should be fully constructed. More... | |
int | frame_recovered |
Initial frame has been completely recovered. More... | |
int | has_recovery_point |
int | missing_fields |
int | setup_finished |
int | cur_chroma_format_idc |
int | cur_bit_depth_luma |
int16_t | slice_row [MAX_SLICES] |
to detect when MAX_SLICES is too low More... | |
int | enable_er |
H264SEIContext | sei |
AVBufferPool * | qscale_table_pool |
AVBufferPool * | mb_type_pool |
AVBufferPool * | motion_val_pool |
AVBufferPool * | ref_index_pool |
int | ref2frm [MAX_SLICES][2][64] |
reference to frame number lists, used in the loop filter, the first 2 are for -2,-1 More... | |
Members for slice based multithreading | |
int | current_slice |
current slice number, used to initialize slice_num of each thread/context More... | |
int | max_contexts |
Max number of threads / contexts. More... | |
int | single_decode_warning |
1 if the single thread fallback warning has already been displayed, 0 otherwise. More... | |
AVCodecContext* H264Context::avctx |
Definition at line 458 of file h264.h.
Referenced by alloc_picture(), await_reference_mb_row(), decode_cabac_mb_mvd(), decode_nal_units(), decode_postinit(), decode_residual(), decode_slice(), dxva2_h264_end_frame(), fetch_diagonal_mv(), ff_generate_sliding_window_mmcos(), ff_h264_alloc_tables(), ff_h264_decode_init(), ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), ff_h264_decode_ref_pic_list_reordering(), ff_h264_decode_ref_pic_marking(), ff_h264_decode_slice_header(), ff_h264_direct_ref_list_init(), ff_h264_draw_horiz_band(), ff_h264_execute_decode_slices(), ff_h264_execute_ref_pic_marking(), ff_h264_field_end(), ff_h264_filter_mb(), ff_h264_slice_context_init(), ff_h264_unref_picture(), ff_h264_update_thread_context(), filter_mb_dir(), find_short(), get_pixel_format(), h264_decode_frame(), h264_er_decode_mb(), h264_frame_start(), h264_init_context(), h264_initialise_ref_list(), h264_slice_header_init(), init_dimensions(), output_frame(), pred_16x8_motion(), pred_8x16_motion(), pred_intra_mode(), pred_motion(), pred_non_zero_count(), pred_pskip_motion(), print_long_term(), print_short_term(), remove_short(), vaapi_h264_end_frame(), and vdpau_h264_end_frame().
VideoDSPContext H264Context::vdsp |
Definition at line 459 of file h264.h.
Referenced by h264_slice_header_init(), mc_dir_part(), and prefetch_motion().
H264DSPContext H264Context::h264dsp |
Definition at line 460 of file h264.h.
Referenced by ff_h264_filter_mb_fast(), filter_mb_edgech(), filter_mb_edgecv(), filter_mb_edgeh(), filter_mb_edgev(), filter_mb_mbaff_edgecv(), filter_mb_mbaff_edgev(), h264_filter_mb_fast_internal(), h264_slice_header_init(), hl_decode_mb_idct_luma(), and hl_decode_mb_predict_luma().
H264ChromaContext H264Context::h264chroma |
Definition at line 461 of file h264.h.
Referenced by h264_slice_header_init().
H264QpelContext H264Context::h264qpel |
Definition at line 462 of file h264.h.
Referenced by h264_slice_header_init().
GetBitContext H264Context::gb |
H264Picture H264Context::DPB[H264_MAX_PICTURE_COUNT] |
Definition at line 465 of file h264.h.
Referenced by copy_picture_range(), ff_h264_update_thread_context(), find_unused_picture(), flush_dpb(), h264_decode_end(), h264_frame_start(), h264_init_context(), and release_unused_pictures().
H264Picture* H264Context::cur_pic_ptr |
Definition at line 466 of file h264.h.
Referenced by commit_bitstream_and_slice_buffer(), decode_finish_row(), decode_nal_units(), decode_postinit(), decode_slice(), dxva2_h264_decode_slice(), dxva2_h264_end_frame(), dxva2_h264_start_frame(), fetch_diagonal_mv(), ff_generate_sliding_window_mmcos(), ff_h264_decode_slice_header(), ff_h264_direct_dist_scale_factor(), ff_h264_direct_ref_list_init(), ff_h264_execute_ref_pic_marking(), ff_h264_field_end(), ff_h264_flush_change(), ff_h264_update_thread_context(), fill_picture_parameters(), flush_dpb(), h264_decode_end(), h264_decode_frame(), h264_frame_start(), h264_initialise_ref_list(), implicit_weight_table(), mismatches_ref(), release_unused_pictures(), vaapi_h264_end_frame(), vaapi_h264_start_frame(), vda_h264_end_frame(), vda_old_h264_end_frame(), vdpau_h264_decode_slice(), vdpau_h264_end_frame(), vdpau_h264_set_reference_frames(), and vdpau_h264_start_frame().
H264Picture H264Context::cur_pic |
Definition at line 467 of file h264.h.
Referenced by await_references(), decode_cabac_field_decoding_flag(), decode_cabac_mb_skip(), decode_mb_skip(), ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), ff_h264_draw_horiz_band(), ff_h264_filter_mb(), ff_h264_hl_decode_mb(), ff_h264_update_thread_context(), fill_decode_caches(), fill_decode_neighbors(), fill_filter_caches(), fill_filter_caches_inter(), filter_mb_dir(), flush_dpb(), get_lowest_part_y(), h264_decode_end(), h264_er_decode_mb(), h264_filter_mb_fast_internal(), h264_frame_start(), h264_init_context(), loop_filter(), pred_pskip_motion(), predict_field_decoding_flag(), write_back_motion(), and write_back_motion_list().
H264Picture H264Context::last_pic_for_ec |
Definition at line 468 of file h264.h.
Referenced by decode_nal_units(), ff_h264_flush_change(), ff_h264_remove_all_refs(), h264_decode_end(), h264_decode_frame(), and h264_init_context().
H264SliceContext* H264Context::slice_ctx |
Definition at line 470 of file h264.h.
Referenced by decode_finish_row(), decode_nal_units(), decode_slice(), dxva2_h264_decode_slice(), dxva2_h264_end_frame(), er_add_slice(), ff_h264_alloc_tables(), ff_h264_decode_slice_header(), ff_h264_execute_decode_slices(), ff_h264_flush_change(), ff_h264_free_tables(), ff_h264_remove_all_refs(), ff_h264_slice_context_init(), fill_slice_long(), fill_vaapi_plain_pred_weight_table(), h264_decode_end(), h264_decode_frame(), h264_er_decode_mb(), h264_frame_start(), h264_init_context(), h264_slice_header_init(), vaapi_h264_decode_slice(), vaapi_h264_end_frame(), and vdpau_h264_end_frame().
int H264Context::nb_slice_ctx |
Definition at line 471 of file h264.h.
Referenced by decode_nal_units(), ff_h264_alloc_tables(), ff_h264_flush_change(), ff_h264_free_tables(), ff_h264_remove_all_refs(), h264_decode_end(), h264_frame_start(), h264_init_context(), and h264_slice_header_init().
H2645Packet H264Context::pkt |
Definition at line 473 of file h264.h.
Referenced by decode_nal_units(), get_last_needed_nal(), and h264_decode_end().
int H264Context::pixel_shift |
0 for 8-bit H.264, 1 for high-bit-depth H.264
Definition at line 475 of file h264.h.
Referenced by backup_mb_border(), decode_cabac_residual_internal(), decode_residual(), decode_slice(), ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), ff_h264_filter_mb_fast(), ff_h264_hl_decode_mb(), filter_mb_dir(), h264_frame_start(), h264_slice_header_init(), loop_filter(), and output_frame().
int H264Context::width |
Definition at line 478 of file h264.h.
Referenced by ff_h264_decode_slice_header(), ff_h264_update_thread_context(), and init_dimensions().
int H264Context::height |
Definition at line 478 of file h264.h.
Referenced by ff_h264_decode_slice_header(), ff_h264_update_thread_context(), and init_dimensions().
int H264Context::chroma_x_shift |
Definition at line 479 of file h264.h.
Referenced by h264_slice_header_init().
int H264Context::chroma_y_shift |
Definition at line 479 of file h264.h.
Referenced by ff_h264_decode_slice_header(), fill_decode_caches(), h264_slice_header_init(), loop_filter(), and write_back_non_zero_count().
int H264Context::backup_width |
Backup frame properties: needed, because they can be different between returned frame and last decoded frame.
Definition at line 485 of file h264.h.
Referenced by ff_h264_update_thread_context(), h264_decode_frame(), h264_init_context(), and output_frame().
int H264Context::backup_height |
Definition at line 486 of file h264.h.
Referenced by ff_h264_update_thread_context(), h264_decode_frame(), h264_init_context(), and output_frame().
enum AVPixelFormat H264Context::backup_pix_fmt |
Definition at line 487 of file h264.h.
Referenced by ff_h264_update_thread_context(), h264_decode_frame(), h264_init_context(), and output_frame().
int H264Context::droppable |
Definition at line 489 of file h264.h.
Referenced by decode_finish_row(), decode_nal_units(), ff_h264_decode_slice_header(), ff_h264_field_end(), ff_h264_update_thread_context(), and h264_frame_start().
int H264Context::coded_picture_number |
Definition at line 490 of file h264.h.
Referenced by ff_h264_update_thread_context(), and h264_frame_start().
int H264Context::context_initialized |
Definition at line 492 of file h264.h.
Referenced by ff_h264_decode_slice_header(), ff_h264_update_thread_context(), flush_dpb(), and h264_slice_header_init().
int H264Context::flags |
Definition at line 493 of file h264.h.
Referenced by alloc_picture(), backup_mb_border(), decode_slice(), ff_h264_filter_mb(), h264_decode_frame(), h264_filter_mb_fast_internal(), h264_init_context(), mc_dir_part(), mc_part_weighted(), and xchg_mb_border().
int H264Context::workaround_bugs |
Definition at line 494 of file h264.h.
Referenced by decode_slice(), ff_h264_update_thread_context(), and h264_init_context().
int H264Context::postpone_filter |
Definition at line 499 of file h264.h.
Referenced by decode_slice(), ff_h264_decode_slice_header(), ff_h264_execute_decode_slices(), h264_frame_start(), and loop_filter().
int8_t* H264Context::intra4x4_pred_mode |
Definition at line 501 of file h264.h.
Referenced by ff_h264_alloc_tables(), ff_h264_free_tables(), and h264_slice_header_init().
H264PredContext H264Context::hpc |
Definition at line 502 of file h264.h.
Referenced by h264_slice_header_init(), hl_decode_mb_idct_luma(), and hl_decode_mb_predict_luma().
uint8_t(* H264Context::non_zero_count)[48] |
Definition at line 504 of file h264.h.
Referenced by decode_mb_skip(), ff_h264_alloc_tables(), ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), ff_h264_filter_mb(), ff_h264_free_tables(), fill_decode_caches(), fill_filter_caches(), filter_mb_dir(), and write_back_non_zero_count().
int H264Context::block_offset[2 *(16 *3)] |
block_offset[ 0..23] for frame macroblocks block_offset[24..47] for field macroblocks
Definition at line 513 of file h264.h.
Referenced by decode_slice(), ff_h264_update_thread_context(), and h264_frame_start().
uint32_t* H264Context::mb2b_xy |
Definition at line 515 of file h264.h.
Referenced by ff_h264_alloc_tables(), ff_h264_free_tables(), fill_decode_caches(), fill_filter_caches_inter(), pred_pskip_motion(), pred_spatial_direct_motion(), and pred_temp_direct_motion().
uint32_t* H264Context::mb2br_xy |
Definition at line 516 of file h264.h.
Referenced by ff_h264_alloc_tables(), ff_h264_free_tables(), fill_decode_caches(), write_back_intra_pred_mode(), and write_back_motion_list().
int H264Context::b_stride |
Definition at line 517 of file h264.h.
Referenced by ff_h264_alloc_tables(), ff_h264_decode_slice_header(), ff_h264_update_thread_context(), fill_decode_caches(), fill_filter_caches_inter(), pred_pskip_motion(), pred_spatial_direct_motion(), pred_temp_direct_motion(), and write_back_motion().
unsigned H264Context::current_sps_id |
id of the current SPS
Definition at line 520 of file h264.h.
Referenced by ff_h264_decode_slice_header(), and h264_init_context().
int H264Context::au_pps_id |
pps_id of current access unit
Definition at line 522 of file h264.h.
Referenced by decode_nal_units(), and ff_h264_decode_slice_header().
uint16_t* H264Context::slice_table |
slice_table_base + 2*mb_stride + 1
Definition at line 524 of file h264.h.
Referenced by decode_cabac_field_decoding_flag(), decode_cabac_mb_skip(), decode_mb_skip(), ff_h264_alloc_tables(), ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), ff_h264_decode_slice_header(), ff_h264_free_tables(), fill_decode_neighbors(), fill_filter_caches(), fill_filter_caches_inter(), predict_field_decoding_flag(), and xchg_mb_border().
int H264Context::mb_aff_frame |
Definition at line 527 of file h264.h.
Referenced by ff_h264_decode_slice_header().
int H264Context::picture_structure |
Definition at line 528 of file h264.h.
Referenced by decode(), decode_finish_row(), decode_nal_units(), decode_slice(), ff_h264_decode_slice_header(), ff_h264_direct_dist_scale_factor(), ff_h264_direct_ref_list_init(), ff_h264_draw_horiz_band(), ff_h264_execute_ref_pic_marking(), ff_h264_field_end(), ff_h264_update_thread_context(), fill_colmap(), fill_picture_parameters(), filter_mb_dir(), get_lowest_part_y(), h264_frame_start(), h264_init_context(), h264_initialise_ref_list(), implicit_weight_table(), pic_num_extract(), vaapi_h264_start_frame(), and vdpau_h264_start_frame().
int H264Context::first_field |
Definition at line 529 of file h264.h.
Referenced by decode_nal_units(), ff_generate_sliding_window_mmcos(), ff_h264_decode_slice_header(), ff_h264_draw_horiz_band(), ff_h264_flush_change(), ff_h264_update_thread_context(), h264_decode_frame(), and h264_slice_header_init().
uint8_t* H264Context::list_counts |
Array of list_count per MB specifying the slice type.
Definition at line 531 of file h264.h.
Referenced by ff_h264_alloc_tables(), and ff_h264_free_tables().
uint16_t* H264Context::cbp_table |
Definition at line 534 of file h264.h.
Referenced by decode_cabac_residual_internal(), ff_h264_alloc_tables(), ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), ff_h264_filter_mb(), ff_h264_free_tables(), fill_decode_caches(), fill_filter_caches(), and filter_mb_dir().
uint8_t* H264Context::chroma_pred_mode_table |
Definition at line 537 of file h264.h.
Referenced by decode_cabac_mb_chroma_pre_mode(), ff_h264_alloc_tables(), ff_h264_decode_mb_cabac(), and ff_h264_free_tables().
uint8_t(*[2] H264Context::mvd_table)[2] |
Definition at line 538 of file h264.h.
Referenced by ff_h264_alloc_tables(), ff_h264_free_tables(), and h264_slice_header_init().
uint8_t* H264Context::direct_table |
Definition at line 539 of file h264.h.
Referenced by ff_h264_alloc_tables(), ff_h264_free_tables(), fill_decode_caches(), and write_back_motion().
uint8_t H264Context::zigzag_scan[16] |
Definition at line 541 of file h264.h.
Referenced by ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), and init_scan_tables().
uint8_t H264Context::zigzag_scan8x8[64] |
Definition at line 542 of file h264.h.
Referenced by ff_h264_decode_mb_cabac(), and init_scan_tables().
uint8_t H264Context::zigzag_scan8x8_cavlc[64] |
Definition at line 543 of file h264.h.
Referenced by ff_h264_decode_mb_cavlc(), and init_scan_tables().
uint8_t H264Context::field_scan[16] |
Definition at line 544 of file h264.h.
Referenced by ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), and init_scan_tables().
uint8_t H264Context::field_scan8x8[64] |
Definition at line 545 of file h264.h.
Referenced by ff_h264_decode_mb_cabac(), and init_scan_tables().
uint8_t H264Context::field_scan8x8_cavlc[64] |
Definition at line 546 of file h264.h.
Referenced by ff_h264_decode_mb_cavlc(), and init_scan_tables().
uint8_t H264Context::zigzag_scan_q0[16] |
Definition at line 547 of file h264.h.
Referenced by ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), and init_scan_tables().
uint8_t H264Context::zigzag_scan8x8_q0[64] |
Definition at line 548 of file h264.h.
Referenced by ff_h264_decode_mb_cabac(), and init_scan_tables().
uint8_t H264Context::zigzag_scan8x8_cavlc_q0[64] |
Definition at line 549 of file h264.h.
Referenced by ff_h264_decode_mb_cavlc(), and init_scan_tables().
uint8_t H264Context::field_scan_q0[16] |
Definition at line 550 of file h264.h.
Referenced by ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), and init_scan_tables().
uint8_t H264Context::field_scan8x8_q0[64] |
Definition at line 551 of file h264.h.
Referenced by ff_h264_decode_mb_cabac(), and init_scan_tables().
uint8_t H264Context::field_scan8x8_cavlc_q0[64] |
Definition at line 552 of file h264.h.
Referenced by ff_h264_decode_mb_cavlc(), and init_scan_tables().
int H264Context::mb_y |
Definition at line 554 of file h264.h.
Referenced by ff_h264_execute_decode_slices(), ff_h264_field_end(), flush_dpb(), and h264_decode_frame().
int H264Context::mb_height |
Definition at line 555 of file h264.h.
Referenced by await_reference_mb_row(), await_references(), commit_bitstream_and_slice_buffer(), decode_finish_row(), decode_slice(), ff_h264_alloc_tables(), ff_h264_decode_slice_header(), ff_h264_execute_decode_slices(), ff_h264_slice_context_init(), ff_h264_update_thread_context(), fill_picture_parameters(), h264_decode_frame(), init_table_pools(), mc_dir_part(), and vaapi_h264_start_frame().
int H264Context::mb_width |
Definition at line 555 of file h264.h.
Referenced by alloc_scratch_buffers(), commit_bitstream_and_slice_buffer(), decode_slice(), ff_h264_alloc_tables(), ff_h264_decode_slice_header(), ff_h264_execute_decode_slices(), ff_h264_slice_context_init(), ff_h264_update_thread_context(), fill_picture_parameters(), fill_slice_long(), h264_decode_frame(), init_table_pools(), mc_dir_part(), vaapi_h264_decode_slice(), vaapi_h264_start_frame(), and xchg_mb_border().
int H264Context::mb_stride |
Definition at line 556 of file h264.h.
Referenced by alloc_picture(), decode_cabac_field_decoding_flag(), decode_cabac_mb_skip(), fetch_diagonal_mv(), ff_h264_alloc_tables(), ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), ff_h264_decode_slice_header(), ff_h264_filter_mb(), ff_h264_slice_context_init(), ff_h264_update_thread_context(), fill_decode_caches(), fill_decode_neighbors(), fill_filter_caches(), filter_mb_dir(), h264_decode_frame(), h264_er_decode_mb(), h264_slice_header_init(), init_table_pools(), loop_filter(), pred_spatial_direct_motion(), pred_temp_direct_motion(), predict_field_decoding_flag(), and xchg_mb_border().
int H264Context::mb_num |
Definition at line 557 of file h264.h.
Referenced by decode_slice(), ff_h264_decode_slice_header(), ff_h264_slice_context_init(), and ff_h264_update_thread_context().
int H264Context::nal_ref_idc |
Definition at line 562 of file h264.h.
Referenced by decode_nal_units(), ff_h264_decode_slice_header(), fill_picture_parameters(), vaapi_h264_start_frame(), and vdpau_h264_start_frame().
int H264Context::nal_unit_type |
Definition at line 563 of file h264.h.
Referenced by decode_nal_units(), ff_h264_decode_ref_pic_marking(), ff_h264_decode_slice_header(), and h264_decode_frame().
int H264Context::is_avc |
Used to parse AVC variant of H.264.
this flag is != 0 if codec is avc1
Definition at line 568 of file h264.h.
Referenced by decode_nal_units(), ff_h264_decode_init(), ff_h264_update_thread_context(), ff_videotoolbox_h264_decode_slice(), ff_videotoolbox_h264_start_frame(), and h264_decode_frame().
int H264Context::nal_length_size |
Number of bytes used for nal length (1, 2 or 4)
Definition at line 569 of file h264.h.
Referenced by decode_nal_units(), ff_h264_decode_init(), ff_h264_update_thread_context(), and h264_decode_frame().
int H264Context::bit_depth_luma |
luma bit depth from sps to detect changes
Definition at line 571 of file h264.h.
Referenced by ff_h264_decode_slice_header(), and h264_slice_header_init().
int H264Context::chroma_format_idc |
chroma format from sps to detect changes
Definition at line 572 of file h264.h.
Referenced by ff_h264_decode_slice_header(), and h264_slice_header_init().
H264ParamSets H264Context::ps |
Definition at line 574 of file h264.h.
Referenced by alloc_picture(), avpriv_h264_has_num_reorder_frames(), decode_cabac_luma_residual(), decode_luma_residual(), decode_nal_units(), decode_postinit(), decode_slice(), ff_generate_sliding_window_mmcos(), ff_h264_decode_init(), ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), ff_h264_decode_slice_header(), ff_h264_execute_ref_pic_marking(), ff_h264_filter_mb(), ff_h264_filter_mb_fast(), ff_h264_init_cabac_states(), ff_h264_update_thread_context(), ff_videotoolbox_avcc_extradata_create(), fill_decode_caches(), fill_filter_caches(), fill_picture_parameters(), fill_scaling_lists(), fill_slice_long(), get_chroma_qp(), get_dct8x8_allowed(), get_pixel_format(), h264_decode_end(), h264_decode_frame(), h264_filter_mb_fast_internal(), h264_frame_start(), h264_slice_header_init(), hl_decode_mb_idct_luma(), hl_decode_mb_predict_luma(), init_dimensions(), init_scan_tables(), pred_spatial_direct_motion(), pred_temp_direct_motion(), vaapi_h264_decode_slice(), vaapi_h264_start_frame(), vdadec_init(), and vdpau_h264_start_frame().
uint16_t* H264Context::slice_table_base |
Definition at line 576 of file h264.h.
Referenced by ff_h264_alloc_tables(), and ff_h264_free_tables().
H264POCContext H264Context::poc |
Definition at line 578 of file h264.h.
Referenced by decode_nal_units(), ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), ff_h264_decode_slice_header(), ff_h264_execute_ref_pic_marking(), ff_h264_field_end(), ff_h264_flush_change(), ff_h264_update_thread_context(), fill_picture_parameters(), h264_frame_start(), h264_init_context(), idr(), vaapi_h264_start_frame(), and vdpau_h264_start_frame().
int H264Context::curr_pic_num |
frame_num for frames or 2 * frame_num + 1 for field pics.
Definition at line 583 of file h264.h.
Referenced by ff_h264_decode_ref_pic_list_reordering(), ff_h264_decode_ref_pic_marking(), ff_h264_decode_slice_header(), and ff_h264_update_thread_context().
int H264Context::max_pic_num |
max_frame_num or 2 * max_frame_num for field pics.
Definition at line 588 of file h264.h.
Referenced by ff_h264_decode_ref_pic_list_reordering(), ff_h264_decode_ref_pic_marking(), ff_h264_decode_slice_header(), and ff_h264_update_thread_context().
H264Ref H264Context::default_ref[2] |
Definition at line 590 of file h264.h.
Referenced by ff_h264_decode_ref_pic_list_reordering(), ff_h264_remove_all_refs(), ff_h264_update_thread_context(), and h264_initialise_ref_list().
H264Picture* H264Context::short_ref[32] |
Definition at line 591 of file h264.h.
Referenced by ff_generate_sliding_window_mmcos(), ff_h264_decode_ref_pic_list_reordering(), ff_h264_decode_ref_pic_marking(), ff_h264_decode_slice_header(), ff_h264_execute_ref_pic_marking(), ff_h264_remove_all_refs(), ff_h264_update_thread_context(), fill_picture_parameters(), fill_vaapi_ReferenceFrames(), find_short(), h264_initialise_ref_list(), print_short_term(), remove_short_at_index(), and vdpau_h264_set_reference_frames().
H264Picture* H264Context::long_ref[32] |
Definition at line 592 of file h264.h.
Referenced by ff_h264_decode_ref_pic_list_reordering(), ff_h264_decode_slice_header(), ff_h264_execute_ref_pic_marking(), ff_h264_update_thread_context(), fill_picture_parameters(), fill_vaapi_ReferenceFrames(), h264_initialise_ref_list(), print_long_term(), remove_long(), and vdpau_h264_set_reference_frames().
H264Picture* H264Context::delayed_pic[MAX_DELAYED_PIC_COUNT+2] |
Definition at line 593 of file h264.h.
Referenced by decode_postinit(), ff_h264_flush_change(), ff_h264_update_thread_context(), flush_dpb(), h264_decode_end(), h264_decode_frame(), and unreference_pic().
int H264Context::last_pocs[MAX_DELAYED_PIC_COUNT] |
Definition at line 594 of file h264.h.
Referenced by decode_postinit(), ff_h264_decode_ref_pic_list_reordering(), ff_h264_decode_slice_header(), ff_h264_execute_ref_pic_marking(), ff_h264_update_thread_context(), h264_init_context(), and idr().
H264Picture* H264Context::next_output_pic |
Definition at line 595 of file h264.h.
Referenced by decode_postinit(), ff_h264_update_thread_context(), h264_decode_frame(), and h264_frame_start().
int H264Context::next_outputed_poc |
Definition at line 596 of file h264.h.
Referenced by decode_nal_units(), decode_postinit(), ff_h264_flush_change(), ff_h264_update_thread_context(), and h264_init_context().
MMCO H264Context::mmco[MAX_MMCO_COUNT] |
memory management control operations buffer.
Definition at line 601 of file h264.h.
Referenced by ff_generate_sliding_window_mmcos(), ff_h264_decode_ref_pic_marking(), ff_h264_decode_slice_header(), ff_h264_execute_ref_pic_marking(), ff_h264_field_end(), and ff_h264_update_thread_context().
int H264Context::mmco_index |
Definition at line 602 of file h264.h.
Referenced by ff_generate_sliding_window_mmcos(), ff_h264_decode_ref_pic_marking(), ff_h264_decode_slice_header(), ff_h264_field_end(), and ff_h264_update_thread_context().
int H264Context::mmco_reset |
Definition at line 603 of file h264.h.
Referenced by decode_postinit(), ff_h264_execute_ref_pic_marking(), ff_h264_flush_change(), and ff_h264_update_thread_context().
int H264Context::long_ref_count |
number of actual long term references
Definition at line 605 of file h264.h.
Referenced by ff_generate_sliding_window_mmcos(), ff_h264_decode_slice_header(), ff_h264_execute_ref_pic_marking(), ff_h264_remove_all_refs(), ff_h264_update_thread_context(), and remove_long().
int H264Context::short_ref_count |
number of actual short term references
Definition at line 606 of file h264.h.
Referenced by ff_generate_sliding_window_mmcos(), ff_h264_decode_ref_pic_list_reordering(), ff_h264_decode_ref_pic_marking(), ff_h264_decode_slice_header(), ff_h264_execute_ref_pic_marking(), ff_h264_remove_all_refs(), ff_h264_update_thread_context(), fill_picture_parameters(), fill_vaapi_ReferenceFrames(), find_short(), h264_initialise_ref_list(), print_short_term(), remove_short(), remove_short_at_index(), and vdpau_h264_set_reference_frames().
int H264Context::current_slice |
current slice number, used to initialize slice_num of each thread/context
Definition at line 615 of file h264.h.
Referenced by decode_nal_units(), ff_h264_decode_slice_header(), ff_h264_field_end(), ff_h264_flush_change(), and fill_slice_long().
int H264Context::max_contexts |
Max number of threads / contexts.
This is equal to AVCodecContext.thread_count unless multithreaded decoding is impossible, in which case it is reduced to 1.
Definition at line 623 of file h264.h.
Referenced by decode_nal_units(), and ff_h264_decode_slice_header().
int H264Context::single_decode_warning |
1 if the single thread fallback warning has already been displayed, 0 otherwise.
Definition at line 629 of file h264.h.
Referenced by ff_h264_decode_slice_header().
int H264Context::prev_interlaced_frame |
Complement sei_pic_struct SEI_PIC_STRUCT_TOP_BOTTOM and SEI_PIC_STRUCT_BOTTOM_TOP indicate interlaced frames.
However, soft telecined frames may have these values. This is used in an attempt to flag soft telecine progressive.
Definition at line 639 of file h264.h.
Referenced by decode_postinit(), ff_h264_flush_change(), and h264_slice_header_init().
int H264Context::valid_recovery_point |
Are the SEI recovery points looking valid.
Definition at line 644 of file h264.h.
Referenced by decode_nal_units().
int H264Context::recovery_frame |
recovery_frame is the frame_num at which the next frame should be fully constructed.
Set to -1 when not expecting a recovery point.
Definition at line 652 of file h264.h.
Referenced by decode_nal_units(), ff_h264_flush_change(), ff_h264_update_thread_context(), and h264_init_context().
int H264Context::frame_recovered |
Initial frame has been completely recovered.
Definition at line 665 of file h264.h.
Referenced by decode_nal_units(), decode_postinit(), ff_h264_execute_ref_pic_marking(), ff_h264_flush_change(), ff_h264_update_thread_context(), h264_frame_start(), and h264_init_context().
int H264Context::has_recovery_point |
Definition at line 667 of file h264.h.
Referenced by decode_nal_units(), and ff_h264_execute_ref_pic_marking().
int H264Context::missing_fields |
Definition at line 669 of file h264.h.
Referenced by decode_postinit(), and ff_h264_decode_slice_header().
int H264Context::setup_finished |
Definition at line 675 of file h264.h.
Referenced by decode_postinit(), ff_h264_decode_slice_header(), and h264_decode_frame().
int H264Context::cur_chroma_format_idc |
Definition at line 677 of file h264.h.
Referenced by ff_h264_decode_slice_header(), h264_init_context(), and h264_slice_header_init().
int H264Context::cur_bit_depth_luma |
Definition at line 678 of file h264.h.
Referenced by ff_h264_decode_slice_header(), and h264_slice_header_init().
int16_t H264Context::slice_row[MAX_SLICES] |
to detect when MAX_SLICES is too low
Definition at line 679 of file h264.h.
Referenced by ff_h264_decode_slice_header().
int H264Context::enable_er |
Definition at line 681 of file h264.h.
Referenced by decode_nal_units(), er_add_slice(), ff_h264_decode_init(), ff_h264_update_thread_context(), and h264_frame_start().
H264SEIContext H264Context::sei |
Definition at line 683 of file h264.h.
Referenced by decode_nal_units(), decode_postinit(), ff_h264_decode_slice_header(), ff_h264_flush_change(), ff_h264_update_thread_context(), h264_decode_end(), h264_frame_start(), h264_init_context(), h264_slice_header_init(), hl_decode_mb_predict_luma(), output_frame(), and pred_spatial_direct_motion().
AVBufferPool* H264Context::qscale_table_pool |
Definition at line 685 of file h264.h.
Referenced by alloc_picture(), ff_h264_free_tables(), and init_table_pools().
AVBufferPool* H264Context::mb_type_pool |
Definition at line 686 of file h264.h.
Referenced by alloc_picture(), ff_h264_free_tables(), and init_table_pools().
AVBufferPool* H264Context::motion_val_pool |
Definition at line 687 of file h264.h.
Referenced by alloc_picture(), ff_h264_free_tables(), and init_table_pools().
AVBufferPool* H264Context::ref_index_pool |
Definition at line 688 of file h264.h.
Referenced by alloc_picture(), ff_h264_free_tables(), and init_table_pools().
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 689 of file h264.h.
Referenced by ff_h264_decode_slice_header(), and fill_filter_caches_inter().