Realm

vk · Structs · S10

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

StRustExperimental

Stvk::StdVideoEncodeH264ReferenceListsInfo

pub struct StdVideoEncodeH264ReferenceListsInfo<'a> { pub flags: StdVideoEncodeH264ReferenceListsInfoFlags, pub num_ref_idx_l0_active_minus1: u8, pub num_ref_idx_l1_active_minus1: u8, pub ref_pic_list0: [u8; 32], pub ref_pic_list1: [u8; 32], pub ref_list0_mod_op_count: u8, pub ref_list1_mod_op_count: u8, pub ref_pic_marking_op_count: u8, pub reserved1: [u8; 7], pub p_ref_list0_mod_operations: *const StdVideoEncodeH264RefListModEntry, pub p_ref_list1_mod_operations: *const StdVideoEncodeH264RefListModEntry, pub p_ref_pic_marking_operations: *const StdVideoEncodeH264RefPicMarkingEntry, /* private fields */ }
Native structure StdVideoEncodeH264ReferenceListsInfo.

Contract

Native structure StdVideoEncodeH264ReferenceListsInfo.

Khronos registry source: StdVideoEncodeH264ReferenceListsInfo

Fields

flags

Field
flags: StdVideoEncodeH264ReferenceListsInfoFlags

Native field flags.

num_ref_idx_l0_active_minus1

Field
num_ref_idx_l0_active_minus1: u8

Native field num_ref_idx_l0_active_minus1.

num_ref_idx_l1_active_minus1

Field
num_ref_idx_l1_active_minus1: u8

Native field num_ref_idx_l1_active_minus1.

ref_pic_list0

Field
ref_pic_list0: [u8; 32]

Native field RefPicList0.

ref_pic_list1

Field
ref_pic_list1: [u8; 32]

Native field RefPicList1.

ref_list0_mod_op_count

Field
ref_list0_mod_op_count: u8

Native field refList0ModOpCount.

ref_list1_mod_op_count

Field
ref_list1_mod_op_count: u8

Native field refList1ModOpCount.

ref_pic_marking_op_count

Field
ref_pic_marking_op_count: u8

Native field refPicMarkingOpCount.

reserved1

Field
reserved1: [u8; 7]

Native field reserved1.

p_ref_list0_mod_operations

Field
p_ref_list0_mod_operations: *const StdVideoEncodeH264RefListModEntry

Native field pRefList0ModOperations.

p_ref_list1_mod_operations

Field
p_ref_list1_mod_operations: *const StdVideoEncodeH264RefListModEntry

Native field pRefList1ModOperations.

p_ref_pic_marking_operations

Field
p_ref_pic_marking_operations: *const StdVideoEncodeH264RefPicMarkingEntry

Native field pRefPicMarkingOperations.

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

Set native field flags without native effects.

set_num_ref_idx_l0_active_minus1

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

Set native field num_ref_idx_l0_active_minus1 without native effects.

set_num_ref_idx_l1_active_minus1

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

Set native field num_ref_idx_l1_active_minus1 without native effects.

set_ref_pic_list0

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

Set native field RefPicList0 without native effects.

set_ref_pic_list1

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

Set native field RefPicList1 without native effects.

set_ref_list0_mod_op_count

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

Set native count refList0ModOpCount 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_ref_list1_mod_op_count

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

Set native count refList1ModOpCount 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_ref_pic_marking_op_count

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

Set native count refPicMarkingOpCount 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_reserved1

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

Set native field reserved1 without native effects.

set_ref_list0_mod_operations

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

Borrow pRefList0ModOperations and set checked native count refList0ModOpCount. 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_ref_list1_mod_operations

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

Borrow pRefList1ModOperations and set checked native count refList1ModOpCount. 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_ref_pic_marking_operations

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

Borrow pRefPicMarkingOperations and set checked native count refPicMarkingOpCount. 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.

clone

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

Stvk::StdVideoEncodeH264ReferenceListsInfoFlags

Contract

Native structure StdVideoEncodeH264ReferenceListsInfoFlags.

Khronos registry source: StdVideoEncodeH264ReferenceListsInfoFlags

