FFmpeg
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
Picture Struct Reference

Picture. More...

#include <mpegvideo.h>

Data Fields

struct AVFrame f
 
int8_t * qscale_table_base
 
int16_t(*[2] motion_val_base )[2]
 
uint32_t * mb_type_base
 
int field_poc [2]
 h264 top/bottom POC
 
int poc
 h264 frame POC
 
int frame_num
 h264 frame_num (raw frame_num from slice header)
 
int mmco_reset
 h264 MMCO_RESET set this 1. Reordering code must not mix pictures before and after MMCO_RESET.
 
int pic_id
 h264 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]
 h264 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
 h264 1 -> MBAFF frame 0-> not MBAFF
 
int field_picture
 whether or not the picture was encoded in separate fields
 
int sync
 has been decoded after a keyframe
 
int mb_var_sum
 sum of MB variance for current frame
 
int mc_mb_var_sum
 motion compensated MB variance for current frame
 
uint16_t * mb_var
 Table for MB variances.
 
uint16_t * mc_mb_var
 Table for motion compensated MB variances.
 
uint8_tmb_mean
 Table for MB luminance.
 
int b_frame_score
 
voidowner2
 pointer to the context that allocated this picture
 
int needs_realloc
 Picture needs to be reallocated (eg due to a frame size change)
 
int period_since_free
 "cycles" since this Picture has been freed
 

Detailed Description

Picture.

Definition at line 96 of file mpegvideo.h.

Field Documentation

struct AVFrame Picture::f

Definition at line 97 of file mpegvideo.h.

