VK_KHR_video_queue(3)

# VK_KHR_video_queue(3) Manual Page

## Name

VK_KHR_video_queue - device extension

Loading… please wait.

## Registered Extension Number

24

## Revision

1

## Extension and Version Dependencies

- Requires Vulkan 1.0

- Requires `VK_KHR_get_physical_device_properties2`

- Requires `VK_KHR_sampler_ycbcr_conversion`

- This is a provisional extension and must be used with caution. See the description of provisional header files for enablement and stability details.

  Last Modified Date

    2021-03-29

  IP Status

    No known IP claims.

  Contributors

    - Ahmed Abdelkhalek, AMD

    - George Hao, AMD

    - Jake Beju, AMD

    - Piers Daniell, NVIDIA

    - Srinath Kumarapuram, NVIDIA

    - Tobias Hector, AMD

    - Tony Zlatinski, NVIDIA

### New Object Types

- VkVideoSessionKHR

- VkVideoSessionParametersKHR

### New Commands

- vkBindVideoSessionMemoryKHR

- vkCmdBeginVideoCodingKHR

- vkCmdControlVideoCodingKHR

- vkCmdEndVideoCodingKHR

- vkCreateVideoSessionKHR

- vkCreateVideoSessionParametersKHR

- vkDestroyVideoSessionKHR

- vkDestroyVideoSessionParametersKHR

- vkGetPhysicalDeviceVideoCapabilitiesKHR

- vkGetPhysicalDeviceVideoFormatPropertiesKHR

- vkGetVideoSessionMemoryRequirementsKHR

- vkUpdateVideoSessionParametersKHR

### New Structures

- VkPhysicalDeviceVideoFormatInfoKHR

- VkVideoBeginCodingInfoKHR

- VkVideoBindMemoryKHR

- VkVideoCapabilitiesKHR

- VkVideoCodingControlInfoKHR

- VkVideoEndCodingInfoKHR

- VkVideoFormatPropertiesKHR

- VkVideoGetMemoryPropertiesKHR

- VkVideoPictureResourceKHR

- VkVideoReferenceSlotKHR

- VkVideoSessionCreateInfoKHR

- VkVideoSessionParametersCreateInfoKHR

- VkVideoSessionParametersUpdateInfoKHR

- Extending VkFormatProperties2, VkImageCreateInfo, VkImageViewCreateInfo, VkBufferCreateInfo:

  - VkVideoProfilesKHR

- Extending VkQueryPoolCreateInfo, VkFormatProperties2, VkImageCreateInfo, VkImageViewCreateInfo, VkBufferCreateInfo:

  - VkVideoProfileKHR

- Extending VkQueueFamilyProperties2:

  - VkVideoQueueFamilyProperties2KHR

### New Enums

- VkQueryResultStatusKHR

- VkVideoCapabilitiesFlagBitsKHR

- VkVideoChromaSubsamplingFlagBitsKHR

- VkVideoCodecOperationFlagBitsKHR

- VkVideoCodingControlFlagBitsKHR

- VkVideoCodingQualityPresetFlagBitsKHR

- VkVideoComponentBitDepthFlagBitsKHR

- VkVideoSessionCreateFlagBitsKHR

### New Bitmasks

- VkVideoBeginCodingFlagsKHR

- VkVideoCapabilitiesFlagsKHR

- VkVideoChromaSubsamplingFlagsKHR

- VkVideoCodecOperationFlagsKHR

- VkVideoCodingControlFlagsKHR

- VkVideoCodingQualityPresetFlagsKHR

- VkVideoComponentBitDepthFlagsKHR

- VkVideoEndCodingFlagsKHR

- VkVideoSessionCreateFlagsKHR

### New Enum Constants

- `VK_KHR_VIDEO_QUEUE_EXTENSION_NAME`

- `VK_KHR_VIDEO_QUEUE_SPEC_VERSION`

- Extending VkObjectType:

  - `VK_OBJECT_TYPE_VIDEO_SESSION_KHR`

  - `VK_OBJECT_TYPE_VIDEO_SESSION_PARAMETERS_KHR`

- Extending VkQueryResultFlagBits:

  - `VK_QUERY_RESULT_WITH_STATUS_BIT_KHR`

- Extending VkQueryType:

  - `VK_QUERY_TYPE_RESULT_STATUS_ONLY_KHR`

- Extending VkStructureType:

  - `VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_FORMAT_INFO_KHR`

  - `VK_STRUCTURE_TYPE_VIDEO_BEGIN_CODING_INFO_KHR`

  - `VK_STRUCTURE_TYPE_VIDEO_BIND_MEMORY_KHR`

  - `VK_STRUCTURE_TYPE_VIDEO_CAPABILITIES_KHR`

  - `VK_STRUCTURE_TYPE_VIDEO_CODING_CONTROL_INFO_KHR`

  - `VK_STRUCTURE_TYPE_VIDEO_END_CODING_INFO_KHR`

  - `VK_STRUCTURE_TYPE_VIDEO_FORMAT_PROPERTIES_KHR`

  - `VK_STRUCTURE_TYPE_VIDEO_GET_MEMORY_PROPERTIES_KHR`

  - `VK_STRUCTURE_TYPE_VIDEO_PICTURE_RESOURCE_KHR`

  - `VK_STRUCTURE_TYPE_VIDEO_PROFILES_KHR`

  - `VK_STRUCTURE_TYPE_VIDEO_PROFILE_KHR`

  - `VK_STRUCTURE_TYPE_VIDEO_QUEUE_FAMILY_PROPERTIES_2_KHR`

  - `VK_STRUCTURE_TYPE_VIDEO_REFERENCE_SLOT_KHR`

  - `VK_STRUCTURE_TYPE_VIDEO_SESSION_CREATE_INFO_KHR`

  - `VK_STRUCTURE_TYPE_VIDEO_SESSION_PARAMETERS_CREATE_INFO_KHR`

  - `VK_STRUCTURE_TYPE_VIDEO_SESSION_PARAMETERS_UPDATE_INFO_KHR`

### Version History

- Revision 0.1, 2019-11-21 (Tony Zlatinski)

  - Initial draft

- Revision 0.2, 2019-11-27 (Tony Zlatinski)

  - Make vulkan video core common between decode and encode

- Revision 1.7, March 29 2021 (Tony Zlatinski)

  - Spec and API updates.

## See Also

VkPhysicalDeviceVideoFormatInfoKHR, VkQueryResultStatusKHR, VkVideoBeginCodingFlagsKHR, VkVideoBeginCodingInfoKHR, VkVideoBindMemoryKHR, VkVideoCapabilitiesFlagBitsKHR, VkVideoCapabilitiesFlagsKHR, VkVideoCapabilitiesKHR, VkVideoChromaSubsamplingFlagBitsKHR, VkVideoChromaSubsamplingFlagsKHR, VkVideoCodecOperationFlagBitsKHR, VkVideoCodecOperationFlagsKHR, VkVideoCodingControlFlagBitsKHR, VkVideoCodingControlFlagsKHR, VkVideoCodingControlInfoKHR, VkVideoCodingQualityPresetFlagBitsKHR, VkVideoCodingQualityPresetFlagsKHR, VkVideoComponentBitDepthFlagBitsKHR, VkVideoComponentBitDepthFlagsKHR, VkVideoEndCodingFlagsKHR, VkVideoEndCodingInfoKHR, VkVideoFormatPropertiesKHR, VkVideoGetMemoryPropertiesKHR, VkVideoPictureResourceKHR, VkVideoProfileKHR, VkVideoProfilesKHR, VkVideoQueueFamilyProperties2KHR, VkVideoReferenceSlotKHR, VkVideoSessionCreateFlagBitsKHR, VkVideoSessionCreateFlagsKHR, VkVideoSessionCreateInfoKHR, VkVideoSessionKHR, VkVideoSessionParametersCreateInfoKHR, VkVideoSessionParametersKHR, VkVideoSessionParametersUpdateInfoKHR, vkBindVideoSessionMemoryKHR, vkCmdBeginVideoCodingKHR, vkCmdControlVideoCodingKHR, vkCmdEndVideoCodingKHR, vkCreateVideoSessionKHR, vkCreateVideoSessionParametersKHR, vkDestroyVideoSessionKHR, vkDestroyVideoSessionParametersKHR, vkGetPhysicalDeviceVideoCapabilitiesKHR, vkGetPhysicalDeviceVideoFormatPropertiesKHR, vkGetVideoSessionMemoryRequirementsKHR, vkUpdateVideoSessionParametersKHR

## Document Notes

For more information, see the Vulkan Specification

This page is a generated document. Fixes and changes should be made to the generator scripts, not directly.

## Copyright

Copyright 2014-2021 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0