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
-
sTypeis a VkStructureType value identifying this structure. -
pNextisNULLor a pointer to a structure extending this structure. -
stdProfileIdcis aStdVideoH264ProfileIdcvalue specifying the H.264 codec profile IDC, where enum constantSTD_VIDEO_H264_PROFILE_IDC_BASELINEidentifies the Constrained Baseline profile as defined in A.2.1.1 of the ITU-T H.264 Specification, and all other values correspond to profiles defined in section A.2 of the ITU-T H.264 Specification. -
pictureLayoutis 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.