vk · Structs · V7
16 public declarations with native signatures and source-owned contracts.
Stvk::VideoEncodeH264SessionParametersCreateInfoKHR
Contract
Native structure VkVideoEncodeH264SessionParametersCreateInfoKHR.
Khronos reference: VkVideoEncodeH264SessionParametersCreateInfoKHR
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 VideoEncodeH264SessionParametersAddInfoKHR<'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::VideoEncodeH264SessionParametersFeedbackInfoKHR
Contract
Native structure VkVideoEncodeH264SessionParametersFeedbackInfoKHR.
Khronos reference: VkVideoEncodeH264SessionParametersFeedbackInfoKHR
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
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_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::VideoEncodeH264SessionParametersGetInfoKHR
Contract
Native structure VkVideoEncodeH264SessionParametersGetInfoKHR.
Khronos reference: VkVideoEncodeH264SessionParametersGetInfoKHR
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
write_std_sps
write_std_sps: Bool32Native field writeStdSPS.
write_std_pps
write_std_pps: Bool32Native field writeStdPPS.
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_sps
Set native field writeStdSPS without native effects.
set_write_std_pps
Set native field writeStdPPS 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::VideoEncodeH264StdFlagBitsKHR
Contract
Open integer representation of VkVideoEncodeH264StdFlagBitsKHR.
Fields
0
0: u32Methods and associated items
SEPARATE_COLOR_PLANE_FLAG_SET_BIT_KHR
Native value VK_VIDEO_ENCODE_H264_STD_SEPARATE_COLOR_PLANE_FLAG_SET_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H264_STD_SEPARATE_COLOR_PLANE_FLAG_SET_BIT_KHR
QPPRIME_Y_ZERO_TRANSFORM_BYPASS_FLAG_SET_BIT_KHR
Native value VK_VIDEO_ENCODE_H264_STD_QPPRIME_Y_ZERO_TRANSFORM_BYPASS_FLAG_SET_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H264_STD_QPPRIME_Y_ZERO_TRANSFORM_BYPASS_FLAG_SET_BIT_KHR
SCALING_MATRIX_PRESENT_FLAG_SET_BIT_KHR
Native value VK_VIDEO_ENCODE_H264_STD_SCALING_MATRIX_PRESENT_FLAG_SET_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H264_STD_SCALING_MATRIX_PRESENT_FLAG_SET_BIT_KHR
CHROMA_QP_INDEX_OFFSET_BIT_KHR
Native value VK_VIDEO_ENCODE_H264_STD_CHROMA_QP_INDEX_OFFSET_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H264_STD_CHROMA_QP_INDEX_OFFSET_BIT_KHR
SECOND_CHROMA_QP_INDEX_OFFSET_BIT_KHR
Native value VK_VIDEO_ENCODE_H264_STD_SECOND_CHROMA_QP_INDEX_OFFSET_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H264_STD_SECOND_CHROMA_QP_INDEX_OFFSET_BIT_KHR
PIC_INIT_QP_MINUS26_BIT_KHR
Native value VK_VIDEO_ENCODE_H264_STD_PIC_INIT_QP_MINUS26_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H264_STD_PIC_INIT_QP_MINUS26_BIT_KHR
WEIGHTED_PRED_FLAG_SET_BIT_KHR
Native value VK_VIDEO_ENCODE_H264_STD_WEIGHTED_PRED_FLAG_SET_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H264_STD_WEIGHTED_PRED_FLAG_SET_BIT_KHR
WEIGHTED_BIPRED_IDC_EXPLICIT_BIT_KHR
Native value VK_VIDEO_ENCODE_H264_STD_WEIGHTED_BIPRED_IDC_EXPLICIT_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H264_STD_WEIGHTED_BIPRED_IDC_EXPLICIT_BIT_KHR
WEIGHTED_BIPRED_IDC_IMPLICIT_BIT_KHR
Native value VK_VIDEO_ENCODE_H264_STD_WEIGHTED_BIPRED_IDC_IMPLICIT_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H264_STD_WEIGHTED_BIPRED_IDC_IMPLICIT_BIT_KHR
TRANSFORM_8X8_MODE_FLAG_SET_BIT_KHR
Native value VK_VIDEO_ENCODE_H264_STD_TRANSFORM_8X8_MODE_FLAG_SET_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H264_STD_TRANSFORM_8X8_MODE_FLAG_SET_BIT_KHR
DIRECT_SPATIAL_MV_PRED_FLAG_UNSET_BIT_KHR
Native value VK_VIDEO_ENCODE_H264_STD_DIRECT_SPATIAL_MV_PRED_FLAG_UNSET_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H264_STD_DIRECT_SPATIAL_MV_PRED_FLAG_UNSET_BIT_KHR
ENTROPY_CODING_MODE_FLAG_UNSET_BIT_KHR
Native value VK_VIDEO_ENCODE_H264_STD_ENTROPY_CODING_MODE_FLAG_UNSET_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H264_STD_ENTROPY_CODING_MODE_FLAG_UNSET_BIT_KHR
ENTROPY_CODING_MODE_FLAG_SET_BIT_KHR
Native value VK_VIDEO_ENCODE_H264_STD_ENTROPY_CODING_MODE_FLAG_SET_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H264_STD_ENTROPY_CODING_MODE_FLAG_SET_BIT_KHR
DIRECT_8X8_INFERENCE_FLAG_UNSET_BIT_KHR
Native value VK_VIDEO_ENCODE_H264_STD_DIRECT_8X8_INFERENCE_FLAG_UNSET_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H264_STD_DIRECT_8X8_INFERENCE_FLAG_UNSET_BIT_KHR
CONSTRAINED_INTRA_PRED_FLAG_SET_BIT_KHR
Native value VK_VIDEO_ENCODE_H264_STD_CONSTRAINED_INTRA_PRED_FLAG_SET_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H264_STD_CONSTRAINED_INTRA_PRED_FLAG_SET_BIT_KHR
DEBLOCKING_FILTER_DISABLED_BIT_KHR
Native value VK_VIDEO_ENCODE_H264_STD_DEBLOCKING_FILTER_DISABLED_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H264_STD_DEBLOCKING_FILTER_DISABLED_BIT_KHR
DEBLOCKING_FILTER_ENABLED_BIT_KHR
Native value VK_VIDEO_ENCODE_H264_STD_DEBLOCKING_FILTER_ENABLED_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H264_STD_DEBLOCKING_FILTER_ENABLED_BIT_KHR
DEBLOCKING_FILTER_PARTIAL_BIT_KHR
Native value VK_VIDEO_ENCODE_H264_STD_DEBLOCKING_FILTER_PARTIAL_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H264_STD_DEBLOCKING_FILTER_PARTIAL_BIT_KHR
SLICE_QP_DELTA_BIT_KHR
Native value VK_VIDEO_ENCODE_H264_STD_SLICE_QP_DELTA_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H264_STD_SLICE_QP_DELTA_BIT_KHR
DIFFERENT_SLICE_QP_DELTA_BIT_KHR
Native value VK_VIDEO_ENCODE_H264_STD_DIFFERENT_SLICE_QP_DELTA_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H264_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::VideoEncodeH265CapabilitiesKHR
pub struct VideoEncodeH265CapabilitiesKHR<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub flags: VideoEncodeH265CapabilityFlagsKHR,
pub max_level_idc: StdVideoH265LevelIdc,
pub max_slice_segment_count: u32,
pub max_tiles: Extent2D,
pub ctb_sizes: VideoEncodeH265CtbSizeFlagsKHR,
pub transform_block_sizes: VideoEncodeH265TransformBlockSizeFlagsKHR,
pub max_p_picture_l0_reference_count: u32,
pub max_b_picture_l0_reference_count: u32,
pub max_l1_reference_count: u32,
pub max_sub_layer_count: u32,
pub expect_dyadic_temporal_sub_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: VideoEncodeH265StdFlagsKHR,
/* private fields */
}Contract
Native structure VkVideoEncodeH265CapabilitiesKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
flags
flags: VideoEncodeH265CapabilityFlagsKHRNative field flags.
max_level_idc
max_level_idc: StdVideoH265LevelIdcNative field maxLevelIdc.
max_slice_segment_count
max_slice_segment_count: u32Native field maxSliceSegmentCount.
max_tiles
max_tiles: Extent2DNative field maxTiles.
ctb_sizes
ctb_sizes: VideoEncodeH265CtbSizeFlagsKHRNative field ctbSizes.
transform_block_sizes
transform_block_sizes: VideoEncodeH265TransformBlockSizeFlagsKHRNative field transformBlockSizes.
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_sub_layer_count
max_sub_layer_count: u32Native field maxSubLayerCount.
expect_dyadic_temporal_sub_layer_pattern
expect_dyadic_temporal_sub_layer_pattern: Bool32Native field expectDyadicTemporalSubLayerPattern.
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: VideoEncodeH265StdFlagsKHRNative 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_segment_count
Set native field maxSliceSegmentCount without native effects.
set_max_tiles
Set native field maxTiles without native effects.
set_ctb_sizes
Set native field ctbSizes without native effects.
set_transform_block_sizes
Set native field transformBlockSizes 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_sub_layer_count
Set native field maxSubLayerCount without native effects.
set_expect_dyadic_temporal_sub_layer_pattern
Set native field expectDyadicTemporalSubLayerPattern 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::VideoEncodeH265CapabilityFlagBitsKHR
Contract
Open integer representation of VkVideoEncodeH265CapabilityFlagBitsKHR.
Fields
0
0: u32Methods and associated items
HRD_COMPLIANCE_BIT_KHR
Native value VK_VIDEO_ENCODE_H265_CAPABILITY_HRD_COMPLIANCE_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H265_CAPABILITY_HRD_COMPLIANCE_BIT_KHR
PREDICTION_WEIGHT_TABLE_GENERATED_BIT_KHR
Native value VK_VIDEO_ENCODE_H265_CAPABILITY_PREDICTION_WEIGHT_TABLE_GENERATED_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H265_CAPABILITY_PREDICTION_WEIGHT_TABLE_GENERATED_BIT_KHR
ROW_UNALIGNED_SLICE_SEGMENT_BIT_KHR
Native value VK_VIDEO_ENCODE_H265_CAPABILITY_ROW_UNALIGNED_SLICE_SEGMENT_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H265_CAPABILITY_ROW_UNALIGNED_SLICE_SEGMENT_BIT_KHR
DIFFERENT_SLICE_SEGMENT_TYPE_BIT_KHR
Native value VK_VIDEO_ENCODE_H265_CAPABILITY_DIFFERENT_SLICE_SEGMENT_TYPE_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H265_CAPABILITY_DIFFERENT_SLICE_SEGMENT_TYPE_BIT_KHR
B_FRAME_IN_L0_LIST_BIT_KHR
Native value VK_VIDEO_ENCODE_H265_CAPABILITY_B_FRAME_IN_L0_LIST_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H265_CAPABILITY_B_FRAME_IN_L0_LIST_BIT_KHR
B_FRAME_IN_L1_LIST_BIT_KHR
Native value VK_VIDEO_ENCODE_H265_CAPABILITY_B_FRAME_IN_L1_LIST_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H265_CAPABILITY_B_FRAME_IN_L1_LIST_BIT_KHR
PER_PICTURE_TYPE_MIN_MAX_QP_BIT_KHR
Native value VK_VIDEO_ENCODE_H265_CAPABILITY_PER_PICTURE_TYPE_MIN_MAX_QP_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H265_CAPABILITY_PER_PICTURE_TYPE_MIN_MAX_QP_BIT_KHR
PER_SLICE_SEGMENT_CONSTANT_QP_BIT_KHR
Native value VK_VIDEO_ENCODE_H265_CAPABILITY_PER_SLICE_SEGMENT_CONSTANT_QP_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H265_CAPABILITY_PER_SLICE_SEGMENT_CONSTANT_QP_BIT_KHR
MULTIPLE_TILES_PER_SLICE_SEGMENT_BIT_KHR
Native value VK_VIDEO_ENCODE_H265_CAPABILITY_MULTIPLE_TILES_PER_SLICE_SEGMENT_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H265_CAPABILITY_MULTIPLE_TILES_PER_SLICE_SEGMENT_BIT_KHR
MULTIPLE_SLICE_SEGMENTS_PER_TILE_BIT_KHR
Native value VK_VIDEO_ENCODE_H265_CAPABILITY_MULTIPLE_SLICE_SEGMENTS_PER_TILE_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H265_CAPABILITY_MULTIPLE_SLICE_SEGMENTS_PER_TILE_BIT_KHR
B_PICTURE_INTRA_REFRESH_BIT_KHR
Native value VK_VIDEO_ENCODE_H265_CAPABILITY_B_PICTURE_INTRA_REFRESH_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H265_CAPABILITY_B_PICTURE_INTRA_REFRESH_BIT_KHR
CU_QP_DIFF_WRAPAROUND_BIT_KHR
Native value VK_VIDEO_ENCODE_H265_CAPABILITY_CU_QP_DIFF_WRAPAROUND_BIT_KHR.
Khronos reference: VK_VIDEO_ENCODE_H265_CAPABILITY_CU_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::VideoEncodeH265CtbSizeFlagBitsKHR
Contract
Open integer representation of VkVideoEncodeH265CtbSizeFlagBitsKHR.
Fields
0
0: u32Methods and associated items
_16_BIT_KHR
Native value VK_VIDEO_ENCODE_H265_CTB_SIZE_16_BIT_KHR.
_32_BIT_KHR
Native value VK_VIDEO_ENCODE_H265_CTB_SIZE_32_BIT_KHR.
_64_BIT_KHR
Native value VK_VIDEO_ENCODE_H265_CTB_SIZE_64_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::VideoEncodeH265DpbSlotInfoKHR
Contract
Native structure VkVideoEncodeH265DpbSlotInfoKHR.
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 StdVideoEncodeH265ReferenceInfoNative 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::VideoEncodeH265FrameSizeKHR
Contract
Native structure VkVideoEncodeH265FrameSizeKHR.
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::VideoEncodeH265GopRemainingFrameInfoKHR
Contract
Native structure VkVideoEncodeH265GopRemainingFrameInfoKHR.
Khronos reference: VkVideoEncodeH265GopRemainingFrameInfoKHR
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::VideoEncodeH265NaluSliceSegmentInfoKHR
Contract
Native structure VkVideoEncodeH265NaluSliceSegmentInfoKHR.
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_segment_header
p_std_slice_segment_header: *const StdVideoEncodeH265SliceSegmentHeader<'a>Native field pStdSliceSegmentHeader.
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_segment_header
Set native field pStdSliceSegmentHeader 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::VideoEncodeH265PictureInfoKHR
pub struct VideoEncodeH265PictureInfoKHR<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub nalu_slice_segment_entry_count: u32,
pub p_nalu_slice_segment_entries: *const VideoEncodeH265NaluSliceSegmentInfoKHR<'a>,
pub p_std_picture_info: *const StdVideoEncodeH265PictureInfo<'a>,
/* private fields */
}Contract
Native structure VkVideoEncodeH265PictureInfoKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
nalu_slice_segment_entry_count
nalu_slice_segment_entry_count: u32Native field naluSliceSegmentEntryCount.
p_nalu_slice_segment_entries
p_nalu_slice_segment_entries: *const VideoEncodeH265NaluSliceSegmentInfoKHR<'a>Native field pNaluSliceSegmentEntries.
p_std_picture_info
p_std_picture_info: *const StdVideoEncodeH265PictureInfo<'a>Native field pStdPictureInfo.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_nalu_slice_segment_entry_count
Set native count naluSliceSegmentEntryCount 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_segment_entries
Borrow pNaluSliceSegmentEntries and set checked native count naluSliceSegmentEntryCount.
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.
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::VideoEncodeH265ProfileInfoKHR
Contract
Native structure VkVideoEncodeH265ProfileInfoKHR.
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::VideoEncodeH265QpKHR
Contract
Native structure VkVideoEncodeH265QpKHR.
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::VideoEncodeH265QualityLevelPropertiesKHR
pub struct VideoEncodeH265QualityLevelPropertiesKHR<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub preferred_rate_control_flags: VideoEncodeH265RateControlFlagsKHR,
pub preferred_gop_frame_count: u32,
pub preferred_idr_period: u32,
pub preferred_consecutive_b_frame_count: u32,
pub preferred_sub_layer_count: u32,
pub preferred_constant_qp: VideoEncodeH265QpKHR,
pub preferred_max_l0_reference_count: u32,
pub preferred_max_l1_reference_count: u32,
/* private fields */
}Contract
Native structure VkVideoEncodeH265QualityLevelPropertiesKHR.
Khronos reference: VkVideoEncodeH265QualityLevelPropertiesKHR
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: VideoEncodeH265RateControlFlagsKHRNative 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_sub_layer_count
preferred_sub_layer_count: u32Native field preferredSubLayerCount.
preferred_constant_qp
preferred_constant_qp: VideoEncodeH265QpKHRNative 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.
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_sub_layer_count
Set native field preferredSubLayerCount 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.
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::VideoEncodeH265QuantizationMapCapabilitiesKHR
Contract
Native structure VkVideoEncodeH265QuantizationMapCapabilitiesKHR.
Khronos reference: VkVideoEncodeH265QuantizationMapCapabilitiesKHR
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.