Realm

vk · Structs · S11

16 public declarations with native signatures and source-owned contracts.

StRustExperimental

Stvk::StdVideoEncodeH265SliceSegmentHeaderFlags

Contract

Native structure StdVideoEncodeH265SliceSegmentHeaderFlags.

Khronos registry source: StdVideoEncodeH265SliceSegmentHeaderFlags

Fields

_bitfield_1

Field
_bitfield_1: u32
No public source comment is attached to this declaration.

Methods and associated items

first_slice_segment_in_pic_flag

Method
pub const fn first_slice_segment_in_pic_flag(&self) -> u32

Read native bitfield first_slice_segment_in_pic_flag.

set_first_slice_segment_in_pic_flag

Method
pub fn set_first_slice_segment_in_pic_flag(&mut self, value: u32)

Set native bitfield first_slice_segment_in_pic_flag, retaining its low 1 bits.

dependent_slice_segment_flag

Method
pub const fn dependent_slice_segment_flag(&self) -> u32

Read native bitfield dependent_slice_segment_flag.

set_dependent_slice_segment_flag

Method
pub fn set_dependent_slice_segment_flag(&mut self, value: u32)

Set native bitfield dependent_slice_segment_flag, retaining its low 1 bits.

slice_sao_luma_flag

Method
pub const fn slice_sao_luma_flag(&self) -> u32

Read native bitfield slice_sao_luma_flag.

set_slice_sao_luma_flag

Method
pub fn set_slice_sao_luma_flag(&mut self, value: u32)

Set native bitfield slice_sao_luma_flag, retaining its low 1 bits.

slice_sao_chroma_flag

Method
pub const fn slice_sao_chroma_flag(&self) -> u32

Read native bitfield slice_sao_chroma_flag.

set_slice_sao_chroma_flag

Method
pub fn set_slice_sao_chroma_flag(&mut self, value: u32)

Set native bitfield slice_sao_chroma_flag, retaining its low 1 bits.

num_ref_idx_active_override_flag

Method
pub const fn num_ref_idx_active_override_flag(&self) -> u32

Read native bitfield num_ref_idx_active_override_flag.

set_num_ref_idx_active_override_flag

Method
pub fn set_num_ref_idx_active_override_flag(&mut self, value: u32)

Set native bitfield num_ref_idx_active_override_flag, retaining its low 1 bits.

mvd_l1_zero_flag

Method
pub const fn mvd_l1_zero_flag(&self) -> u32

Read native bitfield mvd_l1_zero_flag.

set_mvd_l1_zero_flag

Method
pub fn set_mvd_l1_zero_flag(&mut self, value: u32)

Set native bitfield mvd_l1_zero_flag, retaining its low 1 bits.

cabac_init_flag

Method
pub const fn cabac_init_flag(&self) -> u32

Read native bitfield cabac_init_flag.

set_cabac_init_flag

Method
pub fn set_cabac_init_flag(&mut self, value: u32)

Set native bitfield cabac_init_flag, retaining its low 1 bits.

cu_chroma_qp_offset_enabled_flag

Method
pub const fn cu_chroma_qp_offset_enabled_flag(&self) -> u32

Read native bitfield cu_chroma_qp_offset_enabled_flag.

set_cu_chroma_qp_offset_enabled_flag

Method
pub fn set_cu_chroma_qp_offset_enabled_flag(&mut self, value: u32)

Set native bitfield cu_chroma_qp_offset_enabled_flag, retaining its low 1 bits.

deblocking_filter_override_flag

Method
pub const fn deblocking_filter_override_flag(&self) -> u32

Read native bitfield deblocking_filter_override_flag.

set_deblocking_filter_override_flag

Method
pub fn set_deblocking_filter_override_flag(&mut self, value: u32)

Set native bitfield deblocking_filter_override_flag, retaining its low 1 bits.

slice_deblocking_filter_disabled_flag

Method
pub const fn slice_deblocking_filter_disabled_flag(&self) -> u32

Read native bitfield slice_deblocking_filter_disabled_flag.

set_slice_deblocking_filter_disabled_flag

Method
pub fn set_slice_deblocking_filter_disabled_flag(&mut self, value: u32)

Set native bitfield slice_deblocking_filter_disabled_flag, retaining its low 1 bits.