Fields

_bitfield_1

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

Methods and associated items

ref_pic_list_modification_flag_l0

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

Read native bitfield ref_pic_list_modification_flag_l0.

set_ref_pic_list_modification_flag_l0

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

Set native bitfield ref_pic_list_modification_flag_l0, retaining its low 1 bits.

ref_pic_list_modification_flag_l1

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

Read native bitfield ref_pic_list_modification_flag_l1.

set_ref_pic_list_modification_flag_l1

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

Set native bitfield ref_pic_list_modification_flag_l1, 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 30 bits.

new

Method
pub fn new() -> Self

Construct the record with its default native state.

clone

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

Stvk::StdVideoEncodeH264RefListModEntry

#[repr(C)]pub struct StdVideoEncodeH264RefListModEntry { pub modification_of_pic_nums_idc: StdVideoH264ModificationOfPicNumsIdc, pub abs_diff_pic_num_minus1: u16, pub long_term_pic_num: u16, }
Native structure StdVideoEncodeH264RefListModEntry.

Contract

Native structure StdVideoEncodeH264RefListModEntry.

Khronos registry source: StdVideoEncodeH264RefListModEntry

Fields

modification_of_pic_nums_idc

Field
modification_of_pic_nums_idc: StdVideoH264ModificationOfPicNumsIdc

Native field modification_of_pic_nums_idc.

abs_diff_pic_num_minus1

Field
abs_diff_pic_num_minus1: u16

Native field abs_diff_pic_num_minus1.

long_term_pic_num

Field
long_term_pic_num: u16

Native field long_term_pic_num.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_modification_of_pic_nums_idc

Method
pub fn set_modification_of_pic_nums_idc( self, value: StdVideoH264ModificationOfPicNumsIdc, ) -> Self

Set native field modification_of_pic_nums_idc without native effects.

set_abs_diff_pic_num_minus1

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

Set native field abs_diff_pic_num_minus1 without native effects.

set_long_term_pic_num

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

Set native field long_term_pic_num without native effects.

clone

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

Stvk::StdVideoEncodeH264RefPicMarkingEntry

#[repr(C)]pub struct StdVideoEncodeH264RefPicMarkingEntry { pub memory_management_control_operation: StdVideoH264MemMgmtControlOp, pub difference_of_pic_nums_minus1: u16, pub long_term_pic_num: u16, pub long_term_frame_idx: u16, pub max_long_term_frame_idx_plus1: u16, }
Native structure StdVideoEncodeH264RefPicMarkingEntry.

Contract

Native structure StdVideoEncodeH264RefPicMarkingEntry.

Khronos registry source: StdVideoEncodeH264RefPicMarkingEntry

Fields

memory_management_control_operation

Field
memory_management_control_operation: StdVideoH264MemMgmtControlOp

Native field memory_management_control_operation.

difference_of_pic_nums_minus1

Field
difference_of_pic_nums_minus1: u16

Native field difference_of_pic_nums_minus1.

long_term_pic_num

Field
long_term_pic_num: u16

Native field long_term_pic_num.

long_term_frame_idx

Field
long_term_frame_idx: u16

Native field long_term_frame_idx.

max_long_term_frame_idx_plus1

Field
max_long_term_frame_idx_plus1: u16

Native field max_long_term_frame_idx_plus1.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_memory_management_control_operation

Method
pub fn set_memory_management_control_operation( self, value: StdVideoH264MemMgmtControlOp, ) -> Self

Set native field memory_management_control_operation without native effects.

set_difference_of_pic_nums_minus1

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

Set native field difference_of_pic_nums_minus1 without native effects.

set_long_term_pic_num

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

Set native field long_term_pic_num without native effects.

set_long_term_frame_idx

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

Set native field long_term_frame_idx without native effects.

set_max_long_term_frame_idx_plus1

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

Set native field max_long_term_frame_idx_plus1 without native effects.

clone

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

Stvk::StdVideoEncodeH264SliceHeader

