Movatterモバイル変換


[0]ホーム

URL:


Vulkan API Reference Pageslatest

VkVideoDecodeInfoKHR(3)

Name

VkVideoDecodeInfoKHR - Structure specifying video decode parameters

C Specification

TheVkVideoDecodeInfoKHR structure is defined as:

// Provided by VK_KHR_video_decode_queuetypedef struct VkVideoDecodeInfoKHR {    VkStructureType                       sType;    const void*                           pNext;    VkVideoDecodeFlagsKHR                 flags;    VkBuffer                              srcBuffer;    VkDeviceSize                          srcBufferOffset;    VkDeviceSize                          srcBufferRange;    VkVideoPictureResourceInfoKHR         dstPictureResource;    const VkVideoReferenceSlotInfoKHR*    pSetupReferenceSlot;    uint32_t                              referenceSlotCount;    const VkVideoReferenceSlotInfoKHR*    pReferenceSlots;} VkVideoDecodeInfoKHR;

Members

  • sType is aVkStructureType value identifying this structure.

  • pNext isNULL or a pointer to a structure extending thisstructure.

  • flags is reserved for future use.

  • srcBuffer is the source video bitstream buffer to read the encodedbitstream from.

  • srcBufferOffset is the starting offset in bytes from the start ofsrcBuffer to read the encoded bitstream from.

  • srcBufferRange is the size in bytes of the encoded bitstream todecode fromsrcBuffer, starting fromsrcBufferOffset.

  • dstPictureResource is the video picture resource to use as thedecode output picture.

  • pSetupReferenceSlot isNULL or a pointer to aVkVideoReferenceSlotInfoKHR structure specifying thereconstructed picture information.

  • referenceSlotCount is the number of elements in thepReferenceSlots array.

  • pReferenceSlots isNULL or a pointer to an array ofVkVideoReferenceSlotInfoKHR structures describing the DPB slotsand correspondingreference picture resources touse in this video decode operation (the set ofactive reference pictures).

Description

Valid Usage
  • VUID-VkVideoDecodeInfoKHR-srcBuffer-07165
    srcBuffermust have been created with theVK_BUFFER_USAGE_VIDEO_DECODE_SRC_BIT_KHR usage flag set

  • VUID-VkVideoDecodeInfoKHR-srcBufferOffset-07166
    srcBufferOffsetmust be less than the size ofsrcBuffer

  • VUID-VkVideoDecodeInfoKHR-srcBufferRange-07167
    srcBufferRangemust be less than or equal to the size ofsrcBuffer minussrcBufferOffset

  • VUID-VkVideoDecodeInfoKHR-pSetupReferenceSlot-07168
    IfpSetupReferenceSlot is notNULL, then itsslotIndexmembermust not be negative

  • VUID-VkVideoDecodeInfoKHR-pSetupReferenceSlot-07169
    IfpSetupReferenceSlot is notNULL, then itspPictureResourcemust not beNULL

  • VUID-VkVideoDecodeInfoKHR-slotIndex-07171
    TheslotIndex member of each element ofpReferenceSlotsmust not be negative

  • VUID-VkVideoDecodeInfoKHR-pPictureResource-07172
    ThepPictureResource member of each element ofpReferenceSlotsmust not beNULL

Valid Usage (Implicit)

See Also

Document Notes

For more information, see theVulkan Specification.

This page is extracted from the Vulkan Specification.Fixes and changes should be made to the Specification, not directly.


[8]ページ先頭

©2009-2026 Movatter.jp