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

Picture. More...

#include <mpegvideo.h>

Data Fields

struct AVFrame f
 
ThreadFrame tf
 
AVBufferRefqscale_table_buf
 
int8_t * qscale_table
 
AVBufferRefmotion_val_buf [2]
 
int16_t(*[2] motion_val )[2]
 
AVBufferRefmb_type_buf
 
uint32_t * mb_type
 
AVBufferRefmbskip_table_buf
 
uint8_tmbskip_table
 
AVBufferRefref_index_buf [2]
 
int8_t * ref_index [2]
 
AVBufferRefmb_var_buf
 
uint16_t * mb_var
 Table for MB variances.
 
AVBufferRefmc_mb_var_buf
 
uint16_t * mc_mb_var
 Table for motion compensated MB variances.
 
int alloc_mb_width
 mb_width used to allocate tables
 
int alloc_mb_height
 mb_height used to allocate tables
 
AVBufferRefmb_mean_buf
 
uint8_tmb_mean
 Table for MB luminance.
 
AVBufferRefhwaccel_priv_buf
 
voidhwaccel_picture_private
 hardware accelerator private data
 
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
 
int b_frame_score
 
int needs_realloc
 Picture needs to be reallocated (eg due to a frame size change)
 
int reference
 
int shared
 
int crop
 
int crop_left
 
int crop_top
 

Detailed Description

Picture.

Definition at line 97 of file mpegvideo.h.

Field Documentation

struct AVFrame Picture::f

Definition at line 98 of file mpegvideo.h.

Referenced by alloc_frame_buffer(), alloc_picture(), decode_frame(), decode_nal_units(), decode_postinit(), decode_slice_header(), decode_update_thread_context(), decode_vop_header(), decode_wmv9(), encode_frame(), encode_mb_internal(), encode_picture(), encode_picture_lossless(), encode_thread(), estimate_best_b_count(), estimate_qp(), ff_alloc_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_h263_decode_frame(), ff_h263_decode_picture_header(), ff_h264_alloc_tables(), ff_h264_decode_ref_pic_list_reordering(), ff_h264_draw_horiz_band(), ff_h264_execute_ref_pic_marking(), ff_h264_fill_default_ref_list(), ff_h264_fill_mbaff_ref_list(), ff_init_block_index(), ff_mpeg1_encode_picture_header(), ff_mpeg4_encode_mb(), ff_mpeg4_encode_picture_header(), ff_mpeg_ref_picture(), ff_mpeg_unref_picture(), ff_MPV_common_init(), ff_MPV_encode_picture(), ff_MPV_frame_end(), ff_MPV_frame_start(), ff_msmpeg4_pred_dc(), ff_pre_estimate_p_frame_motion(), ff_rate_estimate_qscale(), ff_rv34_decode_frame(), ff_vaapi_get_surface_id(), ff_vc1_parse_frame_header_adv(), ff_vdpau_get_surface_id(), ff_vdpau_h264_set_reference_frames(), ff_write_pass1_stats(), ff_xvmc_decode_mb(), ff_xvmc_field_end(), ff_xvmc_field_start(), ff_xvmc_init_block(), find_unused_picture(), finish_frame(), free_picture(), get_buffer(), guess_mv(), h261_decode_frame(), h261_decode_picture_header(), h263_mv4_search(), h264_er_decode_mb(), h264_frame_start(), 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_encode_gop_header(), mpeg_decode_frame(), mpeg_decode_picture_coding_extension(), mpeg_er_decode_mb(), mpeg_field_start(), mpeg_motion_internal(), mpeg_motion_lowres(), MPV_decode_mb_internal(), MPV_motion_internal(), MPV_motion_lowres(), output_frame(), pic_as_field(), pic_is_unused(), prefetch_motion(), print_long_term(), print_short_term(), put_dc(), ref_picture(), release_unused_pictures(), rv10_decode_frame(), rv10_decode_packet(), rv30_loop_filter(), rv34_mc(), rv40_loop_filter(), select_input_picture(), set_frame_distances(), skip_check(), slice_end(), sse_mb(), svq1_encode_plane(), svq3_decode_end(), svq3_decode_frame(), svq3_mc_dir_part(), unref_picture(), vaapi_mpeg4_start_frame(), vc1_decode_frame(), vc1_decode_skip_blocks(), vc1_interp_mc(), vc1_mc_1mv(), vc1_mc_4mv_chroma(), vc1_mc_4mv_chroma4(), vc1_mc_4mv_luma(), vda_h264_end_frame(), x8_decode_intra_mb(), x8_init_block_index(), and x8_setup_spatial_predictor().

ThreadFrame Picture::tf
AVBufferRef* Picture::qscale_table_buf
int8_t* Picture::qscale_table
AVBufferRef* Picture::motion_val_buf[2]
int16_t(*[2] Picture::motion_val)[2]
AVBufferRef* Picture::mb_type_buf
uint32_t* Picture::mb_type

Definition at line 108 of file mpegvideo.h.

