namespace Brutal.VulkanApi { /// /// VkVideoEncodeIntraRefreshCapabilitiesKHR - Structure describing video encode intra refresh capabilities for a video profile /// /// /// /// When calling vkGetPhysicalDeviceVideoCapabilitiesKHR with /// pVideoProfile->videoCodecOperation specifying an encode operation, the /// VkVideoEncodeIntraRefreshCapabilitiesKHR structure can be included in /// the pNext chain of the VkVideoCapabilitiesKHR structure to /// retrieve capabilities specific to video encode intra refresh. /// /// /// The VkVideoEncodeIntraRefreshCapabilitiesKHR structure is defined as: /// /// /// // Provided by VK_KHR_video_encode_intra_refresh /// typedef struct VkVideoEncodeIntraRefreshCapabilitiesKHR { /// VkStructureType sType; /// void* pNext; /// VkVideoEncodeIntraRefreshModeFlagsKHR intraRefreshModes; /// uint32_t maxIntraRefreshCycleDuration; /// uint32_t maxIntraRefreshActiveReferencePictures; /// VkBool32 partitionIndependentIntraRefreshRegions; /// VkBool32 nonRectangularIntraRefreshRegions; /// } VkVideoEncodeIntraRefreshCapabilitiesKHR; /// /// [StructLayout(LayoutKind.Explicit, Size = 40)] public unsafe partial struct VkVideoEncodeIntraRefreshCapabilitiesKHR() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.VideoEncodeIntraRefreshCapabilitiesKHR; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// IntraRefreshModes is a bitmask of VkVideoEncodeIntraRefreshModeFlagsKHR values indicating the set of supported intra refresh modes^. /// [FieldOffset(16)] public VkVideoEncodeIntraRefreshModeFlagsKHR IntraRefreshModes; /// /// MaxIntraRefreshCycleDuration specifies the maximum supported intra refresh cycle duration^. /// [FieldOffset(20)] public int MaxIntraRefreshCycleDuration; /// /// MaxIntraRefreshActiveReferencePictures is the maximum number of active reference pictures^ when encoding pictures with intra refresh^ enabled. This capability indicates additional restrictions beyond the maximum number of active reference pictures^ supported by the video profile, as reported in VkVideoCapabilitiesKHR::maxActiveReferencePictures and the maximum requested at video session creation time in VkVideoSessionCreateInfoKHR::maxActiveReferencePictures. /// [FieldOffset(24)] public int MaxIntraRefreshActiveReferencePictures; /// /// PartitionIndependentIntraRefreshRegions specifies whether the implementation supports intra refresh regions that are independent of the picture partitioning used during encoding. If it is VK_TRUE, then pictures can be encoded with multiple picture partitions, independent of the used intra refresh mode. Otherwise, pictures cannot: be encoded with multiple picture partitions with any intra refresh mode other than VK_VIDEO_ENCODE_INTRA_REFRESH_MODE_PER_PICTURE_PARTITION_BIT_KHR. /// [FieldOffset(28)] public Brutal.Bool32 PartitionIndependentIntraRefreshRegions; /// /// NonRectangularIntraRefreshRegions /// [FieldOffset(32)] public Brutal.Bool32 NonRectangularIntraRefreshRegions; } }