VkVideoEncodeH264VclFrameInfoEXT(3)

# VkVideoEncodeH264VclFrameInfoEXT(3) Manual Page

## Name

VkVideoEncodeH264VclFrameInfoEXT - Structure specifies H.264 encode frame parameters

Loading… please wait.

## C Specification

The VkVideoEncodeH264VclFrameInfoEXT structure representing a frame encode operation is defined as:

    // Provided by VK_EXT_video_encode_h264
    typedef struct VkVideoEncodeH264VclFrameInfoEXT {
        VkStructureType                                sType;
        const void*                                    pNext;
        const StdVideoEncodeH264ReferenceListsInfo*    pStdReferenceFinalLists;
        uint32_t                                       naluSliceEntryCount;
        const VkVideoEncodeH264NaluSliceInfoEXT*       pNaluSliceEntries;
        const StdVideoEncodeH264PictureInfo*           pStdPictureInfo;
    } VkVideoEncodeH264VclFrameInfoEXT;

## Members

- `sType` is the type of this structure.

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

- `pStdReferenceFinalLists` is `NULL` or a pointer to a `StdVideoEncodeH264ReferenceListsInfo` structure specifying the reference lists to be used for the current picture.

- `naluSliceEntryCount` is the number of slice NALUs in the frame.

- `pNaluSliceEntries` is a pointer to an array of `naluSliceEntryCount` VkVideoEncodeH264NaluSliceInfoEXT structures specifying the division of the current picture into slices and the properties of these slices. This is an ordered sequence; the NALUs are generated consecutively in VkVideoEncodeInfoKHR::`dstBuffer` in the same order as in this array.

- `pStdPictureInfo` is a pointer to a `StdVideoEncodeH264PictureInfo` structure specifying the syntax and other codec-specific information from the H.264 specification associated with this picture. The information provided must reflect the decoded picture marking operations that are applicable to this frame.

## Description

Valid Usage (Implicit)

- VUID-VkVideoEncodeH264VclFrameInfoEXT-sType-sType
  `sType` must be `VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_VCL_FRAME_INFO_EXT`

- VUID-VkVideoEncodeH264VclFrameInfoEXT-pStdReferenceFinalLists-parameter
  If `pStdReferenceFinalLists` is not `NULL`, `pStdReferenceFinalLists` must be a valid pointer to a valid `StdVideoEncodeH264ReferenceListsInfo` value

- VUID-VkVideoEncodeH264VclFrameInfoEXT-pNaluSliceEntries-parameter
  `pNaluSliceEntries` must be a valid pointer to an array of `naluSliceEntryCount` valid VkVideoEncodeH264NaluSliceInfoEXT structures

- VUID-VkVideoEncodeH264VclFrameInfoEXT-pStdPictureInfo-parameter
  `pStdPictureInfo` must be a valid pointer to a valid `StdVideoEncodeH264PictureInfo` value

- VUID-VkVideoEncodeH264VclFrameInfoEXT-naluSliceEntryCount-arraylength
  `naluSliceEntryCount` must be greater than `0`

## See Also

VK_EXT_video_encode_h264, VkStructureType, VkVideoEncodeH264NaluSliceInfoEXT

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