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
 
AVFrameframe
 
AVFrameoutput_frame
 
uint8_tsao_pixel_buffer_h [3]
 
uint8_tsao_pixel_buffer_v [3]
 
const HEVCVPSvps
 
const HEVCSPSsps
 
const HEVCPPSpps
 
AVBufferRefvps_list [MAX_VPS_COUNT]
 
AVBufferRefsps_list [MAX_SPS_COUNT]
 
AVBufferRefpps_list [MAX_PPS_COUNT]
 
AVBufferRefcurrent_sps
 
AVBufferPooltab_mvf_pool
 
AVBufferPoolrpl_tab_pool
 candidate references for the current frame
 
RefPicList rps [5]
 
SliceHeader sh
 
SAOParamssao
 
DBParamsdeblock
 
enum NALUnitType nal_unit_type
 
int temporal_id
 temporal_id_plus1 - 1
 
HEVCFrameref
 
HEVCFrame DPB [32]
 
int poc
 
int pocTid0
 
int slice_idx
 number of the slice being currently decoded
 
int eos
 current packet contains an EOS/EOB NAL
 
int last_eos
 last packet contains an EOS/EOB NAL
 
int max_ra
 
int bs_width
 
int bs_height
 
int is_decoded
 
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
 
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.
 
uint16_t seq_output
 
int enable_parallel_tiles
 
int wpp_err
 
int skipped_bytes
 
int * skipped_bytes_pos
 
int skipped_bytes_pos_size
 
int * skipped_bytes_nal
 
int ** skipped_bytes_pos_nal
 
int * skipped_bytes_pos_size_nal
 
const uint8_tdata
 
HEVCNALnals
 
int nb_nals
 
int nals_allocated
 
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
 
int apply_defdispwin
 
int active_seq_parameter_set_id
 
int nal_length_size
 Number of bytes used for nal length (1, 2 or 4)
 
int nuh_layer_id
 
int sei_frame_packing_present
 frame packing arrangement variables
 
int frame_packing_arrangement_type
 
int content_interpretation_type
 
int quincunx_subsampling
 
int sei_display_orientation_present
 display orientation
 
int sei_anticlockwise_rotation
 
int sei_hflip
 
int sei_vflip
 
int picture_struct
 

Detailed Description

Definition at line 790 of file hevc.h.

Field Documentation

const AVClass* HEVCContext::c

Definition at line 791 of file hevc.h.

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

Definition at line 796 of file hevc.h.

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

HEVCLocalContext* HEVCContext::HEVClc

Definition at line 797 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_hrd(), decode_nal_sei_decoded_picture_hash(), decode_nal_sei_display_orientation(), decode_nal_sei_frame_packing_arrangement(), decode_nal_sei_message(), decode_nal_unit(), decode_nal_units(), decode_pic_timing(), decode_profile_tier_level(), decode_sublayer_hrd(), decode_vui(), 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_pps(), ff_hevc_decode_nal_sei(), ff_hevc_decode_nal_sps(), ff_hevc_decode_nal_vps(), ff_hevc_decode_short_term_rps(), 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(), get_qPy_pred(), hevc_close(), hevc_decode_free(), hevc_frame_start(), hevc_init(), hevc_init_context(), hevc_luma_mv_mpv_mode(), hls_coding_quadtree(), hls_coding_unit(), hls_cross_component_pred(), hls_decode_neighbour(), hls_nal_unit(), 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(), parse_nal_units(), parse_ptl(), pps_range_extensions(), sao_filter_CTB(), and scaling_list_data().

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

Definition at line 802 of file hevc.h.

int HEVCContext::height

Definition at line 803 of file hevc.h.

uint8_t* HEVCContext::cabac_state

Definition at line 805 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 808 of file hevc.h.

Referenced by hls_slice_header().

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

Definition at line 811 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 812 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 813 of file hevc.h.

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

const HEVCVPS* HEVCContext::vps

Definition at line 815 of file hevc.h.

Referenced by hevc_decode_free(), parse_nal_units(), and set_sps().

const HEVCSPS* HEVCContext::sps

Definition at line 816 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(), derive_spatial_merge_candidates(), ff_hevc_bump_frame(), ff_hevc_cabac_init(), ff_hevc_compute_poc(), ff_hevc_deblocking_boundary_strengths(), ff_hevc_decode_nal_sps(), ff_hevc_get_ref_list(), ff_hevc_hls_filter(), ff_hevc_hls_filters(), ff_hevc_hls_residual_coding(), 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(), fill_picture_parameters(), fill_scaling_lists(), find_ref_idx(), generate_missing_ref(), get_pcm(), get_qPy(), get_qPy_pred(), hevc_close(), 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_header(), hls_transform_tree(), hls_transform_unit(), intra_prediction_unit(), intra_prediction_unit_default_value(), luma_intra_pred_mode(), luma_mc_bi(), luma_mc_uni(), mv_mp_mode_mx(), mv_mp_mode_mx_lt(), parse_nal_units(), pred_weight_table(), restore_tqb_pixels(), sao_filter_CTB(), set_ct_depth(), set_deblocking_bypass(), set_sps(), temporal_luma_motion_vector(), and z_scan_block_avail().

const HEVCPPS* HEVCContext::pps
AVBufferRef* HEVCContext::vps_list[MAX_VPS_COUNT]
AVBufferRef* HEVCContext::sps_list[MAX_SPS_COUNT]
AVBufferRef* HEVCContext::pps_list[MAX_PPS_COUNT]
AVBufferRef* HEVCContext::current_sps
AVBufferPool* HEVCContext::tab_mvf_pool

