C Specification
A video profile supporting H.264 video encode operations is specified by
setting VkVideoProfileInfoKHR::videoCodecOperation
to
VK_VIDEO_CODEC_OPERATION_ENCODE_H264_BIT_KHR
and adding a
VkVideoEncodeH264ProfileInfoKHR
structure to the
VkVideoProfileInfoKHR::pNext
chain.
The VkVideoEncodeH264ProfileInfoKHR
structure is defined as:
// Provided by VK_KHR_video_encode_h264
typedef struct VkVideoEncodeH264ProfileInfoKHR {
VkStructureType sType;
const void* pNext;
StdVideoH264ProfileIdc stdProfileIdc;
} VkVideoEncodeH264ProfileInfoKHR;
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.
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.