FFmpeg
Data Fields
Picture Struct Reference

Picture. More...

#include <mpegpicture.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 More...
 
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. More...
 
AVBufferRefmc_mb_var_buf
 
uint16_t * mc_mb_var
 Table for motion compensated MB variances. More...
 
int alloc_mb_width
 mb_width used to allocate tables More...
 
int alloc_mb_height
 mb_height used to allocate tables More...
 
int alloc_mb_stride
 mb_stride used to allocate tables More...
 
AVBufferRefmb_mean_buf
 
uint8_tmb_mean
 Table for MB luminance. More...
 
AVBufferRefhwaccel_priv_buf
 
void * hwaccel_picture_private
 Hardware accelerator private data. More...
 
int field_picture
 whether or not the picture was encoded in separate fields More...
 
int64_t mb_var_sum
 sum of MB variance for current frame More...
 
int64_t mc_mb_var_sum
 motion compensated MB variance for current frame More...
 
int b_frame_score
 
int needs_realloc
 Picture needs to be reallocated (eg due to a frame size change) More...
 
int reference
 
int shared
 
uint64_t encoding_error [AV_NUM_DATA_POINTERS]
 

Detailed Description

Picture.

Definition at line 45 of file mpegpicture.h.

Field Documentation

◆ f

struct AVFrame* Picture::f

◆ tf

ThreadFrame Picture::tf

Definition at line 47 of file mpegpicture.h.

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

◆ qscale_table_buf

AVBufferRef* Picture::qscale_table_buf

◆ qscale_table

int8_t* Picture::qscale_table

◆ motion_val_buf

AVBufferRef* Picture::motion_val_buf[2]

◆ motion_val

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

◆ mb_type_buf

AVBufferRef* Picture::mb_type_buf

◆ mb_type

uint32_t* Picture::mb_type

types and macros are defined in mpegutils.h

Definition at line 56 of file mpegpicture.h.

Referenced by apply_obmc(), ff_alloc_picture(), ff_print_debug_info(), ff_update_picture_tables(), rv34_pred_mv_b(), and set_direct_mv().

◆ mbskip_table_buf

AVBufferRef* Picture::mbskip_table_buf

◆ mbskip_table

uint8_t* Picture::mbskip_table

Definition at line 59 of file mpegpicture.h.

Referenced by ff_alloc_picture(), and ff_update_picture_tables().

◆ ref_index_buf

AVBufferRef* Picture::ref_index_buf[2]

◆ ref_index

int8_t* Picture::ref_index[2]

Definition at line 62 of file mpegpicture.h.

Referenced by ff_alloc_picture(), and ff_update_picture_tables().

◆ mb_var_buf

AVBufferRef* Picture::mb_var_buf

◆ mb_var

uint16_t* Picture::mb_var

◆ mc_mb_var_buf

AVBufferRef* Picture::mc_mb_var_buf

◆ mc_mb_var

uint16_t* Picture::mc_mb_var

Table for motion compensated MB variances.

Definition at line 68 of file mpegpicture.h.

Referenced by adaptive_quantization(), ff_alloc_picture(), ff_estimate_p_frame_motion(), and ff_update_picture_tables().

◆ alloc_mb_width

int Picture::alloc_mb_width

mb_width used to allocate tables

Definition at line 70 of file mpegpicture.h.

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

◆ alloc_mb_height

int Picture::alloc_mb_height

mb_height used to allocate tables

Definition at line 71 of file mpegpicture.h.

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

◆ alloc_mb_stride

int Picture::alloc_mb_stride

mb_stride used to allocate tables

Definition at line 72 of file mpegpicture.h.

Referenced by alloc_picture_tables(), ff_mpv_export_qp_table(), and ff_update_picture_tables().

◆ mb_mean_buf

AVBufferRef* Picture::mb_mean_buf

◆ mb_mean

uint8_t* Picture::mb_mean

◆ hwaccel_priv_buf

AVBufferRef* Picture::hwaccel_priv_buf

Definition at line 77 of file mpegpicture.h.

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

◆ hwaccel_picture_private

void* Picture::hwaccel_picture_private

◆ field_picture

int Picture::field_picture

whether or not the picture was encoded in separate fields

Definition at line 80 of file mpegpicture.h.

Referenced by ff_mpeg_ref_picture(), and vc1_decode_frame().

◆ mb_var_sum

int64_t Picture::mb_var_sum

sum of MB variance for current frame

Definition at line 82 of file mpegpicture.h.

Referenced by ff_mpeg_ref_picture(), and ff_rate_estimate_qscale().

◆ mc_mb_var_sum

int64_t Picture::mc_mb_var_sum

motion compensated MB variance for current frame

Definition at line 83 of file mpegpicture.h.

Referenced by ff_mpeg_ref_picture(), and ff_rate_estimate_qscale().

◆ b_frame_score

int Picture::b_frame_score

Definition at line 85 of file mpegpicture.h.

Referenced by ff_mpeg_ref_picture().

◆ needs_realloc

int Picture::needs_realloc

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

Definition at line 86 of file mpegpicture.h.

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

◆ reference

int Picture::reference

◆ shared

int Picture::shared

◆ encoding_error

uint64_t Picture::encoding_error[AV_NUM_DATA_POINTERS]

Definition at line 91 of file mpegpicture.h.

Referenced by ff_mpeg_ref_picture(), and merge_context_after_encode().


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