Referenced by alloc_frame_buffer(), alloc_picture(), await_reference_mb_row(), await_references(), check_input_motion(), commit_bitstream_and_slice_buffer(), decide_ac_pred(), decode_cabac_field_decoding_flag(), decode_cabac_mb_skip(), decode_finish_row(), decode_frame(), decode_mb_skip(), decode_nal_units(), decode_postinit(), decode_slice_header(), decode_update_thread_context(), decode_vop_header(), decode_wmv9(), direct_search(), dxva2_h264_decode_slice(), dxva2_h264_end_frame(), dxva2_h264_start_frame(), dxva2_mpeg2_decode_slice(), dxva2_mpeg2_end_frame(), dxva2_mpeg2_start_frame(), dxva2_vc1_decode_slice(), dxva2_vc1_end_frame(), dxva2_vc1_start_frame(), encode_frame(), encode_mb_internal(), encode_picture(), encode_picture_lossless(), encode_thread(), estimate_best_b_count(), estimate_qp(), fetch_diagonal_mv(), ff_alloc_picture(), ff_clean_h263_qscales(), ff_clean_mpeg4_qscales(), ff_copy_picture(), ff_draw_horiz_band(), ff_dxva2_get_surface(), ff_er_frame_end(), ff_estimate_b_frame_motion(), ff_estimate_p_frame_motion(), ff_find_unused_picture(), ff_fix_long_p_mvs(), ff_generate_sliding_window_mmcos(), ff_h263_decode_frame(), ff_h263_decode_mb(), ff_h263_decode_picture_header(), ff_h263_encode_mb(), ff_h263_loop_filter(), ff_h263_pred_motion(), ff_h263_update_motion_val(), ff_h264_alloc_tables(), ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), ff_h264_decode_ref_pic_list_reordering(), ff_h264_direct_ref_list_init(), ff_h264_draw_horiz_band(), ff_h264_execute_ref_pic_marking(), ff_h264_fill_default_ref_list(), ff_h264_fill_mbaff_ref_list(), ff_h264_filter_mb(), ff_h264_frame_start(), ff_h264_hl_decode_mb(), ff_init_block_index(), ff_init_qscale_tab(), ff_intrax8_decode_picture(), ff_mpeg1_encode_picture_header(), ff_mpeg4_encode_mb(), ff_mpeg4_encode_picture_header(), ff_mpeg4_pred_ac(), ff_mpeg4_set_direct_mv(), ff_mpeg4_set_one_direct_mv(), ff_mpeg_flush(), ff_mpeg_update_thread_context(), ff_MPV_common_init(), ff_MPV_encode_picture(), ff_MPV_frame_end(), ff_MPV_frame_start(), ff_MPV_report_decode_progress(), ff_msmpeg4_pred_dc(), ff_pre_estimate_p_frame_motion(), ff_rate_estimate_qscale(), ff_release_unused_pictures(), ff_rv34_decode_frame(), ff_vaapi_get_surface_id(), ff_vc1_parse_frame_header_adv(), ff_vdpau_get_surface_id(), ff_vdpau_h264_picture_complete(), ff_vdpau_h264_picture_start(), ff_vdpau_h264_set_reference_frames(), ff_vdpau_mpeg4_decode_picture(), ff_vdpau_mpeg_picture_complete(), ff_vdpau_vc1_decode_picture(), ff_wmv2_decode_mb(), ff_write_pass1_stats(), ff_xvmc_decode_mb(), ff_xvmc_field_end(), ff_xvmc_field_start(), ff_xvmc_init_block(), field_end(), fill_colmap(), fill_decode_caches(), fill_decode_neighbors(), fill_filter_caches(), fill_filter_caches_inter(), fill_picture_parameters(), fill_slice_long(), fill_vaapi_pic(), fill_vaapi_ReferenceFrames(), filter_mb_dir(), find_unused_picture(), finish_frame(), flush_change(), flush_dpb(), free_frame_buffer(), free_picture(), get_buffer(), get_lowest_part_y(), guess_dc(), guess_mv(), h261_decode_frame(), h261_decode_mb(), h261_decode_mb_skipped(), h261_decode_picture_header(), h263_mv4_search(), h264_er_decode_mb(), h264_filter_mb_fast_internal(), h_block_filter(), init_block_index(), is_intra_more_likely(), load_input_picture(), loop_filter(), mb_var_thread(), mc_dir_part(), merge_context_after_encode(), mpeg1_decode_picture(), mpeg1_encode_sequence_header(), mpeg4_decode_mb(), mpeg4_decode_partition_a(), mpeg4_decode_partition_b(), mpeg4_decode_partitioned_mb(), mpeg4_encode_gop_header(), mpeg_decode_frame(), mpeg_decode_mb(), mpeg_decode_picture_coding_extension(), mpeg_decode_slice(), mpeg_er_decode_mb(), mpeg_field_start(), mpeg_motion_internal(), mpeg_motion_lowres(), MPV_decode_mb_internal(), MPV_motion_internal(), MPV_motion_lowres(), msmpeg4v12_decode_mb(), msmpeg4v34_decode_mb(), parse_mb_skip(), pic_as_field(), pic_is_unused(), pred_pskip_motion(), pred_spatial_direct_motion(), pred_temp_direct_motion(), predict_field_decoding_flag(), prefetch_motion(), preview_obmc(), print_long_term(), print_short_term(), put_dc(), release_unused_pictures(), rv10_decode_frame(), rv10_decode_packet(), rv30_loop_filter(), rv34_decode_inter_macroblock(), rv34_decode_inter_mb_header(), rv34_decode_intra_macroblock(), rv34_decode_intra_mb_header(), rv34_decode_mv(), rv34_decode_slice(), rv34_mc(), rv34_pred_mv(), rv34_pred_mv_b(), rv34_pred_mv_rv3(), rv34_set_deblock_coef(), rv40_loop_filter(), select_input_picture(), set_frame_distances(), set_p_mv_tables(), skip_check(), slice_end(), split_field_copy(), sse_mb(), svq1_encode_plane(), svq3_decode_frame(), svq3_decode_mb(), svq3_mc_dir(), svq3_mc_dir_part(), unreference_pic(), v_block_filter(), vaapi_mpeg4_start_frame(), vc1_apply_p_h_loop_filter(), vc1_apply_p_v_loop_filter(), vc1_decode_b_mb(), vc1_decode_b_mb_intfi(), vc1_decode_frame(), vc1_decode_i_block_adv(), vc1_decode_i_blocks(), vc1_decode_i_blocks_adv(), vc1_decode_intra_block(), vc1_decode_p_mb(), vc1_decode_p_mb_intfi(), vc1_decode_p_mb_intfr(), vc1_decode_skip_blocks(), vc1_interp_mc(), vc1_mc_1mv(), vc1_mc_4mv_chroma(), vc1_mc_4mv_chroma4(), vc1_mc_4mv_luma(), vc1_pred_b_mv(), vc1_pred_b_mv_intfi(), vc1_pred_dc(), vc1_pred_mv(), vc1_pred_mv_intfr(), vda_h264_end_frame(), vdpau_h264_set_reference_frames(), vdpau_h264_set_rf(), wmv2_pred_motion(), write_back_motion(), write_back_motion_list(), x8_decode_intra_mb(), x8_init_block_index(), and x8_setup_spatial_predictor().

