Package org.lwjgl.vulkan
Class KHRVideoDecodeQueue
- java.lang.Object
-
- org.lwjgl.vulkan.KHRVideoDecodeQueue
-
public class KHRVideoDecodeQueue extends java.lang.ObjectVK_KHR_video_decode_queue
- Name String
VK_KHR_video_decode_queue- Extension Type
- Device extension
- Registered Extension Number
- 25
- Revision
- 2
- Extension and Version Dependencies
- Requires Vulkan 1.0
- Requires
VK_KHR_video_queue - Requires
VK_KHR_synchronization2 - This is a provisional extension and must be used with caution. See the description of provisional header files for enablement and stability details.
- Contact
Other Extension Metadata
- Last Modified Date
- 2021-09-30
- IP Status
- No known IP claims.
- Contributors
- Jake Beju, AMD
- Olivier Lapicque, NVIDIA
- Peter Fang, AMD
- Piers Daniell, NVIDIA
- Srinath Kumarapuram, NVIDIA
- Tony Zlatinski, NVIDIA
-
-
Field Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidnvkCmdDecodeVideoKHR(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long pFrameInfo)Unsafe version of:CmdDecodeVideoKHRstatic voidvkCmdDecodeVideoKHR(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkVideoDecodeInfoKHR pFrameInfo)Decode a frame.
-
-
-
Field Detail
-
VK_KHR_VIDEO_DECODE_QUEUE_SPEC_VERSION
The extension specification version.
-
VK_KHR_VIDEO_DECODE_QUEUE_EXTENSION_NAME
The extension name.
-
VK_STRUCTURE_TYPE_VIDEO_DECODE_INFO_KHR
ExtendsVkStructureType.
-
VK_QUEUE_VIDEO_DECODE_BIT_KHR
ExtendsVkQueueFlagBits.
-
VK_PIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHR
ExtendsVkPipelineStageFlagBits2.
-
VK_ACCESS_2_VIDEO_DECODE_READ_BIT_KHR, VK_ACCESS_2_VIDEO_DECODE_WRITE_BIT_KHR
ExtendsVkAccessFlagBits2.Enum values:
-
VK_BUFFER_USAGE_VIDEO_DECODE_SRC_BIT_KHR, VK_BUFFER_USAGE_VIDEO_DECODE_DST_BIT_KHR
ExtendsVkBufferUsageFlagBits.Enum values:
-
VK_IMAGE_USAGE_VIDEO_DECODE_DST_BIT_KHR, VK_IMAGE_USAGE_VIDEO_DECODE_SRC_BIT_KHR, VK_IMAGE_USAGE_VIDEO_DECODE_DPB_BIT_KHR
ExtendsVkImageUsageFlagBits.Enum values:
-
VK_FORMAT_FEATURE_VIDEO_DECODE_OUTPUT_BIT_KHR, VK_FORMAT_FEATURE_VIDEO_DECODE_DPB_BIT_KHR
ExtendsVkFormatFeatureFlagBits.Enum values:
-
VK_IMAGE_LAYOUT_VIDEO_DECODE_DST_KHR, VK_IMAGE_LAYOUT_VIDEO_DECODE_SRC_KHR, VK_IMAGE_LAYOUT_VIDEO_DECODE_DPB_KHR
ExtendsVkImageLayout.Enum values:
-
VK_FORMAT_FEATURE_2_VIDEO_DECODE_OUTPUT_BIT_KHR, VK_FORMAT_FEATURE_2_VIDEO_DECODE_DPB_BIT_KHR
ExtendsVkFormatFeatureFlagBits2.Enum values:
-
VK_VIDEO_DECODE_DEFAULT_KHR, VK_VIDEO_DECODE_RESERVED_0_BIT_KHR
VkVideoDecodeFlagBitsKHR - Video Decode Command FlagsDescription
VIDEO_DECODE_RESERVED_0_BIT_KHRThe current version of the specification has reserved this value for future use.
Enum values:
-
-
Method Detail
-
nvkCmdDecodeVideoKHR
public static void nvkCmdDecodeVideoKHR(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long pFrameInfo)Unsafe version of:CmdDecodeVideoKHR
-
vkCmdDecodeVideoKHR
public static void vkCmdDecodeVideoKHR(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkVideoDecodeInfoKHR pFrameInfo)Decode a frame.C Specification
To decode a frame, call:
void vkCmdDecodeVideoKHR( VkCommandBuffer commandBuffer, const VkVideoDecodeInfoKHR* pFrameInfo);Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlepFrameInfomust be a valid pointer to a validVkVideoDecodeInfoKHRstructurecommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support decode operations - This command must only be called outside of a render pass instance
commandBuffermust be a primaryVkCommandBuffer
Host Synchronization
- Host access to the
VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
Command Properties
Command Buffer Levels Render Pass Scope Supported Queue Types Primary Outside Decode See Also
- Parameters:
commandBuffer- the command buffer to be filled with this function for decode frame command.pFrameInfo- a pointer to aVkVideoDecodeInfoKHRstructure.
-
-