Skip to main content

StdVideoH265PictureParameterSet

Struct StdVideoH265PictureParameterSet 

Source
pub struct StdVideoH265PictureParameterSet<'a> {
Show 36 fields pub flags: StdVideoH265PpsFlags, pub pps_pic_parameter_set_id: u8, pub pps_seq_parameter_set_id: u8, pub sps_video_parameter_set_id: u8, pub num_extra_slice_header_bits: u8, pub num_ref_idx_l0_default_active_minus1: u8, pub num_ref_idx_l1_default_active_minus1: u8, pub init_qp_minus26: i8, pub diff_cu_qp_delta_depth: u8, pub pps_cb_qp_offset: i8, pub pps_cr_qp_offset: i8, pub pps_beta_offset_div2: i8, pub pps_tc_offset_div2: i8, pub log2_parallel_merge_level_minus2: u8, pub log2_max_transform_skip_block_size_minus2: u8, pub diff_cu_chroma_qp_offset_depth: u8, pub chroma_qp_offset_list_len_minus1: u8, pub cb_qp_offset_list: [i8; 6], pub cr_qp_offset_list: [i8; 6], pub log2_sao_offset_scale_luma: u8, pub log2_sao_offset_scale_chroma: u8, pub pps_act_y_qp_offset_plus5: i8, pub pps_act_cb_qp_offset_plus5: i8, pub pps_act_cr_qp_offset_plus3: i8, pub pps_num_palette_predictor_initializers: u8, pub luma_bit_depth_entry_minus8: u8, pub chroma_bit_depth_entry_minus8: u8, pub num_tile_columns_minus1: u8, pub num_tile_rows_minus1: u8, pub reserved1: u8, pub reserved2: u8, pub column_width_minus1: [u16; 19], pub row_height_minus1: [u16; 21], pub reserved3: u32, pub p_scaling_lists: *const StdVideoH265ScalingLists, pub p_predictor_palette_entries: *const StdVideoH265PredictorPaletteEntries, /* private fields */
}
Expand description

Native structure StdVideoH265PictureParameterSet.

Khronos registry source: StdVideoH265PictureParameterSet

Fields§

§flags: StdVideoH265PpsFlags

Native field flags.

§pps_pic_parameter_set_id: u8

Native field pps_pic_parameter_set_id.

§pps_seq_parameter_set_id: u8

Native field pps_seq_parameter_set_id.

§sps_video_parameter_set_id: u8

Native field sps_video_parameter_set_id.

§num_extra_slice_header_bits: u8

Native field num_extra_slice_header_bits.

§num_ref_idx_l0_default_active_minus1: u8

Native field num_ref_idx_l0_default_active_minus1.

§num_ref_idx_l1_default_active_minus1: u8

Native field num_ref_idx_l1_default_active_minus1.

§init_qp_minus26: i8

Native field init_qp_minus26.

§diff_cu_qp_delta_depth: u8

Native field diff_cu_qp_delta_depth.

§pps_cb_qp_offset: i8

Native field pps_cb_qp_offset.

§pps_cr_qp_offset: i8

Native field pps_cr_qp_offset.

§pps_beta_offset_div2: i8

Native field pps_beta_offset_div2.

§pps_tc_offset_div2: i8

Native field pps_tc_offset_div2.

§log2_parallel_merge_level_minus2: u8

Native field log2_parallel_merge_level_minus2.

§log2_max_transform_skip_block_size_minus2: u8

Native field log2_max_transform_skip_block_size_minus2.

§diff_cu_chroma_qp_offset_depth: u8

Native field diff_cu_chroma_qp_offset_depth.

§chroma_qp_offset_list_len_minus1: u8

Native field chroma_qp_offset_list_len_minus1.

§cb_qp_offset_list: [i8; 6]

Native field cb_qp_offset_list.

§cr_qp_offset_list: [i8; 6]

Native field cr_qp_offset_list.

§log2_sao_offset_scale_luma: u8

Native field log2_sao_offset_scale_luma.

§log2_sao_offset_scale_chroma: u8

Native field log2_sao_offset_scale_chroma.

§pps_act_y_qp_offset_plus5: i8

Native field pps_act_y_qp_offset_plus5.

§pps_act_cb_qp_offset_plus5: i8

Native field pps_act_cb_qp_offset_plus5.

§pps_act_cr_qp_offset_plus3: i8

Native field pps_act_cr_qp_offset_plus3.

§pps_num_palette_predictor_initializers: u8

Native field pps_num_palette_predictor_initializers.

