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 AVFramef
 
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
 types and macros are defined in mpegutils.h
 
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_picture
 whether or not the picture was encoded in separate fields
 
int64_t mb_var_sum
 sum of MB variance for current frame
 
int64_t 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
 
uint64_t error [AV_NUM_DATA_POINTERS]
 

Detailed Description

Picture.

Definition at line 107 of file mpegvideo.h.

Field Documentation

struct AVFrame* Picture::f

Definition at line 108 of file mpegvideo.h.

Referenced by alloc_frame_buffer(), decode_wmv9(), dxva2_mpeg2_end_frame(), dxva2_vc1_end_frame(), encode_frame(), encode_mb_internal(), encode_picture(), encode_thread(), estimate_best_b_count(), estimate_qp(), ff_alloc_picture(), ff_estimate_b_frame_motion(), ff_estimate_p_frame_motion(), ff_h263_decode_frame(), ff_init_block_index(), ff_mpeg1_encode_picture_header(), ff_mpeg4_encode_mb(), ff_mpeg4_encode_picture_header(), ff_mpeg_draw_horiz_band(), ff_mpeg_ref_picture(), ff_mpeg_unref_picture(), ff_MPV_common_end(), ff_MPV_common_init(), ff_MPV_encode_init(), ff_MPV_encode_picture(), ff_MPV_frame_start(), ff_msmpeg4_pred_dc(), ff_pre_estimate_p_frame_motion(), ff_rate_estimate_qscale(), ff_rv34_decode_frame(), ff_vaapi_mpeg_end_frame(), ff_vc1_parse_frame_header_adv(), ff_write_pass1_stats(), ff_xvmc_decode_mb(), ff_xvmc_field_end(), ff_xvmc_field_start(), ff_xvmc_init_block(), fill_picture_parameters(), find_unused_picture(), finish_frame(), frame_end(), frame_start(), h261_decode_frame(), h263_mv4_search(), init_block_index(), load_input_picture(), mb_var_thread(), 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(), pic_is_unused(), rv10_decode_frame(), rv10_decode_packet(), rv30_loop_filter(), rv34_mc(), rv40_loop_filter(), select_input_picture(), set_erpic(), set_frame_distances(), skip_check(), slice_end(), sse_mb(), svq1_encode_plane(), vaapi_mpeg2_start_frame(), vaapi_mpeg4_start_frame(), vaapi_vc1_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(), vdpau_mpeg4_start_frame(), vdpau_mpeg_start_frame(), vdpau_vc1_start_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]

Definition at line 114 of file mpegvideo.h.

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

int16_t(*[2] Picture::motion_val)[2]
AVBufferRef* Picture::mb_type_buf

Definition at line 117 of file mpegvideo.h.

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

uint32_t* Picture::mb_type
AVBufferRef* Picture::mbskip_table_buf

Definition at line 120 of file mpegvideo.h.

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

uint8_t* Picture::mbskip_table
AVBufferRef* Picture::ref_index_buf[2]

Definition at line 123 of file mpegvideo.h.

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

int8_t* Picture::ref_index[2]
AVBufferRef* Picture::mb_var_buf

Definition at line 126 of file mpegvideo.h.

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

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

Definition at line 129 of file mpegvideo.h.

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

uint16_t* Picture::mc_mb_var
int Picture::alloc_mb_width

mb_width used to allocate tables

Definition at line 132 of file mpegvideo.h.

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

int Picture::alloc_mb_height

mb_height used to allocate tables

Definition at line 133 of file mpegvideo.h.

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

AVBufferRef* Picture::mb_mean_buf

Definition at line 135 of file mpegvideo.h.

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

uint8_t* Picture::mb_mean
AVBufferRef* Picture::hwaccel_priv_buf

Definition at line 138 of file mpegvideo.h.

Referenced by alloc_frame_buffer(), ff_mpeg_ref_picture(), and ff_mpeg_unref_picture().

void* Picture::hwaccel_picture_private
int Picture::field_picture

whether or not the picture was encoded in separate fields

Definition at line 144 of file mpegvideo.h.

Referenced by ff_mpeg_ref_picture(), ff_MPV_frame_start(), set_erpic(), vc1_decode_b_mb_intfi(), vc1_decode_b_mb_intfr(), vc1_decode_frame(), and vc1_pred_b_mv().

int64_t Picture::mb_var_sum

sum of MB variance for current frame

Definition at line 146 of file mpegvideo.h.

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

int64_t Picture::mc_mb_var_sum

motion compensated MB variance for current frame

Definition at line 147 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 149 of file mpegvideo.h.

Referenced by ff_mpeg_ref_picture(), and select_input_picture().

int Picture::needs_realloc

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

Definition at line 150 of file mpegvideo.h.

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

int Picture::reference
int Picture::shared
uint64_t Picture::error[AV_NUM_DATA_POINTERS]

Definition at line 155 of file mpegvideo.h.

Referenced by encode_thread(), ff_MPV_encode_picture(), and merge_context_after_encode().


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