FFmpeg
|
#include <h264.h>
Data Fields | |
struct AVFrame | f |
uint8_t | avframe_padding [1024] |
ThreadFrame | tf |
AVBufferRef * | qscale_table_buf |
int8_t * | qscale_table |
AVBufferRef * | motion_val_buf [2] |
int16_t(*[2] | motion_val )[2] |
AVBufferRef * | mb_type_buf |
uint32_t * | mb_type |
AVBufferRef * | hwaccel_priv_buf |
void * | hwaccel_picture_private |
hardware accelerator private data | |
AVBufferRef * | ref_index_buf [2] |
int8_t * | ref_index [2] |
int | field_poc [2] |
top/bottom POC | |
int | poc |
frame POC | |
int | frame_num |
frame_num (raw frame_num from slice header) | |
int | mmco_reset |
MMCO_RESET set this 1. | |
int | pic_id |
pic_num (short -> no wrap version of pic_num, pic_num & max_pic_num; long -> long_pic_num) | |
int | long_ref |
1->long term reference 0->short term reference | |
int | ref_poc [2][2][32] |
POCs of the frames/fields used as reference (FIXME need per slice) | |
int | ref_count [2][2] |
number of entries in ref_poc (FIXME need per slice) | |
int | mbaff |
1 -> MBAFF frame 0-> not MBAFF | |
int | field_picture |
whether or not picture was encoded in separate fields | |
int | needs_realloc |
picture needs to be reallocated (eg due to a frame size change) | |
int | reference |
int | recovered |
picture at IDR or recovery point + recovery count | |
int | invalid_gap |
int | sei_recovery_frame_cnt |
int | crop |
int | crop_left |
int | crop_top |
struct AVFrame H264Picture::f |
Definition at line 293 of file h264.h.
Referenced by alloc_picture(), decode_nal_units(), decode_postinit(), dpb_add(), dxva2_h264_end_frame(), ff_h264_alloc_tables(), ff_h264_decode_ref_pic_list_reordering(), ff_h264_decode_slice_header(), ff_h264_draw_horiz_band(), ff_h264_execute_ref_pic_marking(), ff_h264_fill_default_ref_list(), ff_h264_fill_mbaff_ref_list(), ff_h264_ref_picture(), ff_h264_set_erpic(), ff_h264_unref_picture(), ff_h264_update_thread_context(), ff_vdpau_h264_set_reference_frames(), fill_picture_parameters(), fill_slice_long(), fill_vaapi_pic(), free_picture(), get_buffer(), h264_decode_frame(), h264_er_decode_mb(), h264_frame_start(), loop_filter(), mc_dir_part(), output_frame(), pic_as_field(), pic_is_unused(), prefetch_motion(), print_long_term(), print_short_term(), release_unused_pictures(), svq3_decode_end(), svq3_decode_frame(), svq3_mc_dir_part(), vaapi_h264_end_frame(), vda_h264_end_frame(), vda_old_h264_end_frame(), vdpau_h264_end_frame(), vdpau_h264_set_reference_frames(), and vdpau_h264_set_rf().
ThreadFrame H264Picture::tf |
Definition at line 295 of file h264.h.
Referenced by alloc_picture(), await_reference_mb_row(), await_references(), decode_finish_row(), decode_nal_units(), ff_h264_decode_slice_header(), ff_h264_field_end(), ff_h264_ref_picture(), ff_h264_set_erpic(), ff_h264_unref_picture(), ff_h264_update_thread_context(), and get_lowest_part_y().
AVBufferRef* H264Picture::qscale_table_buf |
Definition at line 297 of file h264.h.
Referenced by alloc_picture(), ff_h264_ref_picture(), and ff_h264_unref_picture().
int8_t* H264Picture::qscale_table |
Definition at line 298 of file h264.h.
Referenced by alloc_picture(), decode_mb_skip(), ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), ff_h264_filter_mb(), ff_h264_ref_picture(), fill_filter_caches(), filter_mb_dir(), h264_decode_frame(), h264_filter_mb_fast_internal(), and loop_filter().
AVBufferRef* H264Picture::motion_val_buf[2] |
Definition at line 300 of file h264.h.
Referenced by alloc_picture(), ff_h264_ref_picture(), ff_h264_unref_picture(), free_picture(), and get_buffer().
int16_t(*[2] H264Picture::motion_val)[2] |
Definition at line 301 of file h264.h.
Referenced by alloc_picture(), ff_h264_ref_picture(), ff_h264_set_erpic(), fill_decode_caches(), fill_filter_caches_inter(), get_buffer(), h264_decode_frame(), pred_pskip_motion(), pred_spatial_direct_motion(), pred_temp_direct_motion(), svq3_decode_mb(), svq3_mc_dir(), and write_back_motion_list().
AVBufferRef* H264Picture::mb_type_buf |
Definition at line 303 of file h264.h.
Referenced by alloc_picture(), ff_h264_ref_picture(), ff_h264_unref_picture(), free_picture(), and get_buffer().
uint32_t* H264Picture::mb_type |
Definition at line 304 of file h264.h.
Referenced by alloc_picture(), await_references(), decode_cabac_field_decoding_flag(), decode_cabac_mb_skip(), decode_mb_skip(), fetch_diagonal_mv(), ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), ff_h264_filter_mb(), ff_h264_hl_decode_mb(), ff_h264_ref_picture(), ff_h264_set_erpic(), fill_decode_caches(), fill_decode_neighbors(), fill_filter_caches(), filter_mb_dir(), get_buffer(), h264_decode_frame(), h264_filter_mb_fast_internal(), loop_filter(), pred_spatial_direct_motion(), pred_temp_direct_motion(), predict_field_decoding_flag(), svq3_decode_frame(), and svq3_decode_mb().
AVBufferRef* H264Picture::hwaccel_priv_buf |
Definition at line 306 of file h264.h.
Referenced by alloc_picture(), ff_h264_ref_picture(), and ff_h264_unref_picture().
void* H264Picture::hwaccel_picture_private |
hardware accelerator private data
Definition at line 307 of file h264.h.
Referenced by alloc_picture(), commit_bitstream_and_slice_buffer(), dxva2_h264_decode_slice(), dxva2_h264_end_frame(), dxva2_h264_start_frame(), ff_h264_ref_picture(), vdpau_h264_decode_slice(), vdpau_h264_end_frame(), vdpau_h264_set_reference_frames(), and vdpau_h264_start_frame().
AVBufferRef* H264Picture::ref_index_buf[2] |
Definition at line 309 of file h264.h.
Referenced by alloc_picture(), ff_h264_ref_picture(), ff_h264_unref_picture(), free_picture(), and get_buffer().
int8_t* H264Picture::ref_index[2] |
Definition at line 310 of file h264.h.
Referenced by alloc_picture(), ff_h264_ref_picture(), ff_h264_set_erpic(), fill_decode_caches(), fill_filter_caches_inter(), get_buffer(), h264_er_decode_mb(), pred_pskip_motion(), pred_spatial_direct_motion(), pred_temp_direct_motion(), write_back_motion(), and write_back_motion_list().
int H264Picture::field_poc[2] |
top/bottom POC
Definition at line 312 of file h264.h.
Referenced by decode_postinit(), ff_h264_decode_slice_header(), ff_h264_direct_dist_scale_factor(), ff_h264_direct_ref_list_init(), ff_h264_fill_default_ref_list(), ff_h264_fill_mbaff_ref_list(), ff_h264_ref_picture(), ff_vdpau_h264_set_reference_frames(), fill_picture_parameters(), fill_vaapi_pic(), h264_frame_start(), implicit_weight_table(), pic_as_field(), vdpau_h264_set_rf(), and vdpau_h264_start_frame().
int H264Picture::poc |
frame POC
Definition at line 313 of file h264.h.
Referenced by add_sorted(), decode_postinit(), 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_fill_default_ref_list(), ff_h264_fill_mbaff_ref_list(), ff_h264_ref_picture(), get_scale_factor(), h264_decode_frame(), implicit_weight_table(), pic_as_field(), print_long_term(), and print_short_term().
int H264Picture::frame_num |
frame_num (raw frame_num from slice header)
Definition at line 314 of file h264.h.
Referenced by build_def_list(), ff_generate_sliding_window_mmcos(), ff_h264_decode_ref_pic_list_reordering(), ff_h264_decode_slice_header(), ff_h264_direct_ref_list_init(), ff_h264_execute_ref_pic_marking(), ff_h264_ref_picture(), ff_vdpau_h264_set_reference_frames(), fill_colmap(), fill_picture_parameters(), fill_vaapi_pic(), find_short(), print_long_term(), print_short_term(), vdpau_h264_set_reference_frames(), and vdpau_h264_set_rf().
int H264Picture::mmco_reset |
MMCO_RESET set this 1.
Reordering code must not mix pictures before and after MMCO_RESET.
Definition at line 315 of file h264.h.
Referenced by decode_postinit(), ff_h264_execute_ref_pic_marking(), ff_h264_ref_picture(), h264_decode_frame(), and h264_frame_start().
int H264Picture::pic_id |
pic_num (short -> no wrap version of pic_num, pic_num & max_pic_num; long -> long_pic_num)
Definition at line 317 of file h264.h.
Referenced by build_def_list(), ff_h264_decode_ref_pic_list_reordering(), ff_h264_fill_default_ref_list(), ff_h264_ref_picture(), ff_vdpau_h264_set_reference_frames(), fill_picture_parameters(), fill_vaapi_pic(), split_field_copy(), vdpau_h264_set_reference_frames(), and vdpau_h264_set_rf().
int H264Picture::long_ref |
1->long term reference 0->short term reference
Definition at line 319 of file h264.h.
Referenced by ff_h264_decode_ref_pic_list_reordering(), ff_h264_execute_ref_pic_marking(), ff_h264_fill_default_ref_list(), ff_h264_ref_picture(), ff_h264_update_thread_context(), ff_vdpau_h264_set_reference_frames(), fill_picture_parameters(), fill_vaapi_pic(), get_scale_factor(), h264_frame_start(), implicit_weight_table(), pred_spatial_direct_motion(), remove_long(), vdpau_h264_set_reference_frames(), and vdpau_h264_set_rf().
int H264Picture::ref_poc[2][2][32] |
POCs of the frames/fields used as reference (FIXME need per slice)
Definition at line 320 of file h264.h.
Referenced by ff_h264_direct_ref_list_init(), ff_h264_ref_picture(), and fill_colmap().
int H264Picture::ref_count[2][2] |
number of entries in ref_poc (FIXME need per slice)
Definition at line 321 of file h264.h.
Referenced by ff_h264_direct_ref_list_init(), ff_h264_ref_picture(), and fill_colmap().
int H264Picture::mbaff |
1 -> MBAFF frame 0-> not MBAFF
Definition at line 322 of file h264.h.
Referenced by ff_h264_direct_ref_list_init(), ff_h264_ref_picture(), fill_colmap(), and pred_temp_direct_motion().
int H264Picture::field_picture |
whether or not picture was encoded in separate fields
Definition at line 323 of file h264.h.
Referenced by await_reference_mb_row(), await_references(), ff_h264_ref_picture(), ff_h264_set_erpic(), and h264_frame_start().
int H264Picture::needs_realloc |
picture needs to be reallocated (eg due to a frame size change)
Definition at line 325 of file h264.h.
Referenced by ff_h264_free_tables(), ff_h264_ref_picture(), find_unused_picture(), and pic_is_unused().
int H264Picture::reference |
Definition at line 326 of file h264.h.
Referenced by alloc_picture(), await_reference_mb_row(), await_references(), decode_postinit(), ff_generate_sliding_window_mmcos(), ff_h264_decode_ref_pic_list_reordering(), ff_h264_decode_slice_header(), ff_h264_direct_ref_list_init(), ff_h264_execute_ref_pic_marking(), ff_h264_fill_mbaff_ref_list(), ff_h264_flush_change(), ff_h264_ref_picture(), ff_vdpau_h264_set_reference_frames(), fill_colmap(), fill_picture_parameters(), fill_slice_long(), fill_vaapi_pic(), fill_vaapi_ReferenceFrames(), flush_dpb(), get_buffer(), get_lowest_part_y(), h264_decode_frame(), h264_er_decode_mb(), h264_frame_start(), mc_dir_part(), pic_as_field(), pic_is_unused(), pred_spatial_direct_motion(), pred_temp_direct_motion(), release_unused_pictures(), split_field_copy(), unreference_pic(), vdpau_h264_set_reference_frames(), and vdpau_h264_set_rf().
int H264Picture::recovered |
picture at IDR or recovery point + recovery count
Definition at line 327 of file h264.h.
Referenced by decode_nal_units(), decode_postinit(), ff_h264_execute_ref_pic_marking(), ff_h264_ref_picture(), h264_decode_frame(), and h264_frame_start().
int H264Picture::invalid_gap |
Definition at line 328 of file h264.h.
Referenced by ff_h264_decode_slice_header(), ff_h264_ref_picture(), and h264_frame_start().
int H264Picture::sei_recovery_frame_cnt |
Definition at line 329 of file h264.h.
Referenced by ff_h264_ref_picture(), h264_frame_start(), and output_frame().
int H264Picture::crop |
Definition at line 331 of file h264.h.
Referenced by alloc_picture(), ff_h264_ref_picture(), and output_frame().
int H264Picture::crop_left |
Definition at line 332 of file h264.h.
Referenced by alloc_picture(), ff_h264_ref_picture(), and output_frame().
int H264Picture::crop_top |
Definition at line 333 of file h264.h.
Referenced by alloc_picture(), ff_h264_ref_picture(), and output_frame().