collocated_from_l0_flag

Method
pub const fn collocated_from_l0_flag(&self) -> u32

Read native bitfield collocated_from_l0_flag.

set_collocated_from_l0_flag

Method
pub fn set_collocated_from_l0_flag(&mut self, value: u32)

Set native bitfield collocated_from_l0_flag, retaining its low 1 bits.

slice_loop_filter_across_slices_enabled_flag

Method
pub const fn slice_loop_filter_across_slices_enabled_flag(&self) -> u32

Read native bitfield slice_loop_filter_across_slices_enabled_flag.

set_slice_loop_filter_across_slices_enabled_flag

Method
pub fn set_slice_loop_filter_across_slices_enabled_flag(&mut self, value: u32)

Set native bitfield slice_loop_filter_across_slices_enabled_flag, retaining its low 1 bits.

reserved

Method
pub const fn reserved(&self) -> u32

Read native bitfield reserved.

set_reserved

Method
pub fn set_reserved(&mut self, value: u32)

Set native bitfield reserved, retaining its low 20 bits.

new

Method
pub fn new() -> Self

Construct the record with its default native state.

clone

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

Stvk::StdVideoEncodeH265WeightTable

#[repr(C)]pub struct StdVideoEncodeH265WeightTable { pub flags: StdVideoEncodeH265WeightTableFlags, pub luma_log2_weight_denom: u8, pub delta_chroma_log2_weight_denom: i8, pub delta_luma_weight_l0: [i8; 15], pub luma_offset_l0: [i8; 15], pub delta_chroma_weight_l0: [[i8; 2]; 15], pub delta_chroma_offset_l0: [[i8; 2]; 15], pub delta_luma_weight_l1: [i8; 15], pub luma_offset_l1: [i8; 15], pub delta_chroma_weight_l1: [[i8; 2]; 15], pub delta_chroma_offset_l1: [[i8; 2]; 15], }
Native structure StdVideoEncodeH265WeightTable.

Contract

Native structure StdVideoEncodeH265WeightTable.

Khronos registry source: StdVideoEncodeH265WeightTable

Fields

flags

Field
flags: StdVideoEncodeH265WeightTableFlags

Native field flags.

luma_log2_weight_denom

Field
luma_log2_weight_denom: u8

Native field luma_log2_weight_denom.

delta_chroma_log2_weight_denom

Field
delta_chroma_log2_weight_denom: i8

Native field delta_chroma_log2_weight_denom.

delta_luma_weight_l0

Field
delta_luma_weight_l0: [i8; 15]

Native field delta_luma_weight_l0.

luma_offset_l0

Field
luma_offset_l0: [i8; 15]

Native field luma_offset_l0.

delta_chroma_weight_l0

Field
delta_chroma_weight_l0: [[i8; 2]; 15]

Native field delta_chroma_weight_l0.

delta_chroma_offset_l0

Field
delta_chroma_offset_l0: [[i8; 2]; 15]

Native field delta_chroma_offset_l0.

delta_luma_weight_l1

Field
delta_luma_weight_l1: [i8; 15]

Native field delta_luma_weight_l1.

luma_offset_l1

Field
luma_offset_l1: [i8; 15]

Native field luma_offset_l1.

delta_chroma_weight_l1

Field
delta_chroma_weight_l1: [[i8; 2]; 15]

Native field delta_chroma_weight_l1.

delta_chroma_offset_l1

Field
delta_chroma_offset_l1: [[i8; 2]; 15]

Native field delta_chroma_offset_l1.

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: StdVideoEncodeH265WeightTableFlags) -> Self

Set native field flags without native effects.

set_luma_log2_weight_denom

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

Set native field luma_log2_weight_denom without native effects.

set_delta_chroma_log2_weight_denom

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

Set native field delta_chroma_log2_weight_denom without native effects.

set_delta_luma_weight_l0

Method
pub fn set_delta_luma_weight_l0(self, value: [i8; 15]) -> Self

Set native field delta_luma_weight_l0 without native effects.

set_luma_offset_l0

Method
pub fn set_luma_offset_l0(self, value: [i8; 15]) -> Self

Set native field luma_offset_l0 without native effects.

set_delta_chroma_weight_l0

Method
pub fn set_delta_chroma_weight_l0(self, value: [[i8; 2]; 15]) -> Self

