C Specification
The VkVideoCodingControlInfoKHR structure is defined as:
// Provided by VK_KHR_video_queue
typedef struct VkVideoCodingControlInfoKHR {
VkStructureType sType;
const void* pNext;
VkVideoCodingControlFlagsKHR flags;
} VkVideoCodingControlInfoKHR;
Members
-
sType
is the type of this structure. -
pNext
isNULL
or a pointer to a structure extending this structure. -
flags
is a bitmask of VkVideoCodingControlFlagsKHR specifying control flags.
Description
A newly created video session must be reset before use for video decode or
encode operations by including VK_VIDEO_CODING_CONTROL_RESET_BIT_KHR
in flags
.
The reset operation returns all session DPB slots to the unused state (see
DPB Slot States).
For encode sessions, the reset operation returns rate control configuration to implementation default settings.
After decode or encode operations are performed on a session, the reset operation may be used to return the video session object to the same initial state as after the reset of a newly created video session. This may be used when different video sequences are processed with the same video session object.
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.