C Specification

The structure VkVideoEncodeH264NaluSliceEXT representing a slice is defined as:

// Provided by VK_EXT_video_encode_h264
typedef struct VkVideoEncodeH264NaluSliceEXT {
    VkStructureType                           sType;
    const void*                               pNext;
    const StdVideoEncodeH264SliceHeader*      pSliceHeaderStd;
    uint32_t                                  mbCount;
    uint8_t                                   refFinalList0EntryCount;
    const VkVideoEncodeH264DpbSlotInfoEXT*    pRefFinalList0Entries;
    uint8_t                                   refFinalList1EntryCount;
    const VkVideoEncodeH264DpbSlotInfoEXT*    pRefFinalList1Entries;
    uint32_t                                  precedingNaluBytes;
    uint8_t                                   minQp;
    uint8_t                                   maxQp;
} VkVideoEncodeH264NaluSliceEXT;

Members

Description

When rate control is disabled, minQp and maxQp must be set to the same QP value.

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-pSliceHeaderStd-parameter
    pSliceHeaderStd must be a valid pointer to a valid StdVideoEncodeH264SliceHeader value

  • VUID-VkVideoEncodeH264NaluSliceEXT-pRefFinalList0Entries-parameter
    pRefFinalList0Entries must be a valid pointer to an array of refFinalList0EntryCount valid VkVideoEncodeH264DpbSlotInfoEXT structures

  • VUID-VkVideoEncodeH264NaluSliceEXT-pRefFinalList1Entries-parameter
    pRefFinalList1Entries must be a valid pointer to an array of refFinalList1EntryCount valid VkVideoEncodeH264DpbSlotInfoEXT structures

  • VUID-VkVideoEncodeH264NaluSliceEXT-refFinalList0EntryCount-arraylength
    refFinalList0EntryCount must be greater than 0

  • VUID-VkVideoEncodeH264NaluSliceEXT-refFinalList1EntryCount-arraylength
    refFinalList1EntryCount must be greater than 0

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

SPDX-License-Identifier: CC-BY-4.0