Realm

vk::StdVideoH265SequenceParameterSet

Native structure StdVideoH265SequenceParameterSet.

StRustExperimental
pub struct StdVideoH265SequenceParameterSet<'a> { pub flags: StdVideoH265SpsFlags, pub chroma_format_idc: StdVideoH265ChromaFormatIdc, pub pic_width_in_luma_samples: u32, pub pic_height_in_luma_samples: u32, pub sps_video_parameter_set_id: u8, pub sps_max_sub_layers_minus1: u8, pub sps_seq_parameter_set_id: u8, pub bit_depth_luma_minus8: u8, pub bit_depth_chroma_minus8: u8, pub log2_max_pic_order_cnt_lsb_minus4: u8, pub log2_min_luma_coding_block_size_minus3: u8, pub log2_diff_max_min_luma_coding_block_size: u8, pub log2_min_luma_transform_block_size_minus2: u8, pub log2_diff_max_min_luma_transform_block_size: u8, pub max_transform_hierarchy_depth_inter: u8, pub max_transform_hierarchy_depth_intra: u8, pub num_short_term_ref_pic_sets: u8, pub num_long_term_ref_pics_sps: u8, pub pcm_sample_bit_depth_luma_minus1: u8, pub pcm_sample_bit_depth_chroma_minus1: u8, pub log2_min_pcm_luma_coding_block_size_minus3: u8, pub log2_diff_max_min_pcm_luma_coding_block_size: u8, pub reserved1: u8, pub reserved2: u8, pub palette_max_size: u8, pub delta_palette_max_predictor_size: u8, pub motion_vector_resolution_control_idc: u8, pub sps_num_palette_predictor_initializers_minus1: u8, pub conf_win_left_offset: u32, pub conf_win_right_offset: u32, pub conf_win_top_offset: u32, pub conf_win_bottom_offset: u32, pub p_profile_tier_level: *const StdVideoH265ProfileTierLevel, pub p_dec_pic_buf_mgr: *const StdVideoH265DecPicBufMgr, pub p_scaling_lists: *const StdVideoH265ScalingLists, pub p_short_term_ref_pic_set: *const StdVideoH265ShortTermRefPicSet, pub p_long_term_ref_pics_sps: *const StdVideoH265LongTermRefPicsSps, pub p_sequence_parameter_set_vui: *const StdVideoH265SequenceParameterSetVui<'a>, pub p_predictor_palette_entries: *const StdVideoH265PredictorPaletteEntries, /* private fields */ }
Native structure StdVideoH265SequenceParameterSet.

Contract

Native structure StdVideoH265SequenceParameterSet.

Khronos registry source: StdVideoH265SequenceParameterSet

Fields

flags

Field
flags: StdVideoH265SpsFlags

Native field flags.

chroma_format_idc

Field
chroma_format_idc: StdVideoH265ChromaFormatIdc

Native field chroma_format_idc.

pic_width_in_luma_samples

Field
pic_width_in_luma_samples: u32

Native field pic_width_in_luma_samples.

pic_height_in_luma_samples

Field
pic_height_in_luma_samples: u32

Native field pic_height_in_luma_samples.

sps_video_parameter_set_id

Field
sps_video_parameter_set_id: u8

Native field sps_video_parameter_set_id.

sps_max_sub_layers_minus1

Field
sps_max_sub_layers_minus1: u8

Native field sps_max_sub_layers_minus1.

sps_seq_parameter_set_id

Field
sps_seq_parameter_set_id: u8

Native field sps_seq_parameter_set_id.

bit_depth_luma_minus8

Field
bit_depth_luma_minus8: u8

Native field bit_depth_luma_minus8.

bit_depth_chroma_minus8

Field
bit_depth_chroma_minus8: u8

Native field bit_depth_chroma_minus8.

log2_max_pic_order_cnt_lsb_minus4

Field
log2_max_pic_order_cnt_lsb_minus4: u8

Native field log2_max_pic_order_cnt_lsb_minus4.

log2_min_luma_coding_block_size_minus3

Field
log2_min_luma_coding_block_size_minus3: u8

Native field log2_min_luma_coding_block_size_minus3.

