mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Windows 10.0.18362 SDK headers (#2159)
This commit is contained in:
86
3rdparty/dxsdk/include/d3d11.h
vendored
86
3rdparty/dxsdk/include/d3d11.h
vendored
@@ -1050,6 +1050,10 @@ extern "C"{
|
||||
#define _D3D11_2_CONSTANTS
|
||||
#define D3D11_2_TILED_RESOURCE_TILE_SIZE_IN_BYTES ( 65536 )
|
||||
|
||||
#define D3D11_4_VIDEO_DECODER_MAX_HISTOGRAM_COMPONENTS ( 4 )
|
||||
|
||||
#define D3D11_4_VIDEO_DECODER_HISTOGRAM_OFFSET_ALIGNMENT ( 256 )
|
||||
|
||||
#endif
|
||||
#define _FACD3D11 ( 0x87c )
|
||||
|
||||
@@ -1289,8 +1293,7 @@ typedef RECT D3D11_RECT;
|
||||
}
|
||||
struct CD3D11_RECT : public D3D11_RECT
|
||||
{
|
||||
CD3D11_RECT()
|
||||
{}
|
||||
CD3D11_RECT() = default;
|
||||
explicit CD3D11_RECT( const D3D11_RECT& o ) :
|
||||
D3D11_RECT( o )
|
||||
{}
|
||||
@@ -1331,8 +1334,7 @@ typedef struct D3D11_BOX
|
||||
}
|
||||
struct CD3D11_BOX : public D3D11_BOX
|
||||
{
|
||||
CD3D11_BOX()
|
||||
{}
|
||||
CD3D11_BOX() = default;
|
||||
explicit CD3D11_BOX( const D3D11_BOX& o ) :
|
||||
D3D11_BOX( o )
|
||||
{}
|
||||
@@ -1568,8 +1570,7 @@ typedef struct D3D11_DEPTH_STENCIL_DESC
|
||||
}
|
||||
struct CD3D11_DEPTH_STENCIL_DESC : public D3D11_DEPTH_STENCIL_DESC
|
||||
{
|
||||
CD3D11_DEPTH_STENCIL_DESC()
|
||||
{}
|
||||
CD3D11_DEPTH_STENCIL_DESC() = default;
|
||||
explicit CD3D11_DEPTH_STENCIL_DESC( const D3D11_DEPTH_STENCIL_DESC& o ) :
|
||||
D3D11_DEPTH_STENCIL_DESC( o )
|
||||
{}
|
||||
@@ -1822,8 +1823,7 @@ typedef struct D3D11_BLEND_DESC
|
||||
}
|
||||
struct CD3D11_BLEND_DESC : public D3D11_BLEND_DESC
|
||||
{
|
||||
CD3D11_BLEND_DESC()
|
||||
{}
|
||||
CD3D11_BLEND_DESC() = default;
|
||||
explicit CD3D11_BLEND_DESC( const D3D11_BLEND_DESC& o ) :
|
||||
D3D11_BLEND_DESC( o )
|
||||
{}
|
||||
@@ -1997,8 +1997,7 @@ typedef struct D3D11_RASTERIZER_DESC
|
||||
}
|
||||
struct CD3D11_RASTERIZER_DESC : public D3D11_RASTERIZER_DESC
|
||||
{
|
||||
CD3D11_RASTERIZER_DESC()
|
||||
{}
|
||||
CD3D11_RASTERIZER_DESC() = default;
|
||||
explicit CD3D11_RASTERIZER_DESC( const D3D11_RASTERIZER_DESC& o ) :
|
||||
D3D11_RASTERIZER_DESC( o )
|
||||
{}
|
||||
@@ -2363,8 +2362,7 @@ typedef struct D3D11_BUFFER_DESC
|
||||
}
|
||||
struct CD3D11_BUFFER_DESC : public D3D11_BUFFER_DESC
|
||||
{
|
||||
CD3D11_BUFFER_DESC()
|
||||
{}
|
||||
CD3D11_BUFFER_DESC() = default;
|
||||
explicit CD3D11_BUFFER_DESC( const D3D11_BUFFER_DESC& o ) :
|
||||
D3D11_BUFFER_DESC( o )
|
||||
{}
|
||||
@@ -2560,8 +2558,7 @@ typedef struct D3D11_TEXTURE1D_DESC
|
||||
}
|
||||
struct CD3D11_TEXTURE1D_DESC : public D3D11_TEXTURE1D_DESC
|
||||
{
|
||||
CD3D11_TEXTURE1D_DESC()
|
||||
{}
|
||||
CD3D11_TEXTURE1D_DESC() = default;
|
||||
explicit CD3D11_TEXTURE1D_DESC( const D3D11_TEXTURE1D_DESC& o ) :
|
||||
D3D11_TEXTURE1D_DESC( o )
|
||||
{}
|
||||
@@ -2763,8 +2760,7 @@ typedef struct D3D11_TEXTURE2D_DESC
|
||||
}
|
||||
struct CD3D11_TEXTURE2D_DESC : public D3D11_TEXTURE2D_DESC
|
||||
{
|
||||
CD3D11_TEXTURE2D_DESC()
|
||||
{}
|
||||
CD3D11_TEXTURE2D_DESC() = default;
|
||||
explicit CD3D11_TEXTURE2D_DESC( const D3D11_TEXTURE2D_DESC& o ) :
|
||||
D3D11_TEXTURE2D_DESC( o )
|
||||
{}
|
||||
@@ -2971,8 +2967,7 @@ typedef struct D3D11_TEXTURE3D_DESC
|
||||
}
|
||||
struct CD3D11_TEXTURE3D_DESC : public D3D11_TEXTURE3D_DESC
|
||||
{
|
||||
CD3D11_TEXTURE3D_DESC()
|
||||
{}
|
||||
CD3D11_TEXTURE3D_DESC() = default;
|
||||
explicit CD3D11_TEXTURE3D_DESC( const D3D11_TEXTURE3D_DESC& o ) :
|
||||
D3D11_TEXTURE3D_DESC( o )
|
||||
{}
|
||||
@@ -3412,8 +3407,7 @@ typedef struct D3D11_SHADER_RESOURCE_VIEW_DESC
|
||||
}
|
||||
struct CD3D11_SHADER_RESOURCE_VIEW_DESC : public D3D11_SHADER_RESOURCE_VIEW_DESC
|
||||
{
|
||||
CD3D11_SHADER_RESOURCE_VIEW_DESC()
|
||||
{}
|
||||
CD3D11_SHADER_RESOURCE_VIEW_DESC() = default;
|
||||
explicit CD3D11_SHADER_RESOURCE_VIEW_DESC( const D3D11_SHADER_RESOURCE_VIEW_DESC& o ) :
|
||||
D3D11_SHADER_RESOURCE_VIEW_DESC( o )
|
||||
{}
|
||||
@@ -3833,8 +3827,7 @@ typedef struct D3D11_RENDER_TARGET_VIEW_DESC
|
||||
}
|
||||
struct CD3D11_RENDER_TARGET_VIEW_DESC : public D3D11_RENDER_TARGET_VIEW_DESC
|
||||
{
|
||||
CD3D11_RENDER_TARGET_VIEW_DESC()
|
||||
{}
|
||||
CD3D11_RENDER_TARGET_VIEW_DESC() = default;
|
||||
explicit CD3D11_RENDER_TARGET_VIEW_DESC( const D3D11_RENDER_TARGET_VIEW_DESC& o ) :
|
||||
D3D11_RENDER_TARGET_VIEW_DESC( o )
|
||||
{}
|
||||
@@ -4135,8 +4128,7 @@ EXTERN_C const IID IID_ID3D11RenderTargetView;
|
||||
}
|
||||
struct CD3D11_VIEWPORT : public D3D11_VIEWPORT
|
||||
{
|
||||
CD3D11_VIEWPORT()
|
||||
{}
|
||||
CD3D11_VIEWPORT() = default;
|
||||
explicit CD3D11_VIEWPORT( const D3D11_VIEWPORT& o ) :
|
||||
D3D11_VIEWPORT( o )
|
||||
{}
|
||||
@@ -4340,8 +4332,7 @@ typedef struct D3D11_DEPTH_STENCIL_VIEW_DESC
|
||||
}
|
||||
struct CD3D11_DEPTH_STENCIL_VIEW_DESC : public D3D11_DEPTH_STENCIL_VIEW_DESC
|
||||
{
|
||||
CD3D11_DEPTH_STENCIL_VIEW_DESC()
|
||||
{}
|
||||
CD3D11_DEPTH_STENCIL_VIEW_DESC() = default;
|
||||
explicit CD3D11_DEPTH_STENCIL_VIEW_DESC( const D3D11_DEPTH_STENCIL_VIEW_DESC& o ) :
|
||||
D3D11_DEPTH_STENCIL_VIEW_DESC( o )
|
||||
{}
|
||||
@@ -4669,8 +4660,7 @@ typedef struct D3D11_UNORDERED_ACCESS_VIEW_DESC
|
||||
}
|
||||
struct CD3D11_UNORDERED_ACCESS_VIEW_DESC : public D3D11_UNORDERED_ACCESS_VIEW_DESC
|
||||
{
|
||||
CD3D11_UNORDERED_ACCESS_VIEW_DESC()
|
||||
{}
|
||||
CD3D11_UNORDERED_ACCESS_VIEW_DESC() = default;
|
||||
explicit CD3D11_UNORDERED_ACCESS_VIEW_DESC( const D3D11_UNORDERED_ACCESS_VIEW_DESC& o ) :
|
||||
D3D11_UNORDERED_ACCESS_VIEW_DESC( o )
|
||||
{}
|
||||
@@ -5884,8 +5874,7 @@ typedef struct D3D11_SAMPLER_DESC
|
||||
}
|
||||
struct CD3D11_SAMPLER_DESC : public D3D11_SAMPLER_DESC
|
||||
{
|
||||
CD3D11_SAMPLER_DESC()
|
||||
{}
|
||||
CD3D11_SAMPLER_DESC() = default;
|
||||
explicit CD3D11_SAMPLER_DESC( const D3D11_SAMPLER_DESC& o ) :
|
||||
D3D11_SAMPLER_DESC( o )
|
||||
{}
|
||||
@@ -6296,8 +6285,7 @@ typedef struct D3D11_QUERY_DESC
|
||||
}
|
||||
struct CD3D11_QUERY_DESC : public D3D11_QUERY_DESC
|
||||
{
|
||||
CD3D11_QUERY_DESC()
|
||||
{}
|
||||
CD3D11_QUERY_DESC() = default;
|
||||
explicit CD3D11_QUERY_DESC( const D3D11_QUERY_DESC& o ) :
|
||||
D3D11_QUERY_DESC( o )
|
||||
{}
|
||||
@@ -6634,8 +6622,7 @@ typedef struct D3D11_COUNTER_DESC
|
||||
}
|
||||
struct CD3D11_COUNTER_DESC : public D3D11_COUNTER_DESC
|
||||
{
|
||||
CD3D11_COUNTER_DESC()
|
||||
{}
|
||||
CD3D11_COUNTER_DESC() = default;
|
||||
explicit CD3D11_COUNTER_DESC( const D3D11_COUNTER_DESC& o ) :
|
||||
D3D11_COUNTER_DESC( o )
|
||||
{}
|
||||
@@ -7308,7 +7295,8 @@ enum D3D11_FEATURE
|
||||
D3D11_FEATURE_D3D11_OPTIONS3 = ( D3D11_FEATURE_D3D11_OPTIONS2 + 1 ) ,
|
||||
D3D11_FEATURE_GPU_VIRTUAL_ADDRESS_SUPPORT = ( D3D11_FEATURE_D3D11_OPTIONS3 + 1 ) ,
|
||||
D3D11_FEATURE_D3D11_OPTIONS4 = ( D3D11_FEATURE_GPU_VIRTUAL_ADDRESS_SUPPORT + 1 ) ,
|
||||
D3D11_FEATURE_SHADER_CACHE = ( D3D11_FEATURE_D3D11_OPTIONS4 + 1 )
|
||||
D3D11_FEATURE_SHADER_CACHE = ( D3D11_FEATURE_D3D11_OPTIONS4 + 1 ) ,
|
||||
D3D11_FEATURE_D3D11_OPTIONS5 = ( D3D11_FEATURE_SHADER_CACHE + 1 )
|
||||
} D3D11_FEATURE;
|
||||
|
||||
typedef struct D3D11_FEATURE_DATA_THREADING
|
||||
@@ -7478,6 +7466,19 @@ typedef struct D3D11_FEATURE_DATA_SHADER_CACHE
|
||||
UINT SupportFlags;
|
||||
} D3D11_FEATURE_DATA_SHADER_CACHE;
|
||||
|
||||
typedef
|
||||
enum D3D11_SHARED_RESOURCE_TIER
|
||||
{
|
||||
D3D11_SHARED_RESOURCE_TIER_0 = 0,
|
||||
D3D11_SHARED_RESOURCE_TIER_1 = ( D3D11_SHARED_RESOURCE_TIER_0 + 1 ) ,
|
||||
D3D11_SHARED_RESOURCE_TIER_2 = ( D3D11_SHARED_RESOURCE_TIER_1 + 1 )
|
||||
} D3D11_SHARED_RESOURCE_TIER;
|
||||
|
||||
typedef struct D3D11_FEATURE_DATA_D3D11_OPTIONS5
|
||||
{
|
||||
D3D11_SHARED_RESOURCE_TIER SharedResourceTier;
|
||||
} D3D11_FEATURE_DATA_D3D11_OPTIONS5;
|
||||
|
||||
|
||||
|
||||
extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0029_v0_0_c_ifspec;
|
||||
@@ -10061,11 +10062,14 @@ enum D3D11_CONTENT_PROTECTION_CAPS
|
||||
D3D11_CONTENT_PROTECTION_CAPS_HARDWARE_PROTECT_UNCOMPRESSED = 0x800,
|
||||
D3D11_CONTENT_PROTECTION_CAPS_HARDWARE_PROTECTED_MEMORY_PAGEABLE = 0x1000,
|
||||
D3D11_CONTENT_PROTECTION_CAPS_HARDWARE_TEARDOWN = 0x2000,
|
||||
D3D11_CONTENT_PROTECTION_CAPS_HARDWARE_DRM_COMMUNICATION = 0x4000
|
||||
D3D11_CONTENT_PROTECTION_CAPS_HARDWARE_DRM_COMMUNICATION = 0x4000,
|
||||
D3D11_CONTENT_PROTECTION_CAPS_HARDWARE_DRM_COMMUNICATION_MULTI_THREADED = 0x8000
|
||||
} D3D11_CONTENT_PROTECTION_CAPS;
|
||||
|
||||
DEFINE_GUID(D3D11_CRYPTO_TYPE_AES128_CTR, 0x9b6bd711, 0x4f74, 0x41c9, 0x9e, 0x7b, 0xb, 0xe2, 0xd7, 0xd9, 0x3b, 0x4f );
|
||||
DEFINE_GUID(D3D11_DECODER_ENCRYPTION_HW_CENC, 0x89d6ac4f, 0x9f2, 0x4229, 0xb2, 0xcd, 0x37, 0x74, 0xa, 0x6d, 0xfd, 0x81);
|
||||
DEFINE_GUID(D3D11_DECODER_BITSTREAM_ENCRYPTION_TYPE_CENC, 0xb0405235, 0xc13d, 0x44f2, 0x9a, 0xe5, 0xdd, 0x48, 0xe0, 0x8e, 0x5b, 0x67);
|
||||
DEFINE_GUID(D3D11_DECODER_BITSTREAM_ENCRYPTION_TYPE_CBCS, 0x422d9319, 0x9d21, 0x4bb7, 0x93, 0x71, 0xfa, 0xf5, 0xa8, 0x2c, 0x3e, 0x04);
|
||||
DEFINE_GUID(D3D11_KEY_EXCHANGE_HW_PROTECTION, 0xb1170d8a, 0x628d, 0x4da3, 0xad, 0x3b, 0x82, 0xdd, 0xb0, 0x8b, 0x49, 0x70);
|
||||
typedef struct D3D11_VIDEO_CONTENT_PROTECTION_CAPS
|
||||
{
|
||||
@@ -14400,11 +14404,11 @@ enum D3D11_CREATE_DEVICE_FLAG
|
||||
#if !defined( D3D11_IGNORE_SDK_LAYERS )
|
||||
#include "d3d11sdklayers.h"
|
||||
#endif
|
||||
// BK - #include "d3d10_1.h"
|
||||
// BK - #include "d3d10shader.h"
|
||||
// BK - #include "d3d10_1shader.h"
|
||||
// BK - #include "d3d10misc.h"
|
||||
// BK - #include "d3d10effect.h"
|
||||
#include "d3d10_1.h"
|
||||
#include "d3d10shader.h"
|
||||
#include "d3d10_1shader.h"
|
||||
#include "d3d10misc.h"
|
||||
#include "d3d10effect.h"
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// D3D11CreateDevice
|
||||
|
||||
6
3rdparty/dxsdk/include/d3d11_1.h
vendored
6
3rdparty/dxsdk/include/d3d11_1.h
vendored
@@ -183,8 +183,7 @@ typedef struct D3D11_BLEND_DESC1
|
||||
}
|
||||
struct CD3D11_BLEND_DESC1 : public D3D11_BLEND_DESC1
|
||||
{
|
||||
CD3D11_BLEND_DESC1()
|
||||
{}
|
||||
CD3D11_BLEND_DESC1() = default;
|
||||
explicit CD3D11_BLEND_DESC1( const D3D11_BLEND_DESC1& o ) :
|
||||
D3D11_BLEND_DESC1( o )
|
||||
{}
|
||||
@@ -369,8 +368,7 @@ typedef struct D3D11_RASTERIZER_DESC1
|
||||
}
|
||||
struct CD3D11_RASTERIZER_DESC1 : public D3D11_RASTERIZER_DESC1
|
||||
{
|
||||
CD3D11_RASTERIZER_DESC1()
|
||||
{}
|
||||
CD3D11_RASTERIZER_DESC1() = default;
|
||||
explicit CD3D11_RASTERIZER_DESC1( const D3D11_RASTERIZER_DESC1& o ) :
|
||||
D3D11_RASTERIZER_DESC1( o )
|
||||
{}
|
||||
|
||||
26
3rdparty/dxsdk/include/d3d11_3.h
vendored
26
3rdparty/dxsdk/include/d3d11_3.h
vendored
@@ -180,8 +180,7 @@ typedef struct D3D11_TEXTURE2D_DESC1
|
||||
}
|
||||
struct CD3D11_TEXTURE2D_DESC1 : public D3D11_TEXTURE2D_DESC1
|
||||
{
|
||||
CD3D11_TEXTURE2D_DESC1()
|
||||
{}
|
||||
CD3D11_TEXTURE2D_DESC1() = default;
|
||||
explicit CD3D11_TEXTURE2D_DESC1( const D3D11_TEXTURE2D_DESC1& o ) :
|
||||
D3D11_TEXTURE2D_DESC1( o )
|
||||
{}
|
||||
@@ -417,8 +416,7 @@ typedef struct D3D11_TEXTURE3D_DESC1
|
||||
}
|
||||
struct CD3D11_TEXTURE3D_DESC1 : public D3D11_TEXTURE3D_DESC1
|
||||
{
|
||||
CD3D11_TEXTURE3D_DESC1()
|
||||
{}
|
||||
CD3D11_TEXTURE3D_DESC1() = default;
|
||||
explicit CD3D11_TEXTURE3D_DESC1( const D3D11_TEXTURE3D_DESC1& o ) :
|
||||
D3D11_TEXTURE3D_DESC1( o )
|
||||
{}
|
||||
@@ -657,8 +655,7 @@ typedef struct D3D11_RASTERIZER_DESC2
|
||||
}
|
||||
struct CD3D11_RASTERIZER_DESC2 : public D3D11_RASTERIZER_DESC2
|
||||
{
|
||||
CD3D11_RASTERIZER_DESC2()
|
||||
{}
|
||||
CD3D11_RASTERIZER_DESC2() = default;
|
||||
explicit CD3D11_RASTERIZER_DESC2( const D3D11_RASTERIZER_DESC2& o ) :
|
||||
D3D11_RASTERIZER_DESC2( o )
|
||||
{}
|
||||
@@ -900,8 +897,7 @@ typedef struct D3D11_SHADER_RESOURCE_VIEW_DESC1
|
||||
}
|
||||
struct CD3D11_SHADER_RESOURCE_VIEW_DESC1 : public D3D11_SHADER_RESOURCE_VIEW_DESC1
|
||||
{
|
||||
CD3D11_SHADER_RESOURCE_VIEW_DESC1()
|
||||
{}
|
||||
CD3D11_SHADER_RESOURCE_VIEW_DESC1() = default;
|
||||
explicit CD3D11_SHADER_RESOURCE_VIEW_DESC1( const D3D11_SHADER_RESOURCE_VIEW_DESC1& o ) :
|
||||
D3D11_SHADER_RESOURCE_VIEW_DESC1( o )
|
||||
{}
|
||||
@@ -1294,8 +1290,7 @@ typedef struct D3D11_RENDER_TARGET_VIEW_DESC1
|
||||
}
|
||||
struct CD3D11_RENDER_TARGET_VIEW_DESC1 : public D3D11_RENDER_TARGET_VIEW_DESC1
|
||||
{
|
||||
CD3D11_RENDER_TARGET_VIEW_DESC1()
|
||||
{}
|
||||
CD3D11_RENDER_TARGET_VIEW_DESC1() = default;
|
||||
explicit CD3D11_RENDER_TARGET_VIEW_DESC1( const D3D11_RENDER_TARGET_VIEW_DESC1& o ) :
|
||||
D3D11_RENDER_TARGET_VIEW_DESC1( o )
|
||||
{}
|
||||
@@ -1640,8 +1635,7 @@ typedef struct D3D11_UNORDERED_ACCESS_VIEW_DESC1
|
||||
}
|
||||
struct CD3D11_UNORDERED_ACCESS_VIEW_DESC1 : public D3D11_UNORDERED_ACCESS_VIEW_DESC1
|
||||
{
|
||||
CD3D11_UNORDERED_ACCESS_VIEW_DESC1()
|
||||
{}
|
||||
CD3D11_UNORDERED_ACCESS_VIEW_DESC1() = default;
|
||||
explicit CD3D11_UNORDERED_ACCESS_VIEW_DESC1( const D3D11_UNORDERED_ACCESS_VIEW_DESC1& o ) :
|
||||
D3D11_UNORDERED_ACCESS_VIEW_DESC1( o )
|
||||
{}
|
||||
@@ -1954,8 +1948,7 @@ typedef struct D3D11_QUERY_DESC1
|
||||
}
|
||||
struct CD3D11_QUERY_DESC1 : public D3D11_QUERY_DESC1
|
||||
{
|
||||
CD3D11_QUERY_DESC1()
|
||||
{}
|
||||
CD3D11_QUERY_DESC1() = default;
|
||||
explicit CD3D11_QUERY_DESC1( const D3D11_QUERY_DESC1& o ) :
|
||||
D3D11_QUERY_DESC1( o )
|
||||
{}
|
||||
@@ -2125,9 +2118,10 @@ EXTERN_C const IID IID_ID3D11Query1;
|
||||
typedef
|
||||
enum D3D11_FENCE_FLAG
|
||||
{
|
||||
D3D11_FENCE_FLAG_NONE = 0x1,
|
||||
D3D11_FENCE_FLAG_NONE = 0,
|
||||
D3D11_FENCE_FLAG_SHARED = 0x2,
|
||||
D3D11_FENCE_FLAG_SHARED_CROSS_ADAPTER = 0x4
|
||||
D3D11_FENCE_FLAG_SHARED_CROSS_ADAPTER = 0x4,
|
||||
D3D11_FENCE_FLAG_NON_MONITORED = 0x8
|
||||
} D3D11_FENCE_FLAG;
|
||||
|
||||
DEFINE_ENUM_FLAG_OPERATORS(D3D11_FENCE_FLAG);
|
||||
|
||||
1670
3rdparty/dxsdk/include/d3d11_4.h
vendored
1670
3rdparty/dxsdk/include/d3d11_4.h
vendored
File diff suppressed because it is too large
Load Diff
33
3rdparty/dxsdk/include/d3d11sdklayers.h
vendored
33
3rdparty/dxsdk/include/d3d11sdklayers.h
vendored
@@ -2048,7 +2048,38 @@ enum D3D11_MESSAGE_ID
|
||||
D3D11_MESSAGE_ID_CREATE_FENCE = ( D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMMIRROR_INVALIDSTREAM + 1 ) ,
|
||||
D3D11_MESSAGE_ID_LIVE_FENCE = ( D3D11_MESSAGE_ID_CREATE_FENCE + 1 ) ,
|
||||
D3D11_MESSAGE_ID_DESTROY_FENCE = ( D3D11_MESSAGE_ID_LIVE_FENCE + 1 ) ,
|
||||
D3D11_MESSAGE_ID_D3D11_3_MESSAGES_END = ( D3D11_MESSAGE_ID_DESTROY_FENCE + 1 )
|
||||
D3D11_MESSAGE_ID_CREATE_SYNCHRONIZEDCHANNEL = ( D3D11_MESSAGE_ID_DESTROY_FENCE + 1 ) ,
|
||||
D3D11_MESSAGE_ID_LIVE_SYNCHRONIZEDCHANNEL = ( D3D11_MESSAGE_ID_CREATE_SYNCHRONIZEDCHANNEL + 1 ) ,
|
||||
D3D11_MESSAGE_ID_DESTROY_SYNCHRONIZEDCHANNEL = ( D3D11_MESSAGE_ID_LIVE_SYNCHRONIZEDCHANNEL + 1 ) ,
|
||||
D3D11_MESSAGE_ID_CREATEFENCE_INVALIDFLAGS = ( D3D11_MESSAGE_ID_DESTROY_SYNCHRONIZEDCHANNEL + 1 ) ,
|
||||
D3D11_MESSAGE_ID_D3D11_3_MESSAGES_END = ( D3D11_MESSAGE_ID_CREATEFENCE_INVALIDFLAGS + 1 ) ,
|
||||
D3D11_MESSAGE_ID_D3D11_5_MESSAGES_START = ( D3D11_MESSAGE_ID_D3D11_3_MESSAGES_END + 1 ) ,
|
||||
D3D11_MESSAGE_ID_NEGOTIATECRYPTOSESSIONKEYEXCHANGEMT_INVALIDKEYEXCHANGETYPE = ( D3D11_MESSAGE_ID_D3D11_5_MESSAGES_START + 1 ) ,
|
||||
D3D11_MESSAGE_ID_NEGOTIATECRYPTOSESSIONKEYEXCHANGEMT_NOT_SUPPORTED = ( D3D11_MESSAGE_ID_NEGOTIATECRYPTOSESSIONKEYEXCHANGEMT_INVALIDKEYEXCHANGETYPE + 1 ) ,
|
||||
D3D11_MESSAGE_ID_DECODERBEGINFRAME_INVALID_HISTOGRAM_COMPONENT_COUNT = ( D3D11_MESSAGE_ID_NEGOTIATECRYPTOSESSIONKEYEXCHANGEMT_NOT_SUPPORTED + 1 ) ,
|
||||
D3D11_MESSAGE_ID_DECODERBEGINFRAME_INVALID_HISTOGRAM_COMPONENT = ( D3D11_MESSAGE_ID_DECODERBEGINFRAME_INVALID_HISTOGRAM_COMPONENT_COUNT + 1 ) ,
|
||||
D3D11_MESSAGE_ID_DECODERBEGINFRAME_INVALID_HISTOGRAM_BUFFER_SIZE = ( D3D11_MESSAGE_ID_DECODERBEGINFRAME_INVALID_HISTOGRAM_COMPONENT + 1 ) ,
|
||||
D3D11_MESSAGE_ID_DECODERBEGINFRAME_INVALID_HISTOGRAM_BUFFER_USAGE = ( D3D11_MESSAGE_ID_DECODERBEGINFRAME_INVALID_HISTOGRAM_BUFFER_SIZE + 1 ) ,
|
||||
D3D11_MESSAGE_ID_DECODERBEGINFRAME_INVALID_HISTOGRAM_BUFFER_MISC_FLAGS = ( D3D11_MESSAGE_ID_DECODERBEGINFRAME_INVALID_HISTOGRAM_BUFFER_USAGE + 1 ) ,
|
||||
D3D11_MESSAGE_ID_DECODERBEGINFRAME_INVALID_HISTOGRAM_BUFFER_OFFSET = ( D3D11_MESSAGE_ID_DECODERBEGINFRAME_INVALID_HISTOGRAM_BUFFER_MISC_FLAGS + 1 ) ,
|
||||
D3D11_MESSAGE_ID_CREATE_TRACKEDWORKLOAD = ( D3D11_MESSAGE_ID_DECODERBEGINFRAME_INVALID_HISTOGRAM_BUFFER_OFFSET + 1 ) ,
|
||||
D3D11_MESSAGE_ID_LIVE_TRACKEDWORKLOAD = ( D3D11_MESSAGE_ID_CREATE_TRACKEDWORKLOAD + 1 ) ,
|
||||
D3D11_MESSAGE_ID_DESTROY_TRACKEDWORKLOAD = ( D3D11_MESSAGE_ID_LIVE_TRACKEDWORKLOAD + 1 ) ,
|
||||
D3D11_MESSAGE_ID_CREATE_TRACKED_WORKLOAD_NULLPARAM = ( D3D11_MESSAGE_ID_DESTROY_TRACKEDWORKLOAD + 1 ) ,
|
||||
D3D11_MESSAGE_ID_CREATE_TRACKED_WORKLOAD_INVALID_MAX_INSTANCES = ( D3D11_MESSAGE_ID_CREATE_TRACKED_WORKLOAD_NULLPARAM + 1 ) ,
|
||||
D3D11_MESSAGE_ID_CREATE_TRACKED_WORKLOAD_INVALID_DEADLINE_TYPE = ( D3D11_MESSAGE_ID_CREATE_TRACKED_WORKLOAD_INVALID_MAX_INSTANCES + 1 ) ,
|
||||
D3D11_MESSAGE_ID_CREATE_TRACKED_WORKLOAD_INVALID_ENGINE_TYPE = ( D3D11_MESSAGE_ID_CREATE_TRACKED_WORKLOAD_INVALID_DEADLINE_TYPE + 1 ) ,
|
||||
D3D11_MESSAGE_ID_MULTIPLE_TRACKED_WORKLOADS = ( D3D11_MESSAGE_ID_CREATE_TRACKED_WORKLOAD_INVALID_ENGINE_TYPE + 1 ) ,
|
||||
D3D11_MESSAGE_ID_MULTIPLE_TRACKED_WORKLOAD_PAIRS = ( D3D11_MESSAGE_ID_MULTIPLE_TRACKED_WORKLOADS + 1 ) ,
|
||||
D3D11_MESSAGE_ID_INCOMPLETE_TRACKED_WORKLOAD_PAIR = ( D3D11_MESSAGE_ID_MULTIPLE_TRACKED_WORKLOAD_PAIRS + 1 ) ,
|
||||
D3D11_MESSAGE_ID_OUT_OF_ORDER_TRACKED_WORKLOAD_PAIR = ( D3D11_MESSAGE_ID_INCOMPLETE_TRACKED_WORKLOAD_PAIR + 1 ) ,
|
||||
D3D11_MESSAGE_ID_CANNOT_ADD_TRACKED_WORKLOAD = ( D3D11_MESSAGE_ID_OUT_OF_ORDER_TRACKED_WORKLOAD_PAIR + 1 ) ,
|
||||
D3D11_MESSAGE_ID_TRACKED_WORKLOAD_NOT_SUPPORTED = ( D3D11_MESSAGE_ID_CANNOT_ADD_TRACKED_WORKLOAD + 1 ) ,
|
||||
D3D11_MESSAGE_ID_TRACKED_WORKLOAD_ENGINE_TYPE_NOT_FOUND = ( D3D11_MESSAGE_ID_TRACKED_WORKLOAD_NOT_SUPPORTED + 1 ) ,
|
||||
D3D11_MESSAGE_ID_NO_TRACKED_WORKLOAD_SLOT_AVAILABLE = ( D3D11_MESSAGE_ID_TRACKED_WORKLOAD_ENGINE_TYPE_NOT_FOUND + 1 ) ,
|
||||
D3D11_MESSAGE_ID_END_TRACKED_WORKLOAD_INVALID_ARG = ( D3D11_MESSAGE_ID_NO_TRACKED_WORKLOAD_SLOT_AVAILABLE + 1 ) ,
|
||||
D3D11_MESSAGE_ID_TRACKED_WORKLOAD_DISJOINT_FAILURE = ( D3D11_MESSAGE_ID_END_TRACKED_WORKLOAD_INVALID_ARG + 1 ) ,
|
||||
D3D11_MESSAGE_ID_D3D11_5_MESSAGES_END = ( D3D11_MESSAGE_ID_TRACKED_WORKLOAD_DISJOINT_FAILURE + 1 )
|
||||
} D3D11_MESSAGE_ID;
|
||||
|
||||
typedef struct D3D11_MESSAGE
|
||||
|
||||
1894
3rdparty/dxsdk/include/d3d12.h
vendored
1894
3rdparty/dxsdk/include/d3d12.h
vendored
File diff suppressed because it is too large
Load Diff
38
3rdparty/dxsdk/include/d3d12sdklayers.h
vendored
38
3rdparty/dxsdk/include/d3d12sdklayers.h
vendored
@@ -147,9 +147,6 @@ extern "C"{
|
||||
/* interface __MIDL_itf_d3d12sdklayers_0000_0000 */
|
||||
/* [local] */
|
||||
|
||||
#include <winapifamily.h>
|
||||
// BK - pragma region App Family
|
||||
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
|
||||
|
||||
|
||||
extern RPC_IF_HANDLE __MIDL_itf_d3d12sdklayers_0000_0000_v0_0_c_ifspec;
|
||||
@@ -558,7 +555,7 @@ enum D3D12_DEBUG_FEATURE
|
||||
D3D12_DEBUG_FEATURE_ALLOW_BEHAVIOR_CHANGING_DEBUG_AIDS = 0x1,
|
||||
D3D12_DEBUG_FEATURE_CONSERVATIVE_RESOURCE_STATE_TRACKING = 0x2,
|
||||
D3D12_DEBUG_FEATURE_DISABLE_VIRTUALIZED_BUNDLES_VALIDATION = 0x4,
|
||||
D3D12_DEBUG_FEATURE_VALID_MASK = ( ( D3D12_DEBUG_FEATURE_ALLOW_BEHAVIOR_CHANGING_DEBUG_AIDS | D3D12_DEBUG_FEATURE_CONSERVATIVE_RESOURCE_STATE_TRACKING ) | D3D12_DEBUG_FEATURE_DISABLE_VIRTUALIZED_BUNDLES_VALIDATION )
|
||||
D3D12_DEBUG_FEATURE_EMULATE_WINDOWS7 = 0x8
|
||||
} D3D12_DEBUG_FEATURE;
|
||||
|
||||
DEFINE_ENUM_FLAG_OPERATORS(D3D12_DEBUG_FEATURE)
|
||||
@@ -2724,7 +2721,36 @@ enum D3D12_MESSAGE_ID
|
||||
D3D12_MESSAGE_ID_TRACKED_WORKLOAD_NOT_SUPPORTED = 1212,
|
||||
D3D12_MESSAGE_ID_RENDER_PASS_MISMATCHING_NO_ACCESS = 1213,
|
||||
D3D12_MESSAGE_ID_RENDER_PASS_UNSUPPORTED_RESOLVE = 1214,
|
||||
D3D12_MESSAGE_ID_D3D12_MESSAGES_END = ( D3D12_MESSAGE_ID_RENDER_PASS_UNSUPPORTED_RESOLVE + 1 )
|
||||
D3D12_MESSAGE_ID_CLEARUNORDEREDACCESSVIEW_INVALID_RESOURCE_PTR = 1215,
|
||||
D3D12_MESSAGE_ID_WINDOWS7_FENCE_OUTOFORDER_SIGNAL = 1216,
|
||||
D3D12_MESSAGE_ID_WINDOWS7_FENCE_OUTOFORDER_WAIT = 1217,
|
||||
D3D12_MESSAGE_ID_VIDEO_CREATE_MOTION_ESTIMATOR_INVALID_ARGUMENT = 1218,
|
||||
D3D12_MESSAGE_ID_VIDEO_CREATE_MOTION_VECTOR_HEAP_INVALID_ARGUMENT = 1219,
|
||||
D3D12_MESSAGE_ID_ESTIMATE_MOTION_INVALID_ARGUMENT = 1220,
|
||||
D3D12_MESSAGE_ID_RESOLVE_MOTION_VECTOR_HEAP_INVALID_ARGUMENT = 1221,
|
||||
D3D12_MESSAGE_ID_GETGPUVIRTUALADDRESS_INVALID_HEAP_TYPE = 1222,
|
||||
D3D12_MESSAGE_ID_SET_BACKGROUND_PROCESSING_MODE_INVALID_ARGUMENT = 1223,
|
||||
D3D12_MESSAGE_ID_CREATE_COMMAND_LIST_INVALID_COMMAND_LIST_TYPE_FOR_FEATURE_LEVEL = 1224,
|
||||
D3D12_MESSAGE_ID_CREATE_VIDEOEXTENSIONCOMMAND = 1225,
|
||||
D3D12_MESSAGE_ID_LIVE_VIDEOEXTENSIONCOMMAND = 1226,
|
||||
D3D12_MESSAGE_ID_DESTROY_VIDEOEXTENSIONCOMMAND = 1227,
|
||||
D3D12_MESSAGE_ID_INVALID_VIDEO_EXTENSION_COMMAND_ID = 1228,
|
||||
D3D12_MESSAGE_ID_VIDEO_EXTENSION_COMMAND_INVALID_ARGUMENT = 1229,
|
||||
D3D12_MESSAGE_ID_CREATE_ROOT_SIGNATURE_NOT_UNIQUE_IN_DXIL_LIBRARY = 1230,
|
||||
D3D12_MESSAGE_ID_VARIABLE_SHADING_RATE_NOT_ALLOWED_WITH_TIR = 1231,
|
||||
D3D12_MESSAGE_ID_GEOMETRY_SHADER_OUTPUTTING_BOTH_VIEWPORT_ARRAY_INDEX_AND_SHADING_RATE_NOT_SUPPORTED_ON_DEVICE = 1232,
|
||||
D3D12_MESSAGE_ID_RSSETSHADING_RATE_INVALID_SHADING_RATE = 1233,
|
||||
D3D12_MESSAGE_ID_RSSETSHADING_RATE_SHADING_RATE_NOT_PERMITTED_BY_CAP = 1234,
|
||||
D3D12_MESSAGE_ID_RSSETSHADING_RATE_INVALID_COMBINER = 1235,
|
||||
D3D12_MESSAGE_ID_RSSETSHADINGRATEIMAGE_REQUIRES_TIER_2 = 1236,
|
||||
D3D12_MESSAGE_ID_RSSETSHADINGRATE_REQUIRES_TIER_1 = 1237,
|
||||
D3D12_MESSAGE_ID_SHADING_RATE_IMAGE_INCORRECT_FORMAT = 1238,
|
||||
D3D12_MESSAGE_ID_SHADING_RATE_IMAGE_INCORRECT_ARRAY_SIZE = 1239,
|
||||
D3D12_MESSAGE_ID_SHADING_RATE_IMAGE_INCORRECT_MIP_LEVEL = 1240,
|
||||
D3D12_MESSAGE_ID_SHADING_RATE_IMAGE_INCORRECT_SAMPLE_COUNT = 1241,
|
||||
D3D12_MESSAGE_ID_SHADING_RATE_IMAGE_INCORRECT_SAMPLE_QUALITY = 1242,
|
||||
D3D12_MESSAGE_ID_NON_RETAIL_SHADER_MODEL_WONT_VALIDATE = 1243,
|
||||
D3D12_MESSAGE_ID_D3D12_MESSAGES_END = ( D3D12_MESSAGE_ID_NON_RETAIL_SHADER_MODEL_WONT_VALIDATE + 1 )
|
||||
} D3D12_MESSAGE_ID;
|
||||
|
||||
static_assert(D3D12_MESSAGE_ID_GPU_BASED_VALIDATION_UNSUPPORTED == 1000, "Publicly released SDK D3D12_MESSAGE_ID enum values must not be changed. New enum values must be added to the end of the list.");
|
||||
@@ -3168,8 +3194,6 @@ EXTERN_C const IID IID_ID3D12InfoQueue;
|
||||
/* interface __MIDL_itf_d3d12sdklayers_0000_0013 */
|
||||
/* [local] */
|
||||
|
||||
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) */
|
||||
// BK - pragma endregion
|
||||
DEFINE_GUID(IID_ID3D12Debug,0x344488b7,0x6846,0x474b,0xb9,0x89,0xf0,0x27,0x44,0x82,0x45,0xe0);
|
||||
DEFINE_GUID(IID_ID3D12Debug1,0xaffaa4ca,0x63fe,0x4d8e,0xb8,0xad,0x15,0x90,0x00,0xaf,0x43,0x04);
|
||||
DEFINE_GUID(IID_ID3D12Debug2,0x93a665c4,0xa3b2,0x4e5d,0xb6,0x92,0xa2,0x6a,0xe1,0x4e,0x33,0x74);
|
||||
|
||||
916
3rdparty/dxsdk/include/d3d12video.h
vendored
916
3rdparty/dxsdk/include/d3d12video.h
vendored
@@ -99,6 +99,34 @@ typedef interface ID3D12VideoProcessCommandList1 ID3D12VideoProcessCommandList1;
|
||||
#endif /* __ID3D12VideoProcessCommandList1_FWD_DEFINED__ */
|
||||
|
||||
|
||||
#ifndef __ID3D12VideoMotionEstimator_FWD_DEFINED__
|
||||
#define __ID3D12VideoMotionEstimator_FWD_DEFINED__
|
||||
typedef interface ID3D12VideoMotionEstimator ID3D12VideoMotionEstimator;
|
||||
|
||||
#endif /* __ID3D12VideoMotionEstimator_FWD_DEFINED__ */
|
||||
|
||||
|
||||
#ifndef __ID3D12VideoMotionVectorHeap_FWD_DEFINED__
|
||||
#define __ID3D12VideoMotionVectorHeap_FWD_DEFINED__
|
||||
typedef interface ID3D12VideoMotionVectorHeap ID3D12VideoMotionVectorHeap;
|
||||
|
||||
#endif /* __ID3D12VideoMotionVectorHeap_FWD_DEFINED__ */
|
||||
|
||||
|
||||
#ifndef __ID3D12VideoDevice1_FWD_DEFINED__
|
||||
#define __ID3D12VideoDevice1_FWD_DEFINED__
|
||||
typedef interface ID3D12VideoDevice1 ID3D12VideoDevice1;
|
||||
|
||||
#endif /* __ID3D12VideoDevice1_FWD_DEFINED__ */
|
||||
|
||||
|
||||
#ifndef __ID3D12VideoEncodeCommandList_FWD_DEFINED__
|
||||
#define __ID3D12VideoEncodeCommandList_FWD_DEFINED__
|
||||
typedef interface ID3D12VideoEncodeCommandList ID3D12VideoEncodeCommandList;
|
||||
|
||||
#endif /* __ID3D12VideoEncodeCommandList_FWD_DEFINED__ */
|
||||
|
||||
|
||||
/* header files for imported files */
|
||||
#include "oaidl.h"
|
||||
#include "ocidl.h"
|
||||
@@ -113,9 +141,6 @@ extern "C"{
|
||||
/* interface __MIDL_itf_d3d12video_0000_0000 */
|
||||
/* [local] */
|
||||
|
||||
#include <winapifamily.h>
|
||||
// BK - pragma region App Family
|
||||
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
|
||||
typedef
|
||||
enum D3D12_VIDEO_FIELD_TYPE
|
||||
{
|
||||
@@ -169,7 +194,10 @@ enum D3D12_FEATURE_VIDEO
|
||||
D3D12_FEATURE_VIDEO_DECODE_PROFILE_COUNT = 10,
|
||||
D3D12_FEATURE_VIDEO_DECODE_FORMAT_COUNT = 11,
|
||||
D3D12_FEATURE_VIDEO_ARCHITECTURE = 17,
|
||||
D3D12_FEATURE_VIDEO_DECODE_HISTOGRAM = 18
|
||||
D3D12_FEATURE_VIDEO_DECODE_HISTOGRAM = 18,
|
||||
D3D12_FEATURE_VIDEO_FEATURE_AREA_SUPPORT = 19,
|
||||
D3D12_FEATURE_VIDEO_MOTION_ESTIMATOR = 20,
|
||||
D3D12_FEATURE_VIDEO_MOTION_ESTIMATOR_SIZE = 21
|
||||
} D3D12_FEATURE_VIDEO;
|
||||
|
||||
typedef
|
||||
@@ -2409,6 +2437,876 @@ EXTERN_C const IID IID_ID3D12VideoProcessCommandList1;
|
||||
/* interface __MIDL_itf_d3d12video_0000_0008 */
|
||||
/* [local] */
|
||||
|
||||
typedef
|
||||
enum D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE
|
||||
{
|
||||
D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_8X8 = 0,
|
||||
D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_16X16 = 1
|
||||
} D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE;
|
||||
|
||||
typedef
|
||||
enum D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS
|
||||
{
|
||||
D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAG_NONE = 0,
|
||||
D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAG_8X8 = ( 1 << D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_8X8 ) ,
|
||||
D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAG_16X16 = ( 1 << D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_16X16 )
|
||||
} D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS;
|
||||
|
||||
DEFINE_ENUM_FLAG_OPERATORS( D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS );
|
||||
typedef
|
||||
enum D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION
|
||||
{
|
||||
D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_QUARTER_PEL = 0
|
||||
} D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION;
|
||||
|
||||
typedef
|
||||
enum D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS
|
||||
{
|
||||
D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAG_NONE = 0,
|
||||
D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAG_QUARTER_PEL = ( 1 << D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_QUARTER_PEL )
|
||||
} D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS;
|
||||
|
||||
DEFINE_ENUM_FLAG_OPERATORS( D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS );
|
||||
typedef struct D3D12_FEATURE_DATA_VIDEO_FEATURE_AREA_SUPPORT
|
||||
{
|
||||
UINT NodeIndex;
|
||||
BOOL VideoDecodeSupport;
|
||||
BOOL VideoProcessSupport;
|
||||
BOOL VideoEncodeSupport;
|
||||
} D3D12_FEATURE_DATA_VIDEO_FEATURE_AREA_SUPPORT;
|
||||
|
||||
typedef struct D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR
|
||||
{
|
||||
UINT NodeIndex;
|
||||
DXGI_FORMAT InputFormat;
|
||||
D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS BlockSizeFlags;
|
||||
D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS PrecisionFlags;
|
||||
D3D12_VIDEO_SIZE_RANGE SizeRange;
|
||||
} D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR;
|
||||
|
||||
typedef struct D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR_SIZE
|
||||
{
|
||||
UINT NodeIndex;
|
||||
DXGI_FORMAT InputFormat;
|
||||
D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE BlockSize;
|
||||
D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION Precision;
|
||||
D3D12_VIDEO_SIZE_RANGE SizeRange;
|
||||
BOOL Protected;
|
||||
UINT64 MotionVectorHeapMemoryPoolL0Size;
|
||||
UINT64 MotionVectorHeapMemoryPoolL1Size;
|
||||
UINT64 MotionEstimatorMemoryPoolL0Size;
|
||||
UINT64 MotionEstimatorMemoryPoolL1Size;
|
||||
} D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR_SIZE;
|
||||
|
||||
typedef struct D3D12_VIDEO_MOTION_ESTIMATOR_DESC
|
||||
{
|
||||
UINT NodeMask;
|
||||
DXGI_FORMAT InputFormat;
|
||||
D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE BlockSize;
|
||||
D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION Precision;
|
||||
D3D12_VIDEO_SIZE_RANGE SizeRange;
|
||||
} D3D12_VIDEO_MOTION_ESTIMATOR_DESC;
|
||||
|
||||
|
||||
|
||||
extern RPC_IF_HANDLE __MIDL_itf_d3d12video_0000_0008_v0_0_c_ifspec;
|
||||
extern RPC_IF_HANDLE __MIDL_itf_d3d12video_0000_0008_v0_0_s_ifspec;
|
||||
|
||||
#ifndef __ID3D12VideoMotionEstimator_INTERFACE_DEFINED__
|
||||
#define __ID3D12VideoMotionEstimator_INTERFACE_DEFINED__
|
||||
|
||||
/* interface ID3D12VideoMotionEstimator */
|
||||
/* [unique][local][object][uuid] */
|
||||
|
||||
|
||||
EXTERN_C const IID IID_ID3D12VideoMotionEstimator;
|
||||
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
|
||||
MIDL_INTERFACE("33FDAE0E-098B-428F-87BB-34B695DE08F8")
|
||||
ID3D12VideoMotionEstimator : public ID3D12Pageable
|
||||
{
|
||||
public:
|
||||
virtual D3D12_VIDEO_MOTION_ESTIMATOR_DESC STDMETHODCALLTYPE GetDesc( void) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE GetProtectedResourceSession(
|
||||
REFIID riid,
|
||||
_COM_Outptr_opt_ void **ppProtectedSession) = 0;
|
||||
|
||||
};
|
||||
|
||||
|
||||
#else /* C style interface */
|
||||
|
||||
typedef struct ID3D12VideoMotionEstimatorVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
ID3D12VideoMotionEstimator * This,
|
||||
REFIID riid,
|
||||
_COM_Outptr_ void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
ID3D12VideoMotionEstimator * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
ID3D12VideoMotionEstimator * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
|
||||
ID3D12VideoMotionEstimator * This,
|
||||
_In_ REFGUID guid,
|
||||
_Inout_ UINT *pDataSize,
|
||||
_Out_writes_bytes_opt_( *pDataSize ) void *pData);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
|
||||
ID3D12VideoMotionEstimator * This,
|
||||
_In_ REFGUID guid,
|
||||
_In_ UINT DataSize,
|
||||
_In_reads_bytes_opt_( DataSize ) const void *pData);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
|
||||
ID3D12VideoMotionEstimator * This,
|
||||
_In_ REFGUID guid,
|
||||
_In_opt_ const IUnknown *pData);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetName )(
|
||||
ID3D12VideoMotionEstimator * This,
|
||||
_In_z_ LPCWSTR Name);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetDevice )(
|
||||
ID3D12VideoMotionEstimator * This,
|
||||
REFIID riid,
|
||||
_COM_Outptr_opt_ void **ppvDevice);
|
||||
|
||||
D3D12_VIDEO_MOTION_ESTIMATOR_DESC ( STDMETHODCALLTYPE *GetDesc )(
|
||||
ID3D12VideoMotionEstimator * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetProtectedResourceSession )(
|
||||
ID3D12VideoMotionEstimator * This,
|
||||
REFIID riid,
|
||||
_COM_Outptr_opt_ void **ppProtectedSession);
|
||||
|
||||
END_INTERFACE
|
||||
} ID3D12VideoMotionEstimatorVtbl;
|
||||
|
||||
interface ID3D12VideoMotionEstimator
|
||||
{
|
||||
CONST_VTBL struct ID3D12VideoMotionEstimatorVtbl *lpVtbl;
|
||||
};
|
||||
|
||||
|
||||
|
||||
#ifdef COBJMACROS
|
||||
|
||||
|
||||
#define ID3D12VideoMotionEstimator_QueryInterface(This,riid,ppvObject) \
|
||||
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
|
||||
|
||||
#define ID3D12VideoMotionEstimator_AddRef(This) \
|
||||
( (This)->lpVtbl -> AddRef(This) )
|
||||
|
||||
#define ID3D12VideoMotionEstimator_Release(This) \
|
||||
( (This)->lpVtbl -> Release(This) )
|
||||
|
||||
|
||||
#define ID3D12VideoMotionEstimator_GetPrivateData(This,guid,pDataSize,pData) \
|
||||
( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
|
||||
|
||||
#define ID3D12VideoMotionEstimator_SetPrivateData(This,guid,DataSize,pData) \
|
||||
( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
|
||||
|
||||
#define ID3D12VideoMotionEstimator_SetPrivateDataInterface(This,guid,pData) \
|
||||
( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
|
||||
|
||||
#define ID3D12VideoMotionEstimator_SetName(This,Name) \
|
||||
( (This)->lpVtbl -> SetName(This,Name) )
|
||||
|
||||
|
||||
#define ID3D12VideoMotionEstimator_GetDevice(This,riid,ppvDevice) \
|
||||
( (This)->lpVtbl -> GetDevice(This,riid,ppvDevice) )
|
||||
|
||||
|
||||
|
||||
#define ID3D12VideoMotionEstimator_GetDesc(This) \
|
||||
( (This)->lpVtbl -> GetDesc(This) )
|
||||
|
||||
#define ID3D12VideoMotionEstimator_GetProtectedResourceSession(This,riid,ppProtectedSession) \
|
||||
( (This)->lpVtbl -> GetProtectedResourceSession(This,riid,ppProtectedSession) )
|
||||
|
||||
#endif /* COBJMACROS */
|
||||
|
||||
|
||||
#endif /* C style interface */
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif /* __ID3D12VideoMotionEstimator_INTERFACE_DEFINED__ */
|
||||
|
||||
|
||||
/* interface __MIDL_itf_d3d12video_0000_0009 */
|
||||
/* [local] */
|
||||
|
||||
typedef struct D3D12_VIDEO_MOTION_VECTOR_HEAP_DESC
|
||||
{
|
||||
UINT NodeMask;
|
||||
DXGI_FORMAT InputFormat;
|
||||
D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE BlockSize;
|
||||
D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION Precision;
|
||||
D3D12_VIDEO_SIZE_RANGE SizeRange;
|
||||
} D3D12_VIDEO_MOTION_VECTOR_HEAP_DESC;
|
||||
|
||||
|
||||
|
||||
extern RPC_IF_HANDLE __MIDL_itf_d3d12video_0000_0009_v0_0_c_ifspec;
|
||||
extern RPC_IF_HANDLE __MIDL_itf_d3d12video_0000_0009_v0_0_s_ifspec;
|
||||
|
||||
#ifndef __ID3D12VideoMotionVectorHeap_INTERFACE_DEFINED__
|
||||
#define __ID3D12VideoMotionVectorHeap_INTERFACE_DEFINED__
|
||||
|
||||
/* interface ID3D12VideoMotionVectorHeap */
|
||||
/* [unique][local][object][uuid] */
|
||||
|
||||
|
||||
EXTERN_C const IID IID_ID3D12VideoMotionVectorHeap;
|
||||
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
|
||||
MIDL_INTERFACE("5BE17987-743A-4061-834B-23D22DAEA505")
|
||||
ID3D12VideoMotionVectorHeap : public ID3D12Pageable
|
||||
{
|
||||
public:
|
||||
virtual D3D12_VIDEO_MOTION_VECTOR_HEAP_DESC STDMETHODCALLTYPE GetDesc( void) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE GetProtectedResourceSession(
|
||||
REFIID riid,
|
||||
_COM_Outptr_opt_ void **ppProtectedSession) = 0;
|
||||
|
||||
};
|
||||
|
||||
|
||||
#else /* C style interface */
|
||||
|
||||
typedef struct ID3D12VideoMotionVectorHeapVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
ID3D12VideoMotionVectorHeap * This,
|
||||
REFIID riid,
|
||||
_COM_Outptr_ void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
ID3D12VideoMotionVectorHeap * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
ID3D12VideoMotionVectorHeap * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
|
||||
ID3D12VideoMotionVectorHeap * This,
|
||||
_In_ REFGUID guid,
|
||||
_Inout_ UINT *pDataSize,
|
||||
_Out_writes_bytes_opt_( *pDataSize ) void *pData);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
|
||||
ID3D12VideoMotionVectorHeap * This,
|
||||
_In_ REFGUID guid,
|
||||
_In_ UINT DataSize,
|
||||
_In_reads_bytes_opt_( DataSize ) const void *pData);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
|
||||
ID3D12VideoMotionVectorHeap * This,
|
||||
_In_ REFGUID guid,
|
||||
_In_opt_ const IUnknown *pData);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetName )(
|
||||
ID3D12VideoMotionVectorHeap * This,
|
||||
_In_z_ LPCWSTR Name);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetDevice )(
|
||||
ID3D12VideoMotionVectorHeap * This,
|
||||
REFIID riid,
|
||||
_COM_Outptr_opt_ void **ppvDevice);
|
||||
|
||||
D3D12_VIDEO_MOTION_VECTOR_HEAP_DESC ( STDMETHODCALLTYPE *GetDesc )(
|
||||
ID3D12VideoMotionVectorHeap * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetProtectedResourceSession )(
|
||||
ID3D12VideoMotionVectorHeap * This,
|
||||
REFIID riid,
|
||||
_COM_Outptr_opt_ void **ppProtectedSession);
|
||||
|
||||
END_INTERFACE
|
||||
} ID3D12VideoMotionVectorHeapVtbl;
|
||||
|
||||
interface ID3D12VideoMotionVectorHeap
|
||||
{
|
||||
CONST_VTBL struct ID3D12VideoMotionVectorHeapVtbl *lpVtbl;
|
||||
};
|
||||
|
||||
|
||||
|
||||
#ifdef COBJMACROS
|
||||
|
||||
|
||||
#define ID3D12VideoMotionVectorHeap_QueryInterface(This,riid,ppvObject) \
|
||||
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
|
||||
|
||||
#define ID3D12VideoMotionVectorHeap_AddRef(This) \
|
||||
( (This)->lpVtbl -> AddRef(This) )
|
||||
|
||||
#define ID3D12VideoMotionVectorHeap_Release(This) \
|
||||
( (This)->lpVtbl -> Release(This) )
|
||||
|
||||
|
||||
#define ID3D12VideoMotionVectorHeap_GetPrivateData(This,guid,pDataSize,pData) \
|
||||
( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
|
||||
|
||||
#define ID3D12VideoMotionVectorHeap_SetPrivateData(This,guid,DataSize,pData) \
|
||||
( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
|
||||
|
||||
#define ID3D12VideoMotionVectorHeap_SetPrivateDataInterface(This,guid,pData) \
|
||||
( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
|
||||
|
||||
#define ID3D12VideoMotionVectorHeap_SetName(This,Name) \
|
||||
( (This)->lpVtbl -> SetName(This,Name) )
|
||||
|
||||
|
||||
#define ID3D12VideoMotionVectorHeap_GetDevice(This,riid,ppvDevice) \
|
||||
( (This)->lpVtbl -> GetDevice(This,riid,ppvDevice) )
|
||||
|
||||
|
||||
|
||||
#define ID3D12VideoMotionVectorHeap_GetDesc(This) \
|
||||
( (This)->lpVtbl -> GetDesc(This) )
|
||||
|
||||
#define ID3D12VideoMotionVectorHeap_GetProtectedResourceSession(This,riid,ppProtectedSession) \
|
||||
( (This)->lpVtbl -> GetProtectedResourceSession(This,riid,ppProtectedSession) )
|
||||
|
||||
#endif /* COBJMACROS */
|
||||
|
||||
|
||||
#endif /* C style interface */
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif /* __ID3D12VideoMotionVectorHeap_INTERFACE_DEFINED__ */
|
||||
|
||||
|
||||
#ifndef __ID3D12VideoDevice1_INTERFACE_DEFINED__
|
||||
#define __ID3D12VideoDevice1_INTERFACE_DEFINED__
|
||||
|
||||
/* interface ID3D12VideoDevice1 */
|
||||
/* [unique][local][object][uuid] */
|
||||
|
||||
|
||||
EXTERN_C const IID IID_ID3D12VideoDevice1;
|
||||
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
|
||||
MIDL_INTERFACE("981611AD-A144-4C83-9890-F30E26D658AB")
|
||||
ID3D12VideoDevice1 : public ID3D12VideoDevice
|
||||
{
|
||||
public:
|
||||
virtual HRESULT STDMETHODCALLTYPE CreateVideoMotionEstimator(
|
||||
_In_ const D3D12_VIDEO_MOTION_ESTIMATOR_DESC *pDesc,
|
||||
_In_opt_ ID3D12ProtectedResourceSession *pProtectedResourceSession,
|
||||
_In_ REFIID riid,
|
||||
_COM_Outptr_ void **ppVideoMotionEstimator) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE CreateVideoMotionVectorHeap(
|
||||
_In_ const D3D12_VIDEO_MOTION_VECTOR_HEAP_DESC *pDesc,
|
||||
_In_opt_ ID3D12ProtectedResourceSession *pProtectedResourceSession,
|
||||
_In_ REFIID riid,
|
||||
_COM_Outptr_ void **ppVideoMotionVectorHeap) = 0;
|
||||
|
||||
};
|
||||
|
||||
|
||||
#else /* C style interface */
|
||||
|
||||
typedef struct ID3D12VideoDevice1Vtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
ID3D12VideoDevice1 * This,
|
||||
REFIID riid,
|
||||
_COM_Outptr_ void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
ID3D12VideoDevice1 * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
ID3D12VideoDevice1 * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *CheckFeatureSupport )(
|
||||
ID3D12VideoDevice1 * This,
|
||||
D3D12_FEATURE_VIDEO FeatureVideo,
|
||||
_Inout_updates_bytes_(FeatureSupportDataSize) void *pFeatureSupportData,
|
||||
UINT FeatureSupportDataSize);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *CreateVideoDecoder )(
|
||||
ID3D12VideoDevice1 * This,
|
||||
_In_ const D3D12_VIDEO_DECODER_DESC *pDesc,
|
||||
_In_ REFIID riid,
|
||||
_COM_Outptr_ void **ppVideoDecoder);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *CreateVideoDecoderHeap )(
|
||||
ID3D12VideoDevice1 * This,
|
||||
_In_ const D3D12_VIDEO_DECODER_HEAP_DESC *pVideoDecoderHeapDesc,
|
||||
_In_ REFIID riid,
|
||||
_COM_Outptr_ void **ppVideoDecoderHeap);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *CreateVideoProcessor )(
|
||||
ID3D12VideoDevice1 * This,
|
||||
UINT NodeMask,
|
||||
_In_ const D3D12_VIDEO_PROCESS_OUTPUT_STREAM_DESC *pOutputStreamDesc,
|
||||
UINT NumInputStreamDescs,
|
||||
_In_reads_(NumInputStreamDescs) const D3D12_VIDEO_PROCESS_INPUT_STREAM_DESC *pInputStreamDescs,
|
||||
_In_ REFIID riid,
|
||||
_COM_Outptr_ void **ppVideoProcessor);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *CreateVideoMotionEstimator )(
|
||||
ID3D12VideoDevice1 * This,
|
||||
_In_ const D3D12_VIDEO_MOTION_ESTIMATOR_DESC *pDesc,
|
||||
_In_opt_ ID3D12ProtectedResourceSession *pProtectedResourceSession,
|
||||
_In_ REFIID riid,
|
||||
_COM_Outptr_ void **ppVideoMotionEstimator);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *CreateVideoMotionVectorHeap )(
|
||||
ID3D12VideoDevice1 * This,
|
||||
_In_ const D3D12_VIDEO_MOTION_VECTOR_HEAP_DESC *pDesc,
|
||||
_In_opt_ ID3D12ProtectedResourceSession *pProtectedResourceSession,
|
||||
_In_ REFIID riid,
|
||||
_COM_Outptr_ void **ppVideoMotionVectorHeap);
|
||||
|
||||
END_INTERFACE
|
||||
} ID3D12VideoDevice1Vtbl;
|
||||
|
||||
interface ID3D12VideoDevice1
|
||||
{
|
||||
CONST_VTBL struct ID3D12VideoDevice1Vtbl *lpVtbl;
|
||||
};
|
||||
|
||||
|
||||
|
||||
#ifdef COBJMACROS
|
||||
|
||||
|
||||
#define ID3D12VideoDevice1_QueryInterface(This,riid,ppvObject) \
|
||||
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
|
||||
|
||||
#define ID3D12VideoDevice1_AddRef(This) \
|
||||
( (This)->lpVtbl -> AddRef(This) )
|
||||
|
||||
#define ID3D12VideoDevice1_Release(This) \
|
||||
( (This)->lpVtbl -> Release(This) )
|
||||
|
||||
|
||||
#define ID3D12VideoDevice1_CheckFeatureSupport(This,FeatureVideo,pFeatureSupportData,FeatureSupportDataSize) \
|
||||
( (This)->lpVtbl -> CheckFeatureSupport(This,FeatureVideo,pFeatureSupportData,FeatureSupportDataSize) )
|
||||
|
||||
#define ID3D12VideoDevice1_CreateVideoDecoder(This,pDesc,riid,ppVideoDecoder) \
|
||||
( (This)->lpVtbl -> CreateVideoDecoder(This,pDesc,riid,ppVideoDecoder) )
|
||||
|
||||
#define ID3D12VideoDevice1_CreateVideoDecoderHeap(This,pVideoDecoderHeapDesc,riid,ppVideoDecoderHeap) \
|
||||
( (This)->lpVtbl -> CreateVideoDecoderHeap(This,pVideoDecoderHeapDesc,riid,ppVideoDecoderHeap) )
|
||||
|
||||
#define ID3D12VideoDevice1_CreateVideoProcessor(This,NodeMask,pOutputStreamDesc,NumInputStreamDescs,pInputStreamDescs,riid,ppVideoProcessor) \
|
||||
( (This)->lpVtbl -> CreateVideoProcessor(This,NodeMask,pOutputStreamDesc,NumInputStreamDescs,pInputStreamDescs,riid,ppVideoProcessor) )
|
||||
|
||||
|
||||
#define ID3D12VideoDevice1_CreateVideoMotionEstimator(This,pDesc,pProtectedResourceSession,riid,ppVideoMotionEstimator) \
|
||||
( (This)->lpVtbl -> CreateVideoMotionEstimator(This,pDesc,pProtectedResourceSession,riid,ppVideoMotionEstimator) )
|
||||
|
||||
#define ID3D12VideoDevice1_CreateVideoMotionVectorHeap(This,pDesc,pProtectedResourceSession,riid,ppVideoMotionVectorHeap) \
|
||||
( (This)->lpVtbl -> CreateVideoMotionVectorHeap(This,pDesc,pProtectedResourceSession,riid,ppVideoMotionVectorHeap) )
|
||||
|
||||
#endif /* COBJMACROS */
|
||||
|
||||
|
||||
#endif /* C style interface */
|
||||
|
||||
|
||||
|
||||
|
||||
#endif /* __ID3D12VideoDevice1_INTERFACE_DEFINED__ */
|
||||
|
||||
|
||||
/* interface __MIDL_itf_d3d12video_0000_0011 */
|
||||
/* [local] */
|
||||
|
||||
typedef struct D3D12_RESOURCE_COORDINATE
|
||||
{
|
||||
UINT64 X;
|
||||
UINT Y;
|
||||
UINT Z;
|
||||
UINT SubresourceIndex;
|
||||
} D3D12_RESOURCE_COORDINATE;
|
||||
|
||||
typedef struct D3D12_VIDEO_MOTION_ESTIMATOR_OUTPUT
|
||||
{
|
||||
ID3D12VideoMotionVectorHeap *pMotionVectorHeap;
|
||||
} D3D12_VIDEO_MOTION_ESTIMATOR_OUTPUT;
|
||||
|
||||
typedef struct D3D12_VIDEO_MOTION_ESTIMATOR_INPUT
|
||||
{
|
||||
ID3D12Resource *pInputTexture2D;
|
||||
UINT InputSubresourceIndex;
|
||||
ID3D12Resource *pReferenceTexture2D;
|
||||
UINT ReferenceSubresourceIndex;
|
||||
ID3D12VideoMotionVectorHeap *pHintMotionVectorHeap;
|
||||
} D3D12_VIDEO_MOTION_ESTIMATOR_INPUT;
|
||||
|
||||
typedef struct D3D12_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_OUTPUT
|
||||
{
|
||||
ID3D12Resource *pMotionVectorTexture2D;
|
||||
D3D12_RESOURCE_COORDINATE MotionVectorCoordinate;
|
||||
} D3D12_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_OUTPUT;
|
||||
|
||||
typedef struct D3D12_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_INPUT
|
||||
{
|
||||
ID3D12VideoMotionVectorHeap *pMotionVectorHeap;
|
||||
UINT PixelWidth;
|
||||
UINT PixelHeight;
|
||||
} D3D12_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_INPUT;
|
||||
|
||||
|
||||
|
||||
extern RPC_IF_HANDLE __MIDL_itf_d3d12video_0000_0011_v0_0_c_ifspec;
|
||||
extern RPC_IF_HANDLE __MIDL_itf_d3d12video_0000_0011_v0_0_s_ifspec;
|
||||
|
||||
#ifndef __ID3D12VideoEncodeCommandList_INTERFACE_DEFINED__
|
||||
#define __ID3D12VideoEncodeCommandList_INTERFACE_DEFINED__
|
||||
|
||||
/* interface ID3D12VideoEncodeCommandList */
|
||||
/* [unique][local][object][uuid] */
|
||||
|
||||
|
||||
EXTERN_C const IID IID_ID3D12VideoEncodeCommandList;
|
||||
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
|
||||
MIDL_INTERFACE("8455293A-0CBD-4831-9B39-FBDBAB724723")
|
||||
ID3D12VideoEncodeCommandList : public ID3D12CommandList
|
||||
{
|
||||
public:
|
||||
virtual HRESULT STDMETHODCALLTYPE Close( void) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE Reset(
|
||||
_In_ ID3D12CommandAllocator *pAllocator) = 0;
|
||||
|
||||
virtual void STDMETHODCALLTYPE ClearState( void) = 0;
|
||||
|
||||
virtual void STDMETHODCALLTYPE ResourceBarrier(
|
||||
_In_ UINT NumBarriers,
|
||||
_In_reads_(NumBarriers) const D3D12_RESOURCE_BARRIER *pBarriers) = 0;
|
||||
|
||||
virtual void STDMETHODCALLTYPE DiscardResource(
|
||||
_In_ ID3D12Resource *pResource,
|
||||
_In_opt_ const D3D12_DISCARD_REGION *pRegion) = 0;
|
||||
|
||||
virtual void STDMETHODCALLTYPE BeginQuery(
|
||||
_In_ ID3D12QueryHeap *pQueryHeap,
|
||||
_In_ D3D12_QUERY_TYPE Type,
|
||||
_In_ UINT Index) = 0;
|
||||
|
||||
virtual void STDMETHODCALLTYPE EndQuery(
|
||||
_In_ ID3D12QueryHeap *pQueryHeap,
|
||||
_In_ D3D12_QUERY_TYPE Type,
|
||||
_In_ UINT Index) = 0;
|
||||
|
||||
virtual void STDMETHODCALLTYPE ResolveQueryData(
|
||||
_In_ ID3D12QueryHeap *pQueryHeap,
|
||||
_In_ D3D12_QUERY_TYPE Type,
|
||||
_In_ UINT StartIndex,
|
||||
_In_ UINT NumQueries,
|
||||
_In_ ID3D12Resource *pDestinationBuffer,
|
||||
_In_ UINT64 AlignedDestinationBufferOffset) = 0;
|
||||
|
||||
virtual void STDMETHODCALLTYPE SetPredication(
|
||||
_In_opt_ ID3D12Resource *pBuffer,
|
||||
_In_ UINT64 AlignedBufferOffset,
|
||||
_In_ D3D12_PREDICATION_OP Operation) = 0;
|
||||
|
||||
virtual void STDMETHODCALLTYPE SetMarker(
|
||||
UINT Metadata,
|
||||
_In_reads_bytes_opt_(Size) const void *pData,
|
||||
UINT Size) = 0;
|
||||
|
||||
virtual void STDMETHODCALLTYPE BeginEvent(
|
||||
UINT Metadata,
|
||||
_In_reads_bytes_opt_(Size) const void *pData,
|
||||
UINT Size) = 0;
|
||||
|
||||
virtual void STDMETHODCALLTYPE EndEvent( void) = 0;
|
||||
|
||||
virtual void STDMETHODCALLTYPE EstimateMotion(
|
||||
_In_ ID3D12VideoMotionEstimator *pMotionEstimator,
|
||||
_In_ const D3D12_VIDEO_MOTION_ESTIMATOR_OUTPUT *pOutputArguments,
|
||||
_In_ const D3D12_VIDEO_MOTION_ESTIMATOR_INPUT *pInputArguments) = 0;
|
||||
|
||||
virtual void STDMETHODCALLTYPE ResolveMotionVectorHeap(
|
||||
const D3D12_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_OUTPUT *pOutputArguments,
|
||||
const D3D12_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_INPUT *pInputArguments) = 0;
|
||||
|
||||
virtual void STDMETHODCALLTYPE WriteBufferImmediate(
|
||||
UINT Count,
|
||||
_In_reads_(Count) const D3D12_WRITEBUFFERIMMEDIATE_PARAMETER *pParams,
|
||||
_In_reads_opt_(Count) const D3D12_WRITEBUFFERIMMEDIATE_MODE *pModes) = 0;
|
||||
|
||||
virtual void STDMETHODCALLTYPE SetProtectedResourceSession(
|
||||
_In_opt_ ID3D12ProtectedResourceSession *pProtectedResourceSession) = 0;
|
||||
|
||||
};
|
||||
|
||||
|
||||
#else /* C style interface */
|
||||
|
||||
typedef struct ID3D12VideoEncodeCommandListVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
ID3D12VideoEncodeCommandList * This,
|
||||
REFIID riid,
|
||||
_COM_Outptr_ void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
ID3D12VideoEncodeCommandList * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
ID3D12VideoEncodeCommandList * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
|
||||
ID3D12VideoEncodeCommandList * This,
|
||||
_In_ REFGUID guid,
|
||||
_Inout_ UINT *pDataSize,
|
||||
_Out_writes_bytes_opt_( *pDataSize ) void *pData);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
|
||||
ID3D12VideoEncodeCommandList * This,
|
||||
_In_ REFGUID guid,
|
||||
_In_ UINT DataSize,
|
||||
_In_reads_bytes_opt_( DataSize ) const void *pData);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
|
||||
ID3D12VideoEncodeCommandList * This,
|
||||
_In_ REFGUID guid,
|
||||
_In_opt_ const IUnknown *pData);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetName )(
|
||||
ID3D12VideoEncodeCommandList * This,
|
||||
_In_z_ LPCWSTR Name);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetDevice )(
|
||||
ID3D12VideoEncodeCommandList * This,
|
||||
REFIID riid,
|
||||
_COM_Outptr_opt_ void **ppvDevice);
|
||||
|
||||
D3D12_COMMAND_LIST_TYPE ( STDMETHODCALLTYPE *GetType )(
|
||||
ID3D12VideoEncodeCommandList * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *Close )(
|
||||
ID3D12VideoEncodeCommandList * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *Reset )(
|
||||
ID3D12VideoEncodeCommandList * This,
|
||||
_In_ ID3D12CommandAllocator *pAllocator);
|
||||
|
||||
void ( STDMETHODCALLTYPE *ClearState )(
|
||||
ID3D12VideoEncodeCommandList * This);
|
||||
|
||||
void ( STDMETHODCALLTYPE *ResourceBarrier )(
|
||||
ID3D12VideoEncodeCommandList * This,
|
||||
_In_ UINT NumBarriers,
|
||||
_In_reads_(NumBarriers) const D3D12_RESOURCE_BARRIER *pBarriers);
|
||||
|
||||
void ( STDMETHODCALLTYPE *DiscardResource )(
|
||||
ID3D12VideoEncodeCommandList * This,
|
||||
_In_ ID3D12Resource *pResource,
|
||||
_In_opt_ const D3D12_DISCARD_REGION *pRegion);
|
||||
|
||||
void ( STDMETHODCALLTYPE *BeginQuery )(
|
||||
ID3D12VideoEncodeCommandList * This,
|
||||
_In_ ID3D12QueryHeap *pQueryHeap,
|
||||
_In_ D3D12_QUERY_TYPE Type,
|
||||
_In_ UINT Index);
|
||||
|
||||
void ( STDMETHODCALLTYPE *EndQuery )(
|
||||
ID3D12VideoEncodeCommandList * This,
|
||||
_In_ ID3D12QueryHeap *pQueryHeap,
|
||||
_In_ D3D12_QUERY_TYPE Type,
|
||||
_In_ UINT Index);
|
||||
|
||||
void ( STDMETHODCALLTYPE *ResolveQueryData )(
|
||||
ID3D12VideoEncodeCommandList * This,
|
||||
_In_ ID3D12QueryHeap *pQueryHeap,
|
||||
_In_ D3D12_QUERY_TYPE Type,
|
||||
_In_ UINT StartIndex,
|
||||
_In_ UINT NumQueries,
|
||||
_In_ ID3D12Resource *pDestinationBuffer,
|
||||
_In_ UINT64 AlignedDestinationBufferOffset);
|
||||
|
||||
void ( STDMETHODCALLTYPE *SetPredication )(
|
||||
ID3D12VideoEncodeCommandList * This,
|
||||
_In_opt_ ID3D12Resource *pBuffer,
|
||||
_In_ UINT64 AlignedBufferOffset,
|
||||
_In_ D3D12_PREDICATION_OP Operation);
|
||||
|
||||
void ( STDMETHODCALLTYPE *SetMarker )(
|
||||
ID3D12VideoEncodeCommandList * This,
|
||||
UINT Metadata,
|
||||
_In_reads_bytes_opt_(Size) const void *pData,
|
||||
UINT Size);
|
||||
|
||||
void ( STDMETHODCALLTYPE *BeginEvent )(
|
||||
ID3D12VideoEncodeCommandList * This,
|
||||
UINT Metadata,
|
||||
_In_reads_bytes_opt_(Size) const void *pData,
|
||||
UINT Size);
|
||||
|
||||
void ( STDMETHODCALLTYPE *EndEvent )(
|
||||
ID3D12VideoEncodeCommandList * This);
|
||||
|
||||
void ( STDMETHODCALLTYPE *EstimateMotion )(
|
||||
ID3D12VideoEncodeCommandList * This,
|
||||
_In_ ID3D12VideoMotionEstimator *pMotionEstimator,
|
||||
_In_ const D3D12_VIDEO_MOTION_ESTIMATOR_OUTPUT *pOutputArguments,
|
||||
_In_ const D3D12_VIDEO_MOTION_ESTIMATOR_INPUT *pInputArguments);
|
||||
|
||||
void ( STDMETHODCALLTYPE *ResolveMotionVectorHeap )(
|
||||
ID3D12VideoEncodeCommandList * This,
|
||||
const D3D12_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_OUTPUT *pOutputArguments,
|
||||
const D3D12_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_INPUT *pInputArguments);
|
||||
|
||||
void ( STDMETHODCALLTYPE *WriteBufferImmediate )(
|
||||
ID3D12VideoEncodeCommandList * This,
|
||||
UINT Count,
|
||||
_In_reads_(Count) const D3D12_WRITEBUFFERIMMEDIATE_PARAMETER *pParams,
|
||||
_In_reads_opt_(Count) const D3D12_WRITEBUFFERIMMEDIATE_MODE *pModes);
|
||||
|
||||
void ( STDMETHODCALLTYPE *SetProtectedResourceSession )(
|
||||
ID3D12VideoEncodeCommandList * This,
|
||||
_In_opt_ ID3D12ProtectedResourceSession *pProtectedResourceSession);
|
||||
|
||||
END_INTERFACE
|
||||
} ID3D12VideoEncodeCommandListVtbl;
|
||||
|
||||
interface ID3D12VideoEncodeCommandList
|
||||
{
|
||||
CONST_VTBL struct ID3D12VideoEncodeCommandListVtbl *lpVtbl;
|
||||
};
|
||||
|
||||
|
||||
|
||||
#ifdef COBJMACROS
|
||||
|
||||
|
||||
#define ID3D12VideoEncodeCommandList_QueryInterface(This,riid,ppvObject) \
|
||||
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
|
||||
|
||||
#define ID3D12VideoEncodeCommandList_AddRef(This) \
|
||||
( (This)->lpVtbl -> AddRef(This) )
|
||||
|
||||
#define ID3D12VideoEncodeCommandList_Release(This) \
|
||||
( (This)->lpVtbl -> Release(This) )
|
||||
|
||||
|
||||
#define ID3D12VideoEncodeCommandList_GetPrivateData(This,guid,pDataSize,pData) \
|
||||
( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
|
||||
|
||||
#define ID3D12VideoEncodeCommandList_SetPrivateData(This,guid,DataSize,pData) \
|
||||
( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
|
||||
|
||||
#define ID3D12VideoEncodeCommandList_SetPrivateDataInterface(This,guid,pData) \
|
||||
( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
|
||||
|
||||
#define ID3D12VideoEncodeCommandList_SetName(This,Name) \
|
||||
( (This)->lpVtbl -> SetName(This,Name) )
|
||||
|
||||
|
||||
#define ID3D12VideoEncodeCommandList_GetDevice(This,riid,ppvDevice) \
|
||||
( (This)->lpVtbl -> GetDevice(This,riid,ppvDevice) )
|
||||
|
||||
|
||||
#define ID3D12VideoEncodeCommandList_GetType(This) \
|
||||
( (This)->lpVtbl -> GetType(This) )
|
||||
|
||||
|
||||
#define ID3D12VideoEncodeCommandList_Close(This) \
|
||||
( (This)->lpVtbl -> Close(This) )
|
||||
|
||||
#define ID3D12VideoEncodeCommandList_Reset(This,pAllocator) \
|
||||
( (This)->lpVtbl -> Reset(This,pAllocator) )
|
||||
|
||||
#define ID3D12VideoEncodeCommandList_ClearState(This) \
|
||||
( (This)->lpVtbl -> ClearState(This) )
|
||||
|
||||
#define ID3D12VideoEncodeCommandList_ResourceBarrier(This,NumBarriers,pBarriers) \
|
||||
( (This)->lpVtbl -> ResourceBarrier(This,NumBarriers,pBarriers) )
|
||||
|
||||
#define ID3D12VideoEncodeCommandList_DiscardResource(This,pResource,pRegion) \
|
||||
( (This)->lpVtbl -> DiscardResource(This,pResource,pRegion) )
|
||||
|
||||
#define ID3D12VideoEncodeCommandList_BeginQuery(This,pQueryHeap,Type,Index) \
|
||||
( (This)->lpVtbl -> BeginQuery(This,pQueryHeap,Type,Index) )
|
||||
|
||||
#define ID3D12VideoEncodeCommandList_EndQuery(This,pQueryHeap,Type,Index) \
|
||||
( (This)->lpVtbl -> EndQuery(This,pQueryHeap,Type,Index) )
|
||||
|
||||
#define ID3D12VideoEncodeCommandList_ResolveQueryData(This,pQueryHeap,Type,StartIndex,NumQueries,pDestinationBuffer,AlignedDestinationBufferOffset) \
|
||||
( (This)->lpVtbl -> ResolveQueryData(This,pQueryHeap,Type,StartIndex,NumQueries,pDestinationBuffer,AlignedDestinationBufferOffset) )
|
||||
|
||||
#define ID3D12VideoEncodeCommandList_SetPredication(This,pBuffer,AlignedBufferOffset,Operation) \
|
||||
( (This)->lpVtbl -> SetPredication(This,pBuffer,AlignedBufferOffset,Operation) )
|
||||
|
||||
#define ID3D12VideoEncodeCommandList_SetMarker(This,Metadata,pData,Size) \
|
||||
( (This)->lpVtbl -> SetMarker(This,Metadata,pData,Size) )
|
||||
|
||||
#define ID3D12VideoEncodeCommandList_BeginEvent(This,Metadata,pData,Size) \
|
||||
( (This)->lpVtbl -> BeginEvent(This,Metadata,pData,Size) )
|
||||
|
||||
#define ID3D12VideoEncodeCommandList_EndEvent(This) \
|
||||
( (This)->lpVtbl -> EndEvent(This) )
|
||||
|
||||
#define ID3D12VideoEncodeCommandList_EstimateMotion(This,pMotionEstimator,pOutputArguments,pInputArguments) \
|
||||
( (This)->lpVtbl -> EstimateMotion(This,pMotionEstimator,pOutputArguments,pInputArguments) )
|
||||
|
||||
#define ID3D12VideoEncodeCommandList_ResolveMotionVectorHeap(This,pOutputArguments,pInputArguments) \
|
||||
( (This)->lpVtbl -> ResolveMotionVectorHeap(This,pOutputArguments,pInputArguments) )
|
||||
|
||||
#define ID3D12VideoEncodeCommandList_WriteBufferImmediate(This,Count,pParams,pModes) \
|
||||
( (This)->lpVtbl -> WriteBufferImmediate(This,Count,pParams,pModes) )
|
||||
|
||||
#define ID3D12VideoEncodeCommandList_SetProtectedResourceSession(This,pProtectedResourceSession) \
|
||||
( (This)->lpVtbl -> SetProtectedResourceSession(This,pProtectedResourceSession) )
|
||||
|
||||
#endif /* COBJMACROS */
|
||||
|
||||
|
||||
#endif /* C style interface */
|
||||
|
||||
|
||||
|
||||
|
||||
#endif /* __ID3D12VideoEncodeCommandList_INTERFACE_DEFINED__ */
|
||||
|
||||
|
||||
/* interface __MIDL_itf_d3d12video_0000_0012 */
|
||||
/* [local] */
|
||||
|
||||
DEFINE_GUID(D3D12_VIDEO_DECODE_PROFILE_MPEG2, 0xee27417f, 0x5e28, 0x4e65, 0xbe, 0xea, 0x1d, 0x26, 0xb5, 0x08, 0xad, 0xc9);
|
||||
DEFINE_GUID(D3D12_VIDEO_DECODE_PROFILE_MPEG1_AND_MPEG2, 0x86695f12, 0x340e, 0x4f04, 0x9f, 0xd3, 0x92, 0x53, 0xdd, 0x32, 0x74, 0x60);
|
||||
DEFINE_GUID(D3D12_VIDEO_DECODE_PROFILE_H264, 0x1b81be68, 0xa0c7, 0x11d3, 0xb9, 0x84, 0x00, 0xc0, 0x4f, 0x2e, 0x73, 0xc5);
|
||||
@@ -2424,8 +3322,6 @@ DEFINE_GUID(D3D12_VIDEO_DECODE_PROFILE_HEVC_MAIN10, 0x107af0e0, 0xef1a, 0x4d19,
|
||||
DEFINE_GUID(D3D12_VIDEO_DECODE_PROFILE_VP9, 0x463707f8, 0xa1d0, 0x4585, 0x87, 0x6d, 0x83, 0xaa, 0x6d, 0x60, 0xb8, 0x9e);
|
||||
DEFINE_GUID(D3D12_VIDEO_DECODE_PROFILE_VP9_10BIT_PROFILE2, 0xa4c749ef, 0x6ecf, 0x48aa, 0x84, 0x48, 0x50, 0xa7, 0xa1, 0x16, 0x5f, 0xf7);
|
||||
DEFINE_GUID(D3D12_VIDEO_DECODE_PROFILE_VP8, 0x90b899ea, 0x3a62, 0x4705, 0x88, 0xb3, 0x8d, 0xf0, 0x4b, 0x27, 0x44, 0xe7);
|
||||
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) */
|
||||
// BK - pragma endregion
|
||||
DEFINE_GUID(IID_ID3D12VideoDecoderHeap,0x0946B7C9,0xEBF6,0x4047,0xBB,0x73,0x86,0x83,0xE2,0x7D,0xBB,0x1F);
|
||||
DEFINE_GUID(IID_ID3D12VideoDevice,0x1F052807,0x0B46,0x4ACC,0x8A,0x89,0x36,0x4F,0x79,0x37,0x18,0xA4);
|
||||
DEFINE_GUID(IID_ID3D12VideoDecoder,0xC59B6BDC,0x7720,0x4074,0xA1,0x36,0x17,0xA1,0x56,0x03,0x74,0x70);
|
||||
@@ -2434,10 +3330,14 @@ DEFINE_GUID(IID_ID3D12VideoDecodeCommandList,0x3B60536E,0xAD29,0x4E64,0xA2,0x69,
|
||||
DEFINE_GUID(IID_ID3D12VideoProcessCommandList,0xAEB2543A,0x167F,0x4682,0xAC,0xC8,0xD1,0x59,0xED,0x4A,0x62,0x09);
|
||||
DEFINE_GUID(IID_ID3D12VideoDecodeCommandList1,0xD52F011B,0xB56E,0x453C,0xA0,0x5A,0xA7,0xF3,0x11,0xC8,0xF4,0x72);
|
||||
DEFINE_GUID(IID_ID3D12VideoProcessCommandList1,0x542C5C4D,0x7596,0x434F,0x8C,0x93,0x4E,0xFA,0x67,0x66,0xF2,0x67);
|
||||
DEFINE_GUID(IID_ID3D12VideoMotionEstimator,0x33FDAE0E,0x098B,0x428F,0x87,0xBB,0x34,0xB6,0x95,0xDE,0x08,0xF8);
|
||||
DEFINE_GUID(IID_ID3D12VideoMotionVectorHeap,0x5BE17987,0x743A,0x4061,0x83,0x4B,0x23,0xD2,0x2D,0xAE,0xA5,0x05);
|
||||
DEFINE_GUID(IID_ID3D12VideoDevice1,0x981611AD,0xA144,0x4C83,0x98,0x90,0xF3,0x0E,0x26,0xD6,0x58,0xAB);
|
||||
DEFINE_GUID(IID_ID3D12VideoEncodeCommandList,0x8455293A,0x0CBD,0x4831,0x9B,0x39,0xFB,0xDB,0xAB,0x72,0x47,0x23);
|
||||
|
||||
|
||||
extern RPC_IF_HANDLE __MIDL_itf_d3d12video_0000_0008_v0_0_c_ifspec;
|
||||
extern RPC_IF_HANDLE __MIDL_itf_d3d12video_0000_0008_v0_0_s_ifspec;
|
||||
extern RPC_IF_HANDLE __MIDL_itf_d3d12video_0000_0012_v0_0_c_ifspec;
|
||||
extern RPC_IF_HANDLE __MIDL_itf_d3d12video_0000_0012_v0_0_s_ifspec;
|
||||
|
||||
/* Additional Prototypes for ALL interfaces */
|
||||
|
||||
|
||||
9
3rdparty/dxsdk/include/dxgi1_2.h
vendored
9
3rdparty/dxsdk/include/dxgi1_2.h
vendored
@@ -113,9 +113,6 @@ extern "C"{
|
||||
/* interface __MIDL_itf_dxgi1_2_0000_0000 */
|
||||
/* [local] */
|
||||
|
||||
#include <winapifamily.h>
|
||||
// BK - pragma region Desktop Family
|
||||
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
|
||||
|
||||
|
||||
extern RPC_IF_HANDLE __MIDL_itf_dxgi1_2_0000_0000_v0_0_c_ifspec;
|
||||
@@ -506,10 +503,6 @@ EXTERN_C const IID IID_IDXGIOutputDuplication;
|
||||
/* interface __MIDL_itf_dxgi1_2_0000_0002 */
|
||||
/* [local] */
|
||||
|
||||
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
|
||||
// BK - pragma endregion
|
||||
// BK - pragma region App Family
|
||||
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
|
||||
typedef
|
||||
enum DXGI_ALPHA_MODE
|
||||
{
|
||||
@@ -2446,8 +2439,6 @@ EXTERN_C const IID IID_IDXGIOutput1;
|
||||
/* interface __MIDL_itf_dxgi1_2_0000_0009 */
|
||||
/* [local] */
|
||||
|
||||
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) */
|
||||
// BK - pragma endregion
|
||||
DEFINE_GUID(IID_IDXGIDisplayControl,0xea9dbf1a,0xc88e,0x4486,0x85,0x4a,0x98,0xaa,0x01,0x38,0xf3,0x0c);
|
||||
DEFINE_GUID(IID_IDXGIOutputDuplication,0x191cfac3,0xa341,0x470d,0xb2,0x6e,0xa8,0x64,0xf4,0x28,0x31,0x9c);
|
||||
DEFINE_GUID(IID_IDXGISurface2,0xaba496dd,0xb617,0x4cb8,0xa8,0x66,0xbc,0x44,0xd7,0xeb,0x1f,0xa2);
|
||||
|
||||
13
3rdparty/dxsdk/include/dxgi1_3.h
vendored
13
3rdparty/dxsdk/include/dxgi1_3.h
vendored
@@ -106,9 +106,6 @@ extern "C"{
|
||||
/* interface __MIDL_itf_dxgi1_3_0000_0000 */
|
||||
/* [local] */
|
||||
|
||||
#include <winapifamily.h>
|
||||
// BK - pragma region App Family
|
||||
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
|
||||
#define DXGI_CREATE_FACTORY_DEBUG 0x1
|
||||
HRESULT WINAPI CreateDXGIFactory2(UINT Flags, REFIID riid, _COM_Outptr_ void **ppFactory);
|
||||
HRESULT WINAPI DXGIGetDebugInterface1(UINT Flags, REFIID riid, _COM_Outptr_ void **pDebug);
|
||||
@@ -1321,10 +1318,6 @@ EXTERN_C const IID IID_IDXGIFactory3;
|
||||
/* interface __MIDL_itf_dxgi1_3_0000_0004 */
|
||||
/* [local] */
|
||||
|
||||
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) */
|
||||
// BK - pragma endregion
|
||||
// BK - pragma region App Family
|
||||
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
|
||||
typedef struct DXGI_DECODE_SWAP_CHAIN_DESC
|
||||
{
|
||||
UINT Flags;
|
||||
@@ -1795,10 +1788,6 @@ enum DXGI_OVERLAY_SUPPORT_FLAG
|
||||
DXGI_OVERLAY_SUPPORT_FLAG_SCALING = 0x2
|
||||
} DXGI_OVERLAY_SUPPORT_FLAG;
|
||||
|
||||
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
|
||||
// BK - pragma endregion
|
||||
// BK - pragma region App Family
|
||||
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
|
||||
|
||||
|
||||
extern RPC_IF_HANDLE __MIDL_itf_dxgi1_3_0000_0007_v0_0_c_ifspec;
|
||||
@@ -2093,8 +2082,6 @@ EXTERN_C const IID IID_IDXGIOutput3;
|
||||
/* interface __MIDL_itf_dxgi1_3_0000_0008 */
|
||||
/* [local] */
|
||||
|
||||
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) */
|
||||
// BK - pragma endregion
|
||||
DEFINE_GUID(IID_IDXGIDevice3,0x6007896c,0x3244,0x4afd,0xbf,0x18,0xa6,0xd3,0xbe,0xda,0x50,0x23);
|
||||
DEFINE_GUID(IID_IDXGISwapChain2,0xa8be2ac4,0x199f,0x4946,0xb3,0x31,0x79,0x59,0x9f,0xb9,0x8d,0xe7);
|
||||
DEFINE_GUID(IID_IDXGIOutput2,0x595e39d1,0x2724,0x4663,0x99,0xb1,0xda,0x96,0x9d,0xe2,0x83,0x64);
|
||||
|
||||
5
3rdparty/dxsdk/include/dxgi1_4.h
vendored
5
3rdparty/dxsdk/include/dxgi1_4.h
vendored
@@ -78,9 +78,6 @@ extern "C"{
|
||||
/* interface __MIDL_itf_dxgi1_4_0000_0000 */
|
||||
/* [local] */
|
||||
|
||||
#include <winapifamily.h>
|
||||
// BK - pragma region App Family
|
||||
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
|
||||
typedef
|
||||
enum DXGI_SWAP_CHAIN_COLOR_SPACE_SUPPORT_FLAG
|
||||
{
|
||||
@@ -1470,8 +1467,6 @@ EXTERN_C const IID IID_IDXGIAdapter3;
|
||||
/* interface __MIDL_itf_dxgi1_4_0000_0004 */
|
||||
/* [local] */
|
||||
|
||||
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) */
|
||||
// BK - pragma endregion
|
||||
DEFINE_GUID(IID_IDXGISwapChain3,0x94d99bdb,0xf1f8,0x4ab0,0xb2,0x36,0x7d,0xa0,0x17,0x0e,0xda,0xb1);
|
||||
DEFINE_GUID(IID_IDXGIOutput4,0xdc7dca35,0x2196,0x414d,0x9F,0x53,0x61,0x78,0x84,0x03,0x2a,0x60);
|
||||
DEFINE_GUID(IID_IDXGIFactory4,0x1bc6ea02,0xef36,0x464f,0xbf,0x0c,0x21,0xca,0x39,0xe5,0x16,0x8a);
|
||||
|
||||
5
3rdparty/dxsdk/include/dxgi1_5.h
vendored
5
3rdparty/dxsdk/include/dxgi1_5.h
vendored
@@ -78,9 +78,6 @@ extern "C"{
|
||||
/* interface __MIDL_itf_dxgi1_5_0000_0000 */
|
||||
/* [local] */
|
||||
|
||||
#include <winapifamily.h>
|
||||
// BK - pragma region App Family
|
||||
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
|
||||
typedef
|
||||
enum DXGI_OUTDUPL_FLAG
|
||||
{
|
||||
@@ -1521,8 +1518,6 @@ EXTERN_C const IID IID_IDXGIFactory5;
|
||||
/* interface __MIDL_itf_dxgi1_5_0000_0004 */
|
||||
/* [local] */
|
||||
|
||||
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) */
|
||||
// BK - pragma endregion
|
||||
DEFINE_GUID(IID_IDXGIOutput5,0x80A07424,0xAB52,0x42EB,0x83,0x3C,0x0C,0x42,0xFD,0x28,0x2D,0x98);
|
||||
DEFINE_GUID(IID_IDXGISwapChain4,0x3D585D5A,0xBD4A,0x489E,0xB1,0xF4,0x3D,0xBC,0xB6,0x45,0x2F,0xFB);
|
||||
DEFINE_GUID(IID_IDXGIDevice4,0x95B4F95F,0xD8DA,0x4CA4,0x9E,0xE6,0x3B,0x76,0xD5,0x96,0x8A,0x10);
|
||||
|
||||
5
3rdparty/dxsdk/include/dxgi1_6.h
vendored
5
3rdparty/dxsdk/include/dxgi1_6.h
vendored
@@ -79,9 +79,6 @@ extern "C"{
|
||||
/* [local] */
|
||||
|
||||
// Copyright (c) Microsoft Corporation. All Rights Reserved
|
||||
#include <winapifamily.h>
|
||||
// BK - pragma region App Family
|
||||
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
|
||||
HRESULT WINAPI DXGIDeclareAdapterRemovalSupport();
|
||||
typedef
|
||||
enum DXGI_ADAPTER_FLAG3
|
||||
@@ -1492,8 +1489,6 @@ EXTERN_C const IID IID_IDXGIFactory7;
|
||||
/* interface __MIDL_itf_dxgi1_6_0000_0004 */
|
||||
/* [local] */
|
||||
|
||||
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) */
|
||||
// BK - pragma endregion
|
||||
DEFINE_GUID(IID_IDXGIAdapter4,0x3c8d99d1,0x4fbf,0x4181,0xa8,0x2c,0xaf,0x66,0xbf,0x7b,0xd2,0x4e);
|
||||
DEFINE_GUID(IID_IDXGIOutput6,0x068346e8,0xaaec,0x4b84,0xad,0xd7,0x13,0x7f,0x51,0x3f,0x77,0xa1);
|
||||
DEFINE_GUID(IID_IDXGIFactory6,0xc1b6694f,0xff09,0x44a9,0xb0,0x3c,0x77,0x90,0x0a,0x0a,0x1d,0x17);
|
||||
|
||||
5
3rdparty/dxsdk/include/dxgicommon.h
vendored
5
3rdparty/dxsdk/include/dxgicommon.h
vendored
@@ -44,6 +44,11 @@ typedef enum DXGI_COLOR_SPACE_TYPE
|
||||
DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P2020 = 17,
|
||||
DXGI_COLOR_SPACE_YCBCR_STUDIO_GHLG_TOPLEFT_P2020 = 18,
|
||||
DXGI_COLOR_SPACE_YCBCR_FULL_GHLG_TOPLEFT_P2020 = 19,
|
||||
DXGI_COLOR_SPACE_RGB_STUDIO_G24_NONE_P709 = 20,
|
||||
DXGI_COLOR_SPACE_RGB_STUDIO_G24_NONE_P2020 = 21,
|
||||
DXGI_COLOR_SPACE_YCBCR_STUDIO_G24_LEFT_P709 = 22,
|
||||
DXGI_COLOR_SPACE_YCBCR_STUDIO_G24_LEFT_P2020 = 23,
|
||||
DXGI_COLOR_SPACE_YCBCR_STUDIO_G24_TOPLEFT_P2020 = 24,
|
||||
DXGI_COLOR_SPACE_CUSTOM = 0xFFFFFFFF
|
||||
} DXGI_COLOR_SPACE_TYPE;
|
||||
|
||||
|
||||
24
3rdparty/dxsdk/include/dxgitype.h
vendored
24
3rdparty/dxsdk/include/dxgitype.h
vendored
@@ -11,30 +11,6 @@
|
||||
#define MAKE_DXGI_HRESULT(code) MAKE_HRESULT(1, _FACDXGI, code)
|
||||
#define MAKE_DXGI_STATUS(code) MAKE_HRESULT(0, _FACDXGI, code)
|
||||
|
||||
#if !defined(DXGI_ERROR_INVALID_CALL)
|
||||
# define DXGI_STATUS_OCCLUDED MAKE_DXGI_STATUS(1)
|
||||
# define DXGI_STATUS_CLIPPED MAKE_DXGI_STATUS(2)
|
||||
# define DXGI_STATUS_NO_REDIRECTION MAKE_DXGI_STATUS(4)
|
||||
# define DXGI_STATUS_NO_DESKTOP_ACCESS MAKE_DXGI_STATUS(5)
|
||||
# define DXGI_STATUS_GRAPHICS_VIDPN_SOURCE_IN_USE MAKE_DXGI_STATUS(6)
|
||||
# define DXGI_STATUS_MODE_CHANGED MAKE_DXGI_STATUS(7)
|
||||
# define DXGI_STATUS_MODE_CHANGE_IN_PROGRESS MAKE_DXGI_STATUS(8)
|
||||
# define DXGI_ERROR_INVALID_CALL MAKE_DXGI_HRESULT(1)
|
||||
# define DXGI_ERROR_NOT_FOUND MAKE_DXGI_HRESULT(2)
|
||||
# define DXGI_ERROR_MORE_DATA MAKE_DXGI_HRESULT(3)
|
||||
# define DXGI_ERROR_UNSUPPORTED MAKE_DXGI_HRESULT(4)
|
||||
# define DXGI_ERROR_DEVICE_REMOVED MAKE_DXGI_HRESULT(5)
|
||||
# define DXGI_ERROR_DEVICE_HUNG MAKE_DXGI_HRESULT(6)
|
||||
# define DXGI_ERROR_DEVICE_RESET MAKE_DXGI_HRESULT(7)
|
||||
# define DXGI_ERROR_WAS_STILL_DRAWING MAKE_DXGI_HRESULT(10)
|
||||
# define DXGI_ERROR_FRAME_STATISTICS_DISJOINT MAKE_DXGI_HRESULT(11)
|
||||
# define DXGI_ERROR_GRAPHICS_VIDPN_SOURCE_IN_USE MAKE_DXGI_HRESULT(12)
|
||||
# define DXGI_ERROR_DRIVER_INTERNAL_ERROR MAKE_DXGI_HRESULT(32)
|
||||
# define DXGI_ERROR_NONEXCLUSIVE MAKE_DXGI_HRESULT(33)
|
||||
# define DXGI_ERROR_NOT_CURRENTLY_AVAILABLE MAKE_DXGI_HRESULT(34)
|
||||
# define DXGI_ERROR_REMOTE_CLIENT_DISCONNECTED MAKE_DXGI_HRESULT(35)
|
||||
# define DXGI_ERROR_REMOTE_OUTOFMEMORY MAKE_DXGI_HRESULT(36)
|
||||
#endif // for MINGW , winerror.h doesn't define DXGI error.
|
||||
// DXGI error messages have moved to winerror.h
|
||||
|
||||
#define DXGI_CPU_ACCESS_NONE ( 0 )
|
||||
|
||||
Reference in New Issue
Block a user