Skip to main content

StdVideoH265SequenceParameterSet

Struct StdVideoH265SequenceParameterSet 

Source
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.

Khronos registry source: StdVideoH265SequenceParameterSet

Fields§

§flags: StdVideoH265SpsFlags

Native field flags.

§chroma_format_idc: StdVideoH265ChromaFormatIdc

Native field chroma_format_idc.

§pic_width_in_luma_samples: u32

Native field pic_width_in_luma_samples.

§pic_height_in_luma_samples: u32

Native field pic_height_in_luma_samples.

§sps_video_parameter_set_id: u8

Native field sps_video_parameter_set_id.

§sps_max_sub_layers_minus1: u8

Native field sps_max_sub_layers_minus1.

§sps_seq_parameter_set_id: u8

Native field sps_seq_parameter_set_id.

§bit_depth_luma_minus8: u8

Native field bit_depth_luma_minus8.

§bit_depth_chroma_minus8: u8

Native field bit_depth_chroma_minus8.

§log2_max_pic_order_cnt_lsb_minus4: u8

Native field log2_max_pic_order_cnt_lsb_minus4.

§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: u8

Native field log2_diff_max_min_luma_coding_block_size.

§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: u8

Native field log2_diff_max_min_luma_transform_block_size.

§max_transform_hierarchy_depth_inter: u8

Native field max_transform_hierarchy_depth_inter.

§max_transform_hierarchy_depth_intra: u8

Native field max_transform_hierarchy_depth_intra.

§num_short_term_ref_pic_sets: u8

Native field num_short_term_ref_pic_sets.

§num_long_term_ref_pics_sps: u8

Native field num_long_term_ref_pics_sps.

§pcm_sample_bit_depth_luma_minus1: u8

Native field pcm_sample_bit_depth_luma_minus1.

§pcm_sample_bit_depth_chroma_minus1: u8

Native field pcm_sample_bit_depth_chroma_minus1.

§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: u8

Native field log2_diff_max_min_pcm_luma_coding_block_size.

§reserved1: u8

Native field reserved1.

§reserved2: u8

Native field reserved2.

§palette_max_size: u8

Native field palette_max_size.

§delta_palette_max_predictor_size: u8

Native field delta_palette_max_predictor_size.

§motion_vector_resolution_control_idc: u8

Native field motion_vector_resolution_control_idc.

§sps_num_palette_predictor_initializers_minus1: u8

Native field sps_num_palette_predictor_initializers_minus1.

§conf_win_left_offset: u32

Native field conf_win_left_offset.

§conf_win_right_offset: u32

Native field conf_win_right_offset.

§conf_win_top_offset: u32

Native field conf_win_top_offset.

§conf_win_bottom_offset: u32

Native field conf_win_bottom_offset.

§p_profile_tier_level: *const StdVideoH265ProfileTierLevel

Native field pProfileTierLevel.

§p_dec_pic_buf_mgr: *const StdVideoH265DecPicBufMgr

Native field pDecPicBufMgr.

§p_scaling_lists: *const StdVideoH265ScalingLists

Native field pScalingLists.

§p_short_term_ref_pic_set: *const StdVideoH265ShortTermRefPicSet

Native field pShortTermRefPicSet.

§p_long_term_ref_pics_sps: *const StdVideoH265LongTermRefPicsSps

Native field pLongTermRefPicsSps.

§p_sequence_parameter_set_vui: *const StdVideoH265SequenceParameterSetVui<'a>

Native field pSequenceParameterSetVui.

§p_predictor_palette_entries: *const StdVideoH265PredictorPaletteEntries

Native field pPredictorPaletteEntries.

Implementations§

Source§

impl<'a> StdVideoH265SequenceParameterSet<'a>

Source

pub fn new() -> Self

Construct the record with its default native state.

Source

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

Set native field flags without native effects.

Source

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

Set native field chroma_format_idc without native effects.

Source

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

Set native field pic_width_in_luma_samples without native effects.

Source

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

Set native field pic_height_in_luma_samples without native effects.

Source

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

Set native field sps_video_parameter_set_id without native effects.

Source

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

Set native field sps_max_sub_layers_minus1 without native effects.

Source

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

Set native field sps_seq_parameter_set_id without native effects.

Source

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

Set native field bit_depth_luma_minus8 without native effects.

Source

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

Set native field bit_depth_chroma_minus8 without native effects.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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

Set native field max_transform_hierarchy_depth_inter without native effects.

Source

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

Set native field max_transform_hierarchy_depth_intra without native effects.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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

Set native field reserved1 without native effects.

Source

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

Set native field reserved2 without native effects.

Source

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

Set native field palette_max_size without native effects.

Source

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

Set native field delta_palette_max_predictor_size without native effects.

Source

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

Set native field motion_vector_resolution_control_idc without native effects.

Source

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.

Source

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

Set native field conf_win_left_offset without native effects.

Source

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

Set native field conf_win_right_offset without native effects.

Source

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

Set native field conf_win_top_offset without native effects.

Source

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

Set native field conf_win_bottom_offset without native effects.

Source

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

Set native field pProfileTierLevel without native effects.

Source

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

Set native field pDecPicBufMgr without native effects.

Source

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

Set native field pScalingLists without native effects.

Source

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.

Source

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

Set native field pLongTermRefPicsSps without native effects.

Source

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

Set native field pSequenceParameterSetVui without native effects.

Source

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

Set native field pPredictorPaletteEntries without native effects.

Trait Implementations§

Source§

impl<'a> Clone for StdVideoH265SequenceParameterSet<'a>

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<'a> Copy for StdVideoH265SequenceParameterSet<'a>

Source§

impl<'a> Default for StdVideoH265SequenceParameterSet<'a>

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.