pub struct StdVideoEncodeH264SliceHeader<'a> { pub flags: StdVideoEncodeH264SliceHeaderFlags, pub first_mb_in_slice: u32, pub slice_type: StdVideoH264SliceType, pub slice_alpha_c0_offset_div2: i8, pub slice_beta_offset_div2: i8, pub slice_qp_delta: i8, pub reserved1: u8, pub cabac_init_idc: StdVideoH264CabacInitIdc, pub disable_deblocking_filter_idc: StdVideoH264DisableDeblockingFilterIdc, pub p_weight_table: *const StdVideoEncodeH264WeightTable, /* private fields */ }
Native structure StdVideoEncodeH264SliceHeader.

Contract

Native structure StdVideoEncodeH264SliceHeader.

Khronos registry source: StdVideoEncodeH264SliceHeader

Fields

flags

Field
flags: StdVideoEncodeH264SliceHeaderFlags

Native field flags.

first_mb_in_slice

Field
first_mb_in_slice: u32

Native field first_mb_in_slice.

slice_type

Field
slice_type: StdVideoH264SliceType

Native field slice_type.

slice_alpha_c0_offset_div2

Field
slice_alpha_c0_offset_div2: i8

Native field slice_alpha_c0_offset_div2.

slice_beta_offset_div2

Field
slice_beta_offset_div2: i8

Native field slice_beta_offset_div2.

slice_qp_delta

Field
slice_qp_delta: i8

Native field slice_qp_delta.

reserved1

Field
reserved1: u8

Native field reserved1.

cabac_init_idc

Field
cabac_init_idc: StdVideoH264CabacInitIdc

Native field cabac_init_idc.

disable_deblocking_filter_idc

Field
disable_deblocking_filter_idc: StdVideoH264DisableDeblockingFilterIdc

Native field disable_deblocking_filter_idc.

p_weight_table

Field
p_weight_table: *const StdVideoEncodeH264WeightTable

Native field pWeightTable.

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

Set native field flags without native effects.

set_first_mb_in_slice

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

Set native field first_mb_in_slice without native effects.

set_slice_type

Method
pub fn set_slice_type(self, value: StdVideoH264SliceType) -> Self

Set native field slice_type without native effects.

set_slice_alpha_c0_offset_div2

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

Set native field slice_alpha_c0_offset_div2 without native effects.

set_slice_beta_offset_div2

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

Set native field slice_beta_offset_div2 without native effects.

set_slice_qp_delta

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

Set native field slice_qp_delta without native effects.

set_reserved1

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

Set native field reserved1 without native effects.

set_cabac_init_idc

Method
pub fn set_cabac_init_idc(self, value: StdVideoH264CabacInitIdc) -> Self

Set native field cabac_init_idc without native effects.

set_disable_deblocking_filter_idc

Method
pub fn set_disable_deblocking_filter_idc( self, value: StdVideoH264DisableDeblockingFilterIdc, ) -> Self

Set native field disable_deblocking_filter_idc without native effects.

set_weight_table

