C Specification
A video profile supporting AV1 video decode operations is specified by
setting VkVideoProfileInfoKHR::videoCodecOperation to
VK_VIDEO_CODEC_OPERATION_DECODE_AV1_BIT_KHR and adding a
VkVideoDecodeAV1ProfileInfoKHR structure to the
VkVideoProfileInfoKHR::pNext chain.
The VkVideoDecodeAV1ProfileInfoKHR structure is defined as:
// Provided by VK_KHR_video_decode_av1
typedef struct VkVideoDecodeAV1ProfileInfoKHR {
VkStructureType sType;
const void* pNext;
StdVideoAV1Profile stdProfile;
VkBool32 filmGrainSupport;
} VkVideoDecodeAV1ProfileInfoKHR;
Members
-
sTypeis a VkStructureType value identifying this structure. -
pNextisNULLor a pointer to a structure extending this structure. -
stdProfileis aStdVideoAV1Profilevalue specifying the AV1 codec profile, as defined in section A.2 of the AV1 Specification. -
filmGrainSupportspecifies whether AV1 film grain, as defined in section 7.8.3 of the AV1 Specification, can be used with the video profile. When this member isVK_TRUE, video session objects created against the video profile will be able to decode pictures that have film grain enabled.
Description
|
Note
|
Enabling |
Document Notes
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.