FFmpeg  4.0
Data Fields
HEVCContext Struct Reference

#include <libavcodec/hevcdec.h>

Data Fields

const AVClassc
 
AVCodecContextavctx
 
struct HEVCContextsList [MAX_NB_THREADS]
 
HEVCLocalContextHEVClcList [MAX_NB_THREADS]
 
HEVCLocalContextHEVClc
 
uint8_t threads_type
 
uint8_t threads_number
 
int width
 
int height
 
uint8_tcabac_state
 
uint8_t slice_initialized
 1 if the independent slice segment header was successfully parsed More...
 
AVFrameframe
 
AVFrameoutput_frame
 
uint8_tsao_pixel_buffer_h [3]
 
uint8_tsao_pixel_buffer_v [3]
 
HEVCParamSets ps
 
HEVCSEI sei
 
struct AVMD5md5_ctx
 
AVBufferPooltab_mvf_pool
 
AVBufferPoolrpl_tab_pool
 candidate references for the current frame More...
 
RefPicList rps [5]
 
SliceHeader sh
 
SAOParamssao
 
DBParamsdeblock
 
enum HEVCNALUnitType nal_unit_type
 
int temporal_id
 temporal_id_plus1 - 1 More...
 
HEVCFrameref
 
HEVCFrame DPB [32]
 
int poc
 
int pocTid0
 
int slice_idx
 number of the slice being currently decoded More...
 
int eos
 current packet contains an EOS/EOB NAL More...
 
int last_eos
 last packet contains an EOS/EOB NAL More...
 
int max_ra
 
int bs_width
 
int bs_height
 
int is_decoded
 
int no_rasl_output_flag
 
HEVCPredContext hpc
 
HEVCDSPContext hevcdsp
 
VideoDSPContext vdsp
 
BswapDSPContext bdsp
 
int8_t * qp_y_tab
 
uint8_thorizontal_bs
 
uint8_tvertical_bs
 
int32_ttab_slice_address
 
uint8_tskip_flag
 
uint8_ttab_ct_depth
 
uint8_ttab_ipm
 
uint8_tcbf_luma
 
uint8_tis_pcm
 
uint8_tfilter_slice_edges
 
uint8_tchecksum_buf
 used on BE to byteswap the lines for checksumming More...
 
int checksum_buf_size
 
uint16_t seq_decode
 Sequence counters for decoded and output frames, so that old frames are output first after a POC reset. More...
 
uint16_t seq_output
 
int enable_parallel_tiles
 
atomic_int wpp_err
 
const uint8_tdata
 
H2645Packet pkt
 
enum HEVCNALUnitType first_nal_type
 
uint8_t context_initialized
 
int is_nalff
 this flag is != 0 if bitstream is encapsulated as a format defined in 14496-15 More...
 
int apply_defdispwin
 
int nal_length_size
 Number of bytes used for nal length (1, 2 or 4) More...
 
int nuh_layer_id
 

Detailed Description

Definition at line 383 of file hevcdec.h.

Field Documentation

◆ c

const AVClass* HEVCContext::c

Definition at line 384 of file hevcdec.h.

◆ avctx

AVCodecContext* HEVCContext::avctx

◆ sList

struct HEVCContext* HEVCContext::sList[MAX_NB_THREADS]

◆ HEVClcList

HEVCLocalContext* HEVCContext::HEVClcList[MAX_NB_THREADS]

Definition at line 389 of file hevcdec.h.

Referenced by hevc_decode_free(), hevc_init_context(), and hls_slice_data_wpp().

◆ HEVClc

HEVCLocalContext* HEVCContext::HEVClc

Definition at line 390 of file hevcdec.h.

