namespace Brutal.VulkanApi { /// /// VkVideoSessionCreateInfoKHR - Structure specifying parameters of a newly created video session /// /// /// /// The VkVideoSessionCreateInfoKHR structure is defined as: /// /// /// // Provided by VK_KHR_video_queue /// typedef struct VkVideoSessionCreateInfoKHR { /// VkStructureType sType; /// const void* pNext; /// uint32_t queueFamilyIndex; /// VkVideoSessionCreateFlagsKHR flags; /// const VkVideoProfileInfoKHR* pVideoProfile; /// VkFormat pictureFormat; /// VkExtent2D maxCodedExtent; /// VkFormat referencePictureFormat; /// uint32_t maxDpbSlots; /// uint32_t maxActiveReferencePictures; /// const VkExtensionProperties* pStdHeaderVersion; /// } VkVideoSessionCreateInfoKHR; /// /// [StructLayout(LayoutKind.Explicit, Size = 64)] public unsafe partial struct VkVideoSessionCreateInfoKHR() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.VideoSessionCreateInfoKHR; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// QueueFamilyIndex is the index of the queue family the created video session will be used with. /// [FieldOffset(16)] public int QueueFamilyIndex; /// /// Flags is a bitmask of VkVideoSessionCreateFlagsKHR specifying creation flags. /// [FieldOffset(20)] public VkVideoSessionCreateFlagsKHR Flags; /// /// VideoProfile is a pointer to a VkVideoProfileInfoKHR structure specifying the video profile the created video session will be used with. /// [FieldOffset(24)] public VkVideoProfileInfoKHR* VideoProfile; /// /// PictureFormat is the image format the created video session will be used with. /// [FieldOffset(32)] public VkFormat PictureFormat; /// /// MaxCodedExtent is the maximum width and height of the coded frames the created video session will be used with. /// [FieldOffset(36)] public VkExtent2D MaxCodedExtent; /// /// ReferencePictureFormat is the image format of reference pictures^ stored in the DPB^ the created video session will be used with. /// [FieldOffset(44)] public VkFormat ReferencePictureFormat; /// /// MaxDpbSlots is the maximum number of DPB Slots^ that can be used with the created video session. /// [FieldOffset(48)] public int MaxDpbSlots; /// /// MaxActiveReferencePictures is the maximum number of active reference pictures^ that can be used in a single video coding operation using the created video session. /// [FieldOffset(52)] public int MaxActiveReferencePictures; /// /// StdHeaderVersion is a pointer to a VkExtensionProperties structure requesting the Video Std header version to use for the videoCodecOperation specified in pVideoProfile. /// [FieldOffset(56)] public VkExtensionProperties* StdHeaderVersion; } }