vk · Structs · V8
16 public declarations with native signatures and source-owned contracts.
Stvk::VideoEncodeH265RateControlFlagBitsKHR
Contract
Open integer representation of VkVideoEncodeH265RateControlFlagBitsKHR.
Fields
0
0: u32Methods and associated items
ATTEMPT_HRD_COMPLIANCE_BIT_KHR
Native value VK_VIDEO_ENCODE_H265_RATE_CONTROL_ATTEMPT_HRD_COMPLIANCE_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H265_RATE_CONTROL_ATTEMPT_HRD_COMPLIANCE_BIT_KHR
REGULAR_GOP_BIT_KHR
Native value VK_VIDEO_ENCODE_H265_RATE_CONTROL_REGULAR_GOP_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H265_RATE_CONTROL_REGULAR_GOP_BIT_KHR
REFERENCE_PATTERN_FLAT_BIT_KHR
Native value VK_VIDEO_ENCODE_H265_RATE_CONTROL_REFERENCE_PATTERN_FLAT_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H265_RATE_CONTROL_REFERENCE_PATTERN_FLAT_BIT_KHR
REFERENCE_PATTERN_DYADIC_BIT_KHR
Native value VK_VIDEO_ENCODE_H265_RATE_CONTROL_REFERENCE_PATTERN_DYADIC_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H265_RATE_CONTROL_REFERENCE_PATTERN_DYADIC_BIT_KHR
TEMPORAL_SUB_LAYER_PATTERN_DYADIC_BIT_KHR
Native value VK_VIDEO_ENCODE_H265_RATE_CONTROL_TEMPORAL_SUB_LAYER_PATTERN_DYADIC_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H265_RATE_CONTROL_TEMPORAL_SUB_LAYER_PATTERN_DYADIC_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::VideoEncodeH265RateControlInfoKHR
Contract
Native structure VkVideoEncodeH265RateControlInfoKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
flags
flags: VideoEncodeH265RateControlFlagsKHRNative field flags.
gop_frame_count
gop_frame_count: u32Native field gopFrameCount.
idr_period
idr_period: u32Native field idrPeriod.
consecutive_b_frame_count
consecutive_b_frame_count: u32Native field consecutiveBFrameCount.
sub_layer_count
sub_layer_count: u32Native field subLayerCount.
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_gop_frame_count
Set native field gopFrameCount without native effects.
set_idr_period
Set native field idrPeriod without native effects.
set_consecutive_b_frame_count
Set native field consecutiveBFrameCount without native effects.
set_sub_layer_count
Set native field subLayerCount 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::VideoEncodeH265RateControlLayerInfoKHR
pub struct VideoEncodeH265RateControlLayerInfoKHR<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub use_min_qp: Bool32,
pub min_qp: VideoEncodeH265QpKHR,
pub use_max_qp: Bool32,
pub max_qp: VideoEncodeH265QpKHR,
pub use_max_frame_size: Bool32,
pub max_frame_size: VideoEncodeH265FrameSizeKHR,
/* private fields */
}Contract
Native structure VkVideoEncodeH265RateControlLayerInfoKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
use_min_qp
use_min_qp: Bool32Native field useMinQp.
min_qp
min_qp: VideoEncodeH265QpKHRNative field minQp.
use_max_qp
use_max_qp: Bool32Native field useMaxQp.
max_qp
max_qp: VideoEncodeH265QpKHRNative field maxQp.
use_max_frame_size
use_max_frame_size: Bool32Native field useMaxFrameSize.
max_frame_size
max_frame_size: VideoEncodeH265FrameSizeKHRNative field maxFrameSize.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_use_min_qp
Set native field useMinQp without native effects.
set_min_qp
Set native field minQp without native effects.
set_use_max_qp
Set native field useMaxQp without native effects.
set_max_qp
Set native field maxQp without native effects.
set_use_max_frame_size
Set native field useMaxFrameSize without native effects.
set_max_frame_size
Set native field maxFrameSize 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::VideoEncodeH265SessionCreateInfoKHR
Contract
Native structure VkVideoEncodeH265SessionCreateInfoKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
use_max_level_idc
use_max_level_idc: Bool32Native field useMaxLevelIdc.
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_use_max_level_idc
Set native field useMaxLevelIdc without native effects.
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::VideoEncodeH265SessionParametersAddInfoKHR
pub struct VideoEncodeH265SessionParametersAddInfoKHR<'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 VkVideoEncodeH265SessionParametersAddInfoKHR.
Khronos reference: VkVideoEncodeH265SessionParametersAddInfoKHR
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.
default
Stvk::VideoEncodeH265SessionParametersCreateInfoKHR
pub struct VideoEncodeH265SessionParametersCreateInfoKHR<'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 VideoEncodeH265SessionParametersAddInfoKHR<'a>,
/* private fields */
}Contract
Native structure VkVideoEncodeH265SessionParametersCreateInfoKHR.
Khronos reference: VkVideoEncodeH265SessionParametersCreateInfoKHR
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 VideoEncodeH265SessionParametersAddInfoKHR<'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::VideoEncodeH265SessionParametersFeedbackInfoKHR
Contract
Native structure VkVideoEncodeH265SessionParametersFeedbackInfoKHR.
Khronos reference: VkVideoEncodeH265SessionParametersFeedbackInfoKHR
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
has_std_vps_overrides
has_std_vps_overrides: Bool32Native field hasStdVPSOverrides.
has_std_sps_overrides
has_std_sps_overrides: Bool32Native field hasStdSPSOverrides.
has_std_pps_overrides
has_std_pps_overrides: Bool32Native field hasStdPPSOverrides.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_has_std_vps_overrides
Set native field hasStdVPSOverrides without native effects.
set_has_std_sps_overrides
Set native field hasStdSPSOverrides without native effects.
set_has_std_pps_overrides
Set native field hasStdPPSOverrides 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::VideoEncodeH265SessionParametersGetInfoKHR
Contract
Native structure VkVideoEncodeH265SessionParametersGetInfoKHR.
Khronos reference: VkVideoEncodeH265SessionParametersGetInfoKHR
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
write_std_vps
write_std_vps: Bool32Native field writeStdVPS.
write_std_sps
write_std_sps: Bool32Native field writeStdSPS.
write_std_pps
write_std_pps: Bool32Native field writeStdPPS.
std_vps_id
std_vps_id: u32Native field stdVPSId.
std_sps_id
std_sps_id: u32Native field stdSPSId.
std_pps_id
std_pps_id: u32Native field stdPPSId.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_write_std_vps
Set native field writeStdVPS without native effects.
set_write_std_sps
Set native field writeStdSPS without native effects.
set_write_std_pps
Set native field writeStdPPS without native effects.
set_std_vps_id
Set native field stdVPSId without native effects.
set_std_sps_id
Set native field stdSPSId without native effects.
set_std_pps_id
Set native field stdPPSId 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::VideoEncodeH265StdFlagBitsKHR
Contract
Open integer representation of VkVideoEncodeH265StdFlagBitsKHR.
Fields
0
0: u32Methods and associated items
SEPARATE_COLOR_PLANE_FLAG_SET_BIT_KHR
Native value VK_VIDEO_ENCODE_H265_STD_SEPARATE_COLOR_PLANE_FLAG_SET_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H265_STD_SEPARATE_COLOR_PLANE_FLAG_SET_BIT_KHR
SAMPLE_ADAPTIVE_OFFSET_ENABLED_FLAG_SET_BIT_KHR
Native value VK_VIDEO_ENCODE_H265_STD_SAMPLE_ADAPTIVE_OFFSET_ENABLED_FLAG_SET_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H265_STD_SAMPLE_ADAPTIVE_OFFSET_ENABLED_FLAG_SET_BIT_KHR
SCALING_LIST_DATA_PRESENT_FLAG_SET_BIT_KHR
Native value VK_VIDEO_ENCODE_H265_STD_SCALING_LIST_DATA_PRESENT_FLAG_SET_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H265_STD_SCALING_LIST_DATA_PRESENT_FLAG_SET_BIT_KHR
PCM_ENABLED_FLAG_SET_BIT_KHR
Native value VK_VIDEO_ENCODE_H265_STD_PCM_ENABLED_FLAG_SET_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H265_STD_PCM_ENABLED_FLAG_SET_BIT_KHR
SPS_TEMPORAL_MVP_ENABLED_FLAG_SET_BIT_KHR
Native value VK_VIDEO_ENCODE_H265_STD_SPS_TEMPORAL_MVP_ENABLED_FLAG_SET_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H265_STD_SPS_TEMPORAL_MVP_ENABLED_FLAG_SET_BIT_KHR
INIT_QP_MINUS26_BIT_KHR
Native value VK_VIDEO_ENCODE_H265_STD_INIT_QP_MINUS26_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H265_STD_INIT_QP_MINUS26_BIT_KHR
WEIGHTED_PRED_FLAG_SET_BIT_KHR
Native value VK_VIDEO_ENCODE_H265_STD_WEIGHTED_PRED_FLAG_SET_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H265_STD_WEIGHTED_PRED_FLAG_SET_BIT_KHR
WEIGHTED_BIPRED_FLAG_SET_BIT_KHR
Native value VK_VIDEO_ENCODE_H265_STD_WEIGHTED_BIPRED_FLAG_SET_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H265_STD_WEIGHTED_BIPRED_FLAG_SET_BIT_KHR
LOG2_PARALLEL_MERGE_LEVEL_MINUS2_BIT_KHR
Native value VK_VIDEO_ENCODE_H265_STD_LOG2_PARALLEL_MERGE_LEVEL_MINUS2_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H265_STD_LOG2_PARALLEL_MERGE_LEVEL_MINUS2_BIT_KHR
SIGN_DATA_HIDING_ENABLED_FLAG_SET_BIT_KHR
Native value VK_VIDEO_ENCODE_H265_STD_SIGN_DATA_HIDING_ENABLED_FLAG_SET_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H265_STD_SIGN_DATA_HIDING_ENABLED_FLAG_SET_BIT_KHR
TRANSFORM_SKIP_ENABLED_FLAG_SET_BIT_KHR
Native value VK_VIDEO_ENCODE_H265_STD_TRANSFORM_SKIP_ENABLED_FLAG_SET_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H265_STD_TRANSFORM_SKIP_ENABLED_FLAG_SET_BIT_KHR
TRANSFORM_SKIP_ENABLED_FLAG_UNSET_BIT_KHR
Native value VK_VIDEO_ENCODE_H265_STD_TRANSFORM_SKIP_ENABLED_FLAG_UNSET_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H265_STD_TRANSFORM_SKIP_ENABLED_FLAG_UNSET_BIT_KHR
PPS_SLICE_CHROMA_QP_OFFSETS_PRESENT_FLAG_SET_BIT_KHR
Native value VK_VIDEO_ENCODE_H265_STD_PPS_SLICE_CHROMA_QP_OFFSETS_PRESENT_FLAG_SET_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H265_STD_PPS_SLICE_CHROMA_QP_OFFSETS_PRESENT_FLAG_SET_BIT_KHR
TRANSQUANT_BYPASS_ENABLED_FLAG_SET_BIT_KHR
Native value VK_VIDEO_ENCODE_H265_STD_TRANSQUANT_BYPASS_ENABLED_FLAG_SET_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H265_STD_TRANSQUANT_BYPASS_ENABLED_FLAG_SET_BIT_KHR
CONSTRAINED_INTRA_PRED_FLAG_SET_BIT_KHR
Native value VK_VIDEO_ENCODE_H265_STD_CONSTRAINED_INTRA_PRED_FLAG_SET_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H265_STD_CONSTRAINED_INTRA_PRED_FLAG_SET_BIT_KHR
ENTROPY_CODING_SYNC_ENABLED_FLAG_SET_BIT_KHR
Native value VK_VIDEO_ENCODE_H265_STD_ENTROPY_CODING_SYNC_ENABLED_FLAG_SET_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H265_STD_ENTROPY_CODING_SYNC_ENABLED_FLAG_SET_BIT_KHR
DEBLOCKING_FILTER_OVERRIDE_ENABLED_FLAG_SET_BIT_KHR
Native value VK_VIDEO_ENCODE_H265_STD_DEBLOCKING_FILTER_OVERRIDE_ENABLED_FLAG_SET_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H265_STD_DEBLOCKING_FILTER_OVERRIDE_ENABLED_FLAG_SET_BIT_KHR
DEPENDENT_SLICE_SEGMENTS_ENABLED_FLAG_SET_BIT_KHR
Native value VK_VIDEO_ENCODE_H265_STD_DEPENDENT_SLICE_SEGMENTS_ENABLED_FLAG_SET_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H265_STD_DEPENDENT_SLICE_SEGMENTS_ENABLED_FLAG_SET_BIT_KHR
DEPENDENT_SLICE_SEGMENT_FLAG_SET_BIT_KHR
Native value VK_VIDEO_ENCODE_H265_STD_DEPENDENT_SLICE_SEGMENT_FLAG_SET_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H265_STD_DEPENDENT_SLICE_SEGMENT_FLAG_SET_BIT_KHR
SLICE_QP_DELTA_BIT_KHR
Native value VK_VIDEO_ENCODE_H265_STD_SLICE_QP_DELTA_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H265_STD_SLICE_QP_DELTA_BIT_KHR
DIFFERENT_SLICE_QP_DELTA_BIT_KHR
Native value VK_VIDEO_ENCODE_H265_STD_DIFFERENT_SLICE_QP_DELTA_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H265_STD_DIFFERENT_SLICE_QP_DELTA_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::VideoEncodeH265TransformBlockSizeFlagBitsKHR
Contract
Open integer representation of VkVideoEncodeH265TransformBlockSizeFlagBitsKHR.
Khronos reference: VkVideoEncodeH265TransformBlockSizeFlagBitsKHR
Fields
0
0: u32Methods and associated items
_4_BIT_KHR
Native value VK_VIDEO_ENCODE_H265_TRANSFORM_BLOCK_SIZE_4_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H265_TRANSFORM_BLOCK_SIZE_4_BIT_KHR
_8_BIT_KHR
Native value VK_VIDEO_ENCODE_H265_TRANSFORM_BLOCK_SIZE_8_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H265_TRANSFORM_BLOCK_SIZE_8_BIT_KHR
_16_BIT_KHR
Native value VK_VIDEO_ENCODE_H265_TRANSFORM_BLOCK_SIZE_16_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H265_TRANSFORM_BLOCK_SIZE_16_BIT_KHR
_32_BIT_KHR
Native value VK_VIDEO_ENCODE_H265_TRANSFORM_BLOCK_SIZE_32_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H265_TRANSFORM_BLOCK_SIZE_32_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::VideoEncodeInfoKHR
pub struct VideoEncodeInfoKHR<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: VideoEncodeFlagsKHR,
pub dst_buffer: Buffer,
pub dst_buffer_offset: DeviceSize,
pub dst_buffer_range: DeviceSize,
pub src_picture_resource: VideoPictureResourceInfoKHR<'a>,
pub p_setup_reference_slot: *const VideoReferenceSlotInfoKHR<'a>,
pub reference_slot_count: u32,
pub p_reference_slots: *const VideoReferenceSlotInfoKHR<'a>,
pub preceding_externally_encoded_bytes: u32,
/* private fields */
}Contract
Native structure VkVideoEncodeInfoKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
flags
flags: VideoEncodeFlagsKHRNative field flags.
dst_buffer
dst_buffer: BufferNative field dstBuffer.
dst_buffer_offset
dst_buffer_offset: DeviceSizeNative field dstBufferOffset.
dst_buffer_range
dst_buffer_range: DeviceSizeNative field dstBufferRange.
src_picture_resource
src_picture_resource: VideoPictureResourceInfoKHR<'a>Native field srcPictureResource.
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.
preceding_externally_encoded_bytes
preceding_externally_encoded_bytes: u32Native field precedingExternallyEncodedBytes.
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_dst_buffer
Set native field dstBuffer without native effects.
set_dst_buffer_offset
Set native field dstBufferOffset without native effects.
set_dst_buffer_range
Set native field dstBufferRange without native effects.
set_src_picture_resource
Set native field srcPictureResource 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.
set_preceding_externally_encoded_bytes
Set native field precedingExternallyEncodedBytes 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::VideoEncodeIntraRefreshCapabilitiesKHR
pub struct VideoEncodeIntraRefreshCapabilitiesKHR<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub intra_refresh_modes: VideoEncodeIntraRefreshModeFlagsKHR,
pub max_intra_refresh_cycle_duration: u32,
pub max_intra_refresh_active_reference_pictures: u32,
pub partition_independent_intra_refresh_regions: Bool32,
pub non_rectangular_intra_refresh_regions: Bool32,
/* private fields */
}Contract
Native structure VkVideoEncodeIntraRefreshCapabilitiesKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
intra_refresh_modes
intra_refresh_modes: VideoEncodeIntraRefreshModeFlagsKHRNative field intraRefreshModes.
max_intra_refresh_cycle_duration
max_intra_refresh_cycle_duration: u32Native field maxIntraRefreshCycleDuration.
max_intra_refresh_active_reference_pictures
max_intra_refresh_active_reference_pictures: u32Native field maxIntraRefreshActiveReferencePictures.
partition_independent_intra_refresh_regions
partition_independent_intra_refresh_regions: Bool32Native field partitionIndependentIntraRefreshRegions.
non_rectangular_intra_refresh_regions
non_rectangular_intra_refresh_regions: Bool32Native field nonRectangularIntraRefreshRegions.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_intra_refresh_modes
Set native field intraRefreshModes without native effects.
set_max_intra_refresh_cycle_duration
Set native field maxIntraRefreshCycleDuration without native effects.
set_max_intra_refresh_active_reference_pictures
Set native field maxIntraRefreshActiveReferencePictures without native effects.
set_partition_independent_intra_refresh_regions
Set native field partitionIndependentIntraRefreshRegions without native effects.
set_non_rectangular_intra_refresh_regions
Set native field nonRectangularIntraRefreshRegions 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::VideoEncodeIntraRefreshInfoKHR
Contract
Native structure VkVideoEncodeIntraRefreshInfoKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
intra_refresh_cycle_duration
intra_refresh_cycle_duration: u32Native field intraRefreshCycleDuration.
intra_refresh_index
intra_refresh_index: u32Native field intraRefreshIndex.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_intra_refresh_cycle_duration
Set native field intraRefreshCycleDuration without native effects.
set_intra_refresh_index
Set native field intraRefreshIndex 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::VideoEncodeIntraRefreshModeFlagBitsKHR
Contract
Open integer representation of VkVideoEncodeIntraRefreshModeFlagBitsKHR.
Fields
0
0: u32Methods and associated items
NONE_KHR
Native value VK_VIDEO_ENCODE_INTRA_REFRESH_MODE_NONE_KHR.
Khronos reference: VK_VIDEO_ENCODE_INTRA_REFRESH_MODE_NONE_KHR
PER_PICTURE_PARTITION_BIT_KHR
Native value VK_VIDEO_ENCODE_INTRA_REFRESH_MODE_PER_PICTURE_PARTITION_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_INTRA_REFRESH_MODE_PER_PICTURE_PARTITION_BIT_KHR
BLOCK_BASED_BIT_KHR
Native value VK_VIDEO_ENCODE_INTRA_REFRESH_MODE_BLOCK_BASED_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_INTRA_REFRESH_MODE_BLOCK_BASED_BIT_KHR
BLOCK_ROW_BASED_BIT_KHR
Native value VK_VIDEO_ENCODE_INTRA_REFRESH_MODE_BLOCK_ROW_BASED_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_INTRA_REFRESH_MODE_BLOCK_ROW_BASED_BIT_KHR
BLOCK_COLUMN_BASED_BIT_KHR
Native value VK_VIDEO_ENCODE_INTRA_REFRESH_MODE_BLOCK_COLUMN_BASED_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_INTRA_REFRESH_MODE_BLOCK_COLUMN_BASED_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::VideoEncodePerPartitionFeedbackFlagBitsKHR
Contract
Open integer representation of VkVideoEncodePerPartitionFeedbackFlagBitsKHR.
Khronos reference: VkVideoEncodePerPartitionFeedbackFlagBitsKHR
Fields
0
0: u32Methods and associated items
STATUS_BIT_KHR
Native value VK_VIDEO_ENCODE_PER_PARTITION_FEEDBACK_STATUS_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_PER_PARTITION_FEEDBACK_STATUS_BIT_KHR
BITSTREAM_BUFFER_OFFSET_BIT_KHR
Native value VK_VIDEO_ENCODE_PER_PARTITION_FEEDBACK_BITSTREAM_BUFFER_OFFSET_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_PER_PARTITION_FEEDBACK_BITSTREAM_BUFFER_OFFSET_BIT_KHR
BITSTREAM_BYTES_WRITTEN_BIT_KHR
Native value VK_VIDEO_ENCODE_PER_PARTITION_FEEDBACK_BITSTREAM_BYTES_WRITTEN_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_PER_PARTITION_FEEDBACK_BITSTREAM_BYTES_WRITTEN_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::VideoEncodeProfileRgbConversionInfoVALVE
Contract
Native structure VkVideoEncodeProfileRgbConversionInfoVALVE.
Khronos reference: VkVideoEncodeProfileRgbConversionInfoVALVE
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
perform_encode_rgb_conversion
perform_encode_rgb_conversion: Bool32Native field performEncodeRgbConversion.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_perform_encode_rgb_conversion
Set native field performEncodeRgbConversion 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.