Referenced by cabac_init_decoder(), cabac_init_state(), chroma_mc_bi(), chroma_mc_uni(), coeff_abs_level_remaining_decode(), coeff_sign_flag_decode(), decode_nal_unit(), derive_spatial_merge_candidates(), ff_hevc_cabac_init(), ff_hevc_cu_qp_delta_abs(), ff_hevc_cu_qp_delta_sign_flag(), ff_hevc_deblocking_boundary_strengths(), ff_hevc_end_of_slice_flag_decode(), ff_hevc_hls_mvd_coding(), ff_hevc_hls_residual_coding(), ff_hevc_inter_pred_idc_decode(), ff_hevc_intra_chroma_pred_mode_decode(), ff_hevc_luma_mv_merge_mode(), ff_hevc_luma_mv_mvp_mode(), ff_hevc_merge_idx_decode(), ff_hevc_mpm_idx_decode(), ff_hevc_part_mode_decode(), ff_hevc_pcm_flag_decode(), ff_hevc_ref_idx_lx_decode(), ff_hevc_rem_intra_luma_pred_mode_decode(), ff_hevc_sao_band_position_decode(), ff_hevc_sao_eo_class_decode(), ff_hevc_sao_offset_abs_decode(), ff_hevc_sao_offset_sign_decode(), ff_hevc_sao_type_idx_decode(), ff_hevc_save_states(), ff_hevc_set_neighbour_available(), ff_hevc_set_qPy(), ff_hevc_skip_flag_decode(), ff_hevc_split_coding_unit_flag_decode(), ff_intra_pred_8_16x16_msa(), ff_intra_pred_8_32x32_msa(), get_qPy_pred(), hevc_decode_free(), hevc_frame_start(), hevc_init_context(), hevc_luma_mv_mvp_mode(), hls_coding_quadtree(), hls_coding_unit(), hls_cross_component_pred(), hls_decode_neighbour(), hls_pcm_sample(), hls_prediction_unit(), hls_sao_param(), hls_slice_data_wpp(), hls_slice_header(), hls_transform_tree(), hls_transform_unit(), intra_prediction_unit(), intra_prediction_unit_default_value(), last_significant_coeff_suffix_decode(), load_states(), luma_intra_pred_mode(), luma_mc_bi(), luma_mc_uni(), mvd_decode(), mvd_sign_flag_decode(), sao_filter_CTB(), and vaapi_hevc_decode_slice().

◆ threads_type

uint8_t HEVCContext::threads_type

◆ threads_number

uint8_t HEVCContext::threads_number

◆ width

int HEVCContext::width

Definition at line 395 of file hevcdec.h.

◆ height

int HEVCContext::height

Definition at line 396 of file hevcdec.h.

◆ cabac_state

uint8_t* HEVCContext::cabac_state

Definition at line 398 of file hevcdec.h.

Referenced by ff_hevc_save_states(), hevc_decode_free(), hevc_init_context(), and load_states().

◆ slice_initialized

uint8_t HEVCContext::slice_initialized

1 if the independent slice segment header was successfully parsed

Definition at line 401 of file hevcdec.h.

Referenced by hls_slice_header().

◆ frame

AVFrame* HEVCContext::frame

◆ output_frame

AVFrame* HEVCContext::output_frame

◆ sao_pixel_buffer_h

uint8_t* HEVCContext::sao_pixel_buffer_h[3]

Definition at line 405 of file hevcdec.h.

Referenced by copy_CTB_to_hv(), hevc_decode_free(), sao_filter_CTB(), and set_sps().

◆ sao_pixel_buffer_v

uint8_t* HEVCContext::sao_pixel_buffer_v[3]

Definition at line 406 of file hevcdec.h.

Referenced by copy_CTB_to_hv(), hevc_decode_free(), sao_filter_CTB(), and set_sps().

◆ ps

HEVCParamSets HEVCContext::ps

Definition at line 408 of file hevcdec.h.

Referenced by alloc_frame(), chroma_mc_bi(), chroma_mc_uni(), chroma_tc(), copy_CTB_to_hv(), deblocking_filter_CTB(), decode_lt_rps(), decode_nal_unit(), derive_spatial_merge_candidates(), ff_hevc_bump_frame(), ff_hevc_cabac_init(), ff_hevc_cu_chroma_qp_offset_idx(), ff_hevc_deblocking_boundary_strengths(), ff_hevc_get_ref_list(), ff_hevc_hls_filter(), ff_hevc_hls_filters(), ff_hevc_hls_residual_coding(), ff_hevc_luma_mv_merge_mode(), ff_hevc_luma_mv_mvp_mode(), ff_hevc_output_frame(), ff_hevc_part_mode_decode(), ff_hevc_sao_offset_abs_decode(), ff_hevc_save_states(), ff_hevc_set_neighbour_available(), ff_hevc_set_new_ref(), ff_hevc_set_qPy(), ff_hevc_skip_flag_decode(), ff_hevc_split_coding_unit_flag_decode(), ff_intra_pred_8_16x16_msa(), ff_intra_pred_8_32x32_msa(), ff_videotoolbox_hvcc_extradata_create(), fill_picture_parameters(), fill_pred_weight_table(), fill_scaling_lists(), find_ref_idx(), generate_missing_ref(), get_pcm(), get_qPy(), get_qPy_pred(), hevc_decode_extradata(), hevc_decode_free(), hevc_frame_start(), hevc_update_thread_context(), hls_coding_quadtree(), hls_coding_unit(), hls_decode_entry(), hls_decode_entry_wpp(), hls_decode_neighbour(), hls_pcm_sample(), hls_prediction_unit(), hls_sao_param(), hls_slice_data_wpp(), hls_slice_header(), hls_transform_tree(), hls_transform_unit(), init_slice_rpl(), intra_prediction_unit(), intra_prediction_unit_default_value(), is_diff_mer(), luma_intra_pred_mode(), luma_mc_bi(), luma_mc_uni(), mv_mp_mode_mx(), mv_mp_mode_mx_lt(), nvdec_hevc_frame_params(), nvdec_hevc_start_frame(), pred_weight_table(), restore_tqb_pixels(), sao_filter_CTB(), set_ct_depth(), set_deblocking_bypass(), set_sps(), temporal_luma_motion_vector(), vaapi_hevc_start_frame(), vdpau_hevc_start_frame(), and z_scan_block_avail().

◆ sei

HEVCSEI HEVCContext::sei

◆ md5_ctx

struct AVMD5* HEVCContext::md5_ctx

Definition at line 410 of file hevcdec.h.

Referenced by hevc_decode_free(), hevc_init_context(), and verify_md5().

◆ tab_mvf_pool

AVBufferPool* HEVCContext::tab_mvf_pool

Definition at line 412 of file hevcdec.h.

Referenced by alloc_frame(), pic_arrays_free(), and pic_arrays_init().

◆ rpl_tab_pool

AVBufferPool* HEVCContext::rpl_tab_pool

candidate references for the current frame

Definition at line 413 of file hevcdec.h.

Referenced by alloc_frame(), pic_arrays_free(), and pic_arrays_init().

◆ rps

RefPicList HEVCContext::rps[5]

◆ sh

SliceHeader HEVCContext::sh

◆ sao

SAOParams* HEVCContext::sao

Definition at line 419 of file hevcdec.h.

Referenced by hls_sao_param(), pic_arrays_free(), pic_arrays_init(), and sao_filter_CTB().

◆ deblock

DBParams* HEVCContext::deblock

◆ nal_unit_type

enum HEVCNALUnitType HEVCContext::nal_unit_type

◆ temporal_id

int HEVCContext::temporal_id

temporal_id_plus1 - 1

Definition at line 422 of file hevcdec.h.

Referenced by decode_nal_unit(), and hls_slice_header().

◆ ref

HEVCFrame* HEVCContext::ref

◆ DPB

HEVCFrame HEVCContext::DPB[32]

◆ poc

int HEVCContext::poc

◆ pocTid0

int HEVCContext::pocTid0

Definition at line 426 of file hevcdec.h.

Referenced by hevc_update_thread_context(), and hls_slice_header().

◆ slice_idx

int HEVCContext::slice_idx

number of the slice being currently decoded

Definition at line 427 of file hevcdec.h.

Referenced by hls_slice_header(), and init_slice_rpl().

◆ eos

int HEVCContext::eos

current packet contains an EOS/EOB NAL

Definition at line 428 of file hevcdec.h.

Referenced by decode_nal_units(), hevc_decode_flush(), hevc_decode_init(), hevc_init_context(), and hevc_update_thread_context().

◆ last_eos

int HEVCContext::last_eos

last packet contains an EOS/EOB NAL

Definition at line 429 of file hevcdec.h.

Referenced by decode_nal_units(), hevc_frame_start(), and hls_slice_header().

◆ max_ra

int HEVCContext::max_ra

◆ bs_width

int HEVCContext::bs_width

◆ bs_height

int HEVCContext::bs_height

Definition at line 432 of file hevcdec.h.

Referenced by hevc_frame_start(), and pic_arrays_init().

◆ is_decoded

int HEVCContext::is_decoded

Definition at line 434 of file hevcdec.h.

Referenced by decode_nal_unit(), hevc_decode_frame(), and hevc_frame_start().

◆ no_rasl_output_flag

int HEVCContext::no_rasl_output_flag

◆ hpc

HEVCPredContext HEVCContext::hpc

◆ hevcdsp

HEVCDSPContext HEVCContext::hevcdsp

◆ vdsp

VideoDSPContext HEVCContext::vdsp

