namespace Brutal.VulkanApi { /// /// VkVideoDecodeVP9PictureInfoKHR - Structure specifies VP9 picture information when decoding a frame /// /// /// /// The VkVideoDecodeVP9PictureInfoKHR structure is defined as: /// /// /// // Provided by VK_KHR_video_decode_vp9 /// typedef struct VkVideoDecodeVP9PictureInfoKHR { /// VkStructureType sType; /// const void* pNext; /// const StdVideoDecodeVP9PictureInfo* pStdPictureInfo; /// int32_t referenceNameSlotIndices[VK_MAX_VIDEO_VP9_REFERENCES_PER_FRAME_KHR]; /// uint32_t uncompressedHeaderOffset; /// uint32_t compressedHeaderOffset; /// uint32_t tilesOffset; /// } VkVideoDecodeVP9PictureInfoKHR; /// /// [StructLayout(LayoutKind.Explicit, Size = 48)] public unsafe partial struct VkVideoDecodeVP9PictureInfoKHR() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.VideoDecodeVP9PictureInfoKHR; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// StdPictureInfo is a pointer to a StdVideoDecodeVP9PictureInfo structure specifying VP9 picture information^. /// [FieldOffset(16)] public StdVideoDecodeVP9PictureInfo* StdPictureInfo; /// /// ReferenceNameSlotIndices is an array of three (VK_MAX_VIDEO_VP9_REFERENCES_PER_FRAME_KHR, which is equal to the Video Std definition STD_VIDEO_VP9_REFS_PER_FRAME) signed integer values specifying the index of the DPB slot^ or a negative integer value for each VP9 reference name^ used for inter coding. In particular, the DPB slot index for the VP9 reference name frame is specified in referenceNameSlotIndices[frame - STD_VIDEO_VP9_REFERENCE_NAME_LAST_FRAME]. /// [FieldOffset(24)] public int3 ReferenceNameSlotIndices; /// /// UncompressedHeaderOffset is the byte offset of the uncompressed frame header, as defined in section 6.2 of the VP9 Specification^. /// [FieldOffset(36)] public int UncompressedHeaderOffset; /// /// CompressedHeaderOffset is the byte offset of the compressed frame header, as defined in section 6.3 of the VP9 Specification^. /// [FieldOffset(40)] public int CompressedHeaderOffset; /// /// TilesOffset is the byte offset of the frame tile data, as defined in section 6.4 of the VP9 Specification^. /// [FieldOffset(44)] public int TilesOffset; } }