Picture Struct Reference

Picture. More...

#include <mpegvideo.h>


Data Fields

struct AVFrame f
uint8_tinterpolated [3]
 halfpel luma planes.
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.
int32_t * mb_cmp_score
 Table for MB cmp scores, for mb decision FIXME remove.
int b_frame_score
struct MpegEncContextowner2
 pointer to the MpegEncContext that allocated this picture
int needs_realloc
 Picture needs to be reallocated (eg due to a frame size change).


Detailed Description

Picture.

Definition at line 88 of file mpegvideo.h.


Field Documentation

Definition at line 142 of file mpegvideo.h.

Referenced by select_input_picture().

struct AVFrame Picture::f [read]

Definition at line 89 of file mpegvideo.h.

Referenced by alloc_frame_buffer(), await_reference_mb_row(), await_references(), cavs_decode_frame(), 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(), decode_mb_skip(), decode_nal_units(), decode_pic(), decode_postinit(), decode_slice(), decode_slice_header(), decode_vop_header(), decode_wmv9(), direct_search(), encode_frame(), encode_mb_internal(), encode_picture(), encode_picture_lossless(), encode_thread(), end_frame(), estimate_best_b_count(), estimate_qp(), fetch_diagonal_mv(), ff_alloc_picture(), ff_cavs_init_pic(), ff_cavs_next_mb(), 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_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), ff_h264_decode_ref_pic_list_reordering(), ff_h264_direct_ref_list_init(), 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_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_add_data_chunk(), 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_dpb(), free_frame_buffer(), free_picture(), 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_filter_mb_fast_internal(), h_block_filter(), hl_decode_mb(), hl_decode_mb_444(), hl_motion(), 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_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(), 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(), start_frame(), svq1_decode_frame(), 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(), wmv2_pred_motion(), write_back_motion(), write_back_motion_list(), x8_decode_intra_mb(), x8_init_block_index(), and x8_setup_spatial_predictor().

whether or not the picture was encoded in separate fields

Definition at line 133 of file mpegvideo.h.

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

halfpel luma planes.

Definition at line 94 of file mpegvideo.h.

Table for MB cmp scores, for mb decision FIXME remove.

Definition at line 141 of file mpegvideo.h.

Definition at line 97 of file mpegvideo.h.

Referenced by ff_alloc_picture(), and free_picture().

uint16_t* Picture::mb_var

sum of MB variance for current frame

Definition at line 136 of file mpegvideo.h.

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

h264 1 -> MBAFF frame 0-> not MBAFF

Definition at line 132 of file mpegvideo.h.

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

uint16_t* Picture::mc_mb_var

motion compensated MB variance for current frame

Definition at line 137 of file mpegvideo.h.

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

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

Definition at line 126 of file mpegvideo.h.

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

Definition at line 96 of file mpegvideo.h.

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

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

Definition at line 144 of file mpegvideo.h.

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

h264 pic_num (short -> no wrap version of pic_num, pic_num & max_pic_num; long -> long_pic_num)

Definition at line 127 of file mpegvideo.h.

Referenced by build_def_list(), ff_h264_decode_ref_pic_list_reordering(), ff_h264_fill_default_ref_list(), ff_vdpau_h264_set_reference_frames(), fill_picture_parameters(), fill_vaapi_pic(), and split_field_copy().

Definition at line 95 of file mpegvideo.h.

Referenced by ff_alloc_picture(), and free_picture().

number of entries in ref_poc (FIXME need per slice)

Definition at line 131 of file mpegvideo.h.

Referenced by ff_h264_direct_ref_list_init(), and fill_colmap().

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

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

Definition at line 130 of file mpegvideo.h.

Referenced by ff_h264_direct_ref_list_init(), and fill_colmap().

has been decoded after a keyframe

Definition at line 134 of file mpegvideo.h.

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


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

Generated on Fri Oct 26 02:50:16 2012 for FFmpeg by  doxygen 1.5.8