Method
pub fn set_weight_table(self, value: &'a StdVideoEncodeH264WeightTable) -> Self

Set native field pWeightTable without native effects.

clone

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

Stvk::StdVideoEncodeH264SliceHeaderFlags

Contract

Native structure StdVideoEncodeH264SliceHeaderFlags.

Khronos registry source: StdVideoEncodeH264SliceHeaderFlags

Fields

_bitfield_1

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

Methods and associated items

direct_spatial_mv_pred_flag

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

Read native bitfield direct_spatial_mv_pred_flag.

set_direct_spatial_mv_pred_flag

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

Set native bitfield direct_spatial_mv_pred_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.

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 30 bits.

new

Method
pub fn new() -> Self

Construct the record with its default native state.

clone

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

Stvk::StdVideoEncodeH264WeightTable

#[repr(C)]pub struct StdVideoEncodeH264WeightTable { pub flags: StdVideoEncodeH264WeightTableFlags, pub luma_log2_weight_denom: u8, pub chroma_log2_weight_denom: u8, pub luma_weight_l0: [i8; 32], pub luma_offset_l0: [i8; 32], pub chroma_weight_l0: [[i8; 2]; 32], pub chroma_offset_l0: [[i8; 2]; 32], pub luma_weight_l1: [i8; 32], pub luma_offset_l1: [i8; 32], pub chroma_weight_l1: [[i8; 2]; 32], pub chroma_offset_l1: [[i8; 2]; 32], }
Native structure StdVideoEncodeH264WeightTable.

Contract

Native structure StdVideoEncodeH264WeightTable.

Khronos registry source: StdVideoEncodeH264WeightTable

Fields

flags

Field
flags: StdVideoEncodeH264WeightTableFlags

Native field flags.

luma_log2_weight_denom

Field
luma_log2_weight_denom: u8

Native field luma_log2_weight_denom.

chroma_log2_weight_denom

Field
chroma_log2_weight_denom: u8

Native field chroma_log2_weight_denom.

luma_weight_l0

Field
luma_weight_l0: [i8; 32]

Native field luma_weight_l0.

luma_offset_l0

Field
luma_offset_l0: [i8; 32]

Native field luma_offset_l0.

chroma_weight_l0

Field
chroma_weight_l0: [[i8; 2]; 32]

Native field chroma_weight_l0.

chroma_offset_l0

Field
chroma_offset_l0: [[i8; 2]; 32]

Native field chroma_offset_l0.

luma_weight_l1

Field
luma_weight_l1: [i8; 32]

Native field luma_weight_l1.

luma_offset_l1

Field
luma_offset_l1: [i8; 32]

Native field luma_offset_l1.

chroma_weight_l1

Field
chroma_weight_l1: [[i8; 2]; 32]

Native field chroma_weight_l1.

chroma_offset_l1

Field
chroma_offset_l1: [[i8; 2]; 32]

Native field 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: StdVideoEncodeH264WeightTableFlags) -> 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_chroma_log2_weight_denom

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

Set native field chroma_log2_weight_denom without native effects.

set_luma_weight_l0

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

Set native field luma_weight_l0 without native effects.

set_luma_offset_l0

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

Set native field luma_offset_l0 without native effects.

set_chroma_weight_l0

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

Set native field chroma_weight_l0 without native effects.

set_chroma_offset_l0

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

Set native field chroma_offset_l0 without native effects.

set_luma_weight_l1

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

Set native field luma_weight_l1 without native effects.

set_luma_offset_l1

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

Set native field luma_offset_l1 without native effects.

set_chroma_weight_l1

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

Set native field chroma_weight_l1 without native effects.

set_chroma_offset_l1

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

Set native field chroma_offset_l1 without native effects.

clone

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

Stvk::StdVideoEncodeH264WeightTableFlags

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

Contract

Native structure StdVideoEncodeH264WeightTableFlags.

Khronos registry source: StdVideoEncodeH264WeightTableFlags

Fields

luma_weight_l0_flag

Field
luma_weight_l0_flag: u32

Native field luma_weight_l0_flag.

chroma_weight_l0_flag

Field
chroma_weight_l0_flag: u32

Native field chroma_weight_l0_flag.

luma_weight_l1_flag

Field
luma_weight_l1_flag: u32

Native field luma_weight_l1_flag.

chroma_weight_l1_flag

Field
chroma_weight_l1_flag: u32

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

Set native field chroma_weight_l1_flag without native effects.

clone

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

Stvk::StdVideoEncodeH265LongTermRefPics

#[repr(C)]pub struct StdVideoEncodeH265LongTermRefPics { pub num_long_term_sps: u8, pub num_long_term_pics: u8, pub lt_idx_sps: [u8; 32], pub poc_lsb_lt: [u8; 16], pub used_by_curr_pic_lt_flag: u16, pub delta_poc_msb_present_flag: [u8; 48], pub delta_poc_msb_cycle_lt: [u8; 48], }
Native structure StdVideoEncodeH265LongTermRefPics.

Contract

Native structure StdVideoEncodeH265LongTermRefPics.

Khronos registry source: StdVideoEncodeH265LongTermRefPics

Fields

num_long_term_sps

Field
num_long_term_sps: u8

Native field num_long_term_sps.

num_long_term_pics

Field
num_long_term_pics: u8

Native field num_long_term_pics.

lt_idx_sps

Field
lt_idx_sps: [u8; 32]

Native field lt_idx_sps.

poc_lsb_lt

Field
poc_lsb_lt: [u8; 16]

Native field poc_lsb_lt.

used_by_curr_pic_lt_flag

Field
used_by_curr_pic_lt_flag: u16

Native field used_by_curr_pic_lt_flag.

delta_poc_msb_present_flag

Field
delta_poc_msb_present_flag: [u8; 48]

Native field delta_poc_msb_present_flag.

delta_poc_msb_cycle_lt

Field
delta_poc_msb_cycle_lt: [u8; 48]

Native field delta_poc_msb_cycle_lt.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_num_long_term_sps

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

Set native field num_long_term_sps without native effects.

set_num_long_term_pics

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

Set native field num_long_term_pics without native effects.

set_lt_idx_sps

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

Set native field lt_idx_sps without native effects.

set_poc_lsb_lt

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

Set native field poc_lsb_lt without native effects.

set_used_by_curr_pic_lt_flag

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

Set native field used_by_curr_pic_lt_flag without native effects.

set_delta_poc_msb_present_flag

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

Set native field delta_poc_msb_present_flag without native effects.

set_delta_poc_msb_cycle_lt

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

Set native field delta_poc_msb_cycle_lt without native effects.

clone

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

Stvk::StdVideoEncodeH265PictureInfo

pub struct StdVideoEncodeH265PictureInfo<'a> { pub flags: StdVideoEncodeH265PictureInfoFlags, pub pic_type: StdVideoH265PictureType, pub sps_video_parameter_set_id: u8, pub pps_seq_parameter_set_id: u8, pub pps_pic_parameter_set_id: u8, pub short_term_ref_pic_set_idx: u8, pub pic_order_cnt_val: i32, pub temporal_id: u8, pub reserved1: [u8; 7], pub p_ref_lists: *const StdVideoEncodeH265ReferenceListsInfo, pub p_short_term_ref_pic_set: *const StdVideoH265ShortTermRefPicSet, pub p_long_term_ref_pics: *const StdVideoEncodeH265LongTermRefPics, /* private fields */ }
Native structure StdVideoEncodeH265PictureInfo.

Contract

Native structure StdVideoEncodeH265PictureInfo.

Khronos registry source: StdVideoEncodeH265PictureInfo

Fields

flags

Field
flags: StdVideoEncodeH265PictureInfoFlags

Native field flags.

pic_type

Field
pic_type: StdVideoH265PictureType

Native field pic_type.

sps_video_parameter_set_id

Field
sps_video_parameter_set_id: u8

Native field sps_video_parameter_set_id.

pps_seq_parameter_set_id

Field
pps_seq_parameter_set_id: u8

Native field pps_seq_parameter_set_id.

pps_pic_parameter_set_id

Field
pps_pic_parameter_set_id: u8

Native field pps_pic_parameter_set_id.

short_term_ref_pic_set_idx

Field
short_term_ref_pic_set_idx: u8

Native field short_term_ref_pic_set_idx.

pic_order_cnt_val

Field
pic_order_cnt_val: i32

Native field PicOrderCntVal.

temporal_id

Field
temporal_id: u8

Native field TemporalId.

reserved1

Field
reserved1: [u8; 7]

Native field reserved1.

p_ref_lists

Field
p_ref_lists: *const StdVideoEncodeH265ReferenceListsInfo

Native field pRefLists.

p_short_term_ref_pic_set

Field
p_short_term_ref_pic_set: *const StdVideoH265ShortTermRefPicSet

Native field pShortTermRefPicSet.

p_long_term_ref_pics

Field
p_long_term_ref_pics: *const StdVideoEncodeH265LongTermRefPics

Native field pLongTermRefPics.

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

Set native field flags without native effects.

set_pic_type

Method
pub fn set_pic_type(self, value: StdVideoH265PictureType) -> Self

Set native field pic_type 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_pps_seq_parameter_set_id

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

Set native field pps_seq_parameter_set_id without native effects.

set_pps_pic_parameter_set_id

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

Set native field pps_pic_parameter_set_id without native effects.

set_short_term_ref_pic_set_idx

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

