vk · Structs · S14
16 public declarations with native signatures and source-owned contracts.
Stvk::StdVideoVP9ColorConfig
Contract
Native structure StdVideoVP9ColorConfig.
Fields
flags
flags: StdVideoVP9ColorConfigFlagsNative field flags.
bit_depth
bit_depth: u8Native field BitDepth.
subsampling_x
subsampling_x: u8Native field subsampling_x.
subsampling_y
subsampling_y: u8Native field subsampling_y.
reserved1
reserved1: u8Native field reserved1.
color_space
color_space: StdVideoVP9ColorSpaceNative field color_space.
Methods and associated items
new
Construct the record with its default native state.
set_flags
Set native field flags without native effects.
set_bit_depth
Set native field BitDepth without native effects.
set_subsampling_x
Set native field subsampling_x without native effects.
set_subsampling_y
Set native field subsampling_y without native effects.
set_reserved1
Set native field reserved1 without native effects.
set_color_space
Set native field color_space without native effects.
clone
default
Stvk::StdVideoVP9ColorConfigFlags
Contract
Native structure StdVideoVP9ColorConfigFlags.
Fields
_bitfield_1
_bitfield_1: u32Methods and associated items
color_range
Read native bitfield color_range.
set_color_range
Set native bitfield color_range, retaining its low 1 bits.
reserved
Read native bitfield reserved.
set_reserved
Set native bitfield reserved, retaining its low 31 bits.
new
Construct the record with its default native state.
clone
default
Stvk::StdVideoVP9ColorSpace
Contract
Open integer representation of StdVideoVP9ColorSpace.
Fields
0
0: i32Methods and associated items
UNKNOWN
Native value STD_VIDEO_VP9_COLOR_SPACE_UNKNOWN.
BT_601
Native value STD_VIDEO_VP9_COLOR_SPACE_BT_601.
BT_709
Native value STD_VIDEO_VP9_COLOR_SPACE_BT_709.
SMPTE_170
Native value STD_VIDEO_VP9_COLOR_SPACE_SMPTE_170.
Khronos registry source: STD_VIDEO_VP9_COLOR_SPACE_SMPTE_170
SMPTE_240
Native value STD_VIDEO_VP9_COLOR_SPACE_SMPTE_240.
Khronos registry source: STD_VIDEO_VP9_COLOR_SPACE_SMPTE_240
BT_2020
Native value STD_VIDEO_VP9_COLOR_SPACE_BT_2020.
RESERVED
Native value STD_VIDEO_VP9_COLOR_SPACE_RESERVED.
RGB
Native value STD_VIDEO_VP9_COLOR_SPACE_RGB.
INVALID
Native value STD_VIDEO_VP9_COLOR_SPACE_INVALID.
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::StdVideoVP9FrameType
Contract
Open integer representation of StdVideoVP9FrameType.
Fields
0
0: i32Methods and associated items
KEY
Native value STD_VIDEO_VP9_FRAME_TYPE_KEY.
NON_KEY
Native value STD_VIDEO_VP9_FRAME_TYPE_NON_KEY.
INVALID
Native value STD_VIDEO_VP9_FRAME_TYPE_INVALID.
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::StdVideoVP9InterpolationFilter
Contract
Open integer representation of StdVideoVP9InterpolationFilter.
Fields
0
0: i32Methods and associated items
EIGHTTAP
Native value STD_VIDEO_VP9_INTERPOLATION_FILTER_EIGHTTAP.
Khronos registry source: STD_VIDEO_VP9_INTERPOLATION_FILTER_EIGHTTAP
EIGHTTAP_SMOOTH
Native value STD_VIDEO_VP9_INTERPOLATION_FILTER_EIGHTTAP_SMOOTH.
Khronos registry source: STD_VIDEO_VP9_INTERPOLATION_FILTER_EIGHTTAP_SMOOTH
EIGHTTAP_SHARP
Native value STD_VIDEO_VP9_INTERPOLATION_FILTER_EIGHTTAP_SHARP.
Khronos registry source: STD_VIDEO_VP9_INTERPOLATION_FILTER_EIGHTTAP_SHARP
BILINEAR
Native value STD_VIDEO_VP9_INTERPOLATION_FILTER_BILINEAR.
Khronos registry source: STD_VIDEO_VP9_INTERPOLATION_FILTER_BILINEAR
SWITCHABLE
Native value STD_VIDEO_VP9_INTERPOLATION_FILTER_SWITCHABLE.
Khronos registry source: STD_VIDEO_VP9_INTERPOLATION_FILTER_SWITCHABLE
INVALID
Native value STD_VIDEO_VP9_INTERPOLATION_FILTER_INVALID.
Khronos registry source: STD_VIDEO_VP9_INTERPOLATION_FILTER_INVALID
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::StdVideoVP9Level
Contract
Open integer representation of StdVideoVP9Level.
Fields
0
0: i32Methods and associated items
_1_0
Native value STD_VIDEO_VP9_LEVEL_1_0.
_1_1
Native value STD_VIDEO_VP9_LEVEL_1_1.
_2_0
Native value STD_VIDEO_VP9_LEVEL_2_0.
_2_1
Native value STD_VIDEO_VP9_LEVEL_2_1.
_3_0
Native value STD_VIDEO_VP9_LEVEL_3_0.
_3_1
Native value STD_VIDEO_VP9_LEVEL_3_1.
_4_0
Native value STD_VIDEO_VP9_LEVEL_4_0.
_4_1
Native value STD_VIDEO_VP9_LEVEL_4_1.
_5_0
Native value STD_VIDEO_VP9_LEVEL_5_0.
_5_1
Native value STD_VIDEO_VP9_LEVEL_5_1.
_5_2
Native value STD_VIDEO_VP9_LEVEL_5_2.
_6_0
Native value STD_VIDEO_VP9_LEVEL_6_0.
_6_1
Native value STD_VIDEO_VP9_LEVEL_6_1.
_6_2
Native value STD_VIDEO_VP9_LEVEL_6_2.
INVALID
Native value STD_VIDEO_VP9_LEVEL_INVALID.
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::StdVideoVP9LoopFilter
Contract
Native structure StdVideoVP9LoopFilter.
Fields
flags
flags: StdVideoVP9LoopFilterFlagsNative field flags.
loop_filter_level
loop_filter_level: u8Native field loop_filter_level.
loop_filter_sharpness
loop_filter_sharpness: u8Native field loop_filter_sharpness.
update_ref_delta
update_ref_delta: u8Native field update_ref_delta.
loop_filter_ref_deltas
loop_filter_ref_deltas: [i8; 4]Native field loop_filter_ref_deltas.
update_mode_delta
update_mode_delta: u8Native field update_mode_delta.
loop_filter_mode_deltas
loop_filter_mode_deltas: [i8; 2]Native field loop_filter_mode_deltas.
Methods and associated items
new
Construct the record with its default native state.
set_flags
Set native field flags without native effects.
set_loop_filter_level
Set native field loop_filter_level without native effects.
set_loop_filter_sharpness
Set native field loop_filter_sharpness without native effects.
set_update_ref_delta
Set native field update_ref_delta without native effects.
set_loop_filter_ref_deltas
Set native field loop_filter_ref_deltas without native effects.
set_update_mode_delta
Set native field update_mode_delta without native effects.
set_loop_filter_mode_deltas
Set native field loop_filter_mode_deltas without native effects.
clone
default
Stvk::StdVideoVP9LoopFilterFlags
Contract
Native structure StdVideoVP9LoopFilterFlags.
Fields
_bitfield_1
_bitfield_1: u32Methods and associated items
loop_filter_delta_enabled
Read native bitfield loop_filter_delta_enabled.
set_loop_filter_delta_enabled
Set native bitfield loop_filter_delta_enabled, retaining its low 1 bits.
loop_filter_delta_update
Read native bitfield loop_filter_delta_update.
set_loop_filter_delta_update
Set native bitfield loop_filter_delta_update, retaining its low 1 bits.
reserved
Read native bitfield reserved.
set_reserved
Set native bitfield reserved, retaining its low 30 bits.
new
Construct the record with its default native state.
clone
default
Stvk::StdVideoVP9Profile
Contract
Open integer representation of StdVideoVP9Profile.
Fields
0
0: i32Methods and associated items
_0
Native value STD_VIDEO_VP9_PROFILE_0.
_1
Native value STD_VIDEO_VP9_PROFILE_1.
_2
Native value STD_VIDEO_VP9_PROFILE_2.
_3
Native value STD_VIDEO_VP9_PROFILE_3.
INVALID
Native value STD_VIDEO_VP9_PROFILE_INVALID.
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::StdVideoVP9ReferenceName
Contract
Open integer representation of StdVideoVP9ReferenceName.
Fields
0
0: i32Methods and associated items
INTRA_FRAME
Native value STD_VIDEO_VP9_REFERENCE_NAME_INTRA_FRAME.
Khronos registry source: STD_VIDEO_VP9_REFERENCE_NAME_INTRA_FRAME
LAST_FRAME
Native value STD_VIDEO_VP9_REFERENCE_NAME_LAST_FRAME.
Khronos registry source: STD_VIDEO_VP9_REFERENCE_NAME_LAST_FRAME
GOLDEN_FRAME
Native value STD_VIDEO_VP9_REFERENCE_NAME_GOLDEN_FRAME.
Khronos registry source: STD_VIDEO_VP9_REFERENCE_NAME_GOLDEN_FRAME
ALTREF_FRAME
Native value STD_VIDEO_VP9_REFERENCE_NAME_ALTREF_FRAME.
Khronos registry source: STD_VIDEO_VP9_REFERENCE_NAME_ALTREF_FRAME
INVALID
Native value STD_VIDEO_VP9_REFERENCE_NAME_INVALID.
Khronos registry source: STD_VIDEO_VP9_REFERENCE_NAME_INVALID
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::StdVideoVP9Segmentation
Contract
Native structure StdVideoVP9Segmentation.
Fields
flags
flags: StdVideoVP9SegmentationFlagsNative field flags.
segmentation_tree_probs
segmentation_tree_probs: [u8; 7]Native field segmentation_tree_probs.
segmentation_pred_prob
segmentation_pred_prob: [u8; 3]Native field segmentation_pred_prob.
feature_enabled
feature_enabled: [u8; 8]Native field FeatureEnabled.
feature_data
feature_data: [[i16; 4]; 8]Native field FeatureData.
Methods and associated items
new
Construct the record with its default native state.
set_flags
Set native field flags without native effects.
set_segmentation_tree_probs
Set native field segmentation_tree_probs without native effects.
set_segmentation_pred_prob
Set native field segmentation_pred_prob without native effects.
set_feature_enabled
Set native field FeatureEnabled without native effects.
set_feature_data
Set native field FeatureData without native effects.
clone
default
Stvk::StdVideoVP9SegmentationFlags
Contract
Native structure StdVideoVP9SegmentationFlags.
Fields
_bitfield_1
_bitfield_1: u32Methods and associated items
segmentation_update_map
Read native bitfield segmentation_update_map.
set_segmentation_update_map
Set native bitfield segmentation_update_map, retaining its low 1 bits.
segmentation_temporal_update
Read native bitfield segmentation_temporal_update.
set_segmentation_temporal_update
Set native bitfield segmentation_temporal_update, retaining its low 1 bits.
segmentation_update_data
Read native bitfield segmentation_update_data.
set_segmentation_update_data
Set native bitfield segmentation_update_data, retaining its low 1 bits.
segmentation_abs_or_delta_update
Read native bitfield segmentation_abs_or_delta_update.
set_segmentation_abs_or_delta_update
Set native bitfield segmentation_abs_or_delta_update, retaining its low 1 bits.
reserved
Read native bitfield reserved.
set_reserved
Set native bitfield reserved, retaining its low 28 bits.
new
Construct the record with its default native state.
clone
default
Stvk::StencilFaceFlagBits
Contract
Open integer representation of VkStencilFaceFlagBits.
Fields
0
0: u32Methods and associated items
FRONT_BIT
Native value VK_STENCIL_FACE_FRONT_BIT.
BACK_BIT
Native value VK_STENCIL_FACE_BACK_BIT.
FRONT_AND_BACK
Native value VK_STENCIL_FACE_FRONT_AND_BACK.
STENCIL_FRONT_AND_BACK
Native value VK_STENCIL_FRONT_AND_BACK.
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::StencilOp
Contract
Open integer representation of VkStencilOp.
Fields
0
0: i32Methods and associated items
KEEP
Native value VK_STENCIL_OP_KEEP.
ZERO
Native value VK_STENCIL_OP_ZERO.
REPLACE
Native value VK_STENCIL_OP_REPLACE.
INCREMENT_AND_CLAMP
Native value VK_STENCIL_OP_INCREMENT_AND_CLAMP.
DECREMENT_AND_CLAMP
Native value VK_STENCIL_OP_DECREMENT_AND_CLAMP.
INVERT
Native value VK_STENCIL_OP_INVERT.
INCREMENT_AND_WRAP
Native value VK_STENCIL_OP_INCREMENT_AND_WRAP.
DECREMENT_AND_WRAP
Native value VK_STENCIL_OP_DECREMENT_AND_WRAP.
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::StencilOpState
Contract
Native structure VkStencilOpState.
Fields
fail_op
fail_op: StencilOpNative field failOp.
pass_op
pass_op: StencilOpNative field passOp.
depth_fail_op
depth_fail_op: StencilOpNative field depthFailOp.
compare_op
compare_op: CompareOpNative field compareOp.
compare_mask
compare_mask: u32Native field compareMask.
write_mask
write_mask: u32Native field writeMask.
reference
reference: u32Native field reference.
Methods and associated items
new
Construct the record with its default native state.
set_fail_op
Set native field failOp without native effects.
set_pass_op
Set native field passOp without native effects.
set_depth_fail_op
Set native field depthFailOp without native effects.
set_compare_op
Set native field compareOp without native effects.
set_compare_mask
Set native field compareMask without native effects.
set_write_mask
Set native field writeMask without native effects.
set_reference
Set native field reference without native effects.
clone
default
Stvk::StreamDescriptorSurfaceCreateFlagsGGP
Contract
Open integer representation of VkStreamDescriptorSurfaceCreateFlagsGGP.
Fields
0
0: u32Methods and associated items
from_raw
as_raw
empty
Output
& operator.bitand
& operation. Read moreOutput-1
| operator.bitor
| operation. Read moreOutput-2
^ operator.bitxor
^ operation. Read moreclone
fmt
default
hash
Output-3
! operator.not
! operation. Read moreeq
self and other values to be equal, and is used by ==.