VkVideoCodingControlFlagBitsKHR(3)

# VkVideoCodingControlFlagBitsKHR(3) Manual Page

## Name

VkVideoCodingControlFlagBitsKHR - Video Coding Control Command Flags

Loading… please wait.

## C Specification

The vkCmdControlVideoCodingKHR flags are defined with the following enumeration:

    // Provided by VK_KHR_video_queue
    typedef enum VkVideoCodingControlFlagBitsKHR {
        VK_VIDEO_CODING_CONTROL_DEFAULT_KHR = 0,
        VK_VIDEO_CODING_CONTROL_RESET_BIT_KHR = 0x00000001,
    } VkVideoCodingControlFlagBitsKHR;

## Description

- `VK_VIDEO_CODING_CONTROL_DEFAULT_KHR` indicates a request for the coding control paramaters to be applied to the current state of the bound video session.

- `VK_VIDEO_CODING_CONTROL_RESET_BIT_KHR` indicates a request for the bound video session device context to be reset before the coding control parameters are applied.

A newly created video session must be reset before use for video decode or encode operations. 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 device context 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 session.

## See Also

VK_KHR_video_queue, VkVideoCodingControlFlagsKHR

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