Set native field short_term_ref_pic_set_idx without native effects.

set_pic_order_cnt_val

Method
pub fn set_pic_order_cnt_val(self, value: i32) -> Self

Set native field PicOrderCntVal without native effects.

set_temporal_id

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

Set native field TemporalId without native effects.

set_reserved1

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

Set native field reserved1 without native effects.

set_ref_lists

Method
pub fn set_ref_lists( self, value: &'a StdVideoEncodeH265ReferenceListsInfo, ) -> Self

Set native field pRefLists without native effects.

set_short_term_ref_pic_set

Method
pub fn set_short_term_ref_pic_set( self, value: &'a StdVideoH265ShortTermRefPicSet, ) -> Self

Set native field pShortTermRefPicSet without native effects.

set_long_term_ref_pics

Method
pub fn set_long_term_ref_pics( self, value: &'a StdVideoEncodeH265LongTermRefPics, ) -> Self

Set native field pLongTermRefPics without native effects.

clone

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

Stvk::StdVideoEncodeH265PictureInfoFlags

Contract

Native structure StdVideoEncodeH265PictureInfoFlags.

Khronos registry source: StdVideoEncodeH265PictureInfoFlags

Fields

_bitfield_1

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

Methods and associated items

is_reference

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

Read native bitfield is_reference.

set_is_reference

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

Set native bitfield is_reference, retaining its low 1 bits.

irap_pic_flag

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

Read native bitfield IrapPicFlag.

set_irap_pic_flag

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

Set native bitfield IrapPicFlag, retaining its low 1 bits.

used_for_long_term_reference

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

Read native bitfield used_for_long_term_reference.

set_used_for_long_term_reference

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

Set native bitfield used_for_long_term_reference, retaining its low 1 bits.

discardable_flag

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

Read native bitfield discardable_flag.

set_discardable_flag

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

Set native bitfield discardable_flag, retaining its low 1 bits.

cross_layer_bla_flag

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

Read native bitfield cross_layer_bla_flag.

set_cross_layer_bla_flag

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

Set native bitfield cross_layer_bla_flag, retaining its low 1 bits.

pic_output_flag

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

Read native bitfield pic_output_flag.

set_pic_output_flag

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

Set native bitfield pic_output_flag, retaining its low 1 bits.

no_output_of_prior_pics_flag

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

Read native bitfield no_output_of_prior_pics_flag.

set_no_output_of_prior_pics_flag

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

Set native bitfield no_output_of_prior_pics_flag, retaining its low 1 bits.

short_term_ref_pic_set_sps_flag

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

Read native bitfield short_term_ref_pic_set_sps_flag.

set_short_term_ref_pic_set_sps_flag

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

Set native bitfield short_term_ref_pic_set_sps_flag, retaining its low 1 bits.

slice_temporal_mvp_enabled_flag

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

Read native bitfield slice_temporal_mvp_enabled_flag.

set_slice_temporal_mvp_enabled_flag

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

Set native bitfield slice_temporal_mvp_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 23 bits.

new

Method
pub fn new() -> Self

Construct the record with its default native state.

clone

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

Stvk::StdVideoEncodeH265ReferenceInfo

#[repr(C)]pub struct StdVideoEncodeH265ReferenceInfo { pub flags: StdVideoEncodeH265ReferenceInfoFlags, pub pic_type: StdVideoH265PictureType, pub pic_order_cnt_val: i32, pub temporal_id: u8, }
Native structure StdVideoEncodeH265ReferenceInfo.

Contract

Native structure StdVideoEncodeH265ReferenceInfo.

Khronos registry source: StdVideoEncodeH265ReferenceInfo

Fields

flags

Field
flags: StdVideoEncodeH265ReferenceInfoFlags

Native field flags.

pic_type

Field
pic_type: StdVideoH265PictureType

Native field pic_type.

pic_order_cnt_val

Field
pic_order_cnt_val: i32

Native field PicOrderCntVal.

temporal_id

Field
temporal_id: u8

Native field TemporalId.

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

Set native field flags without native effects.

set_pic_type

Method
pub fn set_pic_type(self, value: StdVideoH265PictureType) -> Self

Set native field pic_type without native effects.

set_pic_order_cnt_val

Method
pub fn set_pic_order_cnt_val(self, value: i32) -> Self

Set native field PicOrderCntVal without native effects.

set_temporal_id

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

Set native field TemporalId without native effects.

clone

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

Stvk::StdVideoEncodeH265ReferenceInfoFlags

Contract

Native structure StdVideoEncodeH265ReferenceInfoFlags.

Khronos registry source: StdVideoEncodeH265ReferenceInfoFlags

Fields

_bitfield_1

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

Methods and associated items

used_for_long_term_reference

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

Read native bitfield used_for_long_term_reference.

set_used_for_long_term_reference

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

Set native bitfield used_for_long_term_reference, retaining its low 1 bits.

unused_for_reference

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

Read native bitfield unused_for_reference.

set_unused_for_reference

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

Set native bitfield unused_for_reference, 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 30 bits.

new

Method
pub fn new() -> Self

Construct the record with its default native state.

clone

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

Stvk::StdVideoEncodeH265ReferenceListsInfo

#[repr(C)]pub struct StdVideoEncodeH265ReferenceListsInfo { pub flags: StdVideoEncodeH265ReferenceListsInfoFlags, pub num_ref_idx_l0_active_minus1: u8, pub num_ref_idx_l1_active_minus1: u8, pub ref_pic_list0: [u8; 15], pub ref_pic_list1: [u8; 15], pub list_entry_l0: [u8; 15], pub list_entry_l1: [u8; 15], }
Native structure StdVideoEncodeH265ReferenceListsInfo.

Contract

Native structure StdVideoEncodeH265ReferenceListsInfo.

Khronos registry source: StdVideoEncodeH265ReferenceListsInfo

Fields

flags

Field
flags: StdVideoEncodeH265ReferenceListsInfoFlags

Native field flags.

num_ref_idx_l0_active_minus1

Field
num_ref_idx_l0_active_minus1: u8

Native field num_ref_idx_l0_active_minus1.

num_ref_idx_l1_active_minus1

Field
num_ref_idx_l1_active_minus1: u8

Native field num_ref_idx_l1_active_minus1.

ref_pic_list0

Field
ref_pic_list0: [u8; 15]

Native field RefPicList0.

ref_pic_list1

Field
ref_pic_list1: [u8; 15]

Native field RefPicList1.

list_entry_l0

Field
list_entry_l0: [u8; 15]

Native field list_entry_l0.

list_entry_l1

Field
list_entry_l1: [u8; 15]

Native field list_entry_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: StdVideoEncodeH265ReferenceListsInfoFlags) -> Self

Set native field flags without native effects.

set_num_ref_idx_l0_active_minus1

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

Set native field num_ref_idx_l0_active_minus1 without native effects.

set_num_ref_idx_l1_active_minus1

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

Set native field num_ref_idx_l1_active_minus1 without native effects.

set_ref_pic_list0

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

Set native field RefPicList0 without native effects.

set_ref_pic_list1

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

Set native field RefPicList1 without native effects.

set_list_entry_l0

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

Set native field list_entry_l0 without native effects.

set_list_entry_l1

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

Set native field list_entry_l1 without native effects.

clone

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

Stvk::StdVideoEncodeH265ReferenceListsInfoFlags

Contract

Native structure StdVideoEncodeH265ReferenceListsInfoFlags.

Khronos registry source: StdVideoEncodeH265ReferenceListsInfoFlags

Fields

_bitfield_1

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

Methods and associated items

ref_pic_list_modification_flag_l0

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

Read native bitfield ref_pic_list_modification_flag_l0.

set_ref_pic_list_modification_flag_l0

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

Set native bitfield ref_pic_list_modification_flag_l0, retaining its low 1 bits.

ref_pic_list_modification_flag_l1

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

Read native bitfield ref_pic_list_modification_flag_l1.

set_ref_pic_list_modification_flag_l1

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

Set native bitfield ref_pic_list_modification_flag_l1, 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 30 bits.

new

Method
pub fn new() -> Self

Construct the record with its default native state.

clone

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

Stvk::StdVideoEncodeH265SliceSegmentHeader

pub struct StdVideoEncodeH265SliceSegmentHeader<'a> { pub flags: StdVideoEncodeH265SliceSegmentHeaderFlags, pub slice_type: StdVideoH265SliceType, pub slice_segment_address: u32, pub collocated_ref_idx: u8, pub max_num_merge_cand: u8, pub slice_cb_qp_offset: i8, pub slice_cr_qp_offset: i8, pub slice_beta_offset_div2: i8, pub slice_tc_offset_div2: i8, pub slice_act_y_qp_offset: i8, pub slice_act_cb_qp_offset: i8, pub slice_act_cr_qp_offset: i8, pub slice_qp_delta: i8, pub reserved1: u16, pub p_weight_table: *const StdVideoEncodeH265WeightTable, /* private fields */ }
Native structure StdVideoEncodeH265SliceSegmentHeader.

Contract

Native structure StdVideoEncodeH265SliceSegmentHeader.

Khronos registry source: StdVideoEncodeH265SliceSegmentHeader

Fields

flags

Field
flags: StdVideoEncodeH265SliceSegmentHeaderFlags

Native field flags.

slice_type

Field
slice_type: StdVideoH265SliceType

Native field slice_type.

slice_segment_address

Field
slice_segment_address: u32

Native field slice_segment_address.

collocated_ref_idx

Field
collocated_ref_idx: u8

Native field collocated_ref_idx.

max_num_merge_cand

Field
max_num_merge_cand: u8

Native field MaxNumMergeCand.

slice_cb_qp_offset

Field
slice_cb_qp_offset: i8

Native field slice_cb_qp_offset.

slice_cr_qp_offset

Field
slice_cr_qp_offset: i8

Native field slice_cr_qp_offset.

slice_beta_offset_div2

Field
slice_beta_offset_div2: i8

Native field slice_beta_offset_div2.

slice_tc_offset_div2

Field
slice_tc_offset_div2: i8

Native field slice_tc_offset_div2.

slice_act_y_qp_offset

Field
slice_act_y_qp_offset: i8

Native field slice_act_y_qp_offset.

slice_act_cb_qp_offset

Field
slice_act_cb_qp_offset: i8

Native field slice_act_cb_qp_offset.

slice_act_cr_qp_offset

Field
slice_act_cr_qp_offset: i8

Native field slice_act_cr_qp_offset.

slice_qp_delta

Field
slice_qp_delta: i8

Native field slice_qp_delta.

reserved1

Field
reserved1: u16

Native field reserved1.

p_weight_table

Field
p_weight_table: *const StdVideoEncodeH265WeightTable

Native field pWeightTable.

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

Set native field flags without native effects.

set_slice_type

Method
pub fn set_slice_type(self, value: StdVideoH265SliceType) -> Self

Set native field slice_type without native effects.

set_slice_segment_address

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

Set native field slice_segment_address without native effects.

set_collocated_ref_idx

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

Set native field collocated_ref_idx without native effects.

set_max_num_merge_cand

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

Set native field MaxNumMergeCand without native effects.

set_slice_cb_qp_offset

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

Set native field slice_cb_qp_offset without native effects.

set_slice_cr_qp_offset

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

Set native field slice_cr_qp_offset without native effects.

set_slice_beta_offset_div2

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

Set native field slice_beta_offset_div2 without native effects.

set_slice_tc_offset_div2

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

Set native field slice_tc_offset_div2 without native effects.

set_slice_act_y_qp_offset

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

Set native field slice_act_y_qp_offset without native effects.

set_slice_act_cb_qp_offset

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

Set native field slice_act_cb_qp_offset without native effects.

set_slice_act_cr_qp_offset

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

Set native field slice_act_cr_qp_offset without native effects.

set_slice_qp_delta

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

Set native field slice_qp_delta without native effects.

set_reserved1

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

Set native field reserved1 without native effects.

set_weight_table

Method
pub fn set_weight_table(self, value: &'a StdVideoEncodeH265WeightTable) -> Self

Set native field pWeightTable without native effects.

clone

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