log2_diff_max_min_luma_coding_block_size

Field
log2_diff_max_min_luma_coding_block_size: u8

Native field log2_diff_max_min_luma_coding_block_size.

log2_min_luma_transform_block_size_minus2

Field
log2_min_luma_transform_block_size_minus2: u8

Native field log2_min_luma_transform_block_size_minus2.

log2_diff_max_min_luma_transform_block_size

Field
log2_diff_max_min_luma_transform_block_size: u8

Native field log2_diff_max_min_luma_transform_block_size.

max_transform_hierarchy_depth_inter

Field
max_transform_hierarchy_depth_inter: u8

Native field max_transform_hierarchy_depth_inter.

max_transform_hierarchy_depth_intra

Field
max_transform_hierarchy_depth_intra: u8

Native field max_transform_hierarchy_depth_intra.

num_short_term_ref_pic_sets

Field
num_short_term_ref_pic_sets: u8

Native field num_short_term_ref_pic_sets.

num_long_term_ref_pics_sps

Field
num_long_term_ref_pics_sps: u8

Native field num_long_term_ref_pics_sps.

pcm_sample_bit_depth_luma_minus1

Field
pcm_sample_bit_depth_luma_minus1: u8

Native field pcm_sample_bit_depth_luma_minus1.

pcm_sample_bit_depth_chroma_minus1

Field
pcm_sample_bit_depth_chroma_minus1: u8

Native field pcm_sample_bit_depth_chroma_minus1.

log2_min_pcm_luma_coding_block_size_minus3

Field
log2_min_pcm_luma_coding_block_size_minus3: u8

Native field log2_min_pcm_luma_coding_block_size_minus3.

log2_diff_max_min_pcm_luma_coding_block_size

Field
log2_diff_max_min_pcm_luma_coding_block_size: u8

Native field log2_diff_max_min_pcm_luma_coding_block_size.

reserved1

Field
reserved1: u8

Native field reserved1.

reserved2

Field
reserved2: u8

Native field reserved2.

palette_max_size

Field
palette_max_size: u8

Native field palette_max_size.

delta_palette_max_predictor_size

Field
delta_palette_max_predictor_size: u8

Native field delta_palette_max_predictor_size.

motion_vector_resolution_control_idc

Field
motion_vector_resolution_control_idc: u8

Native field motion_vector_resolution_control_idc.

sps_num_palette_predictor_initializers_minus1

Field
sps_num_palette_predictor_initializers_minus1: u8

Native field sps_num_palette_predictor_initializers_minus1.

conf_win_left_offset

Field
conf_win_left_offset: u32

Native field conf_win_left_offset.

conf_win_right_offset

Field
conf_win_right_offset: u32

Native field conf_win_right_offset.

conf_win_top_offset

Field
conf_win_top_offset: u32

Native field conf_win_top_offset.

conf_win_bottom_offset

Field
conf_win_bottom_offset: u32

Native field conf_win_bottom_offset.

p_profile_tier_level

Field
p_profile_tier_level: *const StdVideoH265ProfileTierLevel

Native field pProfileTierLevel.

p_dec_pic_buf_mgr

Field
p_dec_pic_buf_mgr: *const StdVideoH265DecPicBufMgr

Native field pDecPicBufMgr.

p_scaling_lists

Field
p_scaling_lists: *const StdVideoH265ScalingLists

Native field pScalingLists.

p_short_term_ref_pic_set

Field
p_short_term_ref_pic_set: *const StdVideoH265ShortTermRefPicSet

Native field pShortTermRefPicSet.

p_long_term_ref_pics_sps

Field
p_long_term_ref_pics_sps: *const StdVideoH265LongTermRefPicsSps

Native field pLongTermRefPicsSps.

p_sequence_parameter_set_vui

Field
p_sequence_parameter_set_vui: *const StdVideoH265SequenceParameterSetVui<'a>

Native field pSequenceParameterSetVui.

p_predictor_palette_entries

Field
p_predictor_palette_entries: *const StdVideoH265PredictorPaletteEntries

Native field pPredictorPaletteEntries.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_flags

