namespace Brutal.VulkanApi
{
///
/// VkVideoEncodeH264GopRemainingFrameInfoKHR - Structure specifying H.264 encode rate control GOP remaining frame counts
///
///
///
/// The VkVideoEncodeH264GopRemainingFrameInfoKHR structure is defined as:
///
///
/// // Provided by VK_KHR_video_encode_h264
/// typedef struct VkVideoEncodeH264GopRemainingFrameInfoKHR {
/// VkStructureType sType;
/// const void* pNext;
/// VkBool32 useGopRemainingFrames;
/// uint32_t gopRemainingI;
/// uint32_t gopRemainingP;
/// uint32_t gopRemainingB;
/// } VkVideoEncodeH264GopRemainingFrameInfoKHR;
///
///
[StructLayout(LayoutKind.Explicit, Size = 32)]
public unsafe partial struct VkVideoEncodeH264GopRemainingFrameInfoKHR()
{
///
/// sType is a VkStructureType value identifying this structure.
///
[FieldOffset(0)]
internal readonly VkStructureType sType = VkStructureType.VideoEncodeH264GopRemainingFrameInfoKHR;
///
/// Next is `NULL` or a pointer to a structure extending this structure.
///
[FieldOffset(8)]
public void* Next;
///
/// UseGopRemainingFrames indicates whether the implementation's rate control algorithm should use the values specified in gopRemainingI, gopRemainingP, and gopRemainingB. If useGopRemainingFrames is VK_FALSE, then the values of gopRemainingI, gopRemainingP, and gopRemainingB are ignored.
///
[FieldOffset(16)]
public Brutal.Bool32 UseGopRemainingFrames;
///
/// GopRemainingI specifies the number of I frames^ the implementation's rate control algorithm should assume to be remaining in the GOP^ prior to executing the video encode operation.
///
[FieldOffset(20)]
public int GopRemainingI;
///
/// GopRemainingP specifies the number of P frames^ the implementation's rate control algorithm should assume to be remaining in the GOP^ prior to executing the video encode operation.
///
[FieldOffset(24)]
public int GopRemainingP;
///
/// GopRemainingB specifies the number of B frames^ the implementation's rate control algorithm should assume to be remaining in the GOP^ prior to executing the video encode operation.
///
[FieldOffset(28)]
public int GopRemainingB;
}
}