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

#include <h264.h>

Data Fields

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
 
AVBufferRefhwaccel_priv_buf
 
voidhwaccel_picture_private
 hardware accelerator private data More...
 
AVBufferRefref_index_buf [2]
 
int8_t * ref_index [2]
 
int field_poc [2]
 top/bottom POC More...
 
int poc
 frame POC More...
 
int frame_num
 frame_num (raw frame_num from slice header) More...
 
int mmco_reset
 MMCO_RESET set this 1. More...
 
int pic_id
 pic_num (short -> no wrap version of pic_num, pic_num & max_pic_num; long -> long_pic_num) More...
 
int long_ref
 1->long term reference 0->short term reference More...
 
int ref_poc [2][2][32]
 POCs of the frames/fields used as reference (FIXME need per slice) More...
 
int ref_count [2][2]
 number of entries in ref_poc (FIXME need per slice) More...
 
int mbaff
 1 -> MBAFF frame 0-> not MBAFF More...
 
int field_picture
 whether or not picture was encoded in separate fields More...
 
int reference
 
int recovered
 picture at IDR or recovery point + recovery count More...
 
int invalid_gap
 
int sei_recovery_frame_cnt
 
int crop
 
int crop_left
 
int crop_top
 

Detailed Description

Definition at line 314 of file h264.h.

Field Documentation

AVFrame* H264Picture::f
ThreadFrame H264Picture::tf
AVBufferRef* H264Picture::qscale_table_buf

Definition at line 318 of file h264.h.

Referenced by alloc_picture(), ff_h264_ref_picture(), and ff_h264_unref_picture().

int8_t* H264Picture::qscale_table
AVBufferRef* H264Picture::motion_val_buf[2]
int16_t(*[2] H264Picture::motion_val)[2]
AVBufferRef* H264Picture::mb_type_buf
uint32_t* H264Picture::mb_type
AVBufferRef* H264Picture::hwaccel_priv_buf

Definition at line 327 of file h264.h.

Referenced by alloc_picture(), ff_h264_ref_picture(), and ff_h264_unref_picture().

void* H264Picture::hwaccel_picture_private
AVBufferRef* H264Picture::ref_index_buf[2]
int8_t* H264Picture::ref_index[2]
int H264Picture::field_poc[2]
int H264Picture::poc
int H264Picture::frame_num
int H264Picture::mmco_reset

MMCO_RESET set this 1.

Reordering code must not mix pictures before and after MMCO_RESET.

Definition at line 336 of file h264.h.

Referenced by decode_postinit(), ff_h264_execute_ref_pic_marking(), ff_h264_ref_picture(), h264_decode_frame(), and h264_frame_start().

int H264Picture::pic_id

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

Definition at line 338 of file h264.h.

Referenced by build_def_list(), ff_h264_decode_ref_pic_list_reordering(), ff_h264_ref_picture(), fill_picture_parameters(), fill_vaapi_pic(), ref_from_h264pic(), vdpau_h264_set_reference_frames(), and vdpau_h264_set_rf().

int H264Picture::long_ref
int H264Picture::ref_poc[2][2][32]

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

Definition at line 341 of file h264.h.

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

int H264Picture::ref_count[2][2]

number of entries in ref_poc (FIXME need per slice)

Definition at line 342 of file h264.h.

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

int H264Picture::mbaff

1 -> MBAFF frame 0-> not MBAFF

Definition at line 343 of file h264.h.

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

int H264Picture::field_picture

whether or not picture was encoded in separate fields

Definition at line 344 of file h264.h.

Referenced by await_reference_mb_row(), await_references(), ff_h264_ref_picture(), ff_h264_set_erpic(), and h264_frame_start().

int H264Picture::reference
int H264Picture::recovered

picture at IDR or recovery point + recovery count

Definition at line 347 of file h264.h.

Referenced by decode_nal_units(), decode_postinit(), ff_h264_execute_ref_pic_marking(), ff_h264_ref_picture(), h264_decode_frame(), and h264_frame_start().

int H264Picture::invalid_gap

Definition at line 348 of file h264.h.

Referenced by ff_h264_decode_slice_header(), ff_h264_ref_picture(), and h264_frame_start().

int H264Picture::sei_recovery_frame_cnt

Definition at line 349 of file h264.h.

Referenced by ff_h264_ref_picture(), h264_frame_start(), and output_frame().

int H264Picture::crop

Definition at line 351 of file h264.h.

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

int H264Picture::crop_left

Definition at line 352 of file h264.h.

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

int H264Picture::crop_top

Definition at line 353 of file h264.h.

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


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