Structures
VkVideoEncodeAV1SessionCreateInfoKHR
Structure specifies AV1 encode session parameters
The VkVideoEncodeAV1SessionCreateInfoKHR structure is defined as:
typedef struct VkVideoEncodeAV1SessionCreateInfoKHR {
VkStructureType sType;
const void* pNext;
VkBool32 useMaxLevel;
StdVideoAV1Level maxLevel;
} VkVideoEncodeAV1SessionCreateInfoKHR;
pub struct VideoEncodeAV1SessionCreateInfoKHR {
s_type: vk::StructureType,
p_next: *const c_void,
use_max_level: vk::Bool32,
max_level: StdVideoAV1Level,
}
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.useMaxLevelindicates whether the value ofmaxLevelshould be used by the implementation. When it is set toVK_FALSE, the implementation ignores the value ofmaxLeveland uses the value of VkVideoEncodeAV1CapabilitiesKHR::maxLevel, as reported by vkGetPhysicalDeviceVideoCapabilitiesKHR for the video profile.maxLevelis aStdVideoAV1Levelvalue specifying the upper bound on the AV1 level for the video bitstreams produced by the created video session.
Valid Usage (Implicit)
VUID-VkVideoEncodeAV1SessionCreateInfoKHR-sType-sType
sType must be VK_STRUCTURE_TYPE_VIDEO_ENCODE_AV1_SESSION_CREATE_INFO_KHR