FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
HEVCContext Struct Reference

#include <hevc.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 NALUnitType 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
 
int wpp_err
 
const uint8_tdata
 
HEVCPacket pkt
 
enum NALUnitType 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 819 of file hevc.h.

Field Documentation

const AVClass* HEVCContext::c

Definition at line 820 of file hevc.h.

AVCodecContext* HEVCContext::avctx
struct HEVCContext* HEVCContext::sList[MAX_NB_THREADS]
HEVCLocalContext* HEVCContext::HEVClcList[MAX_NB_THREADS]

Definition at line 825 of file hevc.h.

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

HEVCLocalContext* HEVCContext::HEVClc

Definition at line 826 of file hevc.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_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().

uint8_t HEVCContext::threads_type
uint8_t HEVCContext::threads_number
int HEVCContext::width

Definition at line 831 of file hevc.h.

int HEVCContext::height

Definition at line 832 of file hevc.h.

uint8_t* HEVCContext::cabac_state

Definition at line 834 of file hevc.h.

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

uint8_t HEVCContext::slice_initialized

1 if the independent slice segment header was successfully parsed

Definition at line 837 of file hevc.h.

Referenced by hls_slice_header().

AVFrame* HEVCContext::frame
AVFrame* HEVCContext::output_frame

Definition at line 840 of file hevc.h.

Referenced by hevc_decode_frame(), hevc_decode_free(), hevc_frame_start(), and hevc_init_context().

uint8_t* HEVCContext::sao_pixel_buffer_h[3]

Definition at line 841 of file hevc.h.

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

uint8_t* HEVCContext::sao_pixel_buffer_v[3]

Definition at line 842 of file hevc.h.

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

HEVCParamSets HEVCContext::ps

Definition at line 844 of file hevc.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_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_decode_slice(), vaapi_hevc_start_frame(), vdpau_hevc_start_frame(), and z_scan_block_avail().

AVBufferPool* HEVCContext::tab_mvf_pool

Definition at line 846 of file hevc.h.

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

AVBufferPool* HEVCContext::rpl_tab_pool

candidate references for the current frame

Definition at line 847 of file hevc.h.

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

RefPicList HEVCContext::rps[5]
SliceHeader HEVCContext::sh
SAOParams* HEVCContext::sao

Definition at line 853 of file hevc.h.

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

DBParams* HEVCContext::deblock

Definition at line 854 of file hevc.h.

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

enum NALUnitType HEVCContext::nal_unit_type
int HEVCContext::temporal_id

temporal_id_plus1 - 1

Definition at line 856 of file hevc.h.

Referenced by decode_nal_unit(), and hls_slice_header().

HEVCFrame* HEVCContext::ref
HEVCFrame HEVCContext::DPB[32]
int HEVCContext::poc
int HEVCContext::pocTid0

Definition at line 860 of file hevc.h.

Referenced by ff_hevc_compute_poc(), hevc_update_thread_context(), and hls_slice_header().

int HEVCContext::slice_idx

number of the slice being currently decoded

Definition at line 861 of file hevc.h.

Referenced by hls_slice_header(), and init_slice_rpl().

int HEVCContext::eos

current packet contains an EOS/EOB NAL

Definition at line 862 of file hevc.h.

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

int HEVCContext::last_eos

last packet contains an EOS/EOB NAL

Definition at line 863 of file hevc.h.

Referenced by decode_nal_units(), and hls_slice_header().

int HEVCContext::max_ra
int HEVCContext::bs_width
int HEVCContext::bs_height

Definition at line 866 of file hevc.h.

Referenced by hevc_frame_start(), and pic_arrays_init().

int HEVCContext::is_decoded

Definition at line 868 of file hevc.h.

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

int HEVCContext::no_rasl_output_flag
HEVCPredContext HEVCContext::hpc
HEVCDSPContext HEVCContext::hevcdsp
VideoDSPContext HEVCContext::vdsp

Definition at line 873 of file hevc.h.

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

BswapDSPContext HEVCContext::bdsp

Definition at line 874 of file hevc.h.

Referenced by hevc_init_context(), and verify_md5().

int8_t* HEVCContext::qp_y_tab

Definition at line 875 of file hevc.h.

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

uint8_t* HEVCContext::horizontal_bs
uint8_t* HEVCContext::vertical_bs
int32_t* HEVCContext::tab_slice_address
uint8_t* HEVCContext::skip_flag
uint8_t* HEVCContext::tab_ct_depth
uint8_t* HEVCContext::tab_ipm
uint8_t* HEVCContext::cbf_luma
uint8_t* HEVCContext::is_pcm
uint8_t* HEVCContext::filter_slice_edges

Definition at line 891 of file hevc.h.

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

uint8_t* HEVCContext::checksum_buf

used on BE to byteswap the lines for checksumming

Definition at line 894 of file hevc.h.

