namespace Brutal.VulkanApi { /// /// VkVideoEncodeAV1RateControlLayerInfoKHR - Structure describing AV1 per-layer rate control parameters /// /// /// /// The VkVideoEncodeAV1RateControlLayerInfoKHR structure is defined as: /// /// /// // Provided by VK_KHR_video_encode_av1 /// typedef struct VkVideoEncodeAV1RateControlLayerInfoKHR { /// VkStructureType sType; /// const void* pNext; /// VkBool32 useMinQIndex; /// VkVideoEncodeAV1QIndexKHR minQIndex; /// VkBool32 useMaxQIndex; /// VkVideoEncodeAV1QIndexKHR maxQIndex; /// VkBool32 useMaxFrameSize; /// VkVideoEncodeAV1FrameSizeKHR maxFrameSize; /// } VkVideoEncodeAV1RateControlLayerInfoKHR; /// /// [StructLayout(LayoutKind.Explicit, Size = 64)] public unsafe partial struct VkVideoEncodeAV1RateControlLayerInfoKHR() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.VideoEncodeAV1RateControlLayerInfoKHR; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// UseMinQIndex indicates whether the quantizer index values determined by rate control will be clamped to the lower bounds on the quantizer index values specified in minQIndex. /// [FieldOffset(16)] public Brutal.Bool32 UseMinQIndex; /// /// MinQIndex specifies the lower bounds on the quantizer index values, for each rate control group^, that the implementation's rate control algorithm will use when useMinQIndex is set to VK_TRUE. /// [FieldOffset(20)] public VkVideoEncodeAV1QIndexKHR MinQIndex; /// /// UseMaxQIndex indicates whether the quantizer index values determined by rate control will be clamped to the upper bounds on the quantizer index values specified in maxQIndex. /// [FieldOffset(32)] public Brutal.Bool32 UseMaxQIndex; /// /// MaxQIndex specifies the upper bounds on the quantizer index values, for each rate control group^, that the implementation's rate control algorithm will use when useMaxQIndex is set to VK_TRUE. /// [FieldOffset(36)] public VkVideoEncodeAV1QIndexKHR MaxQIndex; /// /// UseMaxFrameSize indicates whether the implementation's rate control algorithm should use the values specified in maxFrameSize as the upper bounds on the encoded frame size for each rate control group^. /// [FieldOffset(48)] public Brutal.Bool32 UseMaxFrameSize; /// /// MaxFrameSize specifies the upper bounds on the encoded frame size, for each rate control group^, when useMaxFrameSize is set to VK_TRUE. /// [FieldOffset(52)] public VkVideoEncodeAV1FrameSizeKHR MaxFrameSize; } }