namespace Brutal.VulkanApi { /// /// VkVideoDecodeAV1PictureInfoKHR - Structure specifies AV1 picture information when decoding a frame /// /// /// /// The VkVideoDecodeAV1PictureInfoKHR structure is defined as: /// /// /// // Provided by VK_KHR_video_decode_av1 /// typedef struct VkVideoDecodeAV1PictureInfoKHR { /// VkStructureType sType; /// const void* pNext; /// const StdVideoDecodeAV1PictureInfo* pStdPictureInfo; /// int32_t referenceNameSlotIndices[VK_MAX_VIDEO_AV1_REFERENCES_PER_FRAME_KHR]; /// uint32_t frameHeaderOffset; /// uint32_t tileCount; /// const uint32_t* pTileOffsets; /// const uint32_t* pTileSizes; /// } VkVideoDecodeAV1PictureInfoKHR; /// /// [StructLayout(LayoutKind.Explicit, Size = 80)] public unsafe partial struct VkVideoDecodeAV1PictureInfoKHR() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.VideoDecodeAV1PictureInfoKHR; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// StdPictureInfo is a pointer to a StdVideoDecodeAV1PictureInfo structure specifying AV1 picture information^. /// [FieldOffset(16)] public StdVideoDecodeAV1PictureInfo* StdPictureInfo; /// [FieldOffset(24)] public fixed int ReferenceNameSlotIndices[7]; /// /// FrameHeaderOffset is the byte offset of the AV1 frame header OBU, as defined in section 5.9 of the AV1 Specification^, within the video bitstream buffer range specified in VkVideoDecodeInfoKHR. /// [FieldOffset(52)] public int FrameHeaderOffset; /// /// TileCount is the number of elements in pTileOffsets and pTileSizes. /// [FieldOffset(56)] public int TileCount; /// /// TileOffsets is a pointer to an array of tileCount integers specifying the byte offset of the tiles of the picture within the video bitstream buffer range specified in VkVideoDecodeInfoKHR. /// [FieldOffset(64)] public int* TileOffsets; /// /// TileSizes is a pointer to an array of tileCount integers specifying the byte size of the tiles of the picture within the video bitstream buffer range specified in VkVideoDecodeInfoKHR. /// [FieldOffset(72)] public int* TileSizes; } }