vk · Structs · V6
16 public declarations with native signatures and source-owned contracts.
Stvk::VideoEncodeH264CapabilitiesKHR
pub struct VideoEncodeH264CapabilitiesKHR<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub flags: VideoEncodeH264CapabilityFlagsKHR,
pub max_level_idc: StdVideoH264LevelIdc,
pub max_slice_count: u32,
pub max_p_picture_l0_reference_count: u32,
pub max_b_picture_l0_reference_count: u32,
pub max_l1_reference_count: u32,
pub max_temporal_layer_count: u32,
pub expect_dyadic_temporal_layer_pattern: Bool32,
pub min_qp: i32,
pub max_qp: i32,
pub prefers_gop_remaining_frames: Bool32,
pub requires_gop_remaining_frames: Bool32,
pub std_syntax_flags: VideoEncodeH264StdFlagsKHR,
/* private fields */
}Contract
Native structure VkVideoEncodeH264CapabilitiesKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
flags
flags: VideoEncodeH264CapabilityFlagsKHRNative field flags.
max_level_idc
max_level_idc: StdVideoH264LevelIdcNative field maxLevelIdc.
max_slice_count
max_slice_count: u32Native field maxSliceCount.
max_p_picture_l0_reference_count
max_p_picture_l0_reference_count: u32Native field maxPPictureL0ReferenceCount.
max_b_picture_l0_reference_count
max_b_picture_l0_reference_count: u32Native field maxBPictureL0ReferenceCount.
max_l1_reference_count
max_l1_reference_count: u32Native field maxL1ReferenceCount.
max_temporal_layer_count
max_temporal_layer_count: u32Native field maxTemporalLayerCount.
expect_dyadic_temporal_layer_pattern
expect_dyadic_temporal_layer_pattern: Bool32Native field expectDyadicTemporalLayerPattern.
min_qp
min_qp: i32Native field minQp.
max_qp
max_qp: i32Native field maxQp.
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: VideoEncodeH264StdFlagsKHRNative 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_idc
Set native field maxLevelIdc without native effects.
set_max_slice_count
Set native field maxSliceCount without native effects.
set_max_p_picture_l0_reference_count
Set native field maxPPictureL0ReferenceCount without native effects.
set_max_b_picture_l0_reference_count
Set native field maxBPictureL0ReferenceCount without native effects.
set_max_l1_reference_count
Set native field maxL1ReferenceCount without native effects.
set_max_temporal_layer_count
Set native field maxTemporalLayerCount without native effects.
set_expect_dyadic_temporal_layer_pattern
Set native field expectDyadicTemporalLayerPattern without native effects.
set_min_qp
Set native field minQp without native effects.
set_max_qp
Set native field maxQp 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::VideoEncodeH264CapabilityFlagBitsKHR
Contract
Open integer representation of VkVideoEncodeH264CapabilityFlagBitsKHR.
Fields
0
0: u32Methods and associated items
HRD_COMPLIANCE_BIT_KHR
Native value VK_VIDEO_ENCODE_H264_CAPABILITY_HRD_COMPLIANCE_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H264_CAPABILITY_HRD_COMPLIANCE_BIT_KHR
PREDICTION_WEIGHT_TABLE_GENERATED_BIT_KHR
Native value VK_VIDEO_ENCODE_H264_CAPABILITY_PREDICTION_WEIGHT_TABLE_GENERATED_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H264_CAPABILITY_PREDICTION_WEIGHT_TABLE_GENERATED_BIT_KHR
ROW_UNALIGNED_SLICE_BIT_KHR
Native value VK_VIDEO_ENCODE_H264_CAPABILITY_ROW_UNALIGNED_SLICE_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H264_CAPABILITY_ROW_UNALIGNED_SLICE_BIT_KHR
DIFFERENT_SLICE_TYPE_BIT_KHR
Native value VK_VIDEO_ENCODE_H264_CAPABILITY_DIFFERENT_SLICE_TYPE_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H264_CAPABILITY_DIFFERENT_SLICE_TYPE_BIT_KHR
B_FRAME_IN_L0_LIST_BIT_KHR
Native value VK_VIDEO_ENCODE_H264_CAPABILITY_B_FRAME_IN_L0_LIST_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H264_CAPABILITY_B_FRAME_IN_L0_LIST_BIT_KHR
B_FRAME_IN_L1_LIST_BIT_KHR
Native value VK_VIDEO_ENCODE_H264_CAPABILITY_B_FRAME_IN_L1_LIST_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H264_CAPABILITY_B_FRAME_IN_L1_LIST_BIT_KHR
PER_PICTURE_TYPE_MIN_MAX_QP_BIT_KHR
Native value VK_VIDEO_ENCODE_H264_CAPABILITY_PER_PICTURE_TYPE_MIN_MAX_QP_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H264_CAPABILITY_PER_PICTURE_TYPE_MIN_MAX_QP_BIT_KHR
PER_SLICE_CONSTANT_QP_BIT_KHR
Native value VK_VIDEO_ENCODE_H264_CAPABILITY_PER_SLICE_CONSTANT_QP_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H264_CAPABILITY_PER_SLICE_CONSTANT_QP_BIT_KHR
GENERATE_PREFIX_NALU_BIT_KHR
Native value VK_VIDEO_ENCODE_H264_CAPABILITY_GENERATE_PREFIX_NALU_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H264_CAPABILITY_GENERATE_PREFIX_NALU_BIT_KHR
B_PICTURE_INTRA_REFRESH_BIT_KHR
Native value VK_VIDEO_ENCODE_H264_CAPABILITY_B_PICTURE_INTRA_REFRESH_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H264_CAPABILITY_B_PICTURE_INTRA_REFRESH_BIT_KHR
MB_QP_DIFF_WRAPAROUND_BIT_KHR
Native value VK_VIDEO_ENCODE_H264_CAPABILITY_MB_QP_DIFF_WRAPAROUND_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H264_CAPABILITY_MB_QP_DIFF_WRAPAROUND_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::VideoEncodeH264DpbSlotInfoKHR
Contract
Native structure VkVideoEncodeH264DpbSlotInfoKHR.
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 StdVideoEncodeH264ReferenceInfoNative 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::VideoEncodeH264FrameSizeKHR
Contract
Native structure VkVideoEncodeH264FrameSizeKHR.
Fields
frame_i_size
frame_i_size: u32Native field frameISize.
frame_p_size
frame_p_size: u32Native field framePSize.
frame_b_size
frame_b_size: u32Native field frameBSize.
Methods and associated items
new
Construct the record with its default native state.
set_frame_i_size
Set native field frameISize without native effects.
set_frame_p_size
Set native field framePSize without native effects.
set_frame_b_size
Set native field frameBSize without native effects.
clone
default
Stvk::VideoEncodeH264GopRemainingFrameInfoKHR
Contract
Native structure VkVideoEncodeH264GopRemainingFrameInfoKHR.
Khronos reference: VkVideoEncodeH264GopRemainingFrameInfoKHR
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_i
gop_remaining_i: u32Native field gopRemainingI.
gop_remaining_p
gop_remaining_p: u32Native field gopRemainingP.
gop_remaining_b
gop_remaining_b: u32Native field gopRemainingB.
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_i
Set native field gopRemainingI without native effects.
set_gop_remaining_p
Set native field gopRemainingP without native effects.
set_gop_remaining_b
Set native field gopRemainingB 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::VideoEncodeH264NaluSliceInfoKHR
Contract
Native structure VkVideoEncodeH264NaluSliceInfoKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
constant_qp
constant_qp: i32Native field constantQp.
p_std_slice_header
p_std_slice_header: *const StdVideoEncodeH264SliceHeader<'a>Native field pStdSliceHeader.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_constant_qp
Set native field constantQp without native effects.
set_std_slice_header
Set native field pStdSliceHeader 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::VideoEncodeH264PictureInfoKHR
pub struct VideoEncodeH264PictureInfoKHR<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub nalu_slice_entry_count: u32,
pub p_nalu_slice_entries: *const VideoEncodeH264NaluSliceInfoKHR<'a>,
pub p_std_picture_info: *const StdVideoEncodeH264PictureInfo<'a>,
pub generate_prefix_nalu: Bool32,
/* private fields */
}Contract
Native structure VkVideoEncodeH264PictureInfoKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
nalu_slice_entry_count
nalu_slice_entry_count: u32Native field naluSliceEntryCount.
p_nalu_slice_entries
p_nalu_slice_entries: *const VideoEncodeH264NaluSliceInfoKHR<'a>Native field pNaluSliceEntries.
p_std_picture_info
p_std_picture_info: *const StdVideoEncodeH264PictureInfo<'a>Native field pStdPictureInfo.
generate_prefix_nalu
generate_prefix_nalu: Bool32Native field generatePrefixNalu.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_nalu_slice_entry_count
Set native count naluSliceEntryCount 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_nalu_slice_entries
Borrow pNaluSliceEntries and set checked native count naluSliceEntryCount.
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_picture_info
Set native field pStdPictureInfo without native effects.
set_generate_prefix_nalu
Set native field generatePrefixNalu 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::VideoEncodeH264ProfileInfoKHR
Contract
Native structure VkVideoEncodeH264ProfileInfoKHR.
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.
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::VideoEncodeH264QpKHR
Contract
Native structure VkVideoEncodeH264QpKHR.
Fields
qp_i
qp_i: i32Native field qpI.
qp_p
qp_p: i32Native field qpP.
qp_b
qp_b: i32Native field qpB.
Methods and associated items
new
Construct the record with its default native state.
set_qp_i
Set native field qpI without native effects.
set_qp_p
Set native field qpP without native effects.
set_qp_b
Set native field qpB without native effects.
clone
default
Stvk::VideoEncodeH264QualityLevelPropertiesKHR
pub struct VideoEncodeH264QualityLevelPropertiesKHR<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub preferred_rate_control_flags: VideoEncodeH264RateControlFlagsKHR,
pub preferred_gop_frame_count: u32,
pub preferred_idr_period: u32,
pub preferred_consecutive_b_frame_count: u32,
pub preferred_temporal_layer_count: u32,
pub preferred_constant_qp: VideoEncodeH264QpKHR,
pub preferred_max_l0_reference_count: u32,
pub preferred_max_l1_reference_count: u32,
pub preferred_std_entropy_coding_mode_flag: Bool32,
/* private fields */
}Contract
Native structure VkVideoEncodeH264QualityLevelPropertiesKHR.
Khronos reference: VkVideoEncodeH264QualityLevelPropertiesKHR
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
preferred_rate_control_flags
preferred_rate_control_flags: VideoEncodeH264RateControlFlagsKHRNative field preferredRateControlFlags.
preferred_gop_frame_count
preferred_gop_frame_count: u32Native field preferredGopFrameCount.
preferred_idr_period
preferred_idr_period: u32Native field preferredIdrPeriod.
preferred_consecutive_b_frame_count
preferred_consecutive_b_frame_count: u32Native field preferredConsecutiveBFrameCount.
preferred_temporal_layer_count
preferred_temporal_layer_count: u32Native field preferredTemporalLayerCount.
preferred_constant_qp
preferred_constant_qp: VideoEncodeH264QpKHRNative field preferredConstantQp.
preferred_max_l0_reference_count
preferred_max_l0_reference_count: u32Native field preferredMaxL0ReferenceCount.
preferred_max_l1_reference_count
preferred_max_l1_reference_count: u32Native field preferredMaxL1ReferenceCount.
preferred_std_entropy_coding_mode_flag
preferred_std_entropy_coding_mode_flag: Bool32Native field preferredStdEntropyCodingModeFlag.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_preferred_rate_control_flags
Set native field preferredRateControlFlags without native effects.
set_preferred_gop_frame_count
Set native field preferredGopFrameCount without native effects.
set_preferred_idr_period
Set native field preferredIdrPeriod without native effects.
set_preferred_consecutive_b_frame_count
Set native field preferredConsecutiveBFrameCount without native effects.
set_preferred_temporal_layer_count
Set native field preferredTemporalLayerCount without native effects.
set_preferred_constant_qp
Set native field preferredConstantQp without native effects.
set_preferred_max_l0_reference_count
Set native field preferredMaxL0ReferenceCount without native effects.
set_preferred_max_l1_reference_count
Set native field preferredMaxL1ReferenceCount without native effects.
set_preferred_std_entropy_coding_mode_flag
Set native field preferredStdEntropyCodingModeFlag 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::VideoEncodeH264QuantizationMapCapabilitiesKHR
Contract
Native structure VkVideoEncodeH264QuantizationMapCapabilitiesKHR.
Khronos reference: VkVideoEncodeH264QuantizationMapCapabilitiesKHR
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
min_qp_delta
min_qp_delta: i32Native field minQpDelta.
max_qp_delta
max_qp_delta: i32Native field maxQpDelta.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_min_qp_delta
Set native field minQpDelta without native effects.
set_max_qp_delta
Set native field maxQpDelta 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::VideoEncodeH264RateControlFlagBitsKHR
Contract
Open integer representation of VkVideoEncodeH264RateControlFlagBitsKHR.
Fields
0
0: u32Methods and associated items
ATTEMPT_HRD_COMPLIANCE_BIT_KHR
Native value VK_VIDEO_ENCODE_H264_RATE_CONTROL_ATTEMPT_HRD_COMPLIANCE_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H264_RATE_CONTROL_ATTEMPT_HRD_COMPLIANCE_BIT_KHR
REGULAR_GOP_BIT_KHR
Native value VK_VIDEO_ENCODE_H264_RATE_CONTROL_REGULAR_GOP_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H264_RATE_CONTROL_REGULAR_GOP_BIT_KHR
REFERENCE_PATTERN_FLAT_BIT_KHR
Native value VK_VIDEO_ENCODE_H264_RATE_CONTROL_REFERENCE_PATTERN_FLAT_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H264_RATE_CONTROL_REFERENCE_PATTERN_FLAT_BIT_KHR
REFERENCE_PATTERN_DYADIC_BIT_KHR
Native value VK_VIDEO_ENCODE_H264_RATE_CONTROL_REFERENCE_PATTERN_DYADIC_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H264_RATE_CONTROL_REFERENCE_PATTERN_DYADIC_BIT_KHR
TEMPORAL_LAYER_PATTERN_DYADIC_BIT_KHR
Native value VK_VIDEO_ENCODE_H264_RATE_CONTROL_TEMPORAL_LAYER_PATTERN_DYADIC_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H264_RATE_CONTROL_TEMPORAL_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::VideoEncodeH264RateControlInfoKHR
Contract
Native structure VkVideoEncodeH264RateControlInfoKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
flags
flags: VideoEncodeH264RateControlFlagsKHRNative 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.
temporal_layer_count
temporal_layer_count: u32Native field temporalLayerCount.
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_temporal_layer_count
Set native field temporalLayerCount 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::VideoEncodeH264RateControlLayerInfoKHR
pub struct VideoEncodeH264RateControlLayerInfoKHR<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub use_min_qp: Bool32,
pub min_qp: VideoEncodeH264QpKHR,
pub use_max_qp: Bool32,
pub max_qp: VideoEncodeH264QpKHR,
pub use_max_frame_size: Bool32,
pub max_frame_size: VideoEncodeH264FrameSizeKHR,
/* private fields */
}Contract
Native structure VkVideoEncodeH264RateControlLayerInfoKHR.
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: VideoEncodeH264QpKHRNative field minQp.
use_max_qp
use_max_qp: Bool32Native field useMaxQp.
max_qp
max_qp: VideoEncodeH264QpKHRNative field maxQp.
use_max_frame_size
use_max_frame_size: Bool32Native field useMaxFrameSize.
max_frame_size
max_frame_size: VideoEncodeH264FrameSizeKHRNative 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::VideoEncodeH264SessionCreateInfoKHR
Contract
Native structure VkVideoEncodeH264SessionCreateInfoKHR.
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: StdVideoH264LevelIdcNative 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::VideoEncodeH264SessionParametersAddInfoKHR
pub struct VideoEncodeH264SessionParametersAddInfoKHR<'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 VkVideoEncodeH264SessionParametersAddInfoKHR.
Khronos reference: VkVideoEncodeH264SessionParametersAddInfoKHR
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.