Set native field delta_chroma_weight_l0 without native effects.

set_delta_chroma_offset_l0

Method
pub fn set_delta_chroma_offset_l0(self, value: [[i8; 2]; 15]) -> Self

Set native field delta_chroma_offset_l0 without native effects.

set_delta_luma_weight_l1

Method
pub fn set_delta_luma_weight_l1(self, value: [i8; 15]) -> Self

Set native field delta_luma_weight_l1 without native effects.

set_luma_offset_l1

Method
pub fn set_luma_offset_l1(self, value: [i8; 15]) -> Self

Set native field luma_offset_l1 without native effects.

set_delta_chroma_weight_l1

Method
pub fn set_delta_chroma_weight_l1(self, value: [[i8; 2]; 15]) -> Self

Set native field delta_chroma_weight_l1 without native effects.

set_delta_chroma_offset_l1

Method
pub fn set_delta_chroma_offset_l1(self, value: [[i8; 2]; 15]) -> Self

Set native field delta_chroma_offset_l1 without native effects.

clone

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

Stvk::StdVideoEncodeH265WeightTableFlags

#[repr(C)]pub struct StdVideoEncodeH265WeightTableFlags { pub luma_weight_l0_flag: u16, pub chroma_weight_l0_flag: u16, pub luma_weight_l1_flag: u16, pub chroma_weight_l1_flag: u16, }
Native structure StdVideoEncodeH265WeightTableFlags.

Contract

Native structure StdVideoEncodeH265WeightTableFlags.

Khronos registry source: StdVideoEncodeH265WeightTableFlags

Fields

luma_weight_l0_flag

Field
luma_weight_l0_flag: u16

Native field luma_weight_l0_flag.

chroma_weight_l0_flag

Field
chroma_weight_l0_flag: u16

Native field chroma_weight_l0_flag.

luma_weight_l1_flag

Field
luma_weight_l1_flag: u16

Native field luma_weight_l1_flag.

chroma_weight_l1_flag

Field
chroma_weight_l1_flag: u16

Native field chroma_weight_l1_flag.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_luma_weight_l0_flag

Method
pub fn set_luma_weight_l0_flag(self, value: u16) -> Self

Set native field luma_weight_l0_flag without native effects.

set_chroma_weight_l0_flag

Method
pub fn set_chroma_weight_l0_flag(self, value: u16) -> Self

Set native field chroma_weight_l0_flag without native effects.

set_luma_weight_l1_flag

Method
pub fn set_luma_weight_l1_flag(self, value: u16) -> Self

Set native field luma_weight_l1_flag without native effects.

set_chroma_weight_l1_flag

Method
pub fn set_chroma_weight_l1_flag(self, value: u16) -> Self

Set native field chroma_weight_l1_flag without native effects.

clone

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

Stvk::StdVideoH264AspectRatioIdc

Contract

Open integer representation of StdVideoH264AspectRatioIdc.

Khronos registry source: StdVideoH264AspectRatioIdc

Fields

0

Field
0: i32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: i32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> i32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

clone

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

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> StdVideoH264AspectRatioIdc
Returns the “default value” for a type. Read more

eq

Method
fn eq(&self, other: &StdVideoH264AspectRatioIdc) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::StdVideoH264CabacInitIdc

Contract

Open integer representation of StdVideoH264CabacInitIdc.

Khronos registry source: StdVideoH264CabacInitIdc

Fields

0

Field
0: i32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: i32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> i32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

clone

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

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> StdVideoH264CabacInitIdc
Returns the “default value” for a type. Read more

eq

Method
fn eq(&self, other: &StdVideoH264CabacInitIdc) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::StdVideoH264ChromaFormatIdc

Contract

Open integer representation of StdVideoH264ChromaFormatIdc.

Khronos registry source: StdVideoH264ChromaFormatIdc

Fields

0

Field
0: i32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: i32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> i32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

clone

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

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> StdVideoH264ChromaFormatIdc
Returns the “default value” for a type. Read more

eq

Method
fn eq(&self, other: &StdVideoH264ChromaFormatIdc) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::StdVideoH264DisableDeblockingFilterIdc

Contract

Open integer representation of StdVideoH264DisableDeblockingFilterIdc.

