mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 12:38:24 +01:00
54 lines
3 KiB
C#
54 lines
3 KiB
C#
namespace Brutal.VulkanApi
|
|
{
|
|
/// <summary>
|
|
/// <see href="https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkVideoDecodeH264ProfileInfoKHR.html">VkVideoDecodeH264ProfileInfoKHR</see> - Structure specifying H.264 decode-specific video profile parameters
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// A video profile supporting H.264 video decode operations is specified by
|
|
/// setting <c>VkVideoProfileInfoKHR::videoCodecOperation</c> to
|
|
/// <c>VK_VIDEO_CODEC_OPERATION_DECODE_H264_BIT_KHR</c> and adding a
|
|
/// <c>VkVideoDecodeH264ProfileInfoKHR</c> structure to the
|
|
/// <c>VkVideoProfileInfoKHR::pNext</c> chain.
|
|
/// </para>
|
|
/// <para>
|
|
/// The <c>VkVideoDecodeH264ProfileInfoKHR</c> structure is defined as:
|
|
/// </para>
|
|
/// <code>
|
|
/// // Provided by VK_KHR_video_decode_h264
|
|
/// typedef struct VkVideoDecodeH264ProfileInfoKHR {
|
|
/// VkStructureType sType;
|
|
/// const void* pNext;
|
|
/// StdVideoH264ProfileIdc stdProfileIdc;
|
|
/// VkVideoDecodeH264PictureLayoutFlagBitsKHR pictureLayout;
|
|
/// } VkVideoDecodeH264ProfileInfoKHR;
|
|
/// </code>
|
|
/// </remarks>
|
|
[StructLayout(LayoutKind.Explicit, Size = 24)]
|
|
public unsafe partial struct VkVideoDecodeH264ProfileInfoKHR()
|
|
{
|
|
/// <summary>
|
|
/// <c>sType</c> is a <c>VkStructureType</c> value identifying this structure.
|
|
/// </summary>
|
|
[FieldOffset(0)]
|
|
internal readonly VkStructureType sType = VkStructureType.VideoDecodeH264ProfileInfoKHR;
|
|
|
|
/// <summary>
|
|
/// <c>Next</c> is `NULL` or a pointer to a structure extending this structure.
|
|
/// </summary>
|
|
[FieldOffset(8)]
|
|
public void* Next;
|
|
|
|
/// <summary>
|
|
/// <c>StdProfileIdc</c> is a <c>StdVideoH264ProfileIdc</c> value specifying the H.264 codec profile IDC, where enum constant `STD_VIDEO_H264_PROFILE_IDC_BASELINE` identifies the Constrained Baseline profile as defined in A.2.1.1 of the <see href="https://registry.khronos.org/vulkan/specs/latest/html/vkspec.html#itu-t-h264">ITU-T H.264 Specification^</see>, and all other values correspond to profiles defined in section A.2 of the <see href="https://registry.khronos.org/vulkan/specs/latest/html/vkspec.html#itu-t-h264">ITU-T H.264 Specification^</see>.
|
|
/// </summary>
|
|
[FieldOffset(16)]
|
|
public StdVideoH264ProfileIdc StdProfileIdc;
|
|
|
|
/// <summary>
|
|
/// <c>PictureLayout</c> is a <c>VkVideoDecodeH264PictureLayoutFlagsKHR</c> value specifying the picture layout used by the H.264 video sequence to be decoded.
|
|
/// </summary>
|
|
[FieldOffset(20)]
|
|
public VkVideoDecodeH264PictureLayoutFlagsKHR PictureLayout;
|
|
}
|
|
}
|