C Specification

When creating a Video Session object with VkVideoSessionCreateInfoKHR::pVideoProfile->videoCodecOperation specified as VK_VIDEO_CODEC_OPERATION_ENCODE_H265_BIT_EXT, add a VkVideoEncodeH265SessionCreateInfoEXT structure to the pNext chain of the VkVideoSessionCreateInfoKHR structure passed to vkCreateVideoSessionKHR in order to specify the H.265-specific video encoder session creation parameters.

The VkVideoEncodeH265SessionCreateInfoEXT structure is defined as:

// Provided by VK_EXT_video_encode_h265
typedef struct VkVideoEncodeH265SessionCreateInfoEXT {
    VkStructureType                    sType;
    const void*                        pNext;
    VkVideoEncodeH265CreateFlagsEXT    flags;
    const VkExtensionProperties*       pStdExtensionVersion;
} VkVideoEncodeH265SessionCreateInfoEXT;

Members

  • sType is the type of this structure.

  • pNext is NULL or a pointer to a structure extending this structure.

  • flags is reserved for future use.

  • pStdExtensionVersion is a pointer to a VkExtensionProperties structure specifying the H.265 codec extension version.

Description

Valid Usage (Implicit)
  • VUID-VkVideoEncodeH265SessionCreateInfoEXT-sType-sType
    sType must be VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_CREATE_INFO_EXT

  • VUID-VkVideoEncodeH265SessionCreateInfoEXT-flags-zerobitmask
    flags must be 0

  • VUID-VkVideoEncodeH265SessionCreateInfoEXT-pStdExtensionVersion-parameter
    pStdExtensionVersion must be a valid pointer to a valid VkExtensionProperties structure

See Also

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.

Copyright 2014-2021 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0