VkVideoEncodeH264SessionCreateInfoEXT(3)

# VkVideoEncodeH264SessionCreateInfoEXT(3) Manual Page

## Name

VkVideoEncodeH264SessionCreateInfoEXT - Structure specifies H.264 encoder creation parameters

Loading… please wait.

## C Specification

An instance of VkVideoEncodeH264SessionCreateInfoEXT structure must be chained to VkVideoSessionCreateInfoKHR when the function vkCreateVideoSessionKHR is called with `videoCodecOperation` in VkVideoSessionCreateInfoKHR set to `VK_VIDEO_CODEC_OPERATION_ENCODE_H264_BIT_EXT`.

The VkVideoEncodeH264SessionCreateInfoEXT structure is defined as:

    // Provided by VK_EXT_video_encode_h264
    typedef struct VkVideoEncodeH264SessionCreateInfoEXT {
        VkStructureType                    sType;
        const void*                        pNext;
        VkVideoEncodeH264CreateFlagsEXT    flags;
        VkExtent2D                         maxPictureSizeInMbs;
        const VkExtensionProperties*       pStdExtensionVersion;
    } VkVideoEncodeH264SessionCreateInfoEXT;

## Members

- `sType` is the type of this structure.

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

- `flags` is H.264 encoder creation flags.

- `maxPictureSizeInMbs` specifies the syntax element pic_width_in_mbs_minus1 + 1 and the syntax element pic_height_in_map_units_minus1 + 1.

- `pStdExtensionVersion` is the specific H.264 codec extensions defined in `StdVideoH264Extensions`.

## Description

Valid Usage (Implicit)

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

- VUID-VkVideoEncodeH264SessionCreateInfoEXT-flags-parameter
  `flags` must be a valid combination of VkVideoEncodeH264CreateFlagBitsEXT values

- VUID-VkVideoEncodeH264SessionCreateInfoEXT-flags-requiredbitmask
  `flags` must not be `0`

- VUID-VkVideoEncodeH264SessionCreateInfoEXT-pStdExtensionVersion-parameter
  `pStdExtensionVersion` must be a valid pointer to a valid VkExtensionProperties structure

## See Also

VkExtensionProperties, VkExtent2D, VkStructureType, VkVideoEncodeH264CreateFlagsEXT

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

SPDX-License-Identifier: CC-BY-4.0