Referenced by verify_md5().

int HEVCContext::checksum_buf_size

Definition at line 895 of file hevc.h.

Referenced by verify_md5().

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 901 of file hevc.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().

uint16_t HEVCContext::seq_output

Definition at line 902 of file hevc.h.

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

int HEVCContext::enable_parallel_tiles

Definition at line 904 of file hevc.h.

Referenced by hevc_decode_init(), and hls_slice_header().

int HEVCContext::wpp_err

Definition at line 905 of file hevc.h.

Referenced by hls_decode_entry_wpp(), and hls_slice_data_wpp().

const uint8_t* HEVCContext::data

Definition at line 907 of file hevc.h.

Referenced by hls_slice_data_wpp().

HEVCPacket HEVCContext::pkt

Definition at line 909 of file hevc.h.

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

enum NALUnitType HEVCContext::first_nal_type

Definition at line 911 of file hevc.h.

Referenced by decode_nal_unit(), and hevc_frame_start().

struct AVMD5* HEVCContext::md5_ctx

Definition at line 914 of file hevc.h.

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

uint8_t HEVCContext::md5[3][16]

Definition at line 915 of file hevc.h.

Referenced by decode_nal_sei_decoded_picture_hash(), and verify_md5().

uint8_t HEVCContext::is_md5

Definition at line 916 of file hevc.h.

Referenced by decode_nal_sei_decoded_picture_hash(), and hevc_decode_frame().

uint8_t HEVCContext::context_initialized

Definition at line 918 of file hevc.h.

Referenced by hevc_init_context(), and hevc_update_thread_context().

uint8_t HEVCContext::is_nalff

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

Definition at line 919 of file hevc.h.

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

int HEVCContext::apply_defdispwin

Definition at line 921 of file hevc.h.

Referenced by decode_nal_unit().

int HEVCContext::active_seq_parameter_set_id

Definition at line 923 of file hevc.h.

Referenced by active_parameter_sets(), and decode_pic_timing().

int HEVCContext::nal_length_size

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

Definition at line 925 of file hevc.h.

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

int HEVCContext::nuh_layer_id

Definition at line 926 of file hevc.h.

int HEVCContext::sei_frame_packing_present

frame packing arrangement variables

Definition at line 929 of file hevc.h.

Referenced by decode_nal_sei_frame_packing_arrangement(), and set_side_data().

int HEVCContext::frame_packing_arrangement_type

Definition at line 930 of file hevc.h.

Referenced by decode_nal_sei_frame_packing_arrangement(), and set_side_data().

int HEVCContext::content_interpretation_type

Definition at line 931 of file hevc.h.

Referenced by decode_nal_sei_frame_packing_arrangement(), and set_side_data().

int HEVCContext::quincunx_subsampling

Definition at line 932 of file hevc.h.

Referenced by decode_nal_sei_frame_packing_arrangement(), and set_side_data().

int HEVCContext::sei_display_orientation_present

display orientation

Definition at line 935 of file hevc.h.

Referenced by decode_nal_sei_display_orientation(), and set_side_data().

int HEVCContext::sei_anticlockwise_rotation

Definition at line 936 of file hevc.h.

Referenced by decode_nal_sei_display_orientation(), and set_side_data().

int HEVCContext::sei_hflip

Definition at line 937 of file hevc.h.

Referenced by decode_nal_sei_display_orientation(), and set_side_data().

int HEVCContext::sei_vflip

Definition at line 937 of file hevc.h.

Referenced by decode_nal_sei_display_orientation(), and set_side_data().

int HEVCContext::picture_struct

Definition at line 939 of file hevc.h.

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

uint8_t* HEVCContext::a53_caption

Definition at line 941 of file hevc.h.

Referenced by decode_registered_user_data_closed_caption(), and set_side_data().

int HEVCContext::a53_caption_size

Definition at line 942 of file hevc.h.

Referenced by decode_registered_user_data_closed_caption(), and set_side_data().

int HEVCContext::sei_mastering_display_info_present

mastering display

Definition at line 945 of file hevc.h.

Referenced by decode_nal_sei_mastering_display_info(), and set_side_data().

uint16_t HEVCContext::display_primaries[3][2]

Definition at line 946 of file hevc.h.

Referenced by decode_nal_sei_mastering_display_info(), and set_side_data().

uint16_t HEVCContext::white_point[2]

Definition at line 947 of file hevc.h.

Referenced by decode_nal_sei_mastering_display_info(), and set_side_data().

uint32_t HEVCContext::max_mastering_luminance

Definition at line 948 of file hevc.h.

Referenced by decode_nal_sei_mastering_display_info(), and set_side_data().

uint32_t HEVCContext::min_mastering_luminance

Definition at line 949 of file hevc.h.

Referenced by decode_nal_sei_mastering_display_info(), and set_side_data().


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