C Specification

The VkVideoCapabilitiesKHR structure is defined as:

// Provided by VK_KHR_video_queue
typedef struct VkVideoCapabilitiesKHR {
    VkStructureType              sType;
    void*                        pNext;
    VkVideoCapabilityFlagsKHR    capabilityFlags;
    VkDeviceSize                 minBitstreamBufferOffsetAlignment;
    VkDeviceSize                 minBitstreamBufferSizeAlignment;
    VkExtent2D                   videoPictureExtentGranularity;
    VkExtent2D                   minExtent;
    VkExtent2D                   maxExtent;
    uint32_t                     maxReferencePicturesSlotsCount;
    uint32_t                     maxReferencePicturesActiveCount;
    VkExtensionProperties        stdHeaderVersion;
} VkVideoCapabilitiesKHR;

Members

  • sType is the type of this structure.

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

  • capabilityFlags is a bitmask of VkVideoCapabilityFlagBitsKHR specifying capability flags.

  • minBitstreamBufferOffsetAlignment is the minimum alignment for the input or output bitstream buffer offset.

  • minBitstreamBufferSizeAlignment is the minimum alignment for the input or output bitstream buffer size

  • videoPictureExtentGranularity is the minimum size alignment of the extent with the required padding for the decoded or encoded video images.

  • minExtent is the minimum width and height of the decoded or encoded video.

  • maxExtent is the maximum width and height of the decoded or encoded video.

  • maxReferencePicturesSlotsCount is the maximum number of DPB Slots supported by the implementation for a single video session instance.

  • maxReferencePicturesActiveCount is the maximum slots that can be used as Reference Pictures with a single decode or encode operation.

  • stdHeaderVersion is a VkExtensionProperties structure reporting the Video Std header version supported for the codecOperation requested in vkGetPhysicalDeviceVideoCapabilitiesKHR::pVideoProfile.

Description

Valid Usage (Implicit)
  • VUID-VkVideoCapabilitiesKHR-sType-sType
    sType must be VK_STRUCTURE_TYPE_VIDEO_CAPABILITIES_KHR

  • VUID-VkVideoCapabilitiesKHR-pNext-pNext
    Each pNext member of any structure (including this one) in the pNext chain must be either NULL or a pointer to a valid instance of VkVideoDecodeCapabilitiesKHR or VkVideoEncodeCapabilitiesKHR

  • VUID-VkVideoCapabilitiesKHR-sType-unique
    The sType value of each struct in the pNext chain must be unique

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-2022 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0