C Specification
The VkVideoInlineQueryInfoKHR
structure is defined as:
// Provided by VK_KHR_video_maintenance1
typedef struct VkVideoInlineQueryInfoKHR {
VkStructureType sType;
const void* pNext;
VkQueryPool queryPool;
uint32_t firstQuery;
uint32_t queryCount;
} VkVideoInlineQueryInfoKHR;
Members
-
sType
is a VkStructureType value identifying this structure. -
pNext
isNULL
or a pointer to a structure extending this structure. -
queryPool
isVK_NULL_HANDLE
or a valid handle to a VkQueryPool object that will manage the results of the queries. -
firstQuery
is the query index within the query pool that will contain the query results for the first video coding operation. The query results of subsequent video coding operations will be contained by subsequent query indices. -
queryCount
is the number of queries to execute.NoteIn practice, if
queryPool
is notVK_NULL_HANDLE
, thenqueryCount
will always have to match the number of video coding operations issued by the video coding command this structure is specified to, meaning that using inline queries in a video coding command will always execute a query for each issued video coding operation.
Description
This structure can be included in the pNext
chain of the input
parameter structure of video coding commands.
-
In the
pNext
chain of thepDecodeInfo
parameter of the vkCmdDecodeVideoKHR command to execute a query for each video decode operation issued by the command. -
In the
pNext
chain of thepEncodeInfo
parameter of the vkCmdEncodeVideoKHR command to execute a query for each video encode operation issued by the command.
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.