VkVideoEncodeH264SessionParametersCreateInfoEXT(3)

# VkVideoEncodeH264SessionParametersCreateInfoEXT(3) Manual Page

## Name

VkVideoEncodeH264SessionParametersCreateInfoEXT - Structure specifies H.264 encoder parameter set information

Loading… please wait.

## C Specification

The VkVideoEncodeH264SessionParametersCreateInfoEXT structure is defined as:

    // Provided by VK_EXT_video_encode_h264
    typedef struct VkVideoEncodeH264SessionParametersCreateInfoEXT {
        VkStructureType                                        sType;
        const void*                                            pNext;
        uint32_t                                               maxSpsStdCount;
        uint32_t                                               maxPpsStdCount;
        const VkVideoEncodeH264SessionParametersAddInfoEXT*    pParametersAddInfo;
    } VkVideoEncodeH264SessionParametersCreateInfoEXT;

## Members

- `sType` is the type of this structure.

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

- `maxSpsStdCount` is the maximum number of SPS parameters that the `VkVideoSessionParametersKHR` can contain.

- `maxPpsStdCount` is the maximum number of PPS parameters that the `VkVideoSessionParametersKHR` can contain.

- `pParametersAddInfo` is `NULL` or a pointer to a `VkVideoEncodeH264SessionParametersAddInfoEXT` structure specifying H.264 parameters to add upon object creation.

## Description

A `VkVideoEncodeH264SessionParametersCreateInfoEXT` structure holding one H.264 SPS and at least one H.264 PPS parameter set must be chained to VkVideoSessionParametersCreateInfoKHR when calling vkCreateVideoSessionParametersKHR to store these parameter set(s) with the encoder parameter set object for later reference. The provided H.264 SPS/PPS parameters must be within the limits specified during encoder creation for the encoder specified in VkVideoSessionParametersCreateInfoKHR.

Valid Usage (Implicit)

- VUID-VkVideoEncodeH264SessionParametersCreateInfoEXT-sType-sType
  `sType` must be `VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_SESSION_PARAMETERS_CREATE_INFO_EXT`

- VUID-VkVideoEncodeH264SessionParametersCreateInfoEXT-pParametersAddInfo-parameter
  If `pParametersAddInfo` is not `NULL`, `pParametersAddInfo` must be a valid pointer to a valid VkVideoEncodeH264SessionParametersAddInfoEXT structure

## See Also

VK_EXT_video_encode_h264, VkStructureType, VkVideoEncodeH264SessionParametersAddInfoEXT

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