VkVideoCodingControlInfoKHR(3)

# VkVideoCodingControlInfoKHR(3) Manual Page

## Name

VkVideoCodingControlInfoKHR - Structure specifying parameters of coding control

Loading… please wait.

## 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` is `NULL` or a pointer to a structure extending this structure.

- `flags` is a bitmask of VkVideoCodingControlFlagsKHR specifying control flags.

## Description

Valid Usage

- VUID-VkVideoCodingControlInfoKHR-flags-06518
  The first command buffer submitted for a newly created video session must set the `VK_VIDEO_CODING_CONTROL_RESET_BIT_KHR` bit in VkVideoCodingControlInfoKHR::`flags` to reset the session device context before any video decode or encode operations are performed on the session.

Valid Usage (Implicit)

- VUID-VkVideoCodingControlInfoKHR-sType-sType
  `sType` must be `VK_STRUCTURE_TYPE_VIDEO_CODING_CONTROL_INFO_KHR`

- VUID-VkVideoCodingControlInfoKHR-pNext-pNext
  Each `pNext` member of any structure (including this one) in the `pNext` chain must be either `NULL` or a pointer to a valid instance of VkVideoEncodeRateControlInfoKHR or VkVideoEncodeRateControlLayerInfoKHR

- VUID-VkVideoCodingControlInfoKHR-sType-unique
  The `sType` value of each struct in the `pNext` chain must be unique

- VUID-VkVideoCodingControlInfoKHR-flags-parameter
  `flags` must be a valid combination of VkVideoCodingControlFlagBitsKHR values

## See Also

VK_KHR_video_queue, VkStructureType, VkVideoCodingControlFlagsKHR, vkCmdControlVideoCodingKHR

## 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.

## Copyright

Copyright 2014-2022 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0