Definition at line 824 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 827 of file hevc.h.

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

RefPicList HEVCContext::rps[5]

Definition at line 828 of file hevc.h.

Referenced by ff_hevc_frame_rps(), and ff_hevc_slice_rpl().

SliceHeader HEVCContext::sh
SAOParams* HEVCContext::sao

Definition at line 831 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 832 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 834 of file hevc.h.

Referenced by hls_nal_unit(), hls_slice_header(), and parse_nal_units().

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

number of the slice being currently decoded

Definition at line 839 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 840 of file hevc.h.

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

int HEVCContext::last_eos

last packet contains an EOS/EOB NAL

Definition at line 841 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 844 of file hevc.h.

Referenced by hevc_frame_start(), and pic_arrays_init().

int HEVCContext::is_decoded

Definition at line 846 of file hevc.h.

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

HEVCPredContext HEVCContext::hpc

Definition at line 848 of file hevc.h.

Referenced by hls_transform_unit(), and set_sps().

HEVCDSPContext HEVCContext::hevcdsp
VideoDSPContext HEVCContext::vdsp

Definition at line 850 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 851 of file hevc.h.

Referenced by hevc_init_context(), and verify_md5().

int8_t* HEVCContext::qp_y_tab

Definition at line 852 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 868 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 871 of file hevc.h.

Referenced by verify_md5().

int HEVCContext::checksum_buf_size

Definition at line 872 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 878 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 879 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 881 of file hevc.h.

Referenced by hevc_decode_init(), and hls_slice_header().

int HEVCContext::wpp_err

Definition at line 882 of file hevc.h.

Referenced by hls_decode_entry_wpp(), and hls_slice_data_wpp().

int HEVCContext::skipped_bytes

Definition at line 883 of file hevc.h.

Referenced by decode_nal_units(), and ff_hevc_extract_rbsp().

int* HEVCContext::skipped_bytes_pos

Definition at line 884 of file hevc.h.

Referenced by decode_nal_units(), ff_hevc_extract_rbsp(), hevc_close(), and hls_slice_data_wpp().

int HEVCContext::skipped_bytes_pos_size

Definition at line 885 of file hevc.h.

Referenced by decode_nal_units(), ff_hevc_extract_rbsp(), and hevc_init().

int* HEVCContext::skipped_bytes_nal

Definition at line 887 of file hevc.h.

Referenced by decode_nal_units(), and hevc_decode_free().

int** HEVCContext::skipped_bytes_pos_nal

Definition at line 888 of file hevc.h.

Referenced by decode_nal_units(), and hevc_decode_free().

int* HEVCContext::skipped_bytes_pos_size_nal

Definition at line 889 of file hevc.h.

Referenced by decode_nal_units(), and hevc_decode_free().

const uint8_t* HEVCContext::data

Definition at line 891 of file hevc.h.

Referenced by hls_slice_data_wpp().

HEVCNAL* HEVCContext::nals

Definition at line 893 of file hevc.h.

Referenced by decode_nal_units(), hevc_close(), hevc_decode_free(), and parse_nal_units().

int HEVCContext::nb_nals

Definition at line 894 of file hevc.h.

Referenced by alloc_frame(), and decode_nal_units().

int HEVCContext::nals_allocated

Definition at line 895 of file hevc.h.

Referenced by decode_nal_units(), hevc_close(), hevc_decode_free(), and parse_nal_units().

enum NALUnitType HEVCContext::first_nal_type

Definition at line 897 of file hevc.h.

Referenced by decode_nal_unit(), and hevc_frame_start().

struct AVMD5* HEVCContext::md5_ctx

Definition at line 900 of file hevc.h.

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

uint8_t HEVCContext::md5[3][16]

Definition at line 901 of file hevc.h.

Referenced by decode_nal_sei_decoded_picture_hash(), and verify_md5().

uint8_t HEVCContext::is_md5

Definition at line 902 of file hevc.h.

Referenced by decode_nal_sei_decoded_picture_hash(), and hevc_decode_frame().

uint8_t HEVCContext::context_initialized

Definition at line 904 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 905 of file hevc.h.

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

int HEVCContext::apply_defdispwin

Definition at line 907 of file hevc.h.

Referenced by decode_vui(), and ff_hevc_decode_nal_sps().

int HEVCContext::active_seq_parameter_set_id

Definition at line 909 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 911 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 912 of file hevc.h.

int HEVCContext::sei_frame_packing_present

frame packing arrangement variables

Definition at line 915 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 916 of file hevc.h.

Referenced by decode_nal_sei_frame_packing_arrangement(), and set_side_data().

int HEVCContext::content_interpretation_type

Definition at line 917 of file hevc.h.

Referenced by decode_nal_sei_frame_packing_arrangement(), and set_side_data().

int HEVCContext::quincunx_subsampling

Definition at line 918 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 921 of file hevc.h.

Referenced by decode_nal_sei_display_orientation(), and set_side_data().

int HEVCContext::sei_anticlockwise_rotation

Definition at line 922 of file hevc.h.

Referenced by decode_nal_sei_display_orientation(), and set_side_data().

int HEVCContext::sei_hflip

Definition at line 923 of file hevc.h.

Referenced by decode_nal_sei_display_orientation(), and set_side_data().

int HEVCContext::sei_vflip

Definition at line 923 of file hevc.h.

Referenced by decode_nal_sei_display_orientation(), and set_side_data().

int HEVCContext::picture_struct

Definition at line 925 of file hevc.h.

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


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