C Specification
To begin a video coding scope, call:
// Provided by VK_KHR_video_queue
void vkCmdBeginVideoCodingKHR(
VkCommandBuffer commandBuffer,
const VkVideoBeginCodingInfoKHR* pBeginInfo);
Parameters
-
commandBuffer
is the command buffer to be used when recording commands for the video decode or encode operations. -
pBeginInfo
is a pointer to a VkVideoBeginCodingInfoKHR structure.
Description
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
operations.
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.