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

#include <h264.h>

Data Fields

struct AVFrame f
 
uint8_t avframe_padding [1024]
 
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
 
AVBufferRefref_index_buf [2]
 
int8_t * ref_index [2]
 
int field_poc [2]
 top/bottom POC
 
int poc
 frame POC
 
int frame_num
 frame_num (raw frame_num from slice header)
 
int mmco_reset
 MMCO_RESET set this 1.
 
int pic_id
 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]
 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
 1 -> MBAFF frame 0-> not MBAFF
 
int field_picture
 whether or not picture was encoded in separate fields
 
int needs_realloc
 picture needs to be reallocated (eg due to a frame size change)
 
int reference
 
int recovered
 picture at IDR or recovery point + recovery count
 
int invalid_gap
 
int sei_recovery_frame_cnt
 
int crop
 
int crop_left
 
int crop_top
 

Detailed Description

Definition at line 292 of file h264.h.

Field Documentation

struct AVFrame H264Picture::f
uint8_t H264Picture::avframe_padding[1024]

Definition at line 294 of file h264.h.

ThreadFrame H264Picture::tf
AVBufferRef* H264Picture::qscale_table_buf

Definition at line 297 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 306 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 315 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
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 320 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 321 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 322 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 323 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::needs_realloc

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

Definition at line 325 of file h264.h.

Referenced by ff_h264_free_tables(), ff_h264_ref_picture(), find_unused_picture(), and pic_is_unused().

int H264Picture::reference
int H264Picture::recovered

picture at IDR or recovery point + recovery count

Definition at line 327 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 328 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 329 of file h264.h.

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

int H264Picture::crop

Definition at line 331 of file h264.h.

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

int H264Picture::crop_left

Definition at line 332 of file h264.h.

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

int H264Picture::crop_top

Definition at line 333 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: