mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48: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,68 @@
|
|||
namespace Brutal.VulkanApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <see href="https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH265RateControlInfoKHR.html">VkVideoEncodeH265RateControlInfoKHR</see> - Structure describing H.265 stream rate control parameters
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// The <c>VkVideoEncodeH265RateControlInfoKHR</c> structure is defined as:
|
||||
/// </para>
|
||||
/// <code>
|
||||
/// // 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;
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 40)]
|
||||
public unsafe partial struct VkVideoEncodeH265RateControlInfoKHR()
|
||||
{
|
||||
/// <summary>
|
||||
/// <c>sType</c> is a <c>VkStructureType</c> value identifying this structure.
|
||||
/// </summary>
|
||||
[FieldOffset(0)]
|
||||
internal readonly VkStructureType sType = VkStructureType.VideoEncodeH265RateControlInfoKHR;
|
||||
|
||||
/// <summary>
|
||||
/// <c>Next</c> is `NULL` or a pointer to a structure extending this structure.
|
||||
/// </summary>
|
||||
[FieldOffset(8)]
|
||||
public void* Next;
|
||||
|
||||
/// <summary>
|
||||
/// <c>Flags</c> is a bitmask of <c>VkVideoEncodeH265RateControlFlagsKHR</c> specifying H.265 rate control flags.
|
||||
/// </summary>
|
||||
[FieldOffset(16)]
|
||||
public VkVideoEncodeH265RateControlFlagsKHR Flags;
|
||||
|
||||
/// <summary>
|
||||
/// <c>GopFrameCount</c> is the number of frames within a <see href="https://registry.khronos.org/vulkan/specs/latest/html/vkspec.html#encode-h265-gop">group of pictures (GOP)^</see> 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 <c>UINT32_MAX</c>, the GOP length is treated as infinite.
|
||||
/// </summary>
|
||||
[FieldOffset(20)]
|
||||
public int GopFrameCount;
|
||||
|
||||
/// <summary>
|
||||
/// <c>IdrPeriod</c> is the interval, in terms of number of frames, between two <see href="https://registry.khronos.org/vulkan/specs/latest/html/vkspec.html#encode-h265-idr-pic">IDR frames^</see> (see <see href="https://registry.khronos.org/vulkan/specs/latest/html/vkspec.html#encode-h265-idr-period">IDR period^</see>). If it is 0, the rate control algorithm may: assume an implementation-dependent IDR period. If it is <c>UINT32_MAX</c>, the IDR period is treated as infinite.
|
||||
/// </summary>
|
||||
[FieldOffset(24)]
|
||||
public int IdrPeriod;
|
||||
|
||||
/// <summary>
|
||||
/// <c>ConsecutiveBFrameCount</c> is the number of consecutive B frames between I and/or P frames within the <see href="https://registry.khronos.org/vulkan/specs/latest/html/vkspec.html#encode-h265-gop">GOP^</see>.
|
||||
/// </summary>
|
||||
[FieldOffset(28)]
|
||||
public int ConsecutiveBFrameCount;
|
||||
|
||||
/// <summary>
|
||||
/// <c>SubLayerCount</c> specifies the number of H.265 sub-layers that the application intends to use.
|
||||
/// </summary>
|
||||
[FieldOffset(32)]
|
||||
public int SubLayerCount;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue