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
-
sTypeis a VkStructureType value identifying this structure. -
pNextisNULLor a pointer to a structure extending this structure. -
queryPoolisVK_NULL_HANDLEor a valid handle to a VkQueryPool object that will manage the results of the queries. -
firstQueryis 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. -
queryCountis the number of queries to execute.NoteIn practice, if
queryPoolis notVK_NULL_HANDLE, thenqueryCountwill 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
pNextchain of thepDecodeInfoparameter of the vkCmdDecodeVideoKHR command to execute a query for each video decode operation issued by the command. -
In the
pNextchain of thepEncodeInfoparameter 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.