int8_t* Picture::qscale_table_base

Definition at line 99 of file mpegvideo.h.

Referenced by alloc_picture(), ff_alloc_picture(), and free_picture().

int16_t(*[2] Picture::motion_val_base)[2]
uint32_t* Picture::mb_type_base

Definition at line 101 of file mpegvideo.h.

Referenced by alloc_picture(), ff_alloc_picture(), free_picture(), and get_buffer().

int Picture::field_poc[2]
int Picture::poc
int Picture::frame_num
int Picture::mmco_reset

h264 MMCO_RESET set this 1. Reordering code must not mix pictures before and after MMCO_RESET.

Definition at line 130 of file mpegvideo.h.

Referenced by decode_frame(), decode_postinit(), ff_h264_execute_ref_pic_marking(), and ff_h264_frame_start().

int Picture::pic_id
int Picture::long_ref
int Picture::ref_poc[2][2][32]

h264 POCs of the frames/fields used as reference (FIXME need per slice)

Definition at line 134 of file mpegvideo.h.

Referenced by ff_h264_direct_ref_list_init(), and fill_colmap().

int Picture::ref_count[2][2]

number of entries in ref_poc (FIXME need per slice)

Definition at line 135 of file mpegvideo.h.

Referenced by ff_h264_direct_ref_list_init(), and fill_colmap().

int Picture::mbaff

h264 1 -> MBAFF frame 0-> not MBAFF

Definition at line 136 of file mpegvideo.h.

Referenced by ff_h264_direct_ref_list_init(), fill_colmap(), and pred_temp_direct_motion().

int Picture::field_picture

whether or not the picture was encoded in separate fields

Definition at line 137 of file mpegvideo.h.

Referenced by await_reference_mb_row(), await_references(), ff_er_frame_end(), ff_h264_frame_start(), and ff_MPV_frame_start().

int Picture::sync

has been decoded after a keyframe

Definition at line 138 of file mpegvideo.h.

Referenced by decode_frame(), decode_nal_units(), decode_postinit(), ff_h264_execute_ref_pic_marking(), and ff_h264_frame_start().

int Picture::mb_var_sum

sum of MB variance for current frame

Definition at line 140 of file mpegvideo.h.

Referenced by encode_picture(), ff_rate_estimate_qscale(), ff_write_pass1_stats(), and ratecontrol_1pass().

int Picture::mc_mb_var_sum

motion compensated MB variance for current frame

Definition at line 141 of file mpegvideo.h.

Referenced by encode_picture(), ff_rate_estimate_qscale(), ff_write_pass1_stats(), and ratecontrol_1pass().

uint16_t* Picture::mb_var
uint16_t* Picture::mc_mb_var
uint8_t* Picture::mb_mean
int Picture::b_frame_score

Definition at line 145 of file mpegvideo.h.

Referenced by select_input_picture().

void* Picture::owner2
int Picture::needs_realloc

Picture needs to be reallocated (eg due to a frame size change)

Definition at line 147 of file mpegvideo.h.

Referenced by ff_find_unused_picture(), ff_MPV_common_frame_size_change(), ff_MPV_frame_start(), find_unused_picture(), free_tables(), and pic_is_unused().

int Picture::period_since_free

"cycles" since this Picture has been freed

Definition at line 148 of file mpegvideo.h.

Referenced by decode_update_thread_context(), ff_mpeg_update_thread_context(), free_frame_buffer(), and pic_is_unused().


The documentation for this struct was generated from the following file: