VkVideoEncodeH264NaluSliceEXT(3)

# VkVideoEncodeH264NaluSliceEXT(3) Manual Page

## Name

VkVideoEncodeH264NaluSliceEXT - Structure specifies H.264 encode slice NALU parameters

Loading… please wait.

## C Specification

The VkVideoEncodeH264NaluSliceEXT structure representing a slice is defined as:

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

## 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 VkVideoEncodeH264ReferenceListsEXT 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-VkVideoEncodeH264NaluSliceEXT-sType-sType
  `sType` must be `VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_NALU_SLICE_EXT`

- VUID-VkVideoEncodeH264NaluSliceEXT-pNext-pNext
  `pNext` must be `NULL`

- VUID-VkVideoEncodeH264NaluSliceEXT-pReferenceFinalLists-parameter
  If `pReferenceFinalLists` is not `NULL`, `pReferenceFinalLists` must be a valid pointer to a valid VkVideoEncodeH264ReferenceListsEXT structure

- VUID-VkVideoEncodeH264NaluSliceEXT-pSliceHeaderStd-parameter
  `pSliceHeaderStd` must be a valid pointer to a valid `StdVideoEncodeH264SliceHeader` value

## See Also

VK_EXT_video_encode_h264, VkStructureType, VkVideoEncodeH264ReferenceListsEXT, VkVideoEncodeH264VclFrameInfoEXT

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