Khronos registry source: StdVideoH264DisableDeblockingFilterIdc

Fields

0

Field
0: i32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: i32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> i32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

clone

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

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> StdVideoH264DisableDeblockingFilterIdc
Returns the “default value” for a type. Read more

eq

Method
fn eq(&self, other: &StdVideoH264DisableDeblockingFilterIdc) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::StdVideoH264HrdParameters

#[repr(C)]pub struct StdVideoH264HrdParameters { pub cpb_cnt_minus1: u8, pub bit_rate_scale: u8, pub cpb_size_scale: u8, pub reserved1: u8, pub bit_rate_value_minus1: [u32; 32], pub cpb_size_value_minus1: [u32; 32], pub cbr_flag: [u8; 32], pub initial_cpb_removal_delay_length_minus1: u32, pub cpb_removal_delay_length_minus1: u32, pub dpb_output_delay_length_minus1: u32, pub time_offset_length: u32, }
Native structure StdVideoH264HrdParameters.

Contract

Native structure StdVideoH264HrdParameters.

Khronos registry source: StdVideoH264HrdParameters

Fields

cpb_cnt_minus1

Field
cpb_cnt_minus1: u8

Native field cpb_cnt_minus1.

bit_rate_scale

Field
bit_rate_scale: u8

Native field bit_rate_scale.

cpb_size_scale

Field
cpb_size_scale: u8

Native field cpb_size_scale.

reserved1

Field
reserved1: u8

Native field reserved1.

bit_rate_value_minus1

Field
bit_rate_value_minus1: [u32; 32]

Native field bit_rate_value_minus1.

cpb_size_value_minus1

Field
cpb_size_value_minus1: [u32; 32]

Native field cpb_size_value_minus1.

cbr_flag

Field
cbr_flag: [u8; 32]

Native field cbr_flag.

initial_cpb_removal_delay_length_minus1

Field
initial_cpb_removal_delay_length_minus1: u32

Native field initial_cpb_removal_delay_length_minus1.

cpb_removal_delay_length_minus1

Field
cpb_removal_delay_length_minus1: u32

Native field cpb_removal_delay_length_minus1.

dpb_output_delay_length_minus1

Field
dpb_output_delay_length_minus1: u32

Native field dpb_output_delay_length_minus1.

time_offset_length

Field
time_offset_length: u32

Native field time_offset_length.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_cpb_cnt_minus1

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

Set native field cpb_cnt_minus1 without native effects.

set_bit_rate_scale

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

Set native field bit_rate_scale without native effects.

set_cpb_size_scale

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

Set native field cpb_size_scale without native effects.

set_reserved1

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

Set native field reserved1 without native effects.

set_bit_rate_value_minus1

Method
pub fn set_bit_rate_value_minus1(self, value: [u32; 32]) -> Self

Set native field bit_rate_value_minus1 without native effects.

set_cpb_size_value_minus1

Method
pub fn set_cpb_size_value_minus1(self, value: [u32; 32]) -> Self

Set native field cpb_size_value_minus1 without native effects.

set_cbr_flag

Method
pub fn set_cbr_flag(self, value: [u8; 32]) -> Self

Set native field cbr_flag without native effects.

set_initial_cpb_removal_delay_length_minus1

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

Set native field initial_cpb_removal_delay_length_minus1 without native effects.

set_cpb_removal_delay_length_minus1

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

Set native field cpb_removal_delay_length_minus1 without native effects.

set_dpb_output_delay_length_minus1

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

Set native field dpb_output_delay_length_minus1 without native effects.

set_time_offset_length

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

Set native field time_offset_length without native effects.

clone

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

Stvk::StdVideoH264LevelIdc

Contract

Open integer representation of StdVideoH264LevelIdc.

Khronos registry source: StdVideoH264LevelIdc

Fields

0

Field
0: i32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: i32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> i32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

clone

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

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> StdVideoH264LevelIdc
Returns the “default value” for a type. Read more

eq

Method
fn eq(&self, other: &StdVideoH264LevelIdc) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::StdVideoH264MemMgmtControlOp

Contract

Open integer representation of StdVideoH264MemMgmtControlOp.

Khronos registry source: StdVideoH264MemMgmtControlOp

Fields

0

Field
0: i32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: i32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> i32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

