To begin a video coding scope, call:
// Provided by VK_KHR_video_queue void vkCmdBeginVideoCodingKHR( VkCommandBuffer commandBuffer, const VkVideoBeginCodingInfoKHR* pBeginInfo);
commandBufferis the command buffer to be used when recording commands for the video decode or encode operations.
pBeginInfois a pointer to a VkVideoBeginCodingInfoKHR structure.
After beginning a video coding scope, the session object specified by the
videoSession member of VkVideoBeginCodingInfoKHR is bound to
the command buffer, and the command buffer is ready to record video coding
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.