To determine the memory requirements for a video session object, call:
// Provided by VK_KHR_video_queue
deviceis the logical device that owns the video session.
videoSessionis the video session to query.
pMemoryRequirementsCountis a pointer to an integer related to the number of memory binding requirements available or queried, as described below.
NULLor a pointer to an array of VkVideoSessionMemoryRequirementsKHR structures in which the memory binding requirements of the video session are returned.
NULL, then the number of memory bindings
required for the video session is returned in
pMemoryRequirementsCount must point to a variable set by
the user with the number of elements in the
and on return the variable is overwritten with the number of memory binding
requirements actually written to
pMemoryRequirementsCount is less than the number of memory bindings
required for the video session, then at most
elements will be written to
VK_INCOMPLETE will be returned, instead of
indicate that not all required memory binding requirements were returned.
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.