§luma_bit_depth_entry_minus8: u8

Native field luma_bit_depth_entry_minus8.

§chroma_bit_depth_entry_minus8: u8

Native field chroma_bit_depth_entry_minus8.

§num_tile_columns_minus1: u8

Native field num_tile_columns_minus1.

§num_tile_rows_minus1: u8

Native field num_tile_rows_minus1.

§reserved1: u8

Native field reserved1.

§reserved2: u8

Native field reserved2.

§column_width_minus1: [u16; 19]

Native field column_width_minus1.

§row_height_minus1: [u16; 21]

Native field row_height_minus1.

§reserved3: u32

Native field reserved3.

§p_scaling_lists: *const StdVideoH265ScalingLists

Native field pScalingLists.

§p_predictor_palette_entries: *const StdVideoH265PredictorPaletteEntries

Native field pPredictorPaletteEntries.

Implementations§

Source§

impl<'a> StdVideoH265PictureParameterSet<'a>

Source

pub fn new() -> Self

Construct the record with its default native state.

Source

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

Set native field flags without native effects.

Source

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

Set native field pps_pic_parameter_set_id without native effects.

Source

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

Set native field pps_seq_parameter_set_id 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_num_extra_slice_header_bits(self, value: u8) -> Self

Set native field num_extra_slice_header_bits without native effects.

Source

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

Set native field num_ref_idx_l0_default_active_minus1 without native effects.

Source

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

Set native field num_ref_idx_l1_default_active_minus1 without native effects.

Source

pub fn set_init_qp_minus26(self, value: i8) -> Self

Set native field init_qp_minus26 without native effects.

Source

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

Set native field diff_cu_qp_delta_depth without native effects.

Source

pub fn set_pps_cb_qp_offset(self, value: i8) -> Self

Set native field pps_cb_qp_offset without native effects.

Source

pub fn set_pps_cr_qp_offset(self, value: i8) -> Self

Set native field pps_cr_qp_offset without native effects.

Source

pub fn set_pps_beta_offset_div2(self, value: i8) -> Self

Set native field pps_beta_offset_div2 without native effects.

Source

pub fn set_pps_tc_offset_div2(self, value: i8) -> Self

Set native field pps_tc_offset_div2 without native effects.

Source

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

Set native field log2_parallel_merge_level_minus2 without native effects.

Source

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

Set native field log2_max_transform_skip_block_size_minus2 without native effects.

Source

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

Set native field diff_cu_chroma_qp_offset_depth without native effects.

Source

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

Set native field chroma_qp_offset_list_len_minus1 without native effects.

Source

pub fn set_cb_qp_offset_list(self, value: [i8; 6]) -> Self

Set native field cb_qp_offset_list without native effects.

Source

pub fn set_cr_qp_offset_list(self, value: [i8; 6]) -> Self

Set native field cr_qp_offset_list without native effects.

Source

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

Set native field log2_sao_offset_scale_luma without native effects.

Source

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

Set native field log2_sao_offset_scale_chroma without native effects.

Source

pub fn set_pps_act_y_qp_offset_plus5(self, value: i8) -> Self

Set native field pps_act_y_qp_offset_plus5 without native effects.

Source

pub fn set_pps_act_cb_qp_offset_plus5(self, value: i8) -> Self

Set native field pps_act_cb_qp_offset_plus5 without native effects.

Source

pub fn set_pps_act_cr_qp_offset_plus3(self, value: i8) -> Self

Set native field pps_act_cr_qp_offset_plus3 without native effects.

Source

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

Set native field pps_num_palette_predictor_initializers without native effects.

Source

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

Set native field luma_bit_depth_entry_minus8 without native effects.

Source

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

Set native field chroma_bit_depth_entry_minus8 without native effects.

Source

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

Set native field num_tile_columns_minus1 without native effects.

Source

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

Set native field num_tile_rows_minus1 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_column_width_minus1(self, value: [u16; 19]) -> Self

Set native field column_width_minus1 without native effects.

Source

pub fn set_row_height_minus1(self, value: [u16; 21]) -> Self

Set native field row_height_minus1 without native effects.

Source

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

Set native field reserved3 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_predictor_palette_entries( self, value: &'a StdVideoH265PredictorPaletteEntries, ) -> Self

Set native field pPredictorPaletteEntries without native effects.

Trait Implementations§

Source§

impl<'a> Clone for StdVideoH265PictureParameterSet<'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 StdVideoH265PictureParameterSet<'a>

Source§

impl<'a> Default for StdVideoH265PictureParameterSet<'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.