Method
pub fn set_flags(self, value: StdVideoH265SpsFlags) -> Self

Set native field flags without native effects.

set_chroma_format_idc

Method
pub fn set_chroma_format_idc(self, value: StdVideoH265ChromaFormatIdc) -> Self

Set native field chroma_format_idc without native effects.

set_pic_width_in_luma_samples

Method
pub fn set_pic_width_in_luma_samples(self, value: u32) -> Self

Set native field pic_width_in_luma_samples without native effects.

set_pic_height_in_luma_samples

Method
pub fn set_pic_height_in_luma_samples(self, value: u32) -> Self

Set native field pic_height_in_luma_samples without native effects.

set_sps_video_parameter_set_id

Method
pub fn set_sps_video_parameter_set_id(self, value: u8) -> Self

Set native field sps_video_parameter_set_id without native effects.

set_sps_max_sub_layers_minus1

Method
pub fn set_sps_max_sub_layers_minus1(self, value: u8) -> Self

Set native field sps_max_sub_layers_minus1 without native effects.

set_sps_seq_parameter_set_id

Method
pub fn set_sps_seq_parameter_set_id(self, value: u8) -> Self

Set native field sps_seq_parameter_set_id without native effects.

set_bit_depth_luma_minus8

Method
pub fn set_bit_depth_luma_minus8(self, value: u8) -> Self

Set native field bit_depth_luma_minus8 without native effects.

set_bit_depth_chroma_minus8

Method
pub fn set_bit_depth_chroma_minus8(self, value: u8) -> Self

Set native field bit_depth_chroma_minus8 without native effects.

set_log2_max_pic_order_cnt_lsb_minus4

Method
pub fn set_log2_max_pic_order_cnt_lsb_minus4(self, value: u8) -> Self

Set native field log2_max_pic_order_cnt_lsb_minus4 without native effects.

set_log2_min_luma_coding_block_size_minus3

Method
pub fn set_log2_min_luma_coding_block_size_minus3(self, value: u8) -> Self

Set native field log2_min_luma_coding_block_size_minus3 without native effects.

set_log2_diff_max_min_luma_coding_block_size

Method
pub fn set_log2_diff_max_min_luma_coding_block_size(self, value: u8) -> Self

Set native field log2_diff_max_min_luma_coding_block_size without native effects.

set_log2_min_luma_transform_block_size_minus2

Method
pub fn set_log2_min_luma_transform_block_size_minus2(self, value: u8) -> Self

Set native field log2_min_luma_transform_block_size_minus2 without native effects.

set_log2_diff_max_min_luma_transform_block_size

Method
pub fn set_log2_diff_max_min_luma_transform_block_size(self, value: u8) -> Self

Set native field log2_diff_max_min_luma_transform_block_size without native effects.

set_max_transform_hierarchy_depth_inter

Method
pub fn set_max_transform_hierarchy_depth_inter(self, value: u8) -> Self

Set native field max_transform_hierarchy_depth_inter without native effects.

set_max_transform_hierarchy_depth_intra

Method
pub fn set_max_transform_hierarchy_depth_intra(self, value: u8) -> Self

Set native field max_transform_hierarchy_depth_intra without native effects.

set_num_short_term_ref_pic_sets

Method
pub fn set_num_short_term_ref_pic_sets(self, value: u8) -> Self

Set native count num_short_term_ref_pic_sets directly without checking associated pointer extents. Use the borrowed array helpers to derive matching storage and counts together. Direct count edits support null-query/dynamic-state paths and remain a native-call validity obligation, including after earlier borrowed setters.

set_num_long_term_ref_pics_sps

Method
pub fn set_num_long_term_ref_pics_sps(self, value: u8) -> Self

Set native field num_long_term_ref_pics_sps without native effects.

set_pcm_sample_bit_depth_luma_minus1

Method
pub fn set_pcm_sample_bit_depth_luma_minus1(self, value: u8) -> Self

Set native field pcm_sample_bit_depth_luma_minus1 without native effects.

set_pcm_sample_bit_depth_chroma_minus1

Method
pub fn set_pcm_sample_bit_depth_chroma_minus1(self, value: u8) -> Self

