H264Context.
More...
#include <h264dec.h>
H264Context.
Definition at line 338 of file h264dec.h.
◆ class
◆ avctx
◆ vdsp
◆ h264dsp
◆ h264chroma
◆ h264qpel
◆ DPB
◆ cur_pic_ptr
◆ cur_pic
◆ last_pic_for_ec
◆ slice_ctx
◆ nb_slice_ctx
| int H264Context::nb_slice_ctx |
◆ nb_slice_ctx_queued
| int H264Context::nb_slice_ctx_queued |
◆ pkt
◆ pixel_shift
| int H264Context::pixel_shift |
0 for 8-bit H.264, 1 for high-bit-depth H.264
Definition at line 357 of file h264dec.h.
◆ width
◆ height
◆ chroma_x_shift
| int H264Context::chroma_x_shift |
◆ chroma_y_shift
| int H264Context::chroma_y_shift |
◆ droppable
| int H264Context::droppable |
◆ context_initialized
| int H264Context::context_initialized |
◆ flags
◆ workaround_bugs
| int H264Context::workaround_bugs |
◆ x264_build
| int H264Context::x264_build |
◆ postpone_filter
| int H264Context::postpone_filter |
◆ picture_idr
| int H264Context::picture_idr |
◆ picture_intra_only
| int H264Context::picture_intra_only |
◆ crop_left
| int H264Context::crop_left |
◆ crop_right
| int H264Context::crop_right |
◆ crop_top
| int H264Context::crop_top |
◆ crop_bottom
| int H264Context::crop_bottom |
◆ intra4x4_pred_mode
| int8_t* H264Context::intra4x4_pred_mode |
◆ hpc
◆ non_zero_count
| uint8_t(* H264Context::non_zero_count)[48] |
◆ block_offset
| int H264Context::block_offset[2 *(16 *3)] |
block_offset[ 0..23] for frame macroblocks block_offset[24..47] for field macroblocks
Definition at line 401 of file h264dec.h.
◆ mb2b_xy
| uint32_t* H264Context::mb2b_xy |
◆ mb2br_xy
| uint32_t* H264Context::mb2br_xy |
◆ b_stride
| int H264Context::b_stride |
◆ slice_table
| uint16_t* H264Context::slice_table |
slice_table_base + 2*mb_stride + 1
Definition at line 407 of file h264dec.h.
◆ mb_aff_frame
| int H264Context::mb_aff_frame |
◆ picture_structure
| int H264Context::picture_structure |
◆ first_field
| int H264Context::first_field |
◆ list_counts
| uint8_t* H264Context::list_counts |
Array of list_count per MB specifying the slice type.
Definition at line 414 of file h264dec.h.
◆ cbp_table
| uint16_t* H264Context::cbp_table |
◆ chroma_pred_mode_table
| uint8_t* H264Context::chroma_pred_mode_table |
◆ mvd_table
| uint8_t(*[2] H264Context::mvd_table)[2] |
◆ direct_table
| uint8_t* H264Context::direct_table |
◆ scan_padding
| uint8_t H264Context::scan_padding[16] |
◆ zigzag_scan
| uint8_t H264Context::zigzag_scan[16] |
◆ zigzag_scan8x8
| uint8_t H264Context::zigzag_scan8x8[64] |
◆ zigzag_scan8x8_cavlc
| uint8_t H264Context::zigzag_scan8x8_cavlc[64] |
◆ field_scan
| uint8_t H264Context::field_scan[16] |
◆ field_scan8x8
| uint8_t H264Context::field_scan8x8[64] |
◆ field_scan8x8_cavlc
| uint8_t H264Context::field_scan8x8_cavlc[64] |
◆ zigzag_scan_q0
| uint8_t H264Context::zigzag_scan_q0[16] |
◆ zigzag_scan8x8_q0
| uint8_t H264Context::zigzag_scan8x8_q0[64] |
◆ zigzag_scan8x8_cavlc_q0
| uint8_t H264Context::zigzag_scan8x8_cavlc_q0[64] |
◆ field_scan_q0
| uint8_t H264Context::field_scan_q0[16] |
◆ field_scan8x8_q0
| uint8_t H264Context::field_scan8x8_q0[64] |
◆ field_scan8x8_cavlc_q0
| uint8_t H264Context::field_scan8x8_cavlc_q0[64] |
◆ mb_y
◆ mb_height
| int H264Context::mb_height |
◆ mb_width
| int H264Context::mb_width |
◆ mb_stride
| int H264Context::mb_stride |
◆ mb_num
◆ nal_ref_idc
| int H264Context::nal_ref_idc |
◆ nal_unit_type
| int H264Context::nal_unit_type |
◆ has_slice
| int H264Context::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()
Definition at line 449 of file h264dec.h.
◆ is_avc
◆ nal_length_size
| int H264Context::nal_length_size |
◆ bit_depth_luma
| int H264Context::bit_depth_luma |
luma bit depth from sps to detect changes
Definition at line 457 of file h264dec.h.
◆ chroma_format_idc
| int H264Context::chroma_format_idc |
chroma format from sps to detect changes
Definition at line 458 of file h264dec.h.
◆ ps
◆ slice_table_base
| uint16_t* H264Context::slice_table_base |
◆ poc
◆ default_ref
| H264Ref H264Context::default_ref[2] |
◆ short_ref
◆ long_ref
◆ delayed_pic
◆ last_pocs
◆ next_output_pic
◆ next_outputed_poc
| int H264Context::next_outputed_poc |
◆ poc_offset
| int H264Context::poc_offset |
PicOrderCnt_offset from SMPTE RDD-2006.
Definition at line 473 of file h264dec.h.
◆ mmco
memory management control operations buffer.
Definition at line 478 of file h264dec.h.
◆ nb_mmco
◆ mmco_reset
| int H264Context::mmco_reset |
◆ explicit_ref_marking
| int H264Context::explicit_ref_marking |
◆ long_ref_count
| int H264Context::long_ref_count |
number of actual long term references
Definition at line 483 of file h264dec.h.
◆ short_ref_count
| int H264Context::short_ref_count |
number of actual short term references
Definition at line 484 of file h264dec.h.
◆ current_slice
| int H264Context::current_slice |
current slice number, used to initialize slice_num of each thread/context
Definition at line 493 of file h264dec.h.
◆ 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.
Definition at line 503 of file h264dec.h.
◆ valid_recovery_point
| int H264Context::valid_recovery_point |
Are the SEI recovery points looking valid.
Definition at line 508 of file h264dec.h.
◆ 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.
Definition at line 516 of file h264dec.h.
◆ frame_recovered
| int H264Context::frame_recovered |
Initial frame has been completely recovered.
Once this is set, all following decoded as well as displayed frames will be marked as recovered If a frame is marked as recovered frame_recovered will be set once this frame is output and thus all subsequently output fraames are also marked as recovered
In effect, if you want all subsequent DECODED frames marked as recovered, set frame_recovered If you want all subsequent DISPLAYED frames marked as recovered, set the frame->recovered
Definition at line 543 of file h264dec.h.
◆ has_recovery_point
| int H264Context::has_recovery_point |
◆ missing_fields
| int H264Context::missing_fields |
◆ setup_finished
| int H264Context::setup_finished |
◆ cur_chroma_format_idc
| int H264Context::cur_chroma_format_idc |
◆ cur_bit_depth_luma
| int H264Context::cur_bit_depth_luma |
◆ slice_row
to detect when MAX_SLICES is too low
Definition at line 557 of file h264dec.h.
◆ width_from_caller
| int H264Context::width_from_caller |
◆ height_from_caller
| int H264Context::height_from_caller |
◆ enable_er
| int H264Context::enable_er |
◆ er
◆ dc_val_base
| int16_t* H264Context::dc_val_base |
◆ sei
◆ qscale_table_pool
◆ mb_type_pool
◆ motion_val_pool
◆ ref_index_pool
◆ decode_error_flags_pool
◆ ref2frm
reference to frame number lists, used in the loop filter, the first 2 are for -2,-1
Definition at line 575 of file h264dec.h.
◆ non_gray
| int H264Context::non_gray |
Did we encounter a intra frame after a gray gap frame.
Definition at line 577 of file h264dec.h.
◆ noref_gray
| int H264Context::noref_gray |
◆ skip_gray
| int H264Context::skip_gray |
The documentation for this struct was generated from the following file: