Commit 2dce5305 authored by Biswapriyo Nath's avatar Biswapriyo Nath Committed by Alexandre Julliard

include: Add D3D12_FEATURE_DATA_VIDEO_DECODE_SUPPORT in d3d12video.idl.

parent 9836a4e9
...@@ -264,6 +264,31 @@ interface ID3D12VideoDecoder : ID3D12Pageable ...@@ -264,6 +264,31 @@ interface ID3D12VideoDecoder : ID3D12Pageable
D3D12_VIDEO_DECODER_DESC GetDesc(); D3D12_VIDEO_DECODER_DESC GetDesc();
} }
typedef enum D3D12_VIDEO_DECODE_TIER
{
D3D12_VIDEO_DECODE_TIER_NOT_SUPPORTED = 0,
D3D12_VIDEO_DECODE_TIER_1 = 1,
D3D12_VIDEO_DECODE_TIER_2 = 2,
D3D12_VIDEO_DECODE_TIER_3 = 3,
} D3D12_VIDEO_DECODE_TIER;
typedef enum D3D12_VIDEO_DECODE_SUPPORT_FLAGS
{
D3D12_VIDEO_DECODE_SUPPORT_FLAG_NONE = 0x0,
D3D12_VIDEO_DECODE_SUPPORT_FLAG_SUPPORTED = 0x1,
} D3D12_VIDEO_DECODE_SUPPORT_FLAGS;
cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_DECODE_SUPPORT_FLAGS);")
typedef enum D3D12_VIDEO_DECODE_CONFIGURATION_FLAGS
{
D3D12_VIDEO_DECODE_CONFIGURATION_FLAG_NONE = 0x0,
D3D12_VIDEO_DECODE_CONFIGURATION_FLAG_HEIGHT_ALIGNMENT_MULTIPLE_32_REQUIRED = 0x1,
D3D12_VIDEO_DECODE_CONFIGURATION_FLAG_POST_PROCESSING_SUPPORTED = 0x2,
D3D12_VIDEO_DECODE_CONFIGURATION_FLAG_REFERENCE_ONLY_ALLOCATIONS_REQUIRED = 0x4,
D3D12_VIDEO_DECODE_CONFIGURATION_FLAG_ALLOW_RESOLUTION_CHANGE_ON_NON_KEY_FRAME = 0x8,
} D3D12_VIDEO_DECODE_CONFIGURATION_FLAGS;
cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_DECODE_CONFIGURATION_FLAGS);")
typedef enum D3D12_VIDEO_DECODE_ARGUMENT_TYPE typedef enum D3D12_VIDEO_DECODE_ARGUMENT_TYPE
{ {
D3D12_VIDEO_DECODE_ARGUMENT_TYPE_PICTURE_PARAMETERS = 0, D3D12_VIDEO_DECODE_ARGUMENT_TYPE_PICTURE_PARAMETERS = 0,
...@@ -272,6 +297,20 @@ typedef enum D3D12_VIDEO_DECODE_ARGUMENT_TYPE ...@@ -272,6 +297,20 @@ typedef enum D3D12_VIDEO_DECODE_ARGUMENT_TYPE
D3D12_VIDEO_DECODE_ARGUMENT_TYPE_MAX_VALID = 3, D3D12_VIDEO_DECODE_ARGUMENT_TYPE_MAX_VALID = 3,
} D3D12_VIDEO_DECODE_ARGUMENT_TYPE; } D3D12_VIDEO_DECODE_ARGUMENT_TYPE;
typedef struct D3D12_FEATURE_DATA_VIDEO_DECODE_SUPPORT
{
UINT NodeIndex;
D3D12_VIDEO_DECODE_CONFIGURATION Configuration;
UINT Width;
UINT Height;
DXGI_FORMAT DecodeFormat;
DXGI_RATIONAL FrameRate;
UINT BitRate;
D3D12_VIDEO_DECODE_SUPPORT_FLAGS SupportFlags;
D3D12_VIDEO_DECODE_CONFIGURATION_FLAGS ConfigurationFlags;
D3D12_VIDEO_DECODE_TIER DecodeTier;
} D3D12_FEATURE_DATA_VIDEO_DECODE_SUPPORT;
typedef struct D3D12_VIDEO_DECODE_FRAME_ARGUMENT typedef struct D3D12_VIDEO_DECODE_FRAME_ARGUMENT
{ {
D3D12_VIDEO_DECODE_ARGUMENT_TYPE Type; D3D12_VIDEO_DECODE_ARGUMENT_TYPE Type;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment