vk · Structs · V4
16 public declarations with native signatures and source-owned contracts.
Stvk::VideoDecodeH265SessionParametersCreateInfoKHR
pub struct VideoDecodeH265SessionParametersCreateInfoKHR<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub max_std_vps_count: u32,
pub max_std_sps_count: u32,
pub max_std_pps_count: u32,
pub p_parameters_add_info: *const VideoDecodeH265SessionParametersAddInfoKHR<'a>,
/* private fields */
}Contract
Native structure VkVideoDecodeH265SessionParametersCreateInfoKHR.
Khronos reference: VkVideoDecodeH265SessionParametersCreateInfoKHR
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
max_std_vps_count
max_std_vps_count: u32Native field maxStdVPSCount.
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 VideoDecodeH265SessionParametersAddInfoKHR<'a>Native field pParametersAddInfo.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_max_std_vps_count
Set native field maxStdVPSCount without native effects.
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::VideoDecodeInfoKHR
pub struct VideoDecodeInfoKHR<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: VideoDecodeFlagsKHR,
pub src_buffer: Buffer,
pub src_buffer_offset: DeviceSize,
pub src_buffer_range: DeviceSize,
pub dst_picture_resource: VideoPictureResourceInfoKHR<'a>,
pub p_setup_reference_slot: *const VideoReferenceSlotInfoKHR<'a>,
pub reference_slot_count: u32,
pub p_reference_slots: *const VideoReferenceSlotInfoKHR<'a>,
/* private fields */
}Contract
Native structure VkVideoDecodeInfoKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
flags
flags: VideoDecodeFlagsKHRNative field flags.
src_buffer
src_buffer: BufferNative field srcBuffer.
src_buffer_offset
src_buffer_offset: DeviceSizeNative field srcBufferOffset.
src_buffer_range
src_buffer_range: DeviceSizeNative field srcBufferRange.
dst_picture_resource
dst_picture_resource: VideoPictureResourceInfoKHR<'a>Native field dstPictureResource.
p_setup_reference_slot
p_setup_reference_slot: *const VideoReferenceSlotInfoKHR<'a>Native field pSetupReferenceSlot.
reference_slot_count
reference_slot_count: u32Native field referenceSlotCount.
p_reference_slots
p_reference_slots: *const VideoReferenceSlotInfoKHR<'a>Native field pReferenceSlots.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_flags
Set native field flags without native effects.
set_src_buffer
Set native field srcBuffer without native effects.
set_src_buffer_offset
Set native field srcBufferOffset without native effects.
set_src_buffer_range
Set native field srcBufferRange without native effects.
set_dst_picture_resource
Set native field dstPictureResource without native effects.
set_setup_reference_slot
Set native field pSetupReferenceSlot without native effects.
set_reference_slot_count
Set native count referenceSlotCount 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_reference_slots
Borrow pReferenceSlots and set checked native count referenceSlotCount.
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::VideoDecodeUsageFlagBitsKHR
Contract
Open integer representation of VkVideoDecodeUsageFlagBitsKHR.
Fields
0
0: u32Methods and associated items
DEFAULT_KHR
Native value VK_VIDEO_DECODE_USAGE_DEFAULT_KHR.
TRANSCODING_BIT_KHR
Native value VK_VIDEO_DECODE_USAGE_TRANSCODING_BIT_KHR.
Khronos reference: VK_VIDEO_DECODE_USAGE_TRANSCODING_BIT_KHR
OFFLINE_BIT_KHR
Native value VK_VIDEO_DECODE_USAGE_OFFLINE_BIT_KHR.
STREAMING_BIT_KHR
Native value VK_VIDEO_DECODE_USAGE_STREAMING_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::VideoDecodeUsageInfoKHR
Contract
Native structure VkVideoDecodeUsageInfoKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
video_usage_hints
video_usage_hints: VideoDecodeUsageFlagsKHRNative field videoUsageHints.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_video_usage_hints
Set native field videoUsageHints 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::VideoDecodeVP9CapabilitiesKHR
Contract
Native structure VkVideoDecodeVP9CapabilitiesKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
max_level
max_level: StdVideoVP9LevelNative field maxLevel.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_max_level
Set native field maxLevel 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::VideoDecodeVP9PictureInfoKHR
pub struct VideoDecodeVP9PictureInfoKHR<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub p_std_picture_info: *const StdVideoDecodeVP9PictureInfo<'a>,
pub reference_name_slot_indices: [i32; 3],
pub uncompressed_header_offset: u32,
pub compressed_header_offset: u32,
pub tiles_offset: u32,
/* private fields */
}Contract
Native structure VkVideoDecodeVP9PictureInfoKHR.
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 StdVideoDecodeVP9PictureInfo<'a>Native field pStdPictureInfo.
reference_name_slot_indices
reference_name_slot_indices: [i32; 3]Native field referenceNameSlotIndices.
uncompressed_header_offset
uncompressed_header_offset: u32Native field uncompressedHeaderOffset.
compressed_header_offset
compressed_header_offset: u32Native field compressedHeaderOffset.
tiles_offset
tiles_offset: u32Native field tilesOffset.
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_reference_name_slot_indices
Set native field referenceNameSlotIndices without native effects.
set_uncompressed_header_offset
Set native field uncompressedHeaderOffset without native effects.
set_compressed_header_offset
Set native field compressedHeaderOffset without native effects.
set_tiles_offset
Set native field tilesOffset 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::VideoDecodeVP9ProfileInfoKHR
Contract
Native structure VkVideoDecodeVP9ProfileInfoKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
std_profile
std_profile: StdVideoVP9ProfileNative field stdProfile.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_std_profile
Set native field stdProfile 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::VideoEncodeAV1CapabilitiesKHR
pub struct VideoEncodeAV1CapabilitiesKHR<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub flags: VideoEncodeAV1CapabilityFlagsKHR,
pub max_level: StdVideoAV1Level,
pub coded_picture_alignment: Extent2D,
pub max_tiles: Extent2D,
pub min_tile_size: Extent2D,
pub max_tile_size: Extent2D,
pub superblock_sizes: VideoEncodeAV1SuperblockSizeFlagsKHR,
pub max_single_reference_count: u32,
pub single_reference_name_mask: u32,
pub max_unidirectional_compound_reference_count: u32,
pub max_unidirectional_compound_group1_reference_count: u32,
pub unidirectional_compound_reference_name_mask: u32,
pub max_bidirectional_compound_reference_count: u32,
pub max_bidirectional_compound_group1_reference_count: u32,
pub max_bidirectional_compound_group2_reference_count: u32,
pub bidirectional_compound_reference_name_mask: u32,
pub max_temporal_layer_count: u32,
pub max_spatial_layer_count: u32,
pub max_operating_points: u32,
pub min_q_index: u32,
pub max_q_index: u32,
pub prefers_gop_remaining_frames: Bool32,
pub requires_gop_remaining_frames: Bool32,
pub std_syntax_flags: VideoEncodeAV1StdFlagsKHR,
/* private fields */
}Contract
Native structure VkVideoEncodeAV1CapabilitiesKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
flags
flags: VideoEncodeAV1CapabilityFlagsKHRNative field flags.
max_level
max_level: StdVideoAV1LevelNative field maxLevel.
coded_picture_alignment
coded_picture_alignment: Extent2DNative field codedPictureAlignment.
max_tiles
max_tiles: Extent2DNative field maxTiles.
min_tile_size
min_tile_size: Extent2DNative field minTileSize.
max_tile_size
max_tile_size: Extent2DNative field maxTileSize.
superblock_sizes
superblock_sizes: VideoEncodeAV1SuperblockSizeFlagsKHRNative field superblockSizes.
max_single_reference_count
max_single_reference_count: u32Native field maxSingleReferenceCount.
single_reference_name_mask
single_reference_name_mask: u32Native field singleReferenceNameMask.
max_unidirectional_compound_reference_count
max_unidirectional_compound_reference_count: u32Native field maxUnidirectionalCompoundReferenceCount.
max_unidirectional_compound_group1_reference_count
max_unidirectional_compound_group1_reference_count: u32Native field maxUnidirectionalCompoundGroup1ReferenceCount.
unidirectional_compound_reference_name_mask
unidirectional_compound_reference_name_mask: u32Native field unidirectionalCompoundReferenceNameMask.
max_bidirectional_compound_reference_count
max_bidirectional_compound_reference_count: u32Native field maxBidirectionalCompoundReferenceCount.
max_bidirectional_compound_group1_reference_count
max_bidirectional_compound_group1_reference_count: u32Native field maxBidirectionalCompoundGroup1ReferenceCount.
max_bidirectional_compound_group2_reference_count
max_bidirectional_compound_group2_reference_count: u32Native field maxBidirectionalCompoundGroup2ReferenceCount.
bidirectional_compound_reference_name_mask
bidirectional_compound_reference_name_mask: u32Native field bidirectionalCompoundReferenceNameMask.
max_temporal_layer_count
max_temporal_layer_count: u32Native field maxTemporalLayerCount.
max_spatial_layer_count
max_spatial_layer_count: u32Native field maxSpatialLayerCount.
max_operating_points
max_operating_points: u32Native field maxOperatingPoints.
min_q_index
min_q_index: u32Native field minQIndex.
max_q_index
max_q_index: u32Native field maxQIndex.
prefers_gop_remaining_frames
prefers_gop_remaining_frames: Bool32Native field prefersGopRemainingFrames.
requires_gop_remaining_frames
requires_gop_remaining_frames: Bool32Native field requiresGopRemainingFrames.
std_syntax_flags
std_syntax_flags: VideoEncodeAV1StdFlagsKHRNative field stdSyntaxFlags.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_flags
Set native field flags without native effects.
set_max_level
Set native field maxLevel without native effects.
set_coded_picture_alignment
Set native field codedPictureAlignment without native effects.
set_max_tiles
Set native field maxTiles without native effects.
set_min_tile_size
Set native field minTileSize without native effects.
set_max_tile_size
Set native field maxTileSize without native effects.
set_superblock_sizes
Set native field superblockSizes without native effects.
set_max_single_reference_count
Set native field maxSingleReferenceCount without native effects.
set_single_reference_name_mask
Set native field singleReferenceNameMask without native effects.
set_max_unidirectional_compound_reference_count
Set native field maxUnidirectionalCompoundReferenceCount without native effects.
set_max_unidirectional_compound_group1_reference_count
Set native field maxUnidirectionalCompoundGroup1ReferenceCount without native effects.
set_unidirectional_compound_reference_name_mask
Set native field unidirectionalCompoundReferenceNameMask without native effects.
set_max_bidirectional_compound_reference_count
Set native field maxBidirectionalCompoundReferenceCount without native effects.
set_max_bidirectional_compound_group1_reference_count
Set native field maxBidirectionalCompoundGroup1ReferenceCount without native effects.
set_max_bidirectional_compound_group2_reference_count
Set native field maxBidirectionalCompoundGroup2ReferenceCount without native effects.
set_bidirectional_compound_reference_name_mask
Set native field bidirectionalCompoundReferenceNameMask without native effects.
set_max_temporal_layer_count
Set native field maxTemporalLayerCount without native effects.
set_max_spatial_layer_count
Set native field maxSpatialLayerCount without native effects.
set_max_operating_points
Set native field maxOperatingPoints without native effects.
set_min_q_index
Set native field minQIndex without native effects.
set_max_q_index
Set native field maxQIndex without native effects.
set_prefers_gop_remaining_frames
Set native field prefersGopRemainingFrames without native effects.
set_requires_gop_remaining_frames
Set native field requiresGopRemainingFrames without native effects.
set_std_syntax_flags
Set native field stdSyntaxFlags 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::VideoEncodeAV1CapabilityFlagBitsKHR
Contract
Open integer representation of VkVideoEncodeAV1CapabilityFlagBitsKHR.
Fields
0
0: u32Methods and associated items
PER_RATE_CONTROL_GROUP_MIN_MAX_Q_INDEX_BIT_KHR
Native value VK_VIDEO_ENCODE_AV1_CAPABILITY_PER_RATE_CONTROL_GROUP_MIN_MAX_Q_INDEX_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_AV1_CAPABILITY_PER_RATE_CONTROL_GROUP_MIN_MAX_Q_INDEX_BIT_KHR
GENERATE_OBU_EXTENSION_HEADER_BIT_KHR
Native value VK_VIDEO_ENCODE_AV1_CAPABILITY_GENERATE_OBU_EXTENSION_HEADER_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_AV1_CAPABILITY_GENERATE_OBU_EXTENSION_HEADER_BIT_KHR
PRIMARY_REFERENCE_CDF_ONLY_BIT_KHR
Native value VK_VIDEO_ENCODE_AV1_CAPABILITY_PRIMARY_REFERENCE_CDF_ONLY_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_AV1_CAPABILITY_PRIMARY_REFERENCE_CDF_ONLY_BIT_KHR
FRAME_SIZE_OVERRIDE_BIT_KHR
Native value VK_VIDEO_ENCODE_AV1_CAPABILITY_FRAME_SIZE_OVERRIDE_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_AV1_CAPABILITY_FRAME_SIZE_OVERRIDE_BIT_KHR
MOTION_VECTOR_SCALING_BIT_KHR
Native value VK_VIDEO_ENCODE_AV1_CAPABILITY_MOTION_VECTOR_SCALING_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_AV1_CAPABILITY_MOTION_VECTOR_SCALING_BIT_KHR
COMPOUND_PREDICTION_INTRA_REFRESH_BIT_KHR
Native value VK_VIDEO_ENCODE_AV1_CAPABILITY_COMPOUND_PREDICTION_INTRA_REFRESH_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_AV1_CAPABILITY_COMPOUND_PREDICTION_INTRA_REFRESH_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::VideoEncodeAV1DpbSlotInfoKHR
Contract
Native structure VkVideoEncodeAV1DpbSlotInfoKHR.
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 StdVideoEncodeAV1ReferenceInfo<'a>Native 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::VideoEncodeAV1FrameSizeKHR
Contract
Native structure VkVideoEncodeAV1FrameSizeKHR.
Fields
intra_frame_size
intra_frame_size: u32Native field intraFrameSize.
predictive_frame_size
predictive_frame_size: u32Native field predictiveFrameSize.
bipredictive_frame_size
bipredictive_frame_size: u32Native field bipredictiveFrameSize.
Methods and associated items
new
Construct the record with its default native state.
set_intra_frame_size
Set native field intraFrameSize without native effects.
set_predictive_frame_size
Set native field predictiveFrameSize without native effects.
set_bipredictive_frame_size
Set native field bipredictiveFrameSize without native effects.
clone
default
Stvk::VideoEncodeAV1GopRemainingFrameInfoKHR
Contract
Native structure VkVideoEncodeAV1GopRemainingFrameInfoKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
use_gop_remaining_frames
use_gop_remaining_frames: Bool32Native field useGopRemainingFrames.
gop_remaining_intra
gop_remaining_intra: u32Native field gopRemainingIntra.
gop_remaining_predictive
gop_remaining_predictive: u32Native field gopRemainingPredictive.
gop_remaining_bipredictive
gop_remaining_bipredictive: u32Native field gopRemainingBipredictive.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_use_gop_remaining_frames
Set native field useGopRemainingFrames without native effects.
set_gop_remaining_intra
Set native field gopRemainingIntra without native effects.
set_gop_remaining_predictive
Set native field gopRemainingPredictive without native effects.
set_gop_remaining_bipredictive
Set native field gopRemainingBipredictive 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::VideoEncodeAV1PictureInfoKHR
pub struct VideoEncodeAV1PictureInfoKHR<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub prediction_mode: VideoEncodeAV1PredictionModeKHR,
pub rate_control_group: VideoEncodeAV1RateControlGroupKHR,
pub constant_q_index: u32,
pub p_std_picture_info: *const StdVideoEncodeAV1PictureInfo<'a>,
pub reference_name_slot_indices: [i32; 7],
pub primary_reference_cdf_only: Bool32,
pub generate_obu_extension_header: Bool32,
/* private fields */
}Contract
Native structure VkVideoEncodeAV1PictureInfoKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
prediction_mode
prediction_mode: VideoEncodeAV1PredictionModeKHRNative field predictionMode.
rate_control_group
rate_control_group: VideoEncodeAV1RateControlGroupKHRNative field rateControlGroup.
constant_q_index
constant_q_index: u32Native field constantQIndex.
p_std_picture_info
p_std_picture_info: *const StdVideoEncodeAV1PictureInfo<'a>Native field pStdPictureInfo.
reference_name_slot_indices
reference_name_slot_indices: [i32; 7]Native field referenceNameSlotIndices.
primary_reference_cdf_only
primary_reference_cdf_only: Bool32Native field primaryReferenceCdfOnly.
generate_obu_extension_header
generate_obu_extension_header: Bool32Native field generateObuExtensionHeader.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_prediction_mode
Set native field predictionMode without native effects.
set_rate_control_group
Set native field rateControlGroup without native effects.
set_constant_q_index
Set native field constantQIndex without native effects.
set_std_picture_info
Set native field pStdPictureInfo without native effects.
set_reference_name_slot_indices
Set native field referenceNameSlotIndices without native effects.
set_primary_reference_cdf_only
Set native field primaryReferenceCdfOnly without native effects.
set_generate_obu_extension_header
Set native field generateObuExtensionHeader 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::VideoEncodeAV1PredictionModeKHR
Contract
Open integer representation of VkVideoEncodeAV1PredictionModeKHR.
Fields
0
0: i32Methods and associated items
INTRA_ONLY_KHR
Native value VK_VIDEO_ENCODE_AV1_PREDICTION_MODE_INTRA_ONLY_KHR.
Khronos reference: VK_VIDEO_ENCODE_AV1_PREDICTION_MODE_INTRA_ONLY_KHR
SINGLE_REFERENCE_KHR
Native value VK_VIDEO_ENCODE_AV1_PREDICTION_MODE_SINGLE_REFERENCE_KHR.
Khronos reference: VK_VIDEO_ENCODE_AV1_PREDICTION_MODE_SINGLE_REFERENCE_KHR
UNIDIRECTIONAL_COMPOUND_KHR
Native value VK_VIDEO_ENCODE_AV1_PREDICTION_MODE_UNIDIRECTIONAL_COMPOUND_KHR.
Khronos reference: VK_VIDEO_ENCODE_AV1_PREDICTION_MODE_UNIDIRECTIONAL_COMPOUND_KHR
BIDIRECTIONAL_COMPOUND_KHR
Native value VK_VIDEO_ENCODE_AV1_PREDICTION_MODE_BIDIRECTIONAL_COMPOUND_KHR.
Khronos reference: VK_VIDEO_ENCODE_AV1_PREDICTION_MODE_BIDIRECTIONAL_COMPOUND_KHR
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::VideoEncodeAV1ProfileInfoKHR
Contract
Native structure VkVideoEncodeAV1ProfileInfoKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
std_profile
std_profile: StdVideoAV1ProfileNative field stdProfile.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_std_profile
Set native field stdProfile 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::VideoEncodeAV1QIndexKHR
Contract
Native structure VkVideoEncodeAV1QIndexKHR.
Fields
intra_q_index
intra_q_index: u32Native field intraQIndex.
predictive_q_index
predictive_q_index: u32Native field predictiveQIndex.
bipredictive_q_index
bipredictive_q_index: u32Native field bipredictiveQIndex.
Methods and associated items
new
Construct the record with its default native state.
set_intra_q_index
Set native field intraQIndex without native effects.
set_predictive_q_index
Set native field predictiveQIndex without native effects.
set_bipredictive_q_index
Set native field bipredictiveQIndex without native effects.