FFmpeg
Public Attributes | List of all members
H264Context Struct Reference

H264Context. More...

#include <h264dec.h>

Public Attributes

const AVClassclass
 
AVCodecContextavctx
 
VideoDSPContext vdsp
 
H264DSPContext h264dsp
 
H264ChromaContext h264chroma
 
H264QpelContext h264qpel
 
H264Picture DPB [H264_MAX_PICTURE_COUNT]
 
H264Picturecur_pic_ptr
 
H264Picture cur_pic
 
H264Picture last_pic_for_ec
 
H264SliceContextslice_ctx
 
int nb_slice_ctx
 
int nb_slice_ctx_queued
 
H2645Packet pkt
 
int pixel_shift
 0 for 8-bit H.264, 1 for high-bit-depth H.264
 
int width
 
int height
 
int chroma_x_shift
 
int chroma_y_shift
 
int droppable
 
int coded_picture_number
 
int context_initialized
 
int flags
 
int workaround_bugs
 
int x264_build
 
int postpone_filter
 
int picture_idr
 
int crop_left
 
int crop_right
 
int crop_top
 
int crop_bottom
 
int8_t * intra4x4_pred_mode
 
H264PredContext hpc
 
uint8_t(* non_zero_count )[48]
 
int block_offset [2 *(16 *3)]
 block_offset[ 0..23] for frame macroblocks block_offset[24..47] for field macroblocks
 
uint32_t * mb2b_xy
 
uint32_t * mb2br_xy
 
int b_stride
 
uint16_t * slice_table
 slice_table_base + 2*mb_stride + 1
 
int mb_aff_frame
 
int picture_structure
 
int first_field
 
uint8_t * list_counts
 Array of list_count per MB specifying the slice type.
 
uint16_t * cbp_table
 
uint8_t * chroma_pred_mode_table
 
uint8_t(*[2] mvd_table )[2]
 
uint8_t * direct_table
 
uint8_t scan_padding [16]
 
uint8_t zigzag_scan [16]
 
uint8_t zigzag_scan8x8 [64]
 
uint8_t zigzag_scan8x8_cavlc [64]
 
uint8_t field_scan [16]
 
uint8_t field_scan8x8 [64]
 
uint8_t field_scan8x8_cavlc [64]
 
uint8_t zigzag_scan_q0 [16]
 
uint8_t zigzag_scan8x8_q0 [64]
 
uint8_t zigzag_scan8x8_cavlc_q0 [64]
 
uint8_t field_scan_q0 [16]
 
uint8_t field_scan8x8_q0 [64]
 
uint8_t field_scan8x8_cavlc_q0 [64]
 
int mb_y
 
int mb_height
 
int mb_width
 
int mb_stride
 
int mb_num
 
int nal_ref_idc
 
int nal_unit_type
 
int has_slice
 slice NAL is found in the packet, set by decode_nal_units, its state does not need to be preserved outside h264_decode_frame()
 
int is_avc
 Used to parse AVC variant of H.264. More...
 
int nal_length_size
 Number of bytes used for nal length (1, 2 or 4)
 
int bit_depth_luma
 luma bit depth from sps to detect changes
 
int chroma_format_idc
 chroma format from sps to detect changes
 
H264ParamSets ps
 
uint16_t * slice_table_base
 
H264POCContext poc
 
H264Ref default_ref [2]
 
H264Pictureshort_ref [32]
 
H264Picturelong_ref [32]
 
H264Picturedelayed_pic [MAX_DELAYED_PIC_COUNT+2]
 
int last_pocs [MAX_DELAYED_PIC_COUNT]
 
H264Picturenext_output_pic
 
int next_outputed_poc
 
MMCO mmco [MAX_MMCO_COUNT]
 memory management control operations buffer.
 
int nb_mmco
 
int mmco_reset
 
int explicit_ref_marking
 
int long_ref_count
 number of actual long term references
 
int short_ref_count
 number of actual short term references
 
int prev_interlaced_frame
 Complement sei_pic_struct SEI_PIC_STRUCT_TOP_BOTTOM and SEI_PIC_STRUCT_BOTTOM_TOP indicate interlaced frames. More...
 
int valid_recovery_point
 Are the SEI recovery points looking valid.
 
int recovery_frame
 recovery_frame is the frame_num at which the next frame should be fully constructed. More...
 
int frame_recovered
 Initial frame has been completely recovered.
 
int has_recovery_point
 
int missing_fields
 
int setup_finished
 
int cur_chroma_format_idc
 
int cur_bit_depth_luma
 
int16_t slice_row [MAX_SLICES]
 to detect when MAX_SLICES is too low
 
int width_from_caller
 
int height_from_caller
 
int enable_er
 
H264SEIContext sei
 
AVBufferPoolqscale_table_pool
 
AVBufferPoolmb_type_pool
 
AVBufferPoolmotion_val_pool
 
AVBufferPoolref_index_pool
 
int ref2frm [MAX_SLICES][2][64]
 reference to frame number lists, used in the loop filter, the first 2 are for -2,-1
 
Members for slice based multithreading
int current_slice
 current slice number, used to initialize slice_num of each thread/context
 

Detailed Description

H264Context.

Member Data Documentation

§ is_avc

int H264Context::is_avc

Used to parse AVC variant of H.264.

this flag is != 0 if codec is avc1

§ prev_interlaced_frame

int H264Context::prev_interlaced_frame

Complement sei_pic_struct SEI_PIC_STRUCT_TOP_BOTTOM and SEI_PIC_STRUCT_BOTTOM_TOP indicate interlaced frames.

However, soft telecined frames may have these values. This is used in an attempt to flag soft telecine progressive.

§ recovery_frame

int H264Context::recovery_frame

recovery_frame is the frame_num at which the next frame should be fully constructed.

Set to -1 when not expecting a recovery point.


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