Set native field pcm_sample_bit_depth_chroma_minus1 without native effects.

set_log2_min_pcm_luma_coding_block_size_minus3

Method
pub fn set_log2_min_pcm_luma_coding_block_size_minus3(self, value: u8) -> Self

Set native field log2_min_pcm_luma_coding_block_size_minus3 without native effects.

set_log2_diff_max_min_pcm_luma_coding_block_size

Method
pub fn set_log2_diff_max_min_pcm_luma_coding_block_size(self, value: u8) -> Self

Set native field log2_diff_max_min_pcm_luma_coding_block_size without native effects.

set_reserved1

Method
pub fn set_reserved1(self, value: u8) -> Self

Set native field reserved1 without native effects.

set_reserved2

Method
pub fn set_reserved2(self, value: u8) -> Self

Set native field reserved2 without native effects.

set_palette_max_size

Method
pub fn set_palette_max_size(self, value: u8) -> Self

Set native field palette_max_size without native effects.

set_delta_palette_max_predictor_size

Method
pub fn set_delta_palette_max_predictor_size(self, value: u8) -> Self

Set native field delta_palette_max_predictor_size without native effects.

set_motion_vector_resolution_control_idc

Method
pub fn set_motion_vector_resolution_control_idc(self, value: u8) -> Self

Set native field motion_vector_resolution_control_idc without native effects.

set_sps_num_palette_predictor_initializers_minus1

Method
pub fn set_sps_num_palette_predictor_initializers_minus1( self, value: u8, ) -> Self

Set native field sps_num_palette_predictor_initializers_minus1 without native effects.

set_conf_win_left_offset

Method
pub fn set_conf_win_left_offset(self, value: u32) -> Self

Set native field conf_win_left_offset without native effects.

set_conf_win_right_offset

Method
pub fn set_conf_win_right_offset(self, value: u32) -> Self

Set native field conf_win_right_offset without native effects.

set_conf_win_top_offset

Method
pub fn set_conf_win_top_offset(self, value: u32) -> Self

Set native field conf_win_top_offset without native effects.

set_conf_win_bottom_offset

Method
pub fn set_conf_win_bottom_offset(self, value: u32) -> Self

Set native field conf_win_bottom_offset without native effects.

set_profile_tier_level

Method
pub fn set_profile_tier_level( self, value: &'a StdVideoH265ProfileTierLevel, ) -> Self

Set native field pProfileTierLevel without native effects.

set_dec_pic_buf_mgr

Method
pub fn set_dec_pic_buf_mgr(self, value: &'a StdVideoH265DecPicBufMgr) -> Self

Set native field pDecPicBufMgr without native effects.

set_scaling_lists

Method
pub fn set_scaling_lists(self, value: &'a StdVideoH265ScalingLists) -> Self

Set native field pScalingLists without native effects.

set_short_term_ref_pic_set

Method
pub fn set_short_term_ref_pic_set( self, value: &'a [StdVideoH265ShortTermRefPicSet], ) -> Result<Self, ConstructionError>

Borrow pShortTermRefPicSet and set checked native count num_short_term_ref_pic_sets. The borrow covers this storage only; nested raw pointers, format, alignment and asynchronous retention remain native-call obligations. Output storage must be initialized; returned sizes do not enlarge its capacity.

Errors

Returns a construction error if the length exceeds the native count width.

set_long_term_ref_pics_sps

Method
pub fn set_long_term_ref_pics_sps( self, value: &'a StdVideoH265LongTermRefPicsSps, ) -> Self

Set native field pLongTermRefPicsSps without native effects.

set_sequence_parameter_set_vui

Method
pub fn set_sequence_parameter_set_vui( self, value: &'a StdVideoH265SequenceParameterSetVui<'a>, ) -> Self

Set native field pSequenceParameterSetVui without native effects.

set_predictor_palette_entries

Method
pub fn set_predictor_palette_entries( self, value: &'a StdVideoH265PredictorPaletteEntries, ) -> Self

Set native field pPredictorPaletteEntries without native effects.

clone

Method
fn clone(&self) -> StdVideoH265SequenceParameterSet<'a>
Returns a duplicate of the value. Read more