In addition, it also introduces query commands that allow applications to determine video coding related capabilities, and command buffer commands that enable recording video coding operations against a video session.
This extension is to be used in conjunction with other extensions that enable specific video coding operations.
VK_KHR_video_queueVK_KHR_synchronization2| Modifier and Type | Field and Description |
|---|---|
| public static final int | VK_ERROR_IMAGE_USAGE_NOT_SUPPORTED_KHR
Extends |
| public static final int | VK_ERROR_VIDEO_PICTURE_LAYOUT_NOT_SUPPORTED_KHR
Extends |
| public static final int | VK_ERROR_VIDEO_PROFILE_CODEC_NOT_SUPPORTED_KHR
Extends |
| public static final int | VK_ERROR_VIDEO_PROFILE_FORMAT_NOT_SUPPORTED_KHR
Extends |
| public static final int | VK_ERROR_VIDEO_PROFILE_OPERATION_NOT_SUPPORTED_KHR
Extends |
| public static final int | VK_ERROR_VIDEO_STD_VERSION_NOT_SUPPORTED_KHR
Extends |
| public static final String | VK_KHR_VIDEO_QUEUE_EXTENSION_NAME
The extension name. |
| public static final int | VK_KHR_VIDEO_QUEUE_SPEC_VERSION
The extension specification version. |
| public static final int | VK_OBJECT_TYPE_VIDEO_SESSION_KHR
Extends |
| public static final int | VK_OBJECT_TYPE_VIDEO_SESSION_PARAMETERS_KHR
Extends |
| public static final int | VK_QUERY_RESULT_STATUS_COMPLETE_KHR
VkQueryResultStatusKHR - Specific status codes for operations Description
|
| public static final int | VK_QUERY_RESULT_STATUS_ERROR_KHR
VkQueryResultStatusKHR - Specific status codes for operations Description
|
| public static final int | VK_QUERY_RESULT_STATUS_NOT_READY_KHR
VkQueryResultStatusKHR - Specific status codes for operations Description
|
| public static final int | VK_QUERY_RESULT_WITH_STATUS_BIT_KHR
Extends |
| public static final int | VK_QUERY_TYPE_RESULT_STATUS_ONLY_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_BIND_VIDEO_SESSION_MEMORY_INFO_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_FORMAT_INFO_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_QUEUE_FAMILY_QUERY_RESULT_STATUS_PROPERTIES_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_QUEUE_FAMILY_VIDEO_PROPERTIES_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_VIDEO_BEGIN_CODING_INFO_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_VIDEO_CAPABILITIES_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_VIDEO_CODING_CONTROL_INFO_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_VIDEO_END_CODING_INFO_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_VIDEO_FORMAT_PROPERTIES_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_VIDEO_PICTURE_RESOURCE_INFO_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_VIDEO_PROFILE_INFO_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_VIDEO_PROFILE_LIST_INFO_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_VIDEO_REFERENCE_SLOT_INFO_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_VIDEO_SESSION_CREATE_INFO_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_VIDEO_SESSION_MEMORY_REQUIREMENTS_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_VIDEO_SESSION_PARAMETERS_CREATE_INFO_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_VIDEO_SESSION_PARAMETERS_UPDATE_INFO_KHR
Extends |
| public static final int | VK_VIDEO_CAPABILITY_PROTECTED_CONTENT_BIT_KHR
VkVideoCapabilityFlagBitsKHR - Video decode and encode capability bits Description
|
| public static final int | VK_VIDEO_CAPABILITY_SEPARATE_REFERENCE_IMAGES_BIT_KHR
VkVideoCapabilityFlagBitsKHR - Video decode and encode capability bits Description
|
| public static final int | VK_VIDEO_CHROMA_SUBSAMPLING_420_BIT_KHR
VkVideoChromaSubsamplingFlagBitsKHR - Video format chroma subsampling bits Description
|
| public static final int | VK_VIDEO_CHROMA_SUBSAMPLING_422_BIT_KHR
VkVideoChromaSubsamplingFlagBitsKHR - Video format chroma subsampling bits Description
|
| public static final int | VK_VIDEO_CHROMA_SUBSAMPLING_444_BIT_KHR
VkVideoChromaSubsamplingFlagBitsKHR - Video format chroma subsampling bits Description
|
| public static final int | VK_VIDEO_CHROMA_SUBSAMPLING_INVALID_KHR
VkVideoChromaSubsamplingFlagBitsKHR - Video format chroma subsampling bits Description
|
| public static final int | VK_VIDEO_CHROMA_SUBSAMPLING_MONOCHROME_BIT_KHR
VkVideoChromaSubsamplingFlagBitsKHR - Video format chroma subsampling bits Description
|
| public static final int | VK_VIDEO_CODEC_OPERATION_NONE_KHR
VkVideoCodecOperationFlagBitsKHR - Video codec operation bits Description
|
| public static final int | VK_VIDEO_CODING_CONTROL_RESET_BIT_KHR
VkVideoCodingControlFlagBitsKHR - Video coding control flags Description
|
| public static final int | VK_VIDEO_COMPONENT_BIT_DEPTH_10_BIT_KHR
VkVideoComponentBitDepthFlagBitsKHR - Video format component bit depth Description
|
| public static final int | VK_VIDEO_COMPONENT_BIT_DEPTH_12_BIT_KHR
VkVideoComponentBitDepthFlagBitsKHR - Video format component bit depth Description
|
| public static final int | VK_VIDEO_COMPONENT_BIT_DEPTH_8_BIT_KHR
VkVideoComponentBitDepthFlagBitsKHR - Video format component bit depth Description
|
| public static final int | VK_VIDEO_COMPONENT_BIT_DEPTH_INVALID_KHR
VkVideoComponentBitDepthFlagBitsKHR - Video format component bit depth Description
|
| public static final int | VK_VIDEO_SESSION_CREATE_PROTECTED_CONTENT_BIT_KHR
VkVideoSessionCreateFlagBitsKHR - Video session creation flags Description
|
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static int | nvkBindVideoSessionMemoryKHR(VkDevice device, long videoSession, int
the number of elements in bindSessionMemoryInfoCount, long pBindSessionMemoryInfos)pBindSessionMemoryInfos.Unsafe version of: |
| public static void | nvkCmdBeginVideoCodingKHR(VkCommandBuffer commandBuffer, long pBeginInfo)
Unsafe version of: |
| public static void | nvkCmdControlVideoCodingKHR(VkCommandBuffer commandBuffer, long pCodingControlInfo)
Unsafe version of: |
| public static void | nvkCmdEndVideoCodingKHR(VkCommandBuffer commandBuffer, long pEndCodingInfo)
Unsafe version of: |
| public static int | nvkCreateVideoSessionKHR(VkDevice device, long pCreateInfo, long pAllocator, long pVideoSession)
Unsafe version of: |
| public static int | nvkCreateVideoSessionParametersKHR(VkDevice device, long pCreateInfo, long pAllocator, long pVideoSessionParameters)
Unsafe version of: |
| public static void | nvkDestroyVideoSessionKHR(VkDevice device, long videoSession, long pAllocator)
Unsafe version of: |
| public static void | nvkDestroyVideoSessionParametersKHR(VkDevice device, long videoSessionParameters, long pAllocator)
Unsafe version of: |
| public static int | nvkGetPhysicalDeviceVideoCapabilitiesKHR(VkPhysicalDevice physicalDevice, long pVideoProfile, long pCapabilities)
Unsafe version of: |
| public static int | nvkGetPhysicalDeviceVideoFormatPropertiesKHR(VkPhysicalDevice physicalDevice, long pVideoFormatInfo, long
a pointer to an integer related to the number of video format properties available or queried, as described below. pVideoFormatPropertyCount, long pVideoFormatProperties)Unsafe version of: |
| public static int | nvkGetVideoSessionMemoryRequirementsKHR(VkDevice device, long videoSession, long
a pointer to an integer related to the number of memory binding requirements available or queried, as described below. pMemoryRequirementsCount, long pMemoryRequirements)Unsafe version of: |
| public static int | nvkUpdateVideoSessionParametersKHR(VkDevice device, long videoSessionParameters, long pUpdateInfo)
Unsafe version of: |
| public static int | vkBindVideoSessionMemoryKHR(VkDevice
the logical device that owns the video session. device, long the video session to be bound with device memory. videoSession, VkBindVideoSessionMemoryInfoKHR.a pointer to an array of pBindSessionMemoryInfosbindSessionMemoryInfoCount VkBindVideoSessionMemoryInfoKHR structures specifying memory regions to be bound to specific memory bindings of the video session.Bind Video Memory. |
| public static void | vkCmdBeginVideoCodingKHR(VkCommandBuffer
the command buffer in which to record the command. commandBuffer, VkVideoBeginCodingInfoKHR a pointer to a pBeginInfo)VkVideoBeginCodingInfoKHR structure specifying the parameters of the video coding scope, including the video session and video session parameters object to use.Begin video coding scope. |
| public static void | vkCmdControlVideoCodingKHR(VkCommandBuffer
the command buffer in which to record the command. commandBuffer, VkVideoCodingControlInfoKHR a pointer to a pCodingControlInfo)VkVideoCodingControlInfoKHR structure specifying the control parameters.Control video coding parameters. |
| public static void | vkCmdEndVideoCodingKHR(VkCommandBuffer
the command buffer in which to record the command. commandBuffer, VkVideoEndCodingInfoKHR a pointer to a pEndCodingInfo)VkVideoEndCodingInfoKHR structure specifying the parameters for ending the video coding scope.End video coding scope. |
| public static int | vkCreateVideoSessionKHR(VkDevice
the logical device that creates the video session. device, VkVideoSessionCreateInfoKHR a pointer to a pCreateInfo, VkAllocationCallbacks VkVideoSessionCreateInfoKHR structure containing parameters to be used to create the video session.controls host memory allocation as described in the Memory Allocation chapter. pAllocator, LongBuffer a pointer to a pVideoSession)VkVideoSessionKHR handle in which the resulting video session object is returned.Creates a video session object. |
| public static int | vkCreateVideoSessionKHR(VkDevice device, VkVideoSessionCreateInfoKHR pCreateInfo, VkAllocationCallbacks pAllocator, long[] pVideoSession)
Array version of: |
| public static int | vkCreateVideoSessionParametersKHR(VkDevice
the logical device that creates the video session parameters object. device, VkVideoSessionParametersCreateInfoKHR a pointer to pCreateInfo, VkAllocationCallbacks VkVideoSessionParametersCreateInfoKHR structure containing parameters to be used to create the video session parameters object.controls host memory allocation as described in the Memory Allocation chapter. pAllocator, LongBuffer a pointer to a pVideoSessionParameters)VkVideoSessionParametersKHR handle in which the resulting video session parameters object is returned.Creates video session parameters object. |
| public static int | vkCreateVideoSessionParametersKHR(VkDevice device, VkVideoSessionParametersCreateInfoKHR pCreateInfo, VkAllocationCallbacks pAllocator, long[] pVideoSessionParameters)
Array version of: |
| public static void | vkDestroyVideoSessionKHR(VkDevice
the logical device that destroys the video session. device, long the video session to destroy. videoSession, VkAllocationCallbacks controls host memory allocation as described in the Memory Allocation chapter. pAllocator)Destroy video session object. |
| public static void | vkDestroyVideoSessionParametersKHR(VkDevice
the logical device that destroys the video session parameters object. device, long the video session parameters object to destroy. videoSessionParameters, VkAllocationCallbacks controls host memory allocation as described in the Memory Allocation chapter. pAllocator)Destroy video session parameters object. |
| public static int | vkGetPhysicalDeviceVideoCapabilitiesKHR(VkPhysicalDevice
the physical device from which to query the video decode or encode capabilities. physicalDevice, VkVideoProfileInfoKHR a pointer to a pVideoProfile, VkVideoCapabilitiesKHR VkVideoProfileInfoKHR structure.a pointer to a pCapabilities)VkVideoCapabilitiesKHR structure in which the capabilities are returned.Query video coding capabilities. |
| public static int | vkGetPhysicalDeviceVideoFormatPropertiesKHR(VkPhysicalDevice
the physical device from which to query the video format properties. physicalDevice, VkPhysicalDeviceVideoFormatInfoKHR a pointer to a pVideoFormatInfo, IntBuffer VkPhysicalDeviceVideoFormatInfoKHR structure specifying the usage and video profiles for which supported image formats and capabilities are returned.a pointer to an integer related to the number of video format properties available or queried, as described below. pVideoFormatPropertyCount, VkVideoFormatPropertiesKHR.a pointer to an array of pVideoFormatPropertiesVkVideoFormatPropertiesKHR structures in which supported image formats and capabilities are returned.Query supported video decode and encode image formats and capabilities. |
| public static int | vkGetPhysicalDeviceVideoFormatPropertiesKHR(VkPhysicalDevice physicalDevice, VkPhysicalDeviceVideoFormatInfoKHR pVideoFormatInfo, int[] pVideoFormatPropertyCount, VkVideoFormatPropertiesKHR.
Array version of: |
| public static int | vkGetVideoSessionMemoryRequirementsKHR(VkDevice
the logical device that owns the video session. device, long the video session to query. videoSession, IntBuffer a pointer to an integer related to the number of memory binding requirements available or queried, as described below. pMemoryRequirementsCount, VkVideoSessionMemoryRequirementsKHR.NULL or a pointer to an array of VkVideoSessionMemoryRequirementsKHR structures in which the memory binding requirements of the video session are returned.Get the memory requirements for a video session. |
| public static int | vkGetVideoSessionMemoryRequirementsKHR(VkDevice device, long videoSession, int[] pMemoryRequirementsCount, VkVideoSessionMemoryRequirementsKHR.
Array version of: |
| public static int | vkUpdateVideoSessionParametersKHR(VkDevice
the logical device that updates the video session parameters. device, long the video session parameters object to update. videoSessionParameters, VkVideoSessionParametersUpdateInfoKHR a pointer to a pUpdateInfo)VkVideoSessionParametersUpdateInfoKHR structure specifying the parameter update information.Update video session parameters object. |