21 #ifndef AVCODEC_HEVC_PS_H 22 #define AVCODEC_HEVC_PS_H 72 unsigned int list_entry_lx[2][32];
78 unsigned int nb_refs[2];
80 uint8_t slice_sample_adaptive_offset_flag[3];
111 int16_t luma_weight_l0[16];
112 int16_t chroma_weight_l0[16][2];
113 int16_t chroma_weight_l1[16][2];
114 int16_t luma_weight_l1[16];
116 int16_t luma_offset_l0[16];
117 int16_t chroma_offset_l0[16][2];
119 int16_t luma_offset_l1[16];
120 int16_t chroma_offset_l1[16][2];
372 int8_t cb_qp_offset_list[6];
373 int8_t cr_qp_offset_list[6];
unsigned int log2_min_cb_size
uint8_t log2_sao_offset_scale_luma
int min_spatial_segmentation_idc
static enum AVPixelFormat pix_fmt
uint8_t diff_cu_chroma_qp_offset_depth
int vui_num_ticks_poc_diff_one_minus1
int max_dec_pic_buffering
int transform_skip_rotation_enabled_flag
unsigned int * row_height
RowHeight.
int vps_num_ticks_poc_diff_one
vps_num_ticks_poc_diff_one_minus1 + 1
int ff_hevc_encode_nal_vps(HEVCVPS *vps, unsigned int id, uint8_t *buf, int buf_size)
uint8_t weighted_bipred_flag
uint8_t seq_loop_filter_across_slices_enabled_flag
uint8_t cabac_init_present_flag
int chroma_loc_info_present_flag
int * ctb_addr_ts_to_rs
CtbAddrTSToRS.
int explicit_rdpcm_enabled_flag
int num_ref_idx_l0_default_active
num_ref_idx_l0_default_active_minus1 + 1
int chroma_sample_loc_type_top_field
uint8_t entropy_coding_sync_enabled_flag
int log2_parallel_merge_level
log2_parallel_merge_level_minus2 + 2
uint8_t log2_sao_offset_scale_chroma
int restricted_ref_pic_lists_flag
unsigned int log2_max_trafo_size
unsigned int num_negative_pics
uint8_t log2_max_transform_skip_block_size
int overscan_info_present_flag
uint8_t vps_timing_info_present_flag
int num_ref_idx_l1_default_active
num_ref_idx_l1_default_active_minus1 + 1
unsigned int log2_min_pcm_cb_size
int vps_max_sub_layers
vps_max_temporal_layers_minus1 + 1
int frame_field_info_present_flag
uint8_t scaling_list_data_present_flag
int high_precision_offsets_enabled_flag
bitstream reader API header.
uint8_t loop_filter_disable_flag
int bitstream_restriction_flag
uint8_t transquant_bypass_enable_flag
uint8_t frame_only_constraint_flag
unsigned int log2_max_poc_lsb
void ff_hevc_ps_uninit(HEVCParamSets *ps)
int persistent_rice_adaptation_enabled_flag
coded frame dimension in various units
uint8_t temporal_id_nesting_flag
int vui_timing_info_present_flag
unsigned int log2_ctb_size
int vui_poc_proportional_to_timing_flag
uint8_t vps_temporal_id_nesting_flag
int motion_vectors_over_pic_boundaries_flag
uint8_t tiles_enabled_flag
uint32_t vps_num_units_in_tick
int vps_num_layer_sets
vps_num_layer_sets_minus1 + 1
uint8_t lists_modification_present_flag
int * min_tb_addr_zs_tab
MinTbAddrZS.
int max_transform_hierarchy_depth_inter
uint8_t vps_poc_proportional_to_timing_flag
int num_tile_columns
num_tile_columns_minus1 + 1
int ff_hevc_decode_nal_vps(GetBitContext *gb, AVCodecContext *avctx, HEVCParamSets *ps)
int max_bits_per_min_cu_denom
uint8_t cu_qp_delta_enabled_flag
uint8_t sign_data_hiding_flag
uint8_t output_flag_present_flag
int log2_max_mv_length_vertical
int max_bytes_per_pic_denom
int overscan_appropriate_flag
int implicit_rdpcm_enabled_flag
uint8_t constrained_intra_pred_flag
uint8_t pic_slice_level_chroma_qp_offsets_present_flag
int colour_description_present_flag
int ff_hevc_compute_poc(const HEVCSPS *sps, int pocTid0, int poc_lsb, int nal_unit_type)
Compute POC of the current frame and return it.
uint8_t transform_skip_enabled_flag
Libavcodec external API header.
uint8_t uniform_spacing_flag
int * ctb_addr_rs_to_ts
CtbAddrRSToTS.
unsigned int log2_min_pu_size
unsigned int sps_id
seq_parameter_set_id
main external API structure.
int log2_max_mv_length_horizontal
int num_extra_slice_header_bits
uint8_t loop_filter_across_tiles_enabled_flag
uint8_t num_long_term_ref_pics_sps
uint8_t cross_component_prediction_enabled_flag
int ff_hevc_decode_nal_pps(GetBitContext *gb, AVCodecContext *avctx, HEVCParamSets *ps)
uint32_t vui_num_units_in_tick
int ff_hevc_parse_sps(HEVCSPS *sps, GetBitContext *gb, unsigned int *sps_id, int apply_defdispwin, AVBufferRef **vps_list, AVCodecContext *avctx)
Parse the SPS from the bitstream into the provided HEVCSPS struct.
uint8_t deblocking_filter_control_present_flag
int transform_skip_context_enabled_flag
uint8_t sps_temporal_mvp_enabled_flag
int chroma_sample_loc_type_bottom_field
int num_tile_rows
num_tile_rows_minus1 + 1
uint8_t chroma_qp_offset_list_enabled_flag
Rational number (pair of numerator and denominator).
int vps_num_hrd_parameters
int ff_hevc_decode_short_term_rps(GetBitContext *gb, AVCodecContext *avctx, ShortTermRPS *rps, const HEVCSPS *sps, int is_slice_header)
unsigned int log2_min_tb_size
refcounted data buffer API
static int FUNC() sps(CodedBitstreamContext *ctx, RWContext *rw, H264RawSPS *current)
uint8_t scaling_list_enable_flag
int tc_offset
tc_offset_div2 * 2
uint8_t transfer_characteristic
int default_display_window_flag
static int FUNC() vps(CodedBitstreamContext *ctx, RWContext *rw, H265RawVPS *current)
unsigned int log2_diff_max_min_coding_block_size
unsigned int log2_max_pcm_cb_size
int ff_hevc_decode_nal_sps(GetBitContext *gb, AVCodecContext *avctx, HEVCParamSets *ps, int apply_defdispwin)
int neutra_chroma_indication_flag
int * tile_pos_rs
TilePosRS.
A reference to a data buffer.
int max_transform_hierarchy_depth_intra
unsigned int * row_bd
RowBd.
Utilties for rational number calculation.
uint8_t weighted_pred_flag
unsigned int * col_bd
ColBd.
unsigned int * column_width
ColumnWidth.
uint8_t slice_header_extension_present_flag
int video_full_range_flag
uint8_t chroma_qp_offset_list_len_minus1
uint8_t sps_strong_intra_smoothing_enable_flag
int rps_idx_num_delta_pocs
uint8_t long_term_ref_pics_present_flag
int vui_hrd_parameters_present_flag
unsigned int right_offset
int diff_cu_qp_delta_depth
uint8_t progressive_source_flag
int video_signal_type_present_flag
uint8_t deblocking_filter_override_enabled_flag
int beta_offset
beta_offset_div2 * 2
int * min_tb_addr_zs
MinTbAddrZS.
uint8_t non_packed_constraint_flag
int intra_smoothing_disabled_flag
AVPixelFormat
Pixel format.
int tiles_fixed_structure_flag
uint8_t interlaced_source_flag
uint8_t separate_colour_plane_flag
unsigned int bottom_offset
int vps_sub_layer_ordering_info_present_flag
uint8_t dependent_slice_segments_enabled_flag