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;
  • sType is a VkStructureType value identifying this structure.
  • pNext is NULL or a pointer to a structure extending this structure.
  • useMaxLevel indicates whether the value of maxLevel should be used by the implementation. When it is set to VK_FALSE, the implementation ignores the value of maxLevel and uses the value of VkVideoEncodeAV1CapabilitiesKHR::maxLevel, as reported by vkGetPhysicalDeviceVideoCapabilitiesKHR for the video profile.
  • maxLevel is a StdVideoAV1Level value 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