VkVideoEncodeH264SessionCreateInfoEXT(3)

# VkVideoEncodeH264SessionCreateInfoEXT(3) Manual Page

## Name

VkVideoEncodeH264SessionCreateInfoEXT - Structure specifies H.264 encode session parameters

Loading… please wait.

## C Specification

The `VkVideoEncodeH264SessionCreateInfoEXT` structure is defined as:

    // Provided by VK_EXT_video_encode_h264
    typedef struct VkVideoEncodeH264SessionCreateInfoEXT {
        VkStructureType         sType;
        const void*             pNext;
        VkBool32                useMaxLevelIdc;
        StdVideoH264LevelIdc    maxLevelIdc;
    } VkVideoEncodeH264SessionCreateInfoEXT;

## Members

- `sType` is the type of this structure.

- `pNext` is `NULL` or a pointer to a structure extending this structure.

- `useMaxLevelIdc` indicates whether the value of `maxLevelIdc` should be used by the implementation. When it is set to `VK_FALSE`, the implementation ignores the value of `maxLevelIdc` and uses the value of VkVideoEncodeH264CapabilitiesEXT::`maxLevelIdc`, as reported by vkGetPhysicalDeviceVideoCapabilitiesKHR for the video profile.

- `maxLevelIdc` provides the upper bound on the H.264 level for the video bitstreams produced by the created video session.

## Description

Valid Usage (Implicit)

- VUID-VkVideoEncodeH264SessionCreateInfoEXT-sType-sType
  `sType` must be `VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_SESSION_CREATE_INFO_EXT`

## See Also

VK_EXT_video_encode_h264, VkBool32, VkStructureType

## 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-2023 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0