pub struct StdVideoH265SequenceParameterSet<'a> {Show 39 fields
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 */
}Expand description
Native structure StdVideoH265SequenceParameterSet.
Fields§
§flags: StdVideoH265SpsFlagsNative field flags.
chroma_format_idc: StdVideoH265ChromaFormatIdcNative field chroma_format_idc.
pic_width_in_luma_samples: u32Native field pic_width_in_luma_samples.
pic_height_in_luma_samples: u32Native field pic_height_in_luma_samples.
sps_video_parameter_set_id: u8Native field sps_video_parameter_set_id.
sps_max_sub_layers_minus1: u8Native field sps_max_sub_layers_minus1.
sps_seq_parameter_set_id: u8Native field sps_seq_parameter_set_id.
bit_depth_luma_minus8: u8Native field bit_depth_luma_minus8.
bit_depth_chroma_minus8: u8Native field bit_depth_chroma_minus8.
log2_max_pic_order_cnt_lsb_minus4: u8Native field log2_max_pic_order_cnt_lsb_minus4.
log2_min_luma_coding_block_size_minus3: u8Native field log2_min_luma_coding_block_size_minus3.
log2_diff_max_min_luma_coding_block_size: u8Native field log2_diff_max_min_luma_coding_block_size.
log2_min_luma_transform_block_size_minus2: u8Native field log2_min_luma_transform_block_size_minus2.
log2_diff_max_min_luma_transform_block_size: u8Native field log2_diff_max_min_luma_transform_block_size.
max_transform_hierarchy_depth_inter: u8Native field max_transform_hierarchy_depth_inter.
max_transform_hierarchy_depth_intra: u8Native field max_transform_hierarchy_depth_intra.
num_short_term_ref_pic_sets: u8Native field num_short_term_ref_pic_sets.
num_long_term_ref_pics_sps: u8Native field num_long_term_ref_pics_sps.
pcm_sample_bit_depth_luma_minus1: u8Native field pcm_sample_bit_depth_luma_minus1.
pcm_sample_bit_depth_chroma_minus1: u8Native field pcm_sample_bit_depth_chroma_minus1.
log2_min_pcm_luma_coding_block_size_minus3: u8Native field log2_min_pcm_luma_coding_block_size_minus3.
log2_diff_max_min_pcm_luma_coding_block_size: u8Native field log2_diff_max_min_pcm_luma_coding_block_size.
reserved1: u8Native field reserved1.
reserved2: u8Native field reserved2.
palette_max_size: u8Native field palette_max_size.
delta_palette_max_predictor_size: u8Native field delta_palette_max_predictor_size.
motion_vector_resolution_control_idc: u8Native field motion_vector_resolution_control_idc.
sps_num_palette_predictor_initializers_minus1: u8Native field sps_num_palette_predictor_initializers_minus1.
conf_win_left_offset: u32Native field conf_win_left_offset.
conf_win_right_offset: u32Native field conf_win_right_offset.
conf_win_top_offset: u32Native field conf_win_top_offset.
conf_win_bottom_offset: u32Native field conf_win_bottom_offset.
p_profile_tier_level: *const StdVideoH265ProfileTierLevelNative field pProfileTierLevel.
p_dec_pic_buf_mgr: *const StdVideoH265DecPicBufMgrNative field pDecPicBufMgr.
p_scaling_lists: *const StdVideoH265ScalingListsNative field pScalingLists.
p_short_term_ref_pic_set: *const StdVideoH265ShortTermRefPicSetNative field pShortTermRefPicSet.
p_long_term_ref_pics_sps: *const StdVideoH265LongTermRefPicsSpsNative field pLongTermRefPicsSps.
p_sequence_parameter_set_vui: *const StdVideoH265SequenceParameterSetVui<'a>Native field pSequenceParameterSetVui.
p_predictor_palette_entries: *const StdVideoH265PredictorPaletteEntriesNative field pPredictorPaletteEntries.
Implementations§
Source§impl<'a> StdVideoH265SequenceParameterSet<'a>
impl<'a> StdVideoH265SequenceParameterSet<'a>
Sourcepub fn set_flags(self, value: StdVideoH265SpsFlags) -> Self
pub fn set_flags(self, value: StdVideoH265SpsFlags) -> Self
Set native field flags without native effects.
Sourcepub fn set_chroma_format_idc(self, value: StdVideoH265ChromaFormatIdc) -> Self
pub fn set_chroma_format_idc(self, value: StdVideoH265ChromaFormatIdc) -> Self
Set native field chroma_format_idc without native effects.
Sourcepub fn set_pic_width_in_luma_samples(self, value: u32) -> Self
pub fn set_pic_width_in_luma_samples(self, value: u32) -> Self
Set native field pic_width_in_luma_samples without native effects.
Sourcepub fn set_pic_height_in_luma_samples(self, value: u32) -> Self
pub fn set_pic_height_in_luma_samples(self, value: u32) -> Self
Set native field pic_height_in_luma_samples without native effects.
Sourcepub fn set_sps_video_parameter_set_id(self, value: u8) -> Self
pub fn set_sps_video_parameter_set_id(self, value: u8) -> Self
Set native field sps_video_parameter_set_id without native effects.
Sourcepub fn set_sps_max_sub_layers_minus1(self, value: u8) -> Self
pub fn set_sps_max_sub_layers_minus1(self, value: u8) -> Self
Set native field sps_max_sub_layers_minus1 without native effects.
Sourcepub fn set_sps_seq_parameter_set_id(self, value: u8) -> Self
pub fn set_sps_seq_parameter_set_id(self, value: u8) -> Self
Set native field sps_seq_parameter_set_id without native effects.
Sourcepub fn set_bit_depth_luma_minus8(self, value: u8) -> Self
pub fn set_bit_depth_luma_minus8(self, value: u8) -> Self
Set native field bit_depth_luma_minus8 without native effects.
Sourcepub fn set_bit_depth_chroma_minus8(self, value: u8) -> Self
pub fn set_bit_depth_chroma_minus8(self, value: u8) -> Self
Set native field bit_depth_chroma_minus8 without native effects.
Sourcepub fn set_log2_max_pic_order_cnt_lsb_minus4(self, value: u8) -> Self
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.
Sourcepub fn set_log2_min_luma_coding_block_size_minus3(self, value: u8) -> Self
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.
Sourcepub fn set_log2_diff_max_min_luma_coding_block_size(self, value: u8) -> Self
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.
Sourcepub fn set_log2_min_luma_transform_block_size_minus2(self, value: u8) -> Self
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.
Sourcepub fn set_log2_diff_max_min_luma_transform_block_size(self, value: u8) -> Self
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.
Sourcepub fn set_max_transform_hierarchy_depth_inter(self, value: u8) -> Self
pub fn set_max_transform_hierarchy_depth_inter(self, value: u8) -> Self
Set native field max_transform_hierarchy_depth_inter without native effects.
Sourcepub fn set_max_transform_hierarchy_depth_intra(self, value: u8) -> Self
pub fn set_max_transform_hierarchy_depth_intra(self, value: u8) -> Self
Set native field max_transform_hierarchy_depth_intra without native effects.
Sourcepub fn set_num_short_term_ref_pic_sets(self, value: u8) -> Self
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.
Sourcepub fn set_num_long_term_ref_pics_sps(self, value: u8) -> Self
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.
Sourcepub fn set_pcm_sample_bit_depth_luma_minus1(self, value: u8) -> Self
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.
Sourcepub fn set_pcm_sample_bit_depth_chroma_minus1(self, value: u8) -> Self
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.
Sourcepub fn set_log2_min_pcm_luma_coding_block_size_minus3(self, value: u8) -> Self
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.
Sourcepub fn set_log2_diff_max_min_pcm_luma_coding_block_size(self, value: u8) -> Self
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.
Sourcepub fn set_reserved1(self, value: u8) -> Self
pub fn set_reserved1(self, value: u8) -> Self
Set native field reserved1 without native effects.
Sourcepub fn set_reserved2(self, value: u8) -> Self
pub fn set_reserved2(self, value: u8) -> Self
Set native field reserved2 without native effects.
Sourcepub fn set_palette_max_size(self, value: u8) -> Self
pub fn set_palette_max_size(self, value: u8) -> Self
Set native field palette_max_size without native effects.
Sourcepub fn set_delta_palette_max_predictor_size(self, value: u8) -> Self
pub fn set_delta_palette_max_predictor_size(self, value: u8) -> Self
Set native field delta_palette_max_predictor_size without native effects.
Sourcepub fn set_motion_vector_resolution_control_idc(self, value: u8) -> Self
pub fn set_motion_vector_resolution_control_idc(self, value: u8) -> Self
Set native field motion_vector_resolution_control_idc without native effects.
Sourcepub fn set_sps_num_palette_predictor_initializers_minus1(
self,
value: u8,
) -> Self
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.
Sourcepub fn set_conf_win_left_offset(self, value: u32) -> Self
pub fn set_conf_win_left_offset(self, value: u32) -> Self
Set native field conf_win_left_offset without native effects.
Sourcepub fn set_conf_win_right_offset(self, value: u32) -> Self
pub fn set_conf_win_right_offset(self, value: u32) -> Self
Set native field conf_win_right_offset without native effects.
Sourcepub fn set_conf_win_top_offset(self, value: u32) -> Self
pub fn set_conf_win_top_offset(self, value: u32) -> Self
Set native field conf_win_top_offset without native effects.
Sourcepub fn set_conf_win_bottom_offset(self, value: u32) -> Self
pub fn set_conf_win_bottom_offset(self, value: u32) -> Self
Set native field conf_win_bottom_offset without native effects.
Sourcepub fn set_profile_tier_level(
self,
value: &'a StdVideoH265ProfileTierLevel,
) -> Self
pub fn set_profile_tier_level( self, value: &'a StdVideoH265ProfileTierLevel, ) -> Self
Set native field pProfileTierLevel without native effects.
Sourcepub fn set_dec_pic_buf_mgr(self, value: &'a StdVideoH265DecPicBufMgr) -> Self
pub fn set_dec_pic_buf_mgr(self, value: &'a StdVideoH265DecPicBufMgr) -> Self
Set native field pDecPicBufMgr without native effects.
Sourcepub fn set_scaling_lists(self, value: &'a StdVideoH265ScalingLists) -> Self
pub fn set_scaling_lists(self, value: &'a StdVideoH265ScalingLists) -> Self
Set native field pScalingLists without native effects.
Sourcepub fn set_short_term_ref_pic_set(
self,
value: &'a [StdVideoH265ShortTermRefPicSet],
) -> Result<Self, ConstructionError>
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.
Sourcepub fn set_long_term_ref_pics_sps(
self,
value: &'a StdVideoH265LongTermRefPicsSps,
) -> Self
pub fn set_long_term_ref_pics_sps( self, value: &'a StdVideoH265LongTermRefPicsSps, ) -> Self
Set native field pLongTermRefPicsSps without native effects.
Sourcepub fn set_sequence_parameter_set_vui(
self,
value: &'a StdVideoH265SequenceParameterSetVui<'a>,
) -> Self
pub fn set_sequence_parameter_set_vui( self, value: &'a StdVideoH265SequenceParameterSetVui<'a>, ) -> Self
Set native field pSequenceParameterSetVui without native effects.
Sourcepub fn set_predictor_palette_entries(
self,
value: &'a StdVideoH265PredictorPaletteEntries,
) -> Self
pub fn set_predictor_palette_entries( self, value: &'a StdVideoH265PredictorPaletteEntries, ) -> Self
Set native field pPredictorPaletteEntries without native effects.