GstCodecParsers.H266SliceHdr

Fields

Name

Type

Access

Description

alf_aps_id_chroma

int

r/w

specifies the aps_adaptation_parameter_set_id of the ALF APS that the chroma component of the slice refers to.

alf_aps_id_luma

bytes

r/w

specifies the aps_adaptation_parameter_set_id of the i-th ALF APS that the luma component of the slice refers to.

alf_cb_enabled_flag

int

r/w

specifies whether ALF is enabled for the Cb colour component of the current slice.

alf_cc_cb_aps_id

int

r/w

specifies the aps_adaptation_parameter_set_id that the Cb colour component of the slice refers to.

alf_cc_cb_enabled_flag

int

r/w

specifies whether CCALF is enabled for the Cb colour component.

alf_cc_cr_aps_id

int

r/w

specifies the aps_adaptation_parameter_set_id that the Cr colour component of the slice refers to.

alf_cc_cr_enabled_flag

int

r/w

specifies whether CCALF is enabled for the Cr colour component of the current slice.

alf_cr_enabled_flag

int

r/w

specifies whether ALF is enabled for the Cr colour component of the current slice.

alf_enabled_flag

int

r/w

specifies whether ALF is enabled for the Y, Cb, or Cr colour component of the current slice.

cabac_init_flag

int

r/w

specifies the method for determining the initialization table used in the initialization process for context variables.

cb_beta_offset_div2

int

r/w

specify the deblocking parameter offsets for beta that are applied to the Cb component for the current slice.

cb_qp_offset

int

r/w

specifies a difference to be added to the value of pps_cb_qp_offset when determining the value of the Qp’Cb quantization.

cb_tc_offset_div2

int

r/w

specify the deblocking parameter offsets for tC that are applied to the Cb component for the current slice.

collocated_from_l0_flag

int

r/w

specifies whether the collocated picture used for temporal motion vector prediction is derived from RPL 0.

collocated_ref_idx

int

r/w

specifies the reference index of the collocated picture used for temporal motion vector prediction.

cr_beta_offset_div2

int

r/w

specify the deblocking parameter offsets for beta that are applied to the Cr component for the current slice.

cr_qp_offset

int

r/w

specifies a difference to be added to the value of pps_cr_qp_offset when determining the value of the Qp’ Cr quantization.

cr_tc_offset_div2

int

r/w

specify the deblocking parameter offsets for tC that are applied to the Cr component for the current slice.

cu_chroma_qp_offset_enabled_flag

int

r/w

specifies whether the cu_chroma_qp_offset_flag could be present in the transform unit and palette coding syntax of the current slice.

deblocking_filter_disabled_flag

int

r/w

specifies whether the deblocking filter is disabled for the current slice.

deblocking_params_present_flag

int

r/w

specifies whether the deblocking parameters could be present in the slice header.

dep_quant_used_flag

int

r/w

specifies whether dependent quantization is used.

entry_offset_len_minus1

int

r/w

specifies the length, in bits, of the sh_entry_point_offset_minus1[i] syntax elements.

entry_point_offset_minus1

[int]

r/w

specifies the i-th entry point offset in bytes.

entry_point_start_ctu

[int]

r/w

explicit_scaling_list_used_flag

int

r/w

specifies that the explicit scaling list is used in the scaling process for transform coefficients.

extra_bit

bytes

r/w

could have any value.

header_size

int

r/w

size of the slice_header in bits.

joint_cbcr_qp_offset

int

r/w

specifies a difference to be added to the value of pps_joint_cbcr_qp_offset_value when determining the value of the Qp’CbCr.

lmcs_used_flag

int

r/w

specifies that luma mapping is used for the current slice and chroma scaling could be used for the current slice.

luma_beta_offset_div2

int

r/w

specify the deblocking parameter offsets for beta that are applied to the luma component for the current slice.

luma_tc_offset_div2

int

r/w

specify the deblocking parameter offsets for tC that are applied to the luma component for the current slice.

n_emulation_prevention_bytes

int

r/w

number of emulation prevention bytes (EPB) in this slice_header.

no_output_of_prior_pics_flag

int

r/w

affects the output of previously-decoded pictures in the DPB.

num_alf_aps_ids_luma

int

r/w

specifies the number of ALF APSs.

num_entry_points

int

r/w

NumEntryPoints specifies the number of entry points in the current slice.

num_ref_idx_active

bytes

r/w

the calculated NumRefIdxActive value.

num_ref_idx_active_minus1

bytes

r/w

is used for the derivation of the variable NumRefIdxActive[i].

num_ref_idx_active_override_flag

int

r/w

specifies whether the syntax element sh_num_ref_idx_active_minus1[0] is present for P and B slices.

num_tiles_in_slice_minus1

int

r/w

specifies the number of tiles in the slice.

picture_header

GstCodecParsers.H266PicHdr

r/w

the picture header of GstCodecParsers.H266PicHdr.

picture_header_in_slice_header_flag

int

r/w

pred_weight_table

GstCodecParsers.H266PredWeightTable

r/w

prediction weight table of GstCodecParsers.H266PredWeightTable.

qp_delta

int

r/w

specifies the initial value of QpY to be used for the coding blocks in the slice.

ref_pic_lists

GstCodecParsers.H266RefPicLists

r/w

reference pictures lists of GstCodecParsers.H266RefPicLists.

reverse_last_sig_coeff_flag

int

r/w

specifies whether the coordinates of the last significant coefficient are coded relative to ( 0, 0 ) for each transform block of the current slice.

sao_chroma_used_flag

int

r/w

specifies whether SAO is used for the chroma component in the current slice.

sao_luma_used_flag

int

r/w

specifies whether SAO is used for the luma component in the current slice.

sign_data_hiding_used_flag

int

r/w

specifies whether sign bit hiding is not used for the current slice.

slice_address

int

r/w

specifies the slice address of the slice.

slice_header_extension_data_byte

bytes

r/w

could have any value.

slice_header_extension_length

int

r/w

specifies the length of the slice header extension data in bytes.

slice_qp_y

int

r/w

slice_type

int

r/w

specifies the coding type of the slice.

subpic_id

int

r/w

specifies the subpicture ID of the subpicture.

ts_residual_coding_disabled_flag

int

r/w

specifies whether the residual_coding syntax structure is used to parse the residual samples of a transform skip block for the current slice.

ts_residual_coding_rice_idx_minus1

int

r/w

specifies whether Rice parameter used for the residual_ts_coding syntax structure in the current slice.

Methods

None

Details

class GstCodecParsers.H266SliceHdr

Structure defining the H266 slice header.

New in version 1.26.