clone

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

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> StdVideoH264MemMgmtControlOp
Returns the “default value” for a type. Read more

eq

Method
fn eq(&self, other: &StdVideoH264MemMgmtControlOp) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::StdVideoH264ModificationOfPicNumsIdc

Contract

Open integer representation of StdVideoH264ModificationOfPicNumsIdc.

Khronos registry source: StdVideoH264ModificationOfPicNumsIdc

Fields

0

Field
0: i32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: i32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> i32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

clone

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

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> StdVideoH264ModificationOfPicNumsIdc
Returns the “default value” for a type. Read more

eq

Method
fn eq(&self, other: &StdVideoH264ModificationOfPicNumsIdc) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::StdVideoH264NonVclNaluType

Contract

Open integer representation of StdVideoH264NonVclNaluType.

Khronos registry source: StdVideoH264NonVclNaluType

Fields

0

Field
0: i32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: i32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> i32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

clone

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

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> StdVideoH264NonVclNaluType
Returns the “default value” for a type. Read more

eq

Method
fn eq(&self, other: &StdVideoH264NonVclNaluType) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::StdVideoH264PictureParameterSet

pub struct StdVideoH264PictureParameterSet<'a> { pub flags: StdVideoH264PpsFlags, pub seq_parameter_set_id: u8, pub pic_parameter_set_id: u8, pub num_ref_idx_l0_default_active_minus1: u8, pub num_ref_idx_l1_default_active_minus1: u8, pub weighted_bipred_idc: StdVideoH264WeightedBipredIdc, pub pic_init_qp_minus26: i8, pub pic_init_qs_minus26: i8, pub chroma_qp_index_offset: i8, pub second_chroma_qp_index_offset: i8, pub p_scaling_lists: *const StdVideoH264ScalingLists, /* private fields */ }
Native structure StdVideoH264PictureParameterSet.

Contract

Native structure StdVideoH264PictureParameterSet.

Khronos registry source: StdVideoH264PictureParameterSet

Fields

flags

Field
flags: StdVideoH264PpsFlags

Native field flags.

seq_parameter_set_id

Field
seq_parameter_set_id: u8

Native field seq_parameter_set_id.

pic_parameter_set_id

Field
pic_parameter_set_id: u8

Native field pic_parameter_set_id.

num_ref_idx_l0_default_active_minus1

Field
num_ref_idx_l0_default_active_minus1: u8

Native field num_ref_idx_l0_default_active_minus1.

num_ref_idx_l1_default_active_minus1

Field
num_ref_idx_l1_default_active_minus1: u8

Native field num_ref_idx_l1_default_active_minus1.

weighted_bipred_idc

Field
weighted_bipred_idc: StdVideoH264WeightedBipredIdc

Native field weighted_bipred_idc.

pic_init_qp_minus26

Field
pic_init_qp_minus26: i8

Native field pic_init_qp_minus26.

pic_init_qs_minus26

Field
pic_init_qs_minus26: i8

Native field pic_init_qs_minus26.

chroma_qp_index_offset

Field
chroma_qp_index_offset: i8

Native field chroma_qp_index_offset.

second_chroma_qp_index_offset

Field
second_chroma_qp_index_offset: i8

Native field second_chroma_qp_index_offset.

p_scaling_lists

Field
p_scaling_lists: *const StdVideoH264ScalingLists

Native field pScalingLists.

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: StdVideoH264PpsFlags) -> Self

Set native field flags without native effects.

set_seq_parameter_set_id

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

Set native field seq_parameter_set_id without native effects.

set_pic_parameter_set_id

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

Set native field pic_parameter_set_id without native effects.

set_num_ref_idx_l0_default_active_minus1

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

set_num_ref_idx_l1_default_active_minus1

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

set_weighted_bipred_idc

Method
pub fn set_weighted_bipred_idc( self, value: StdVideoH264WeightedBipredIdc, ) -> Self

Set native field weighted_bipred_idc without native effects.

set_pic_init_qp_minus26

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

Set native field pic_init_qp_minus26 without native effects.

set_pic_init_qs_minus26

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

Set native field pic_init_qs_minus26 without native effects.

set_chroma_qp_index_offset

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

Set native field chroma_qp_index_offset without native effects.

set_second_chroma_qp_index_offset

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