Referenced by alloc_picture(), await_references(), decode_cabac_field_decoding_flag(), decode_cabac_mb_skip(), decode_mb_skip(), direct_search(), fetch_diagonal_mv(), ff_alloc_picture(), ff_er_frame_end(), ff_estimate_p_frame_motion(), ff_fix_long_p_mvs(), ff_h263_decode_mb(), ff_h263_loop_filter(), ff_h263_update_motion_val(), ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), ff_h264_filter_mb(), ff_h264_hl_decode_mb(), ff_mpeg4_set_direct_mv(), ff_print_debug_info2(), ff_wmv2_decode_mb(), fill_decode_caches(), fill_decode_neighbors(), fill_filter_caches(), filter_mb_dir(), get_buffer(), guess_dc(), guess_mv(), h261_decode_mb(), h261_decode_mb_skipped(), h264_filter_mb_fast_internal(), h_block_filter(), is_intra_more_likely(), loop_filter(), mpeg4_decode_mb(), mpeg4_decode_partition_a(), mpeg4_decode_partition_b(), mpeg4_decode_partitioned_mb(), mpeg_decode_mb(), MPV_motion_internal(), msmpeg4v12_decode_mb(), msmpeg4v34_decode_mb(), parse_mb_skip(), pred_spatial_direct_motion(), pred_temp_direct_motion(), predict_field_decoding_flag(), preview_obmc(), ref_picture(), 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_pred_mv_b(), rv40_loop_filter(), svq1_encode_plane(), svq3_decode_frame(), svq3_decode_mb(), update_picture_tables(), v_block_filter(), vc1_decode_b_mb_intfi(), vc1_decode_b_mb_intfr(), vc1_decode_i_blocks(), vc1_decode_i_blocks_adv(), vc1_decode_p_mb(), vc1_decode_p_mb_intfi(), vc1_decode_p_mb_intfr(), and vc1_pred_b_mv_intfi().

AVBufferRef* Picture::mbskip_table_buf

Definition at line 110 of file mpegvideo.h.

Referenced by alloc_picture_tables(), ff_alloc_picture(), and free_picture_tables().

uint8_t* Picture::mbskip_table
AVBufferRef* Picture::ref_index_buf[2]
int8_t* Picture::ref_index[2]
AVBufferRef* Picture::mb_var_buf

Definition at line 116 of file mpegvideo.h.

Referenced by alloc_picture_tables(), ff_alloc_picture(), and free_picture_tables().

uint16_t* Picture::mb_var
AVBufferRef* Picture::mc_mb_var_buf

Definition at line 119 of file mpegvideo.h.

Referenced by alloc_picture_tables(), ff_alloc_picture(), and free_picture_tables().

uint16_t* Picture::mc_mb_var
int Picture::alloc_mb_width

mb_width used to allocate tables

Definition at line 122 of file mpegvideo.h.

Referenced by alloc_picture_tables(), ff_alloc_picture(), free_picture_tables(), and update_picture_tables().

int Picture::alloc_mb_height

mb_height used to allocate tables

Definition at line 123 of file mpegvideo.h.

Referenced by alloc_picture_tables(), ff_alloc_picture(), free_picture_tables(), and update_picture_tables().

AVBufferRef* Picture::mb_mean_buf

Definition at line 125 of file mpegvideo.h.

Referenced by alloc_picture_tables(), ff_alloc_picture(), and free_picture_tables().

uint8_t* Picture::mb_mean
AVBufferRef* Picture::hwaccel_priv_buf
void* Picture::hwaccel_picture_private
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 162 of file mpegvideo.h.

Referenced by decode_frame(), decode_postinit(), ff_h264_execute_ref_pic_marking(), h264_frame_start(), and ref_picture().

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 166 of file mpegvideo.h.

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

int Picture::ref_count[2][2]

number of entries in ref_poc (FIXME need per slice)

Definition at line 167 of file mpegvideo.h.

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

int Picture::mbaff

h264 1 -> MBAFF frame 0-> not MBAFF

Definition at line 168 of file mpegvideo.h.

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

int Picture::field_picture

whether or not the picture was encoded in separate fields

Definition at line 169 of file mpegvideo.h.

Referenced by await_reference_mb_row(), await_references(), ff_er_frame_end(), ff_mpeg_ref_picture(), ff_MPV_frame_start(), h264_frame_start(), and ref_picture().

int Picture::sync

has been decoded after a keyframe

Definition at line 170 of file mpegvideo.h.

Referenced by decode_frame(), decode_nal_units(), decode_postinit(), ff_h264_execute_ref_pic_marking(), h264_frame_start(), and ref_picture().

int Picture::mb_var_sum

sum of MB variance for current frame

Definition at line 172 of file mpegvideo.h.

Referenced by encode_picture(), ff_mpeg_ref_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 173 of file mpegvideo.h.

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

int Picture::b_frame_score

Definition at line 175 of file mpegvideo.h.

Referenced by ff_mpeg_ref_picture(), and select_input_picture().

int Picture::needs_realloc
int Picture::reference
int Picture::shared
int Picture::crop

Definition at line 181 of file mpegvideo.h.

Referenced by alloc_picture(), output_frame(), and ref_picture().

int Picture::crop_left

Definition at line 182 of file mpegvideo.h.

Referenced by alloc_picture(), output_frame(), and ref_picture().

int Picture::crop_top

Definition at line 183 of file mpegvideo.h.

Referenced by alloc_picture(), output_frame(), and ref_picture().


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