mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
|
|
@ -0,0 +1,61 @@
|
|||
namespace Brutal.VulkanApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <see href="https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH264GopRemainingFrameInfoKHR.html">VkVideoEncodeH264GopRemainingFrameInfoKHR</see> - Structure specifying H.264 encode rate control GOP remaining frame counts
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// The <c>VkVideoEncodeH264GopRemainingFrameInfoKHR</c> structure is defined as:
|
||||
/// </para>
|
||||
/// <code>
|
||||
/// // 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;
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 32)]
|
||||
public unsafe partial struct VkVideoEncodeH264GopRemainingFrameInfoKHR()
|
||||
{
|
||||
/// <summary>
|
||||
/// <c>sType</c> is a <c>VkStructureType</c> value identifying this structure.
|
||||
/// </summary>
|
||||
[FieldOffset(0)]
|
||||
internal readonly VkStructureType sType = VkStructureType.VideoEncodeH264GopRemainingFrameInfoKHR;
|
||||
|
||||
/// <summary>
|
||||
/// <c>Next</c> is `NULL` or a pointer to a structure extending this structure.
|
||||
/// </summary>
|
||||
[FieldOffset(8)]
|
||||
public void* Next;
|
||||
|
||||
/// <summary>
|
||||
/// <c>UseGopRemainingFrames</c> indicates whether the implementation's rate control algorithm <i>should</i> use the values specified in <c>gopRemainingI</c>, <c>gopRemainingP</c>, and <c>gopRemainingB</c>. If <c>useGopRemainingFrames</c> is <c>VK_FALSE</c>, then the values of <c>gopRemainingI</c>, <c>gopRemainingP</c>, and <c>gopRemainingB</c> are ignored.
|
||||
/// </summary>
|
||||
[FieldOffset(16)]
|
||||
public Brutal.Bool32 UseGopRemainingFrames;
|
||||
|
||||
/// <summary>
|
||||
/// <c>GopRemainingI</c> specifies the number of <see href="https://registry.khronos.org/vulkan/specs/latest/html/vkspec.html#encode-h264-i-pic">I frames^</see> the implementation's rate control algorithm <i>should</i> assume to be remaining in the <see href="https://registry.khronos.org/vulkan/specs/latest/html/vkspec.html#encode-h264-gop">GOP^</see> prior to executing the video encode operation.
|
||||
/// </summary>
|
||||
[FieldOffset(20)]
|
||||
public int GopRemainingI;
|
||||
|
||||
/// <summary>
|
||||
/// <c>GopRemainingP</c> specifies the number of <see href="https://registry.khronos.org/vulkan/specs/latest/html/vkspec.html#encode-h264-p-pic">P frames^</see> the implementation's rate control algorithm <i>should</i> assume to be remaining in the <see href="https://registry.khronos.org/vulkan/specs/latest/html/vkspec.html#encode-h264-gop">GOP^</see> prior to executing the video encode operation.
|
||||
/// </summary>
|
||||
[FieldOffset(24)]
|
||||
public int GopRemainingP;
|
||||
|
||||
/// <summary>
|
||||
/// <c>GopRemainingB</c> specifies the number of <see href="https://registry.khronos.org/vulkan/specs/latest/html/vkspec.html#encode-h264-b-pic">B frames^</see> the implementation's rate control algorithm <i>should</i> assume to be remaining in the <see href="https://registry.khronos.org/vulkan/specs/latest/html/vkspec.html#encode-h264-gop">GOP^</see> prior to executing the video encode operation.
|
||||
/// </summary>
|
||||
[FieldOffset(28)]
|
||||
public int GopRemainingB;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue