FFmpeg  3.3.6
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
 
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
 
struct AVMD5md5_ctx
 
uint8_t md5 [3][16]
 
uint8_t is_md5
 
uint8_t context_initialized
 
uint8_t is_nalff
 this flag is != 0 if bitstream is encapsulated as a format defined in 14496-15 More...
 
int apply_defdispwin
 
int active_seq_parameter_set_id
 
int nal_length_size
 Number of bytes used for nal length (1, 2 or 4) More...
 
int nuh_layer_id
 
int sei_frame_packing_present
 frame packing arrangement variables More...
 
int frame_packing_arrangement_type
 
int content_interpretation_type
 
int quincunx_subsampling
 
int sei_display_orientation_present
 display orientation More...
 
int sei_anticlockwise_rotation
 
int sei_hflip
 
int sei_vflip
 
int picture_struct
 
uint8_ta53_caption
 
int a53_caption_size
 
int sei_mastering_display_info_present
 mastering display More...
 
uint16_t display_primaries [3][2]
 
uint16_t white_point [2]
 
uint32_t max_mastering_luminance
 
uint32_t min_mastering_luminance
 

Detailed Description

Definition at line 467 of file hevcdec.h.

Field Documentation

◆ c

const AVClass* HEVCContext::c

Definition at line 468 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 473 of file hevcdec.h.

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

◆ HEVClc

HEVCLocalContext* HEVCContext::HEVClc

Definition at line 474 of file hevcdec.h.

Referenced by active_parameter_sets(), cabac_init_decoder(), cabac_init_state(), chroma_mc_bi(), chroma_mc_uni(), coeff_abs_level_remaining_decode(), coeff_sign_flag_decode(), decode_nal_sei_decoded_picture_hash(), decode_nal_sei_display_orientation(), decode_nal_sei_frame_packing_arrangement(), decode_nal_sei_mastering_display_info(), decode_nal_sei_message(), decode_nal_sei_prefix(), decode_nal_sei_suffix(), decode_nal_sei_user_data_registered_itu_t_t35(), decode_nal_unit(), decode_pic_timing(), decode_registered_user_data_closed_caption(), 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_decode_nal_sei(), 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_find_frame_end(), hevc_frame_start(), hevc_init_context(), hevc_luma_mv_mvp_mode(), hevc_parser_close(), 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 479 of file hevcdec.h.

◆ height

int HEVCContext::height

Definition at line 480 of file hevcdec.h.

◆ cabac_state

uint8_t* HEVCContext::cabac_state

Definition at line 482 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 485 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 489 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 490 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 492 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(), decode_pic_timing(), derive_spatial_merge_candidates(), ff_hevc_bump_frame(), ff_hevc_cabac_init(), ff_hevc_compute_poc(), 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(), 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_find_frame_end(), hevc_frame_start(), hevc_parser_close(), 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(), 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().

◆ tab_mvf_pool

AVBufferPool* HEVCContext::tab_mvf_pool

Definition at line 494 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 495 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 501 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 504 of file hevcdec.h.

Referenced by decode_nal_unit(), hevc_find_frame_end(), and hls_slice_header().

◆ ref

HEVCFrame* HEVCContext::ref

◆ DPB

HEVCFrame HEVCContext::DPB[32]

◆ poc

int HEVCContext::poc

◆ pocTid0

int HEVCContext::pocTid0

◆ slice_idx

int HEVCContext::slice_idx

number of the slice being currently decoded

Definition at line 509 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 510 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 511 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 514 of file hevcdec.h.

Referenced by hevc_frame_start(), and pic_arrays_init().

◆ is_decoded

int HEVCContext::is_decoded

Definition at line 516 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 521 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 522 of file hevcdec.h.

Referenced by hevc_init_context(), and verify_md5().

◆ qp_y_tab

int8_t* HEVCContext::qp_y_tab

Definition at line 523 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 539 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 542 of file hevcdec.h.

Referenced by verify_md5().

◆ checksum_buf_size

int HEVCContext::checksum_buf_size

Definition at line 543 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 549 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 550 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 552 of file hevcdec.h.

Referenced by hevc_decode_init(), and hls_slice_header().

◆ wpp_err

atomic_int HEVCContext::wpp_err

Definition at line 553 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 555 of file hevcdec.h.

Referenced by hls_slice_data_wpp().

◆ pkt

H2645Packet HEVCContext::pkt

Definition at line 557 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 559 of file hevcdec.h.

Referenced by decode_nal_unit(), and hevc_frame_start().

◆ md5_ctx

struct AVMD5* HEVCContext::md5_ctx

Definition at line 562 of file hevcdec.h.

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

◆ md5

uint8_t HEVCContext::md5[3][16]

Definition at line 563 of file hevcdec.h.

Referenced by decode_nal_sei_decoded_picture_hash(), and verify_md5().

◆ is_md5

uint8_t HEVCContext::is_md5

Definition at line 564 of file hevcdec.h.

Referenced by decode_nal_sei_decoded_picture_hash(), and hevc_decode_frame().

◆ context_initialized

uint8_t HEVCContext::context_initialized

Definition at line 566 of file hevcdec.h.

Referenced by hevc_init_context(), and hevc_update_thread_context().

◆ is_nalff

uint8_t HEVCContext::is_nalff

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

Definition at line 567 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 569 of file hevcdec.h.

Referenced by decode_nal_unit().

◆ active_seq_parameter_set_id

int HEVCContext::active_seq_parameter_set_id

Definition at line 571 of file hevcdec.h.

Referenced by active_parameter_sets(), and decode_pic_timing().

◆ nal_length_size

int HEVCContext::nal_length_size

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

Definition at line 573 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 574 of file hevcdec.h.

◆ sei_frame_packing_present

int HEVCContext::sei_frame_packing_present

frame packing arrangement variables

Definition at line 577 of file hevcdec.h.

Referenced by decode_nal_sei_frame_packing_arrangement(), and set_side_data().

◆ frame_packing_arrangement_type

int HEVCContext::frame_packing_arrangement_type

Definition at line 578 of file hevcdec.h.

Referenced by decode_nal_sei_frame_packing_arrangement(), and set_side_data().

◆ content_interpretation_type

int HEVCContext::content_interpretation_type

Definition at line 579 of file hevcdec.h.

Referenced by decode_nal_sei_frame_packing_arrangement(), and set_side_data().

◆ quincunx_subsampling

int HEVCContext::quincunx_subsampling

Definition at line 580 of file hevcdec.h.

Referenced by decode_nal_sei_frame_packing_arrangement(), and set_side_data().

◆ sei_display_orientation_present

int HEVCContext::sei_display_orientation_present

display orientation

Definition at line 583 of file hevcdec.h.

Referenced by decode_nal_sei_display_orientation(), and set_side_data().

◆ sei_anticlockwise_rotation

int HEVCContext::sei_anticlockwise_rotation

Definition at line 584 of file hevcdec.h.

Referenced by decode_nal_sei_display_orientation(), and set_side_data().

◆ sei_hflip

int HEVCContext::sei_hflip

Definition at line 585 of file hevcdec.h.

Referenced by decode_nal_sei_display_orientation(), and set_side_data().

◆ sei_vflip

int HEVCContext::sei_vflip

Definition at line 585 of file hevcdec.h.

Referenced by decode_nal_sei_display_orientation(), and set_side_data().

◆ picture_struct

int HEVCContext::picture_struct

Definition at line 587 of file hevcdec.h.

Referenced by alloc_frame(), decode_pic_timing(), hevc_decode_init(), and hevc_find_frame_end().

◆ a53_caption

uint8_t* HEVCContext::a53_caption

◆ a53_caption_size

int HEVCContext::a53_caption_size

◆ sei_mastering_display_info_present

int HEVCContext::sei_mastering_display_info_present

mastering display

Definition at line 593 of file hevcdec.h.

Referenced by decode_nal_sei_mastering_display_info(), and set_side_data().

◆ display_primaries

uint16_t HEVCContext::display_primaries[3][2]

Definition at line 594 of file hevcdec.h.

Referenced by decode_nal_sei_mastering_display_info(), and set_side_data().

◆ white_point

uint16_t HEVCContext::white_point[2]

Definition at line 595 of file hevcdec.h.

Referenced by decode_nal_sei_mastering_display_info(), and set_side_data().

◆ max_mastering_luminance

uint32_t HEVCContext::max_mastering_luminance

Definition at line 596 of file hevcdec.h.

Referenced by decode_nal_sei_mastering_display_info(), and set_side_data().

◆ min_mastering_luminance

uint32_t HEVCContext::min_mastering_luminance

Definition at line 597 of file hevcdec.h.

Referenced by decode_nal_sei_mastering_display_info(), and set_side_data().


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