vk · Structs · V3
16 public declarations with native signatures and source-owned contracts.
Stvk::VideoDecodeCapabilityFlagBitsKHR
Contract
Open integer representation of VkVideoDecodeCapabilityFlagBitsKHR.
Fields
0
0: u32Methods and associated items
DPB_AND_OUTPUT_COINCIDE_BIT_KHR
Native value VK_VIDEO_DECODE_CAPABILITY_DPB_AND_OUTPUT_COINCIDE_BIT_KHR.
Khronos reference: VK_VIDEO_DECODE_CAPABILITY_DPB_AND_OUTPUT_COINCIDE_BIT_KHR
DPB_AND_OUTPUT_DISTINCT_BIT_KHR
Native value VK_VIDEO_DECODE_CAPABILITY_DPB_AND_OUTPUT_DISTINCT_BIT_KHR.
Khronos reference: VK_VIDEO_DECODE_CAPABILITY_DPB_AND_OUTPUT_DISTINCT_BIT_KHR
from_raw
as_raw
empty
Output
& operator.bitand
& operation. Read moreOutput-1
| operator.bitor
| operation. Read moreOutput-2
^ operator.bitxor
^ operation. Read moreclone
fmt
default
hash
Output-3
! operator.not
! operation. Read moreeq
self and other values to be equal, and is used by ==.Stvk::VideoDecodeFlagsKHR
Contract
Open integer representation of VkVideoDecodeFlagsKHR.
Fields
0
0: u32Methods and associated items
from_raw
as_raw
empty
Output
& operator.bitand
& operation. Read moreOutput-1
| operator.bitor
| operation. Read moreOutput-2
^ operator.bitxor
^ operation. Read moreclone
fmt
default
hash
Output-3
! operator.not
! operation. Read moreeq
self and other values to be equal, and is used by ==.Stvk::VideoDecodeH264CapabilitiesKHR
Contract
Native structure VkVideoDecodeH264CapabilitiesKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
max_level_idc
max_level_idc: StdVideoH264LevelIdcNative field maxLevelIdc.
field_offset_granularity
field_offset_granularity: Offset2DNative field fieldOffsetGranularity.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_max_level_idc
Set native field maxLevelIdc without native effects.
set_field_offset_granularity
Set native field fieldOffsetGranularity without native effects.
push_next
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.
default
Stvk::VideoDecodeH264DpbSlotInfoKHR
Contract
Native structure VkVideoDecodeH264DpbSlotInfoKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
p_std_reference_info
p_std_reference_info: *const StdVideoDecodeH264ReferenceInfoNative field pStdReferenceInfo.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_std_reference_info
Set native field pStdReferenceInfo without native effects.
push_next
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.
default
Stvk::VideoDecodeH264InlineSessionParametersInfoKHR
Contract
Native structure VkVideoDecodeH264InlineSessionParametersInfoKHR.
Khronos reference: VkVideoDecodeH264InlineSessionParametersInfoKHR
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
p_std_sps
p_std_sps: *const StdVideoH264SequenceParameterSet<'a>Native field pStdSPS.
p_std_pps
p_std_pps: *const StdVideoH264PictureParameterSet<'a>Native field pStdPPS.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_std_sps
Set native field pStdSPS without native effects.
set_std_pps
Set native field pStdPPS without native effects.
push_next
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.
default
Stvk::VideoDecodeH264PictureInfoKHR
Contract
Native structure VkVideoDecodeH264PictureInfoKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
p_std_picture_info
p_std_picture_info: *const StdVideoDecodeH264PictureInfoNative field pStdPictureInfo.
slice_count
slice_count: u32Native field sliceCount.
p_slice_offsets
p_slice_offsets: *const u32Native field pSliceOffsets.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_std_picture_info
Set native field pStdPictureInfo without native effects.
set_slice_count
Set native count sliceCount 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_slice_offsets
Borrow pSliceOffsets and set checked native count sliceCount.
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.
push_next
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.
default
Stvk::VideoDecodeH264PictureLayoutFlagBitsKHR
Contract
Open integer representation of VkVideoDecodeH264PictureLayoutFlagBitsKHR.
Khronos reference: VkVideoDecodeH264PictureLayoutFlagBitsKHR
Fields
0
0: u32Methods and associated items
PROGRESSIVE_KHR
Native value VK_VIDEO_DECODE_H264_PICTURE_LAYOUT_PROGRESSIVE_KHR.
Khronos reference: VK_VIDEO_DECODE_H264_PICTURE_LAYOUT_PROGRESSIVE_KHR
INTERLACED_INTERLEAVED_LINES_BIT_KHR
Native value VK_VIDEO_DECODE_H264_PICTURE_LAYOUT_INTERLACED_INTERLEAVED_LINES_BIT_KHR.
Khronos reference: VK_VIDEO_DECODE_H264_PICTURE_LAYOUT_INTERLACED_INTERLEAVED_LINES_BIT_KHR
INTERLACED_SEPARATE_PLANES_BIT_KHR
Native value VK_VIDEO_DECODE_H264_PICTURE_LAYOUT_INTERLACED_SEPARATE_PLANES_BIT_KHR.
Khronos reference: VK_VIDEO_DECODE_H264_PICTURE_LAYOUT_INTERLACED_SEPARATE_PLANES_BIT_KHR
from_raw
as_raw
empty
Output
& operator.bitand
& operation. Read moreOutput-1
| operator.bitor
| operation. Read moreOutput-2
^ operator.bitxor
^ operation. Read moreclone
fmt
default
hash
Output-3
! operator.not
! operation. Read moreeq
self and other values to be equal, and is used by ==.Stvk::VideoDecodeH264ProfileInfoKHR
Contract
Native structure VkVideoDecodeH264ProfileInfoKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
std_profile_idc
std_profile_idc: StdVideoH264ProfileIdcNative field stdProfileIdc.
picture_layout
picture_layout: VideoDecodeH264PictureLayoutFlagBitsKHRNative field pictureLayout.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_std_profile_idc
Set native field stdProfileIdc without native effects.
set_picture_layout
Set native field pictureLayout without native effects.
push_next
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.
default
Stvk::VideoDecodeH264SessionParametersAddInfoKHR
pub struct VideoDecodeH264SessionParametersAddInfoKHR<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub std_sps_count: u32,
pub p_std_sp_ss: *const StdVideoH264SequenceParameterSet<'a>,
pub std_pps_count: u32,
pub p_std_pp_ss: *const StdVideoH264PictureParameterSet<'a>,
/* private fields */
}Contract
Native structure VkVideoDecodeH264SessionParametersAddInfoKHR.
Khronos reference: VkVideoDecodeH264SessionParametersAddInfoKHR
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
std_sps_count
std_sps_count: u32Native field stdSPSCount.
p_std_sp_ss
p_std_sp_ss: *const StdVideoH264SequenceParameterSet<'a>Native field pStdSPSs.
std_pps_count
std_pps_count: u32Native field stdPPSCount.
p_std_pp_ss
p_std_pp_ss: *const StdVideoH264PictureParameterSet<'a>Native field pStdPPSs.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_std_sps_count
Set native count stdSPSCount 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_std_sp_ss
Borrow pStdSPSs and set checked native count stdSPSCount.
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_std_pps_count
Set native count stdPPSCount 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_std_pp_ss
Borrow pStdPPSs and set checked native count stdPPSCount.
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.
push_next
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.
default
Stvk::VideoDecodeH264SessionParametersCreateInfoKHR
Contract
Native structure VkVideoDecodeH264SessionParametersCreateInfoKHR.
Khronos reference: VkVideoDecodeH264SessionParametersCreateInfoKHR
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
max_std_sps_count
max_std_sps_count: u32Native field maxStdSPSCount.
max_std_pps_count
max_std_pps_count: u32Native field maxStdPPSCount.
p_parameters_add_info
p_parameters_add_info: *const VideoDecodeH264SessionParametersAddInfoKHR<'a>Native field pParametersAddInfo.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_max_std_sps_count
Set native field maxStdSPSCount without native effects.
set_max_std_pps_count
Set native field maxStdPPSCount without native effects.
set_parameters_add_info
Set native field pParametersAddInfo without native effects.
push_next
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.
default
Stvk::VideoDecodeH265CapabilitiesKHR
Contract
Native structure VkVideoDecodeH265CapabilitiesKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
max_level_idc
max_level_idc: StdVideoH265LevelIdcNative field maxLevelIdc.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_max_level_idc
Set native field maxLevelIdc without native effects.
push_next
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.
default
Stvk::VideoDecodeH265DpbSlotInfoKHR
Contract
Native structure VkVideoDecodeH265DpbSlotInfoKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
p_std_reference_info
p_std_reference_info: *const StdVideoDecodeH265ReferenceInfoNative field pStdReferenceInfo.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_std_reference_info
Set native field pStdReferenceInfo without native effects.
push_next
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.
default
Stvk::VideoDecodeH265InlineSessionParametersInfoKHR
pub struct VideoDecodeH265InlineSessionParametersInfoKHR<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub p_std_vps: *const StdVideoH265VideoParameterSet<'a>,
pub p_std_sps: *const StdVideoH265SequenceParameterSet<'a>,
pub p_std_pps: *const StdVideoH265PictureParameterSet<'a>,
/* private fields */
}Contract
Native structure VkVideoDecodeH265InlineSessionParametersInfoKHR.
Khronos reference: VkVideoDecodeH265InlineSessionParametersInfoKHR
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
p_std_vps
p_std_vps: *const StdVideoH265VideoParameterSet<'a>Native field pStdVPS.
p_std_sps
p_std_sps: *const StdVideoH265SequenceParameterSet<'a>Native field pStdSPS.
p_std_pps
p_std_pps: *const StdVideoH265PictureParameterSet<'a>Native field pStdPPS.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_std_vps
Set native field pStdVPS without native effects.
set_std_sps
Set native field pStdSPS without native effects.
set_std_pps
Set native field pStdPPS without native effects.
push_next
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.
default
Stvk::VideoDecodeH265PictureInfoKHR
Contract
Native structure VkVideoDecodeH265PictureInfoKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
p_std_picture_info
p_std_picture_info: *const StdVideoDecodeH265PictureInfoNative field pStdPictureInfo.
slice_segment_count
slice_segment_count: u32Native field sliceSegmentCount.
p_slice_segment_offsets
p_slice_segment_offsets: *const u32Native field pSliceSegmentOffsets.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_std_picture_info
Set native field pStdPictureInfo without native effects.
set_slice_segment_count
Set native count sliceSegmentCount 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_slice_segment_offsets
Borrow pSliceSegmentOffsets and set checked native count sliceSegmentCount.
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.
push_next
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.
default
Stvk::VideoDecodeH265ProfileInfoKHR
Contract
Native structure VkVideoDecodeH265ProfileInfoKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
std_profile_idc
std_profile_idc: StdVideoH265ProfileIdcNative field stdProfileIdc.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_std_profile_idc
Set native field stdProfileIdc without native effects.
push_next
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.
default
Stvk::VideoDecodeH265SessionParametersAddInfoKHR
pub struct VideoDecodeH265SessionParametersAddInfoKHR<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub std_vps_count: u32,
pub p_std_vp_ss: *const StdVideoH265VideoParameterSet<'a>,
pub std_sps_count: u32,
pub p_std_sp_ss: *const StdVideoH265SequenceParameterSet<'a>,
pub std_pps_count: u32,
pub p_std_pp_ss: *const StdVideoH265PictureParameterSet<'a>,
/* private fields */
}Contract
Native structure VkVideoDecodeH265SessionParametersAddInfoKHR.
Khronos reference: VkVideoDecodeH265SessionParametersAddInfoKHR
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
std_vps_count
std_vps_count: u32Native field stdVPSCount.
p_std_vp_ss
p_std_vp_ss: *const StdVideoH265VideoParameterSet<'a>Native field pStdVPSs.
std_sps_count
std_sps_count: u32Native field stdSPSCount.
p_std_sp_ss
p_std_sp_ss: *const StdVideoH265SequenceParameterSet<'a>Native field pStdSPSs.
std_pps_count
std_pps_count: u32Native field stdPPSCount.
p_std_pp_ss
p_std_pp_ss: *const StdVideoH265PictureParameterSet<'a>Native field pStdPPSs.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_std_vps_count
Set native count stdVPSCount 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_std_vp_ss
Borrow pStdVPSs and set checked native count stdVPSCount.
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_std_sps_count
Set native count stdSPSCount 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_std_sp_ss
Borrow pStdSPSs and set checked native count stdSPSCount.
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_std_pps_count
Set native count stdPPSCount 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_std_pp_ss
Borrow pStdPPSs and set checked native count stdPPSCount.
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.
push_next
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.