namespace Brutal.VulkanApi { /// /// VkVideoEncodeH265RateControlInfoKHR - Structure describing H.265 stream rate control parameters /// /// /// /// The VkVideoEncodeH265RateControlInfoKHR structure is defined as: /// /// /// // Provided by VK_KHR_video_encode_h265 /// typedef struct VkVideoEncodeH265RateControlInfoKHR { /// VkStructureType sType; /// const void* pNext; /// VkVideoEncodeH265RateControlFlagsKHR flags; /// uint32_t gopFrameCount; /// uint32_t idrPeriod; /// uint32_t consecutiveBFrameCount; /// uint32_t subLayerCount; /// } VkVideoEncodeH265RateControlInfoKHR; /// /// [StructLayout(LayoutKind.Explicit, Size = 40)] public unsafe partial struct VkVideoEncodeH265RateControlInfoKHR() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.VideoEncodeH265RateControlInfoKHR; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// Flags is a bitmask of VkVideoEncodeH265RateControlFlagsKHR specifying H.265 rate control flags. /// [FieldOffset(16)] public VkVideoEncodeH265RateControlFlagsKHR Flags; /// /// GopFrameCount is the number of frames within a group of pictures (GOP)^ intended to be used by the application. If it is 0, the rate control algorithm may: assume an implementation-dependent GOP length. If it is UINT32_MAX, the GOP length is treated as infinite. /// [FieldOffset(20)] public int GopFrameCount; /// /// IdrPeriod is the interval, in terms of number of frames, between two IDR frames^ (see IDR period^). If it is 0, the rate control algorithm may: assume an implementation-dependent IDR period. If it is UINT32_MAX, the IDR period is treated as infinite. /// [FieldOffset(24)] public int IdrPeriod; /// /// ConsecutiveBFrameCount is the number of consecutive B frames between I and/or P frames within the GOP^. /// [FieldOffset(28)] public int ConsecutiveBFrameCount; /// /// SubLayerCount specifies the number of H.265 sub-layers that the application intends to use. /// [FieldOffset(32)] public int SubLayerCount; } }