C Specification
When calling vkGetPhysicalDeviceVideoCapabilitiesKHR with
pVideoProfile->videoCodecOperation specified as
VK_VIDEO_CODEC_OPERATION_ENCODE_H265_BIT_EXT, the
VkVideoEncodeH265CapabilitiesEXT structure must be included in the
pNext chain of the VkVideoCapabilitiesKHR structure to retrieve
H.265-specific capabilities for video encoding.
The VkVideoEncodeH265CapabilitiesEXT structure is defined as:
// Provided by VK_EXT_video_encode_h265
typedef struct VkVideoEncodeH265CapabilitiesEXT {
VkStructureType sType;
const void* pNext;
VkVideoEncodeH265CapabilityFlagsEXT flags;
VkVideoEncodeH265InputModeFlagsEXT inputModeFlags;
VkVideoEncodeH265OutputModeFlagsEXT outputModeFlags;
VkVideoEncodeH265CtbSizeFlagsEXT ctbSizes;
VkExtent2D inputImageDataAlignment;
uint8_t maxNumL0ReferenceForP;
uint8_t maxNumL0ReferenceForB;
uint8_t maxNumL1Reference;
uint8_t maxNumSubLayers;
uint8_t qualityLevelCount;
VkExtensionProperties stdExtensionVersion;
} VkVideoEncodeH265CapabilitiesEXT;
Members
-
sTypeis the type of this structure. -
pNextisNULLor a pointer to a structure extending this structure. -
flagsis reserved for future use. -
inputModeFlagsis a bitmask of VkVideoEncodeH265InputModeFlagBitsEXT describing the command buffer input granularities/modes supported by the implementation. -
outputModeFlagsis a bitmask of VkVideoEncodeH265OutputModeFlagBitsEXT describing the output (bitstream size reporting) granularities/modes supported by the implementation. -
ctbSizesis a bitmask of VkVideoEncodeH265CtbSizeFlagBitsEXT describing the supported CTB sizes. -
inputImageDataAlignmentreports the alignment, in pixels, for the width and height of the picture data within the images used in video encoding. -
maxNumL0ReferenceForPreports the maximum number of reference pictures the implementation supports in the reference list L0 for P pictures. -
maxNumL0ReferenceForBreports the maximum number of reference pictures the implementation supports in the reference list L0 for B pictures. The reported value is0if encoding of B pictures is not supported. -
maxNumL1Referencereports the maximum number of reference pictures the implementation supports in the reference list L1 if encoding of B pictures is supported. The reported value is0if encoding of B pictures is not supported. -
maxNumSubLayersreports the maximum number of sublayers. -
qualityLevelCountis the number of quality levels supported. -
stdExtensionVersionis a VkExtensionProperties structure in which the H.265 extension name and version supported by the implementation are returned.
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.