Definition at line 439 of file hevcdec.h.

Referenced by chroma_mc_bi(), chroma_mc_uni(), luma_mc_bi(), luma_mc_uni(), and set_sps().

◆ bdsp

BswapDSPContext HEVCContext::bdsp

Definition at line 440 of file hevcdec.h.

Referenced by hevc_init_context(), and verify_md5().

◆ qp_y_tab

int8_t* HEVCContext::qp_y_tab

Definition at line 441 of file hevcdec.h.

Referenced by get_qPy(), get_qPy_pred(), hls_coding_unit(), pic_arrays_free(), and pic_arrays_init().

◆ horizontal_bs

uint8_t* HEVCContext::horizontal_bs

◆ vertical_bs

uint8_t* HEVCContext::vertical_bs

◆ tab_slice_address

int32_t* HEVCContext::tab_slice_address

◆ skip_flag

uint8_t* HEVCContext::skip_flag

◆ tab_ct_depth

uint8_t* HEVCContext::tab_ct_depth

◆ tab_ipm

uint8_t* HEVCContext::tab_ipm

◆ cbf_luma

uint8_t* HEVCContext::cbf_luma

◆ is_pcm

uint8_t* HEVCContext::is_pcm

◆ filter_slice_edges

uint8_t* HEVCContext::filter_slice_edges

Definition at line 457 of file hevcdec.h.

Referenced by hls_decode_entry(), pic_arrays_free(), pic_arrays_init(), and sao_filter_CTB().

◆ checksum_buf

uint8_t* HEVCContext::checksum_buf

used on BE to byteswap the lines for checksumming

Definition at line 460 of file hevcdec.h.

Referenced by verify_md5().

◆ checksum_buf_size

int HEVCContext::checksum_buf_size

Definition at line 461 of file hevcdec.h.

Referenced by verify_md5().

◆ seq_decode

uint16_t HEVCContext::seq_decode

Sequence counters for decoded and output frames, so that old frames are output first after a POC reset.

Definition at line 467 of file hevcdec.h.

Referenced by decode_nal_unit(), ff_hevc_output_frame(), ff_hevc_set_new_ref(), find_ref_idx(), generate_missing_ref(), hevc_update_thread_context(), and hls_slice_header().

◆ seq_output

uint16_t HEVCContext::seq_output

Definition at line 468 of file hevcdec.h.

Referenced by ff_hevc_bump_frame(), ff_hevc_output_frame(), and hevc_update_thread_context().

◆ enable_parallel_tiles

int HEVCContext::enable_parallel_tiles

Definition at line 470 of file hevcdec.h.

Referenced by hevc_decode_init(), and hls_slice_header().

◆ wpp_err

atomic_int HEVCContext::wpp_err

Definition at line 471 of file hevcdec.h.

Referenced by hevc_decode_init(), hls_decode_entry_wpp(), and hls_slice_data_wpp().

◆ data

const uint8_t* HEVCContext::data

Definition at line 473 of file hevcdec.h.

Referenced by hls_slice_data_wpp().

◆ pkt

H2645Packet HEVCContext::pkt

Definition at line 475 of file hevcdec.h.

Referenced by alloc_frame(), decode_nal_units(), and hevc_decode_free().

◆ first_nal_type

enum HEVCNALUnitType HEVCContext::first_nal_type

Definition at line 477 of file hevcdec.h.

Referenced by decode_nal_unit(), and hevc_frame_start().

◆ context_initialized

uint8_t HEVCContext::context_initialized

Definition at line 479 of file hevcdec.h.

Referenced by hevc_init_context(), and hevc_update_thread_context().

◆ is_nalff

int HEVCContext::is_nalff

this flag is != 0 if bitstream is encapsulated as a format defined in 14496-15

Definition at line 480 of file hevcdec.h.

Referenced by decode_nal_units(), hevc_decode_extradata(), and hevc_update_thread_context().

◆ apply_defdispwin

int HEVCContext::apply_defdispwin

Definition at line 482 of file hevcdec.h.

Referenced by decode_nal_unit(), and hevc_decode_extradata().

◆ nal_length_size

int HEVCContext::nal_length_size

Number of bytes used for nal length (1, 2 or 4)

Definition at line 484 of file hevcdec.h.

Referenced by decode_nal_units(), hevc_decode_extradata(), and hevc_update_thread_context().

◆ nuh_layer_id

int HEVCContext::nuh_layer_id

Definition at line 485 of file hevcdec.h.


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