Set native field second_chroma_qp_index_offset without native effects.

set_scaling_lists

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

Set native field pScalingLists without native effects.

clone

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

Stvk::StdVideoH264PictureType

Contract

Open integer representation of StdVideoH264PictureType.

Khronos registry source: StdVideoH264PictureType

Fields

0

Field
0: i32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: i32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> i32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

clone

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

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> StdVideoH264PictureType
Returns the “default value” for a type. Read more

eq

Method
fn eq(&self, other: &StdVideoH264PictureType) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::StdVideoH264PocType

Contract

Open integer representation of StdVideoH264PocType.

Khronos registry source: StdVideoH264PocType

Fields

0

Field
0: i32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: i32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> i32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> StdVideoH264PocType
Returns the “default value” for a type. Read more

eq

Method
fn eq(&self, other: &StdVideoH264PocType) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::StdVideoH264PpsFlags

Contract

Native structure StdVideoH264PpsFlags.

Khronos registry source: StdVideoH264PpsFlags

Fields

_bitfield_1

Field
_bitfield_1: u32
No public source comment is attached to this declaration.

Methods and associated items

transform_8x8_mode_flag

Method
pub const fn transform_8x8_mode_flag(&self) -> u32

Read native bitfield transform_8x8_mode_flag.

set_transform_8x8_mode_flag

Method
pub fn set_transform_8x8_mode_flag(&mut self, value: u32)

Set native bitfield transform_8x8_mode_flag, retaining its low 1 bits.

redundant_pic_cnt_present_flag

Method
pub const fn redundant_pic_cnt_present_flag(&self) -> u32

Read native bitfield redundant_pic_cnt_present_flag.

set_redundant_pic_cnt_present_flag

Method
pub fn set_redundant_pic_cnt_present_flag(&mut self, value: u32)

Set native bitfield redundant_pic_cnt_present_flag, retaining its low 1 bits.

constrained_intra_pred_flag

Method
pub const fn constrained_intra_pred_flag(&self) -> u32

Read native bitfield constrained_intra_pred_flag.

set_constrained_intra_pred_flag

Method
pub fn set_constrained_intra_pred_flag(&mut self, value: u32)

Set native bitfield constrained_intra_pred_flag, retaining its low 1 bits.

deblocking_filter_control_present_flag

Method
pub const fn deblocking_filter_control_present_flag(&self) -> u32

Read native bitfield deblocking_filter_control_present_flag.

set_deblocking_filter_control_present_flag

Method
pub fn set_deblocking_filter_control_present_flag(&mut self, value: u32)

Set native bitfield deblocking_filter_control_present_flag, retaining its low 1 bits.

weighted_pred_flag

Method
pub const fn weighted_pred_flag(&self) -> u32

Read native bitfield weighted_pred_flag.

set_weighted_pred_flag

Method
pub fn set_weighted_pred_flag(&mut self, value: u32)

Set native bitfield weighted_pred_flag, retaining its low 1 bits.

bottom_field_pic_order_in_frame_present_flag

Method
pub const fn bottom_field_pic_order_in_frame_present_flag(&self) -> u32

Read native bitfield bottom_field_pic_order_in_frame_present_flag.

set_bottom_field_pic_order_in_frame_present_flag

Method
pub fn set_bottom_field_pic_order_in_frame_present_flag(&mut self, value: u32)

Set native bitfield bottom_field_pic_order_in_frame_present_flag, retaining its low 1 bits.

entropy_coding_mode_flag

Method
pub const fn entropy_coding_mode_flag(&self) -> u32

Read native bitfield entropy_coding_mode_flag.

set_entropy_coding_mode_flag

Method
pub fn set_entropy_coding_mode_flag(&mut self, value: u32)

Set native bitfield entropy_coding_mode_flag, retaining its low 1 bits.

pic_scaling_matrix_present_flag

Method
pub const fn pic_scaling_matrix_present_flag(&self) -> u32

Read native bitfield pic_scaling_matrix_present_flag.

set_pic_scaling_matrix_present_flag

Method
pub fn set_pic_scaling_matrix_present_flag(&mut self, value: u32)

Set native bitfield pic_scaling_matrix_present_flag, retaining its low 1 bits.

new

Method
pub fn new() -> Self

Construct the record with its default native state.

clone

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