C Specification

When using vkGetPhysicalDeviceVideoCapabilitiesKHR to query the capabilities for the input pVideoProfile with videoCodecOperation specified as VK_VIDEO_CODEC_OPERATION_DECODE_H264_BIT_EXT, the instance of VkVideoDecodeH264CapabilitiesEXT structure must be chained to VkVideoCapabilitiesKHR to get this H.264 decode profile specific capabilities.

The VkVideoDecodeH264CapabilitiesEXT structure is defined as:

// Provided by VK_EXT_video_decode_h264
typedef struct VkVideoDecodeH264CapabilitiesEXT {
    VkStructureType          sType;
    void*                    pNext;
    uint32_t                 maxLevel;
    VkOffset2D               fieldOffsetGranularity;
    VkExtensionProperties    stdExtensionVersion;
} VkVideoDecodeH264CapabilitiesEXT;

Members

  • sType is the type of this structure.

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

  • maxLevel is the maximum H.264 level supported by the device.

  • fieldOffsetGranularity - if Interlaced Video Content is suported, the maximum field offset granularity supported for the picture resource.

  • stdExtensionVersion is the specific H.264 extension name and version supported by this implementation.

Description

Valid Usage (Implicit)
  • VUID-VkVideoDecodeH264CapabilitiesEXT-sType-sType
    sType must be VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_CAPABILITIES_EXT

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