C Specification

The VkVideoEncodeH264NaluSliceInfoEXT structure representing a slice is defined as:

// Provided by VK_EXT_video_encode_h264
typedef struct VkVideoEncodeH264NaluSliceInfoEXT {
    VkStructureType                                  sType;
    const void*                                      pNext;
    uint32_t                                         mbCount;
    const VkVideoEncodeH264ReferenceListsInfoEXT*    pReferenceFinalLists;
    const StdVideoEncodeH264SliceHeader*             pSliceHeaderStd;
} VkVideoEncodeH264NaluSliceInfoEXT;

Members

  • sType is the type of this structure.

  • pNext is NULL or a pointer to a structure extending this structure.

  • mbCount is the number of macroblocks in this slice.

  • pReferenceFinalLists is NULL or a pointer to a VkVideoEncodeH264ReferenceListsInfoEXT structure specifying the reference lists to be used for the current slice. If pReferenceFinalLists is not NULL, these reference lists override the reference lists provided in VkVideoEncodeH264VclFrameInfoEXT::pReferenceFinalLists.

  • pSliceHeaderStd is a pointer to a StdVideoEncodeH264SliceHeader structure specifying the slice header for the current slice.

Description

Valid Usage (Implicit)
  • VUID-VkVideoEncodeH264NaluSliceInfoEXT-sType-sType
    sType must be VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_NALU_SLICE_INFO_EXT

  • VUID-VkVideoEncodeH264NaluSliceInfoEXT-pNext-pNext
    pNext must be NULL

  • VUID-VkVideoEncodeH264NaluSliceInfoEXT-pReferenceFinalLists-parameter
    If pReferenceFinalLists is not NULL, pReferenceFinalLists must be a valid pointer to a valid VkVideoEncodeH264ReferenceListsInfoEXT structure

  • VUID-VkVideoEncodeH264NaluSliceInfoEXT-pSliceHeaderStd-parameter
    pSliceHeaderStd must be a valid pointer to a valid StdVideoEncodeH264SliceHeader value

See Also

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 2014-2022 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0