FFmpeg
Data Fields
H264Picture Struct Reference

#include <h264dec.h>

Data Fields

AVFramef
 
ThreadFrame tf
 
AVFramef_grain
 
int8_t * qscale_table_base
 RefStruct reference. More...
 
int8_t * qscale_table
 
int16_t(*[2] motion_val_base )[2]
 RefStruct reference. More...
 
int16_t(*[2] motion_val )[2]
 
uint32_t * mb_type_base
 RefStruct reference. More...
 
uint32_t * mb_type
 
void * hwaccel_picture_private
 RefStruct reference for hardware accelerator private data. More...
 
int8_t * ref_index [2]
 RefStruct reference. More...
 
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 needs_fg
 whether picture needs film grain synthesis (see f_grain) More...
 
const PPSpps
 
int mb_width
 
int mb_height
 
int mb_stride
 
atomic_intdecode_error_flags
 RefStruct reference; its pointee is shared between decoding threads. More...
 
int gray
 

Detailed Description

Definition at line 106 of file h264dec.h.

Field Documentation

◆ f

AVFrame* H264Picture::f

◆ tf

ThreadFrame H264Picture::tf

◆ f_grain

AVFrame* H264Picture::f_grain

◆ qscale_table_base

int8_t* H264Picture::qscale_table_base

RefStruct reference.

Definition at line 112 of file h264dec.h.

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

◆ qscale_table

int8_t* H264Picture::qscale_table

Definition at line 113 of file h264dec.h.

Referenced by alloc_picture(), h264_copy_picture_params(), and h264_export_enc_params().

◆ motion_val_base

int16_t(*[2] H264Picture::motion_val_base)[2]

RefStruct reference.

Definition at line 115 of file h264dec.h.

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

◆ motion_val

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

◆ mb_type_base

uint32_t* H264Picture::mb_type_base

RefStruct reference.

Definition at line 118 of file h264dec.h.

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

◆ mb_type

uint32_t* H264Picture::mb_type

◆ hwaccel_picture_private

void* H264Picture::hwaccel_picture_private

◆ ref_index

int8_t* H264Picture::ref_index[2]

◆ field_poc

int H264Picture::field_poc[2]

◆ poc

int H264Picture::poc

◆ frame_num

int H264Picture::frame_num

◆ mmco_reset

int H264Picture::mmco_reset

MMCO_RESET set this 1.

Reordering code must not mix pictures before and after MMCO_RESET.

Definition at line 129 of file h264dec.h.

Referenced by h264_copy_picture_params(), h264_frame_start(), and h264_select_output_frame().

◆ pic_id

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 131 of file h264dec.h.

Referenced by build_def_list(), fill_vaapi_pic(), vdpau_h264_set_reference_frames(), vdpau_h264_set_rf(), and vk_h264_fill_pict().

◆ long_ref

int H264Picture::long_ref

◆ ref_poc

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

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

Definition at line 134 of file h264dec.h.

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

◆ ref_count

int H264Picture::ref_count[2][2]

number of entries in ref_poc (FIXME need per slice)

Definition at line 135 of file h264dec.h.

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

◆ mbaff

int H264Picture::mbaff

1 -> MBAFF frame 0-> not MBAFF

Definition at line 136 of file h264dec.h.

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

◆ field_picture

int H264Picture::field_picture

whether or not picture was encoded in separate fields

Definition at line 137 of file h264dec.h.

Referenced by await_references(), h264_copy_picture_params(), h264_field_start(), and h264_frame_start().

◆ reference

int H264Picture::reference

◆ recovered

int H264Picture::recovered

picture at IDR or recovery point + recovery count

Definition at line 145 of file h264dec.h.

Referenced by h264_copy_picture_params(), and h264_frame_start().

◆ invalid_gap

int H264Picture::invalid_gap

Definition at line 146 of file h264dec.h.

Referenced by h264_copy_picture_params(), h264_frame_start(), and vk_h264_fill_pict().

◆ sei_recovery_frame_cnt

int H264Picture::sei_recovery_frame_cnt

Definition at line 147 of file h264dec.h.

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

◆ needs_fg

int H264Picture::needs_fg

whether picture needs film grain synthesis (see f_grain)

Definition at line 148 of file h264dec.h.

Referenced by alloc_picture(), ff_h264_field_end(), h264_copy_picture_params(), h264_frame_start(), and output_frame().

◆ pps

const PPS* H264Picture::pps

◆ mb_width

int H264Picture::mb_width

Definition at line 152 of file h264dec.h.

Referenced by alloc_picture(), h264_copy_picture_params(), and h264_export_enc_params().

◆ mb_height

int H264Picture::mb_height

Definition at line 152 of file h264dec.h.

Referenced by alloc_picture(), h264_copy_picture_params(), and h264_export_enc_params().

◆ mb_stride

int H264Picture::mb_stride

Definition at line 153 of file h264dec.h.

Referenced by alloc_picture(), h264_copy_picture_params(), and h264_export_enc_params().

◆ decode_error_flags

atomic_int* H264Picture::decode_error_flags

RefStruct reference; its pointee is shared between decoding threads.

Definition at line 156 of file h264dec.h.

Referenced by alloc_picture(), ff_h264_unref_picture(), h264_copy_picture_params(), and output_frame().

◆ gray

int H264Picture::gray

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