C Specification
A video profile supporting H.264 video decode operations is specified by
setting VkVideoProfileInfoKHR::videoCodecOperation
to
VK_VIDEO_CODEC_OPERATION_DECODE_H264_BIT_KHR
and adding a
VkVideoDecodeH264ProfileInfoKHR
structure to the
VkVideoProfileInfoKHR::pNext
chain.
The VkVideoDecodeH264ProfileInfoKHR
structure is defined as:
// Provided by VK_KHR_video_decode_h264
typedef struct VkVideoDecodeH264ProfileInfoKHR {
VkStructureType sType;
const void* pNext;
StdVideoH264ProfileIdc stdProfileIdc;
VkVideoDecodeH264PictureLayoutFlagBitsKHR pictureLayout;
} VkVideoDecodeH264ProfileInfoKHR;
Members
-
sType
is a VkStructureType value identifying this structure. -
pNext
isNULL
or a pointer to a structure extending this structure. -
stdProfileIdc
is aStdVideoH264ProfileIdc
value specifying the H.264 codec profile IDC, as defined in section A.2 of the ITU-T H.264 Specification. -
pictureLayout
is a VkVideoDecodeH264PictureLayoutFlagBitsKHR value specifying the picture layout used by the H.264 video sequence to be decoded.
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.