Kaynağa Gözat

Windows 10.0.18362 SDK headers (#2159)

Бранимир Караџић 5 yıl önce
ebeveyn
işleme
2a748d68d4

+ 45 - 41
3rdparty/dxsdk/include/d3d11.h

@@ -1050,6 +1050,10 @@ extern "C"{
 #define _D3D11_2_CONSTANTS
 #define _D3D11_2_CONSTANTS
 #define	D3D11_2_TILED_RESOURCE_TILE_SIZE_IN_BYTES	( 65536 )
 #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
 #endif
 #define	_FACD3D11	( 0x87c )
 #define	_FACD3D11	( 0x87c )
 
 
@@ -1289,8 +1293,7 @@ typedef RECT D3D11_RECT;
 }
 }
 struct CD3D11_RECT : public D3D11_RECT
 struct CD3D11_RECT : public D3D11_RECT
 {
 {
-    CD3D11_RECT()
-    {}
+    CD3D11_RECT() = default;
     explicit CD3D11_RECT( const D3D11_RECT& o ) :
     explicit CD3D11_RECT( const D3D11_RECT& o ) :
         D3D11_RECT( o )
         D3D11_RECT( o )
     {}
     {}
@@ -1331,8 +1334,7 @@ typedef struct D3D11_BOX
 }
 }
 struct CD3D11_BOX : public D3D11_BOX
 struct CD3D11_BOX : public D3D11_BOX
 {
 {
-    CD3D11_BOX()
-    {}
+    CD3D11_BOX() = default;
     explicit CD3D11_BOX( const D3D11_BOX& o ) :
     explicit CD3D11_BOX( const D3D11_BOX& o ) :
         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
 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 ) :
     explicit CD3D11_DEPTH_STENCIL_DESC( const D3D11_DEPTH_STENCIL_DESC& o ) :
         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
 struct CD3D11_BLEND_DESC : public D3D11_BLEND_DESC
 {
 {
-    CD3D11_BLEND_DESC()
-    {}
+    CD3D11_BLEND_DESC() = default;
     explicit CD3D11_BLEND_DESC( const D3D11_BLEND_DESC& o ) :
     explicit CD3D11_BLEND_DESC( const D3D11_BLEND_DESC& o ) :
         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
 struct CD3D11_RASTERIZER_DESC : public D3D11_RASTERIZER_DESC
 {
 {
-    CD3D11_RASTERIZER_DESC()
-    {}
+    CD3D11_RASTERIZER_DESC() = default;
     explicit CD3D11_RASTERIZER_DESC( const D3D11_RASTERIZER_DESC& o ) :
     explicit CD3D11_RASTERIZER_DESC( const D3D11_RASTERIZER_DESC& o ) :
         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
 struct CD3D11_BUFFER_DESC : public D3D11_BUFFER_DESC
 {
 {
-    CD3D11_BUFFER_DESC()
-    {}
+    CD3D11_BUFFER_DESC() = default;
     explicit CD3D11_BUFFER_DESC( const D3D11_BUFFER_DESC& o ) :
     explicit CD3D11_BUFFER_DESC( const D3D11_BUFFER_DESC& o ) :
         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
 struct CD3D11_TEXTURE1D_DESC : public D3D11_TEXTURE1D_DESC
 {
 {
-    CD3D11_TEXTURE1D_DESC()
-    {}
+    CD3D11_TEXTURE1D_DESC() = default;
     explicit CD3D11_TEXTURE1D_DESC( const D3D11_TEXTURE1D_DESC& o ) :
     explicit CD3D11_TEXTURE1D_DESC( const D3D11_TEXTURE1D_DESC& o ) :
         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
 struct CD3D11_TEXTURE2D_DESC : public D3D11_TEXTURE2D_DESC
 {
 {
-    CD3D11_TEXTURE2D_DESC()
-    {}
+    CD3D11_TEXTURE2D_DESC() = default;
     explicit CD3D11_TEXTURE2D_DESC( const D3D11_TEXTURE2D_DESC& o ) :
     explicit CD3D11_TEXTURE2D_DESC( const D3D11_TEXTURE2D_DESC& o ) :
         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
 struct CD3D11_TEXTURE3D_DESC : public D3D11_TEXTURE3D_DESC
 {
 {
-    CD3D11_TEXTURE3D_DESC()
-    {}
+    CD3D11_TEXTURE3D_DESC() = default;
     explicit CD3D11_TEXTURE3D_DESC( const D3D11_TEXTURE3D_DESC& o ) :
     explicit CD3D11_TEXTURE3D_DESC( const D3D11_TEXTURE3D_DESC& o ) :
         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
 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 ) :
     explicit CD3D11_SHADER_RESOURCE_VIEW_DESC( const D3D11_SHADER_RESOURCE_VIEW_DESC& o ) :
         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
 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 ) :
     explicit CD3D11_RENDER_TARGET_VIEW_DESC( const D3D11_RENDER_TARGET_VIEW_DESC& o ) :
         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
 struct CD3D11_VIEWPORT : public D3D11_VIEWPORT
 {
 {
-    CD3D11_VIEWPORT()
-    {}
+    CD3D11_VIEWPORT() = default;
     explicit CD3D11_VIEWPORT( const D3D11_VIEWPORT& o ) :
     explicit CD3D11_VIEWPORT( const D3D11_VIEWPORT& o ) :
         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
 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 ) :
     explicit CD3D11_DEPTH_STENCIL_VIEW_DESC( const D3D11_DEPTH_STENCIL_VIEW_DESC& o ) :
         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
 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 ) :
     explicit CD3D11_UNORDERED_ACCESS_VIEW_DESC( const D3D11_UNORDERED_ACCESS_VIEW_DESC& o ) :
         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
 struct CD3D11_SAMPLER_DESC : public D3D11_SAMPLER_DESC
 {
 {
-    CD3D11_SAMPLER_DESC()
-    {}
+    CD3D11_SAMPLER_DESC() = default;
     explicit CD3D11_SAMPLER_DESC( const D3D11_SAMPLER_DESC& o ) :
     explicit CD3D11_SAMPLER_DESC( const D3D11_SAMPLER_DESC& o ) :
         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
 struct CD3D11_QUERY_DESC : public D3D11_QUERY_DESC
 {
 {
-    CD3D11_QUERY_DESC()
-    {}
+    CD3D11_QUERY_DESC() = default;
     explicit CD3D11_QUERY_DESC( const D3D11_QUERY_DESC& o ) :
     explicit CD3D11_QUERY_DESC( const D3D11_QUERY_DESC& o ) :
         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
 struct CD3D11_COUNTER_DESC : public D3D11_COUNTER_DESC
 {
 {
-    CD3D11_COUNTER_DESC()
-    {}
+    CD3D11_COUNTER_DESC() = default;
     explicit CD3D11_COUNTER_DESC( const D3D11_COUNTER_DESC& o ) :
     explicit CD3D11_COUNTER_DESC( const D3D11_COUNTER_DESC& o ) :
         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_D3D11_OPTIONS3	= ( D3D11_FEATURE_D3D11_OPTIONS2 + 1 ) ,
         D3D11_FEATURE_GPU_VIRTUAL_ADDRESS_SUPPORT	= ( D3D11_FEATURE_D3D11_OPTIONS3 + 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_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;
     } 	D3D11_FEATURE;
 
 
 typedef struct D3D11_FEATURE_DATA_THREADING
 typedef struct D3D11_FEATURE_DATA_THREADING
@@ -7478,6 +7466,19 @@ typedef struct D3D11_FEATURE_DATA_SHADER_CACHE
     UINT SupportFlags;
     UINT SupportFlags;
     } 	D3D11_FEATURE_DATA_SHADER_CACHE;
     } 	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;
 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_PROTECT_UNCOMPRESSED	= 0x800,
         D3D11_CONTENT_PROTECTION_CAPS_HARDWARE_PROTECTED_MEMORY_PAGEABLE	= 0x1000,
         D3D11_CONTENT_PROTECTION_CAPS_HARDWARE_PROTECTED_MEMORY_PAGEABLE	= 0x1000,
         D3D11_CONTENT_PROTECTION_CAPS_HARDWARE_TEARDOWN	= 0x2000,
         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;
     } 	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_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_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);
 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
 typedef struct D3D11_VIDEO_CONTENT_PROTECTION_CAPS
     {
     {
@@ -14400,11 +14404,11 @@ enum D3D11_CREATE_DEVICE_FLAG
 #if !defined( D3D11_IGNORE_SDK_LAYERS ) 
 #if !defined( D3D11_IGNORE_SDK_LAYERS ) 
 #include "d3d11sdklayers.h" 
 #include "d3d11sdklayers.h" 
 #endif 
 #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
 // D3D11CreateDevice

+ 2 - 4
3rdparty/dxsdk/include/d3d11_1.h

@@ -183,8 +183,7 @@ typedef struct D3D11_BLEND_DESC1
 }
 }
 struct CD3D11_BLEND_DESC1 : public 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 ) :
     explicit CD3D11_BLEND_DESC1( const D3D11_BLEND_DESC1& o ) :
         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
 struct CD3D11_RASTERIZER_DESC1 : public D3D11_RASTERIZER_DESC1
 {
 {
-    CD3D11_RASTERIZER_DESC1()
-    {}
+    CD3D11_RASTERIZER_DESC1() = default;
     explicit CD3D11_RASTERIZER_DESC1( const D3D11_RASTERIZER_DESC1& o ) :
     explicit CD3D11_RASTERIZER_DESC1( const D3D11_RASTERIZER_DESC1& o ) :
         D3D11_RASTERIZER_DESC1( o )
         D3D11_RASTERIZER_DESC1( o )
     {}
     {}

+ 10 - 16
3rdparty/dxsdk/include/d3d11_3.h

@@ -180,8 +180,7 @@ typedef struct D3D11_TEXTURE2D_DESC1
 }
 }
 struct CD3D11_TEXTURE2D_DESC1 : public 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 ) :
     explicit CD3D11_TEXTURE2D_DESC1( const D3D11_TEXTURE2D_DESC1& o ) :
         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
 struct CD3D11_TEXTURE3D_DESC1 : public D3D11_TEXTURE3D_DESC1
 {
 {
-    CD3D11_TEXTURE3D_DESC1()
-    {}
+    CD3D11_TEXTURE3D_DESC1() = default;
     explicit CD3D11_TEXTURE3D_DESC1( const D3D11_TEXTURE3D_DESC1& o ) :
     explicit CD3D11_TEXTURE3D_DESC1( const D3D11_TEXTURE3D_DESC1& o ) :
         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
 struct CD3D11_RASTERIZER_DESC2 : public D3D11_RASTERIZER_DESC2
 {
 {
-    CD3D11_RASTERIZER_DESC2()
-    {}
+    CD3D11_RASTERIZER_DESC2() = default;
     explicit CD3D11_RASTERIZER_DESC2( const D3D11_RASTERIZER_DESC2& o ) :
     explicit CD3D11_RASTERIZER_DESC2( const D3D11_RASTERIZER_DESC2& o ) :
         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
 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 ) :
     explicit CD3D11_SHADER_RESOURCE_VIEW_DESC1( const D3D11_SHADER_RESOURCE_VIEW_DESC1& o ) :
         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
 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 ) :
     explicit CD3D11_RENDER_TARGET_VIEW_DESC1( const D3D11_RENDER_TARGET_VIEW_DESC1& o ) :
         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
 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 ) :
     explicit CD3D11_UNORDERED_ACCESS_VIEW_DESC1( const D3D11_UNORDERED_ACCESS_VIEW_DESC1& o ) :
         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
 struct CD3D11_QUERY_DESC1 : public D3D11_QUERY_DESC1
 {
 {
-    CD3D11_QUERY_DESC1()
-    {}
+    CD3D11_QUERY_DESC1() = default;
     explicit CD3D11_QUERY_DESC1( const D3D11_QUERY_DESC1& o ) :
     explicit CD3D11_QUERY_DESC1( const D3D11_QUERY_DESC1& o ) :
         D3D11_QUERY_DESC1( o )
         D3D11_QUERY_DESC1( o )
     {}
     {}
@@ -2125,9 +2118,10 @@ EXTERN_C const IID IID_ID3D11Query1;
 typedef 
 typedef 
 enum D3D11_FENCE_FLAG
 enum D3D11_FENCE_FLAG
     {
     {
-        D3D11_FENCE_FLAG_NONE	= 0x1,
+        D3D11_FENCE_FLAG_NONE	= 0,
         D3D11_FENCE_FLAG_SHARED	= 0x2,
         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;
     } 	D3D11_FENCE_FLAG;
 
 
 DEFINE_ENUM_FLAG_OPERATORS(D3D11_FENCE_FLAG);
 DEFINE_ENUM_FLAG_OPERATORS(D3D11_FENCE_FLAG);

+ 1673 - 7
3rdparty/dxsdk/include/d3d11_4.h

@@ -72,6 +72,20 @@ typedef interface ID3D11VideoContext2 ID3D11VideoContext2;
 #endif 	/* __ID3D11VideoContext2_FWD_DEFINED__ */
 #endif 	/* __ID3D11VideoContext2_FWD_DEFINED__ */
 
 
 
 
+#ifndef __ID3D11VideoDevice2_FWD_DEFINED__
+#define __ID3D11VideoDevice2_FWD_DEFINED__
+typedef interface ID3D11VideoDevice2 ID3D11VideoDevice2;
+
+#endif 	/* __ID3D11VideoDevice2_FWD_DEFINED__ */
+
+
+#ifndef __ID3D11VideoContext3_FWD_DEFINED__
+#define __ID3D11VideoContext3_FWD_DEFINED__
+typedef interface ID3D11VideoContext3 ID3D11VideoContext3;
+
+#endif 	/* __ID3D11VideoContext3_FWD_DEFINED__ */
+
+
 /* header files for imported files */
 /* header files for imported files */
 #include "oaidl.h"
 #include "oaidl.h"
 #include "ocidl.h"
 #include "ocidl.h"
@@ -3066,20 +3080,1672 @@ EXTERN_C const IID IID_ID3D11VideoContext2;
 /* interface __MIDL_itf_d3d11_4_0000_0004 */
 /* interface __MIDL_itf_d3d11_4_0000_0004 */
 /* [local] */ 
 /* [local] */ 
 
 
-typedef struct D3D11_FEATURE_DATA_D3D11_OPTIONS4
+typedef 
+enum D3D11_FEATURE_VIDEO
     {
     {
-    BOOL ExtendedNV12SharedTextureSupported;
-    } 	D3D11_FEATURE_DATA_D3D11_OPTIONS4;
+        D3D11_FEATURE_VIDEO_DECODER_HISTOGRAM	= 0
+    } 	D3D11_FEATURE_VIDEO;
 
 
-DEFINE_GUID(IID_ID3D11Device4,0x8992ab71,0x02e6,0x4b8d,0xba,0x48,0xb0,0x56,0xdc,0xda,0x42,0xc4);
-DEFINE_GUID(IID_ID3D11Device5,0x8ffde202,0xa0e7,0x45df,0x9e,0x01,0xe8,0x37,0x80,0x1b,0x5e,0xa0);
-DEFINE_GUID(IID_ID3D11Multithread,0x9B7E4E00,0x342C,0x4106,0xA1,0x9F,0x4F,0x27,0x04,0xF6,0x89,0xF0);
-DEFINE_GUID(IID_ID3D11VideoContext2,0xC4E7374C,0x6243,0x4D1B,0xAE,0x87,0x52,0xB4,0xF7,0x40,0xE2,0x61);
+typedef 
+enum D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT
+    {
+        D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_Y	= 0,
+        D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_U	= 1,
+        D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_V	= 2,
+        D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_R	= 0,
+        D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_G	= 1,
+        D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_B	= 2,
+        D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_A	= 3
+    } 	D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT;
+
+typedef 
+enum D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAGS
+    {
+        D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAG_NONE	= 0,
+        D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAG_Y	= ( 1 << D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_Y ) ,
+        D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAG_U	= ( 1 << D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_U ) ,
+        D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAG_V	= ( 1 << D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_V ) ,
+        D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAG_R	= ( 1 << D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_R ) ,
+        D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAG_G	= ( 1 << D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_G ) ,
+        D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAG_B	= ( 1 << D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_B ) ,
+        D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAG_A	= ( 1 << D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_A ) 
+    } 	D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAGS;
+
+DEFINE_ENUM_FLAG_OPERATORS(D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAGS );
+typedef struct D3D11_FEATURE_DATA_VIDEO_DECODER_HISTOGRAM
+    {
+    D3D11_VIDEO_DECODER_DESC DecoderDesc;
+    D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAGS Components;
+    UINT BinCount;
+    UINT CounterBitDepth;
+    } 	D3D11_FEATURE_DATA_VIDEO_DECODER_HISTOGRAM;
+
+typedef 
+enum D3D11_CRYPTO_SESSION_KEY_EXCHANGE_FLAGS
+    {
+        D3D11_CRYPTO_SESSION_KEY_EXCHANGE_FLAG_NONE	= 0
+    } 	D3D11_CRYPTO_SESSION_KEY_EXCHANGE_FLAGS;
+
+DEFINE_ENUM_FLAG_OPERATORS(D3D11_CRYPTO_SESSION_KEY_EXCHANGE_FLAGS );
 
 
 
 
 extern RPC_IF_HANDLE __MIDL_itf_d3d11_4_0000_0004_v0_0_c_ifspec;
 extern RPC_IF_HANDLE __MIDL_itf_d3d11_4_0000_0004_v0_0_c_ifspec;
 extern RPC_IF_HANDLE __MIDL_itf_d3d11_4_0000_0004_v0_0_s_ifspec;
 extern RPC_IF_HANDLE __MIDL_itf_d3d11_4_0000_0004_v0_0_s_ifspec;
 
 
+#ifndef __ID3D11VideoDevice2_INTERFACE_DEFINED__
+#define __ID3D11VideoDevice2_INTERFACE_DEFINED__
+
+/* interface ID3D11VideoDevice2 */
+/* [unique][local][object][uuid] */ 
+
+
+EXTERN_C const IID IID_ID3D11VideoDevice2;
+
+#if defined(__cplusplus) && !defined(CINTERFACE)
+    
+    MIDL_INTERFACE("59C0CB01-35F0-4A70-8F67-87905C906A53")
+    ID3D11VideoDevice2 : public ID3D11VideoDevice1
+    {
+    public:
+        virtual HRESULT STDMETHODCALLTYPE CheckFeatureSupport( 
+            D3D11_FEATURE_VIDEO Feature,
+            /* [annotation] */ 
+            _Out_writes_bytes_(FeatureSupportDataSize)  void *pFeatureSupportData,
+            UINT FeatureSupportDataSize) = 0;
+        
+        virtual HRESULT STDMETHODCALLTYPE NegotiateCryptoSessionKeyExchangeMT( 
+            /* [annotation] */ 
+            _In_  ID3D11CryptoSession *pCryptoSession,
+            /* [annotation] */ 
+            _In_  D3D11_CRYPTO_SESSION_KEY_EXCHANGE_FLAGS flags,
+            /* [annotation] */ 
+            _In_  UINT DataSize,
+            /* [annotation] */ 
+            _Inout_updates_bytes_(DataSize)  void *pData) = 0;
+        
+    };
+    
+    
+#else 	/* C style interface */
+
+    typedef struct ID3D11VideoDevice2Vtbl
+    {
+        BEGIN_INTERFACE
+        
+        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
+            ID3D11VideoDevice2 * This,
+            /* [in] */ REFIID riid,
+            /* [annotation][iid_is][out] */ 
+            _COM_Outptr_  void **ppvObject);
+        
+        ULONG ( STDMETHODCALLTYPE *AddRef )( 
+            ID3D11VideoDevice2 * This);
+        
+        ULONG ( STDMETHODCALLTYPE *Release )( 
+            ID3D11VideoDevice2 * This);
+        
+        HRESULT ( STDMETHODCALLTYPE *CreateVideoDecoder )( 
+            ID3D11VideoDevice2 * This,
+            /* [annotation] */ 
+            _In_  const D3D11_VIDEO_DECODER_DESC *pVideoDesc,
+            /* [annotation] */ 
+            _In_  const D3D11_VIDEO_DECODER_CONFIG *pConfig,
+            /* [annotation] */ 
+            _COM_Outptr_  ID3D11VideoDecoder **ppDecoder);
+        
+        HRESULT ( STDMETHODCALLTYPE *CreateVideoProcessor )( 
+            ID3D11VideoDevice2 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessorEnumerator *pEnum,
+            /* [annotation] */ 
+            _In_  UINT RateConversionIndex,
+            /* [annotation] */ 
+            _COM_Outptr_  ID3D11VideoProcessor **ppVideoProcessor);
+        
+        HRESULT ( STDMETHODCALLTYPE *CreateAuthenticatedChannel )( 
+            ID3D11VideoDevice2 * This,
+            /* [annotation] */ 
+            _In_  D3D11_AUTHENTICATED_CHANNEL_TYPE ChannelType,
+            /* [annotation] */ 
+            _COM_Outptr_  ID3D11AuthenticatedChannel **ppAuthenticatedChannel);
+        
+        HRESULT ( STDMETHODCALLTYPE *CreateCryptoSession )( 
+            ID3D11VideoDevice2 * This,
+            /* [annotation] */ 
+            _In_  const GUID *pCryptoType,
+            /* [annotation] */ 
+            _In_opt_  const GUID *pDecoderProfile,
+            /* [annotation] */ 
+            _In_  const GUID *pKeyExchangeType,
+            /* [annotation] */ 
+            _COM_Outptr_  ID3D11CryptoSession **ppCryptoSession);
+        
+        HRESULT ( STDMETHODCALLTYPE *CreateVideoDecoderOutputView )( 
+            ID3D11VideoDevice2 * This,
+            /* [annotation] */ 
+            _In_  ID3D11Resource *pResource,
+            /* [annotation] */ 
+            _In_  const D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC *pDesc,
+            /* [annotation] */ 
+            _COM_Outptr_opt_  ID3D11VideoDecoderOutputView **ppVDOVView);
+        
+        HRESULT ( STDMETHODCALLTYPE *CreateVideoProcessorInputView )( 
+            ID3D11VideoDevice2 * This,
+            /* [annotation] */ 
+            _In_  ID3D11Resource *pResource,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessorEnumerator *pEnum,
+            /* [annotation] */ 
+            _In_  const D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC *pDesc,
+            /* [annotation] */ 
+            _COM_Outptr_opt_  ID3D11VideoProcessorInputView **ppVPIView);
+        
+        HRESULT ( STDMETHODCALLTYPE *CreateVideoProcessorOutputView )( 
+            ID3D11VideoDevice2 * This,
+            /* [annotation] */ 
+            _In_  ID3D11Resource *pResource,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessorEnumerator *pEnum,
+            /* [annotation] */ 
+            _In_  const D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC *pDesc,
+            /* [annotation] */ 
+            _COM_Outptr_opt_  ID3D11VideoProcessorOutputView **ppVPOView);
+        
+        HRESULT ( STDMETHODCALLTYPE *CreateVideoProcessorEnumerator )( 
+            ID3D11VideoDevice2 * This,
+            /* [annotation] */ 
+            _In_  const D3D11_VIDEO_PROCESSOR_CONTENT_DESC *pDesc,
+            /* [annotation] */ 
+            _COM_Outptr_  ID3D11VideoProcessorEnumerator **ppEnum);
+        
+        UINT ( STDMETHODCALLTYPE *GetVideoDecoderProfileCount )( 
+            ID3D11VideoDevice2 * This);
+        
+        HRESULT ( STDMETHODCALLTYPE *GetVideoDecoderProfile )( 
+            ID3D11VideoDevice2 * This,
+            /* [annotation] */ 
+            _In_  UINT Index,
+            /* [annotation] */ 
+            _Out_  GUID *pDecoderProfile);
+        
+        HRESULT ( STDMETHODCALLTYPE *CheckVideoDecoderFormat )( 
+            ID3D11VideoDevice2 * This,
+            /* [annotation] */ 
+            _In_  const GUID *pDecoderProfile,
+            /* [annotation] */ 
+            _In_  DXGI_FORMAT Format,
+            /* [annotation] */ 
+            _Out_  BOOL *pSupported);
+        
+        HRESULT ( STDMETHODCALLTYPE *GetVideoDecoderConfigCount )( 
+            ID3D11VideoDevice2 * This,
+            /* [annotation] */ 
+            _In_  const D3D11_VIDEO_DECODER_DESC *pDesc,
+            /* [annotation] */ 
+            _Out_  UINT *pCount);
+        
+        HRESULT ( STDMETHODCALLTYPE *GetVideoDecoderConfig )( 
+            ID3D11VideoDevice2 * This,
+            /* [annotation] */ 
+            _In_  const D3D11_VIDEO_DECODER_DESC *pDesc,
+            /* [annotation] */ 
+            _In_  UINT Index,
+            /* [annotation] */ 
+            _Out_  D3D11_VIDEO_DECODER_CONFIG *pConfig);
+        
+        HRESULT ( STDMETHODCALLTYPE *GetContentProtectionCaps )( 
+            ID3D11VideoDevice2 * This,
+            /* [annotation] */ 
+            _In_opt_  const GUID *pCryptoType,
+            /* [annotation] */ 
+            _In_opt_  const GUID *pDecoderProfile,
+            /* [annotation] */ 
+            _Out_  D3D11_VIDEO_CONTENT_PROTECTION_CAPS *pCaps);
+        
+        HRESULT ( STDMETHODCALLTYPE *CheckCryptoKeyExchange )( 
+            ID3D11VideoDevice2 * This,
+            /* [annotation] */ 
+            _In_  const GUID *pCryptoType,
+            /* [annotation] */ 
+            _In_opt_  const GUID *pDecoderProfile,
+            /* [annotation] */ 
+            _In_  UINT Index,
+            /* [annotation] */ 
+            _Out_  GUID *pKeyExchangeType);
+        
+        HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( 
+            ID3D11VideoDevice2 * This,
+            /* [annotation] */ 
+            _In_  REFGUID guid,
+            /* [annotation] */ 
+            _In_  UINT DataSize,
+            /* [annotation] */ 
+            _In_reads_bytes_opt_(DataSize)  const void *pData);
+        
+        HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( 
+            ID3D11VideoDevice2 * This,
+            /* [annotation] */ 
+            _In_  REFGUID guid,
+            /* [annotation] */ 
+            _In_opt_  const IUnknown *pData);
+        
+        HRESULT ( STDMETHODCALLTYPE *GetCryptoSessionPrivateDataSize )( 
+            ID3D11VideoDevice2 * This,
+            /* [annotation] */ 
+            _In_  const GUID *pCryptoType,
+            /* [annotation] */ 
+            _In_opt_  const GUID *pDecoderProfile,
+            /* [annotation] */ 
+            _In_  const GUID *pKeyExchangeType,
+            /* [annotation] */ 
+            _Out_  UINT *pPrivateInputSize,
+            /* [annotation] */ 
+            _Out_  UINT *pPrivateOutputSize);
+        
+        HRESULT ( STDMETHODCALLTYPE *GetVideoDecoderCaps )( 
+            ID3D11VideoDevice2 * This,
+            /* [annotation] */ 
+            _In_  const GUID *pDecoderProfile,
+            /* [annotation] */ 
+            _In_  UINT SampleWidth,
+            /* [annotation] */ 
+            _In_  UINT SampleHeight,
+            /* [annotation] */ 
+            _In_  const DXGI_RATIONAL *pFrameRate,
+            /* [annotation] */ 
+            _In_  UINT BitRate,
+            /* [annotation] */ 
+            _In_opt_  const GUID *pCryptoType,
+            /* [annotation] */ 
+            _Out_  UINT *pDecoderCaps);
+        
+        HRESULT ( STDMETHODCALLTYPE *CheckVideoDecoderDownsampling )( 
+            ID3D11VideoDevice2 * This,
+            /* [annotation] */ 
+            _In_  const D3D11_VIDEO_DECODER_DESC *pInputDesc,
+            /* [annotation] */ 
+            _In_  DXGI_COLOR_SPACE_TYPE InputColorSpace,
+            /* [annotation] */ 
+            _In_  const D3D11_VIDEO_DECODER_CONFIG *pInputConfig,
+            /* [annotation] */ 
+            _In_  const DXGI_RATIONAL *pFrameRate,
+            /* [annotation] */ 
+            _In_  const D3D11_VIDEO_SAMPLE_DESC *pOutputDesc,
+            /* [annotation] */ 
+            _Out_  BOOL *pSupported,
+            /* [annotation] */ 
+            _Out_  BOOL *pRealTimeHint);
+        
+        HRESULT ( STDMETHODCALLTYPE *RecommendVideoDecoderDownsampleParameters )( 
+            ID3D11VideoDevice2 * This,
+            /* [annotation] */ 
+            _In_  const D3D11_VIDEO_DECODER_DESC *pInputDesc,
+            /* [annotation] */ 
+            _In_  DXGI_COLOR_SPACE_TYPE InputColorSpace,
+            /* [annotation] */ 
+            _In_  const D3D11_VIDEO_DECODER_CONFIG *pInputConfig,
+            /* [annotation] */ 
+            _In_  const DXGI_RATIONAL *pFrameRate,
+            /* [annotation] */ 
+            _Out_  D3D11_VIDEO_SAMPLE_DESC *pRecommendedOutputDesc);
+        
+        HRESULT ( STDMETHODCALLTYPE *CheckFeatureSupport )( 
+            ID3D11VideoDevice2 * This,
+            D3D11_FEATURE_VIDEO Feature,
+            /* [annotation] */ 
+            _Out_writes_bytes_(FeatureSupportDataSize)  void *pFeatureSupportData,
+            UINT FeatureSupportDataSize);
+        
+        HRESULT ( STDMETHODCALLTYPE *NegotiateCryptoSessionKeyExchangeMT )( 
+            ID3D11VideoDevice2 * This,
+            /* [annotation] */ 
+            _In_  ID3D11CryptoSession *pCryptoSession,
+            /* [annotation] */ 
+            _In_  D3D11_CRYPTO_SESSION_KEY_EXCHANGE_FLAGS flags,
+            /* [annotation] */ 
+            _In_  UINT DataSize,
+            /* [annotation] */ 
+            _Inout_updates_bytes_(DataSize)  void *pData);
+        
+        END_INTERFACE
+    } ID3D11VideoDevice2Vtbl;
+
+    interface ID3D11VideoDevice2
+    {
+        CONST_VTBL struct ID3D11VideoDevice2Vtbl *lpVtbl;
+    };
+
+    
+
+#ifdef COBJMACROS
+
+
+#define ID3D11VideoDevice2_QueryInterface(This,riid,ppvObject)	\
+    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
+
+#define ID3D11VideoDevice2_AddRef(This)	\
+    ( (This)->lpVtbl -> AddRef(This) ) 
+
+#define ID3D11VideoDevice2_Release(This)	\
+    ( (This)->lpVtbl -> Release(This) ) 
+
+
+#define ID3D11VideoDevice2_CreateVideoDecoder(This,pVideoDesc,pConfig,ppDecoder)	\
+    ( (This)->lpVtbl -> CreateVideoDecoder(This,pVideoDesc,pConfig,ppDecoder) ) 
+
+#define ID3D11VideoDevice2_CreateVideoProcessor(This,pEnum,RateConversionIndex,ppVideoProcessor)	\
+    ( (This)->lpVtbl -> CreateVideoProcessor(This,pEnum,RateConversionIndex,ppVideoProcessor) ) 
+
+#define ID3D11VideoDevice2_CreateAuthenticatedChannel(This,ChannelType,ppAuthenticatedChannel)	\
+    ( (This)->lpVtbl -> CreateAuthenticatedChannel(This,ChannelType,ppAuthenticatedChannel) ) 
+
+#define ID3D11VideoDevice2_CreateCryptoSession(This,pCryptoType,pDecoderProfile,pKeyExchangeType,ppCryptoSession)	\
+    ( (This)->lpVtbl -> CreateCryptoSession(This,pCryptoType,pDecoderProfile,pKeyExchangeType,ppCryptoSession) ) 
+
+#define ID3D11VideoDevice2_CreateVideoDecoderOutputView(This,pResource,pDesc,ppVDOVView)	\
+    ( (This)->lpVtbl -> CreateVideoDecoderOutputView(This,pResource,pDesc,ppVDOVView) ) 
+
+#define ID3D11VideoDevice2_CreateVideoProcessorInputView(This,pResource,pEnum,pDesc,ppVPIView)	\
+    ( (This)->lpVtbl -> CreateVideoProcessorInputView(This,pResource,pEnum,pDesc,ppVPIView) ) 
+
+#define ID3D11VideoDevice2_CreateVideoProcessorOutputView(This,pResource,pEnum,pDesc,ppVPOView)	\
+    ( (This)->lpVtbl -> CreateVideoProcessorOutputView(This,pResource,pEnum,pDesc,ppVPOView) ) 
+
+#define ID3D11VideoDevice2_CreateVideoProcessorEnumerator(This,pDesc,ppEnum)	\
+    ( (This)->lpVtbl -> CreateVideoProcessorEnumerator(This,pDesc,ppEnum) ) 
+
+#define ID3D11VideoDevice2_GetVideoDecoderProfileCount(This)	\
+    ( (This)->lpVtbl -> GetVideoDecoderProfileCount(This) ) 
+
+#define ID3D11VideoDevice2_GetVideoDecoderProfile(This,Index,pDecoderProfile)	\
+    ( (This)->lpVtbl -> GetVideoDecoderProfile(This,Index,pDecoderProfile) ) 
+
+#define ID3D11VideoDevice2_CheckVideoDecoderFormat(This,pDecoderProfile,Format,pSupported)	\
+    ( (This)->lpVtbl -> CheckVideoDecoderFormat(This,pDecoderProfile,Format,pSupported) ) 
+
+#define ID3D11VideoDevice2_GetVideoDecoderConfigCount(This,pDesc,pCount)	\
+    ( (This)->lpVtbl -> GetVideoDecoderConfigCount(This,pDesc,pCount) ) 
+
+#define ID3D11VideoDevice2_GetVideoDecoderConfig(This,pDesc,Index,pConfig)	\
+    ( (This)->lpVtbl -> GetVideoDecoderConfig(This,pDesc,Index,pConfig) ) 
+
+#define ID3D11VideoDevice2_GetContentProtectionCaps(This,pCryptoType,pDecoderProfile,pCaps)	\
+    ( (This)->lpVtbl -> GetContentProtectionCaps(This,pCryptoType,pDecoderProfile,pCaps) ) 
+
+#define ID3D11VideoDevice2_CheckCryptoKeyExchange(This,pCryptoType,pDecoderProfile,Index,pKeyExchangeType)	\
+    ( (This)->lpVtbl -> CheckCryptoKeyExchange(This,pCryptoType,pDecoderProfile,Index,pKeyExchangeType) ) 
+
+#define ID3D11VideoDevice2_SetPrivateData(This,guid,DataSize,pData)	\
+    ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) ) 
+
+#define ID3D11VideoDevice2_SetPrivateDataInterface(This,guid,pData)	\
+    ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) ) 
+
+
+#define ID3D11VideoDevice2_GetCryptoSessionPrivateDataSize(This,pCryptoType,pDecoderProfile,pKeyExchangeType,pPrivateInputSize,pPrivateOutputSize)	\
+    ( (This)->lpVtbl -> GetCryptoSessionPrivateDataSize(This,pCryptoType,pDecoderProfile,pKeyExchangeType,pPrivateInputSize,pPrivateOutputSize) ) 
+
+#define ID3D11VideoDevice2_GetVideoDecoderCaps(This,pDecoderProfile,SampleWidth,SampleHeight,pFrameRate,BitRate,pCryptoType,pDecoderCaps)	\
+    ( (This)->lpVtbl -> GetVideoDecoderCaps(This,pDecoderProfile,SampleWidth,SampleHeight,pFrameRate,BitRate,pCryptoType,pDecoderCaps) ) 
+
+#define ID3D11VideoDevice2_CheckVideoDecoderDownsampling(This,pInputDesc,InputColorSpace,pInputConfig,pFrameRate,pOutputDesc,pSupported,pRealTimeHint)	\
+    ( (This)->lpVtbl -> CheckVideoDecoderDownsampling(This,pInputDesc,InputColorSpace,pInputConfig,pFrameRate,pOutputDesc,pSupported,pRealTimeHint) ) 
+
+#define ID3D11VideoDevice2_RecommendVideoDecoderDownsampleParameters(This,pInputDesc,InputColorSpace,pInputConfig,pFrameRate,pRecommendedOutputDesc)	\
+    ( (This)->lpVtbl -> RecommendVideoDecoderDownsampleParameters(This,pInputDesc,InputColorSpace,pInputConfig,pFrameRate,pRecommendedOutputDesc) ) 
+
+
+#define ID3D11VideoDevice2_CheckFeatureSupport(This,Feature,pFeatureSupportData,FeatureSupportDataSize)	\
+    ( (This)->lpVtbl -> CheckFeatureSupport(This,Feature,pFeatureSupportData,FeatureSupportDataSize) ) 
+
+#define ID3D11VideoDevice2_NegotiateCryptoSessionKeyExchangeMT(This,pCryptoSession,flags,DataSize,pData)	\
+    ( (This)->lpVtbl -> NegotiateCryptoSessionKeyExchangeMT(This,pCryptoSession,flags,DataSize,pData) ) 
+
+#endif /* COBJMACROS */
+
+
+#endif 	/* C style interface */
+
+
+
+
+#endif 	/* __ID3D11VideoDevice2_INTERFACE_DEFINED__ */
+
+
+/* interface __MIDL_itf_d3d11_4_0000_0005 */
+/* [local] */ 
+
+typedef struct D3D11_VIDEO_DECODER_BUFFER_DESC2
+    {
+    D3D11_VIDEO_DECODER_BUFFER_TYPE BufferType;
+    UINT DataOffset;
+    UINT DataSize;
+    /* [annotation] */ 
+    _Field_size_opt_(IVSize)  void *pIV;
+    UINT IVSize;
+    /* [annotation] */ 
+    _Field_size_opt_(SubSampleMappingCount)  D3D11_VIDEO_DECODER_SUB_SAMPLE_MAPPING_BLOCK *pSubSampleMappingBlock;
+    UINT SubSampleMappingCount;
+    UINT cBlocksStripeEncrypted;
+    UINT cBlocksStripeClear;
+    } 	D3D11_VIDEO_DECODER_BUFFER_DESC2;
+
+
+
+extern RPC_IF_HANDLE __MIDL_itf_d3d11_4_0000_0005_v0_0_c_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_d3d11_4_0000_0005_v0_0_s_ifspec;
+
+#ifndef __ID3D11VideoContext3_INTERFACE_DEFINED__
+#define __ID3D11VideoContext3_INTERFACE_DEFINED__
+
+/* interface ID3D11VideoContext3 */
+/* [unique][local][object][uuid] */ 
+
+
+EXTERN_C const IID IID_ID3D11VideoContext3;
+
+#if defined(__cplusplus) && !defined(CINTERFACE)
+    
+    MIDL_INTERFACE("A9E2FAA0-CB39-418F-A0B7-D8AAD4DE672E")
+    ID3D11VideoContext3 : public ID3D11VideoContext2
+    {
+    public:
+        virtual HRESULT STDMETHODCALLTYPE DecoderBeginFrame1( 
+            /* [annotation] */ 
+            _In_  ID3D11VideoDecoder *pDecoder,
+            /* [annotation] */ 
+            _In_  ID3D11VideoDecoderOutputView *pView,
+            UINT ContentKeySize,
+            /* [annotation] */ 
+            _In_reads_bytes_opt_(ContentKeySize)  const void *pContentKey,
+            /* [annotation] */ 
+            _In_range_(0, D3D11_4_VIDEO_DECODER_MAX_HISTOGRAM_COMPONENTS)  UINT NumComponentHistograms,
+            /* [annotation] */ 
+            _In_reads_opt_(NumComponentHistograms)  const UINT *pHistogramOffsets,
+            /* [annotation] */ 
+            _In_reads_opt_(NumComponentHistograms)  ID3D11Buffer *const *ppHistogramBuffers) = 0;
+        
+        virtual HRESULT STDMETHODCALLTYPE SubmitDecoderBuffers2( 
+            /* [annotation] */ 
+            _In_  ID3D11VideoDecoder *pDecoder,
+            /* [annotation] */ 
+            _In_  UINT NumBuffers,
+            /* [annotation] */ 
+            _In_reads_(NumBuffers)  const D3D11_VIDEO_DECODER_BUFFER_DESC2 *pBufferDesc) = 0;
+        
+    };
+    
+    
+#else 	/* C style interface */
+
+    typedef struct ID3D11VideoContext3Vtbl
+    {
+        BEGIN_INTERFACE
+        
+        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
+            ID3D11VideoContext3 * This,
+            /* [in] */ REFIID riid,
+            /* [annotation][iid_is][out] */ 
+            _COM_Outptr_  void **ppvObject);
+        
+        ULONG ( STDMETHODCALLTYPE *AddRef )( 
+            ID3D11VideoContext3 * This);
+        
+        ULONG ( STDMETHODCALLTYPE *Release )( 
+            ID3D11VideoContext3 * This);
+        
+        void ( STDMETHODCALLTYPE *GetDevice )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _Outptr_  ID3D11Device **ppDevice);
+        
+        HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  REFGUID guid,
+            /* [annotation] */ 
+            _Inout_  UINT *pDataSize,
+            /* [annotation] */ 
+            _Out_writes_bytes_opt_( *pDataSize )  void *pData);
+        
+        HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  REFGUID guid,
+            /* [annotation] */ 
+            _In_  UINT DataSize,
+            /* [annotation] */ 
+            _In_reads_bytes_opt_( DataSize )  const void *pData);
+        
+        HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  REFGUID guid,
+            /* [annotation] */ 
+            _In_opt_  const IUnknown *pData);
+        
+        HRESULT ( STDMETHODCALLTYPE *GetDecoderBuffer )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoDecoder *pDecoder,
+            D3D11_VIDEO_DECODER_BUFFER_TYPE Type,
+            /* [annotation] */ 
+            _Out_  UINT *pBufferSize,
+            /* [annotation] */ 
+            _Outptr_result_bytebuffer_(*pBufferSize)  void **ppBuffer);
+        
+        HRESULT ( STDMETHODCALLTYPE *ReleaseDecoderBuffer )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoDecoder *pDecoder,
+            /* [annotation] */ 
+            _In_  D3D11_VIDEO_DECODER_BUFFER_TYPE Type);
+        
+        HRESULT ( STDMETHODCALLTYPE *DecoderBeginFrame )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoDecoder *pDecoder,
+            /* [annotation] */ 
+            _In_  ID3D11VideoDecoderOutputView *pView,
+            UINT ContentKeySize,
+            /* [annotation] */ 
+            _In_reads_bytes_opt_(ContentKeySize)  const void *pContentKey);
+        
+        HRESULT ( STDMETHODCALLTYPE *DecoderEndFrame )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoDecoder *pDecoder);
+        
+        HRESULT ( STDMETHODCALLTYPE *SubmitDecoderBuffers )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoDecoder *pDecoder,
+            /* [annotation] */ 
+            _In_  UINT NumBuffers,
+            /* [annotation] */ 
+            _In_reads_(NumBuffers)  const D3D11_VIDEO_DECODER_BUFFER_DESC *pBufferDesc);
+        
+        APP_DEPRECATED_HRESULT ( STDMETHODCALLTYPE *DecoderExtension )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoDecoder *pDecoder,
+            /* [annotation] */ 
+            _In_  const D3D11_VIDEO_DECODER_EXTENSION *pExtensionData);
+        
+        void ( STDMETHODCALLTYPE *VideoProcessorSetOutputTargetRect )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _In_  BOOL Enable,
+            /* [annotation] */ 
+            _In_opt_  const RECT *pRect);
+        
+        void ( STDMETHODCALLTYPE *VideoProcessorSetOutputBackgroundColor )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _In_  BOOL YCbCr,
+            /* [annotation] */ 
+            _In_  const D3D11_VIDEO_COLOR *pColor);
+        
+        void ( STDMETHODCALLTYPE *VideoProcessorSetOutputColorSpace )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _In_  const D3D11_VIDEO_PROCESSOR_COLOR_SPACE *pColorSpace);
+        
+        void ( STDMETHODCALLTYPE *VideoProcessorSetOutputAlphaFillMode )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _In_  D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE AlphaFillMode,
+            /* [annotation] */ 
+            _In_  UINT StreamIndex);
+        
+        void ( STDMETHODCALLTYPE *VideoProcessorSetOutputConstriction )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _In_  BOOL Enable,
+            /* [annotation] */ 
+            _In_  SIZE Size);
+        
+        void ( STDMETHODCALLTYPE *VideoProcessorSetOutputStereoMode )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _In_  BOOL Enable);
+        
+        APP_DEPRECATED_HRESULT ( STDMETHODCALLTYPE *VideoProcessorSetOutputExtension )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _In_  const GUID *pExtensionGuid,
+            /* [annotation] */ 
+            _In_  UINT DataSize,
+            /* [annotation] */ 
+            _In_  void *pData);
+        
+        void ( STDMETHODCALLTYPE *VideoProcessorGetOutputTargetRect )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _Out_  BOOL *Enabled,
+            /* [annotation] */ 
+            _Out_  RECT *pRect);
+        
+        void ( STDMETHODCALLTYPE *VideoProcessorGetOutputBackgroundColor )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _Out_  BOOL *pYCbCr,
+            /* [annotation] */ 
+            _Out_  D3D11_VIDEO_COLOR *pColor);
+        
+        void ( STDMETHODCALLTYPE *VideoProcessorGetOutputColorSpace )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _Out_  D3D11_VIDEO_PROCESSOR_COLOR_SPACE *pColorSpace);
+        
+        void ( STDMETHODCALLTYPE *VideoProcessorGetOutputAlphaFillMode )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _Out_  D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE *pAlphaFillMode,
+            /* [annotation] */ 
+            _Out_  UINT *pStreamIndex);
+        
+        void ( STDMETHODCALLTYPE *VideoProcessorGetOutputConstriction )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _Out_  BOOL *pEnabled,
+            /* [annotation] */ 
+            _Out_  SIZE *pSize);
+        
+        void ( STDMETHODCALLTYPE *VideoProcessorGetOutputStereoMode )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _Out_  BOOL *pEnabled);
+        
+        APP_DEPRECATED_HRESULT ( STDMETHODCALLTYPE *VideoProcessorGetOutputExtension )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _In_  const GUID *pExtensionGuid,
+            /* [annotation] */ 
+            _In_  UINT DataSize,
+            /* [annotation] */ 
+            _Out_writes_bytes_(DataSize)  void *pData);
+        
+        void ( STDMETHODCALLTYPE *VideoProcessorSetStreamFrameFormat )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _In_  UINT StreamIndex,
+            /* [annotation] */ 
+            _In_  D3D11_VIDEO_FRAME_FORMAT FrameFormat);
+        
+        void ( STDMETHODCALLTYPE *VideoProcessorSetStreamColorSpace )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _In_  UINT StreamIndex,
+            /* [annotation] */ 
+            _In_  const D3D11_VIDEO_PROCESSOR_COLOR_SPACE *pColorSpace);
+        
+        void ( STDMETHODCALLTYPE *VideoProcessorSetStreamOutputRate )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _In_  UINT StreamIndex,
+            /* [annotation] */ 
+            _In_  D3D11_VIDEO_PROCESSOR_OUTPUT_RATE OutputRate,
+            /* [annotation] */ 
+            _In_  BOOL RepeatFrame,
+            /* [annotation] */ 
+            _In_opt_  const DXGI_RATIONAL *pCustomRate);
+        
+        void ( STDMETHODCALLTYPE *VideoProcessorSetStreamSourceRect )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _In_  UINT StreamIndex,
+            /* [annotation] */ 
+            _In_  BOOL Enable,
+            /* [annotation] */ 
+            _In_opt_  const RECT *pRect);
+        
+        void ( STDMETHODCALLTYPE *VideoProcessorSetStreamDestRect )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _In_  UINT StreamIndex,
+            /* [annotation] */ 
+            _In_  BOOL Enable,
+            /* [annotation] */ 
+            _In_opt_  const RECT *pRect);
+        
+        void ( STDMETHODCALLTYPE *VideoProcessorSetStreamAlpha )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _In_  UINT StreamIndex,
+            /* [annotation] */ 
+            _In_  BOOL Enable,
+            /* [annotation] */ 
+            _In_  FLOAT Alpha);
+        
+        void ( STDMETHODCALLTYPE *VideoProcessorSetStreamPalette )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _In_  UINT StreamIndex,
+            /* [annotation] */ 
+            _In_  UINT Count,
+            /* [annotation] */ 
+            _In_reads_opt_(Count)  const UINT *pEntries);
+        
+        void ( STDMETHODCALLTYPE *VideoProcessorSetStreamPixelAspectRatio )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _In_  UINT StreamIndex,
+            /* [annotation] */ 
+            _In_  BOOL Enable,
+            /* [annotation] */ 
+            _In_opt_  const DXGI_RATIONAL *pSourceAspectRatio,
+            /* [annotation] */ 
+            _In_opt_  const DXGI_RATIONAL *pDestinationAspectRatio);
+        
+        void ( STDMETHODCALLTYPE *VideoProcessorSetStreamLumaKey )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _In_  UINT StreamIndex,
+            /* [annotation] */ 
+            _In_  BOOL Enable,
+            /* [annotation] */ 
+            _In_  FLOAT Lower,
+            /* [annotation] */ 
+            _In_  FLOAT Upper);
+        
+        void ( STDMETHODCALLTYPE *VideoProcessorSetStreamStereoFormat )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _In_  UINT StreamIndex,
+            /* [annotation] */ 
+            _In_  BOOL Enable,
+            /* [annotation] */ 
+            _In_  D3D11_VIDEO_PROCESSOR_STEREO_FORMAT Format,
+            /* [annotation] */ 
+            _In_  BOOL LeftViewFrame0,
+            /* [annotation] */ 
+            _In_  BOOL BaseViewFrame0,
+            /* [annotation] */ 
+            _In_  D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE FlipMode,
+            /* [annotation] */ 
+            _In_  int MonoOffset);
+        
+        void ( STDMETHODCALLTYPE *VideoProcessorSetStreamAutoProcessingMode )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _In_  UINT StreamIndex,
+            /* [annotation] */ 
+            _In_  BOOL Enable);
+        
+        void ( STDMETHODCALLTYPE *VideoProcessorSetStreamFilter )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _In_  UINT StreamIndex,
+            /* [annotation] */ 
+            _In_  D3D11_VIDEO_PROCESSOR_FILTER Filter,
+            /* [annotation] */ 
+            _In_  BOOL Enable,
+            /* [annotation] */ 
+            _In_  int Level);
+        
+        APP_DEPRECATED_HRESULT ( STDMETHODCALLTYPE *VideoProcessorSetStreamExtension )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _In_  UINT StreamIndex,
+            /* [annotation] */ 
+            _In_  const GUID *pExtensionGuid,
+            /* [annotation] */ 
+            _In_  UINT DataSize,
+            /* [annotation] */ 
+            _In_  void *pData);
+        
+        void ( STDMETHODCALLTYPE *VideoProcessorGetStreamFrameFormat )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _In_  UINT StreamIndex,
+            /* [annotation] */ 
+            _Out_  D3D11_VIDEO_FRAME_FORMAT *pFrameFormat);
+        
+        void ( STDMETHODCALLTYPE *VideoProcessorGetStreamColorSpace )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _In_  UINT StreamIndex,
+            /* [annotation] */ 
+            _Out_  D3D11_VIDEO_PROCESSOR_COLOR_SPACE *pColorSpace);
+        
+        void ( STDMETHODCALLTYPE *VideoProcessorGetStreamOutputRate )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _In_  UINT StreamIndex,
+            /* [annotation] */ 
+            _Out_  D3D11_VIDEO_PROCESSOR_OUTPUT_RATE *pOutputRate,
+            /* [annotation] */ 
+            _Out_  BOOL *pRepeatFrame,
+            /* [annotation] */ 
+            _Out_  DXGI_RATIONAL *pCustomRate);
+        
+        void ( STDMETHODCALLTYPE *VideoProcessorGetStreamSourceRect )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _In_  UINT StreamIndex,
+            /* [annotation] */ 
+            _Out_  BOOL *pEnabled,
+            /* [annotation] */ 
+            _Out_  RECT *pRect);
+        
+        void ( STDMETHODCALLTYPE *VideoProcessorGetStreamDestRect )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _In_  UINT StreamIndex,
+            /* [annotation] */ 
+            _Out_  BOOL *pEnabled,
+            /* [annotation] */ 
+            _Out_  RECT *pRect);
+        
+        void ( STDMETHODCALLTYPE *VideoProcessorGetStreamAlpha )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _In_  UINT StreamIndex,
+            /* [annotation] */ 
+            _Out_  BOOL *pEnabled,
+            /* [annotation] */ 
+            _Out_  FLOAT *pAlpha);
+        
+        void ( STDMETHODCALLTYPE *VideoProcessorGetStreamPalette )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _In_  UINT StreamIndex,
+            /* [annotation] */ 
+            _In_  UINT Count,
+            /* [annotation] */ 
+            _Out_writes_(Count)  UINT *pEntries);
+        
+        void ( STDMETHODCALLTYPE *VideoProcessorGetStreamPixelAspectRatio )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _In_  UINT StreamIndex,
+            /* [annotation] */ 
+            _Out_  BOOL *pEnabled,
+            /* [annotation] */ 
+            _Out_  DXGI_RATIONAL *pSourceAspectRatio,
+            /* [annotation] */ 
+            _Out_  DXGI_RATIONAL *pDestinationAspectRatio);
+        
+        void ( STDMETHODCALLTYPE *VideoProcessorGetStreamLumaKey )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _In_  UINT StreamIndex,
+            /* [annotation] */ 
+            _Out_  BOOL *pEnabled,
+            /* [annotation] */ 
+            _Out_  FLOAT *pLower,
+            /* [annotation] */ 
+            _Out_  FLOAT *pUpper);
+        
+        void ( STDMETHODCALLTYPE *VideoProcessorGetStreamStereoFormat )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _In_  UINT StreamIndex,
+            /* [annotation] */ 
+            _Out_  BOOL *pEnable,
+            /* [annotation] */ 
+            _Out_  D3D11_VIDEO_PROCESSOR_STEREO_FORMAT *pFormat,
+            /* [annotation] */ 
+            _Out_  BOOL *pLeftViewFrame0,
+            /* [annotation] */ 
+            _Out_  BOOL *pBaseViewFrame0,
+            /* [annotation] */ 
+            _Out_  D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE *pFlipMode,
+            /* [annotation] */ 
+            _Out_  int *MonoOffset);
+        
+        void ( STDMETHODCALLTYPE *VideoProcessorGetStreamAutoProcessingMode )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _In_  UINT StreamIndex,
+            /* [annotation] */ 
+            _Out_  BOOL *pEnabled);
+        
+        void ( STDMETHODCALLTYPE *VideoProcessorGetStreamFilter )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _In_  UINT StreamIndex,
+            /* [annotation] */ 
+            _In_  D3D11_VIDEO_PROCESSOR_FILTER Filter,
+            /* [annotation] */ 
+            _Out_  BOOL *pEnabled,
+            /* [annotation] */ 
+            _Out_  int *pLevel);
+        
+        APP_DEPRECATED_HRESULT ( STDMETHODCALLTYPE *VideoProcessorGetStreamExtension )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _In_  UINT StreamIndex,
+            /* [annotation] */ 
+            _In_  const GUID *pExtensionGuid,
+            /* [annotation] */ 
+            _In_  UINT DataSize,
+            /* [annotation] */ 
+            _Out_writes_bytes_(DataSize)  void *pData);
+        
+        HRESULT ( STDMETHODCALLTYPE *VideoProcessorBlt )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessorOutputView *pView,
+            /* [annotation] */ 
+            _In_  UINT OutputFrame,
+            /* [annotation] */ 
+            _In_  UINT StreamCount,
+            /* [annotation] */ 
+            _In_reads_(StreamCount)  const D3D11_VIDEO_PROCESSOR_STREAM *pStreams);
+        
+        HRESULT ( STDMETHODCALLTYPE *NegotiateCryptoSessionKeyExchange )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11CryptoSession *pCryptoSession,
+            /* [annotation] */ 
+            _In_  UINT DataSize,
+            /* [annotation] */ 
+            _Inout_updates_bytes_(DataSize)  void *pData);
+        
+        void ( STDMETHODCALLTYPE *EncryptionBlt )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11CryptoSession *pCryptoSession,
+            /* [annotation] */ 
+            _In_  ID3D11Texture2D *pSrcSurface,
+            /* [annotation] */ 
+            _In_  ID3D11Texture2D *pDstSurface,
+            /* [annotation] */ 
+            _In_  UINT IVSize,
+            /* [annotation] */ 
+            _Inout_opt_bytecount_(IVSize)  void *pIV);
+        
+        void ( STDMETHODCALLTYPE *DecryptionBlt )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11CryptoSession *pCryptoSession,
+            /* [annotation] */ 
+            _In_  ID3D11Texture2D *pSrcSurface,
+            /* [annotation] */ 
+            _In_  ID3D11Texture2D *pDstSurface,
+            /* [annotation] */ 
+            _In_opt_  D3D11_ENCRYPTED_BLOCK_INFO *pEncryptedBlockInfo,
+            /* [annotation] */ 
+            _In_  UINT ContentKeySize,
+            /* [annotation] */ 
+            _In_reads_bytes_opt_(ContentKeySize)  const void *pContentKey,
+            /* [annotation] */ 
+            _In_  UINT IVSize,
+            /* [annotation] */ 
+            _Inout_opt_bytecount_(IVSize)  void *pIV);
+        
+        void ( STDMETHODCALLTYPE *StartSessionKeyRefresh )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11CryptoSession *pCryptoSession,
+            /* [annotation] */ 
+            _In_  UINT RandomNumberSize,
+            /* [annotation] */ 
+            _Out_writes_bytes_(RandomNumberSize)  void *pRandomNumber);
+        
+        void ( STDMETHODCALLTYPE *FinishSessionKeyRefresh )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11CryptoSession *pCryptoSession);
+        
+        HRESULT ( STDMETHODCALLTYPE *GetEncryptionBltKey )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11CryptoSession *pCryptoSession,
+            /* [annotation] */ 
+            _In_  UINT KeySize,
+            /* [annotation] */ 
+            _Out_writes_bytes_(KeySize)  void *pReadbackKey);
+        
+        HRESULT ( STDMETHODCALLTYPE *NegotiateAuthenticatedChannelKeyExchange )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11AuthenticatedChannel *pChannel,
+            /* [annotation] */ 
+            _In_  UINT DataSize,
+            /* [annotation] */ 
+            _Inout_updates_bytes_(DataSize)  void *pData);
+        
+        HRESULT ( STDMETHODCALLTYPE *QueryAuthenticatedChannel )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11AuthenticatedChannel *pChannel,
+            /* [annotation] */ 
+            _In_  UINT InputSize,
+            /* [annotation] */ 
+            _In_reads_bytes_(InputSize)  const void *pInput,
+            /* [annotation] */ 
+            _In_  UINT OutputSize,
+            /* [annotation] */ 
+            _Out_writes_bytes_(OutputSize)  void *pOutput);
+        
+        HRESULT ( STDMETHODCALLTYPE *ConfigureAuthenticatedChannel )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11AuthenticatedChannel *pChannel,
+            /* [annotation] */ 
+            _In_  UINT InputSize,
+            /* [annotation] */ 
+            _In_reads_bytes_(InputSize)  const void *pInput,
+            /* [annotation] */ 
+            _Out_  D3D11_AUTHENTICATED_CONFIGURE_OUTPUT *pOutput);
+        
+        void ( STDMETHODCALLTYPE *VideoProcessorSetStreamRotation )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _In_  UINT StreamIndex,
+            /* [annotation] */ 
+            _In_  BOOL Enable,
+            /* [annotation] */ 
+            _In_  D3D11_VIDEO_PROCESSOR_ROTATION Rotation);
+        
+        void ( STDMETHODCALLTYPE *VideoProcessorGetStreamRotation )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _In_  UINT StreamIndex,
+            /* [annotation] */ 
+            _Out_  BOOL *pEnable,
+            /* [annotation] */ 
+            _Out_  D3D11_VIDEO_PROCESSOR_ROTATION *pRotation);
+        
+        HRESULT ( STDMETHODCALLTYPE *SubmitDecoderBuffers1 )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoDecoder *pDecoder,
+            /* [annotation] */ 
+            _In_  UINT NumBuffers,
+            /* [annotation] */ 
+            _In_reads_(NumBuffers)  const D3D11_VIDEO_DECODER_BUFFER_DESC1 *pBufferDesc);
+        
+        HRESULT ( STDMETHODCALLTYPE *GetDataForNewHardwareKey )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11CryptoSession *pCryptoSession,
+            /* [annotation] */ 
+            _In_  UINT PrivateInputSize,
+            /* [annotation] */ 
+            _In_reads_(PrivateInputSize)  const void *pPrivatInputData,
+            /* [annotation] */ 
+            _Out_  UINT64 *pPrivateOutputData);
+        
+        HRESULT ( STDMETHODCALLTYPE *CheckCryptoSessionStatus )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11CryptoSession *pCryptoSession,
+            /* [annotation] */ 
+            _Out_  D3D11_CRYPTO_SESSION_STATUS *pStatus);
+        
+        HRESULT ( STDMETHODCALLTYPE *DecoderEnableDownsampling )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoDecoder *pDecoder,
+            /* [annotation] */ 
+            _In_  DXGI_COLOR_SPACE_TYPE InputColorSpace,
+            /* [annotation] */ 
+            _In_  const D3D11_VIDEO_SAMPLE_DESC *pOutputDesc,
+            /* [annotation] */ 
+            _In_  UINT ReferenceFrameCount);
+        
+        HRESULT ( STDMETHODCALLTYPE *DecoderUpdateDownsampling )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoDecoder *pDecoder,
+            /* [annotation] */ 
+            _In_  const D3D11_VIDEO_SAMPLE_DESC *pOutputDesc);
+        
+        void ( STDMETHODCALLTYPE *VideoProcessorSetOutputColorSpace1 )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _In_  DXGI_COLOR_SPACE_TYPE ColorSpace);
+        
+        void ( STDMETHODCALLTYPE *VideoProcessorSetOutputShaderUsage )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _In_  BOOL ShaderUsage);
+        
+        void ( STDMETHODCALLTYPE *VideoProcessorGetOutputColorSpace1 )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _Out_  DXGI_COLOR_SPACE_TYPE *pColorSpace);
+        
+        void ( STDMETHODCALLTYPE *VideoProcessorGetOutputShaderUsage )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _Out_  BOOL *pShaderUsage);
+        
+        void ( STDMETHODCALLTYPE *VideoProcessorSetStreamColorSpace1 )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _In_  UINT StreamIndex,
+            /* [annotation] */ 
+            _In_  DXGI_COLOR_SPACE_TYPE ColorSpace);
+        
+        void ( STDMETHODCALLTYPE *VideoProcessorSetStreamMirror )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _In_  UINT StreamIndex,
+            /* [annotation] */ 
+            _In_  BOOL Enable,
+            /* [annotation] */ 
+            _In_  BOOL FlipHorizontal,
+            /* [annotation] */ 
+            _In_  BOOL FlipVertical);
+        
+        void ( STDMETHODCALLTYPE *VideoProcessorGetStreamColorSpace1 )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _In_  UINT StreamIndex,
+            /* [annotation] */ 
+            _Out_  DXGI_COLOR_SPACE_TYPE *pColorSpace);
+        
+        void ( STDMETHODCALLTYPE *VideoProcessorGetStreamMirror )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _In_  UINT StreamIndex,
+            /* [annotation] */ 
+            _Out_  BOOL *pEnable,
+            /* [annotation] */ 
+            _Out_  BOOL *pFlipHorizontal,
+            /* [annotation] */ 
+            _Out_  BOOL *pFlipVertical);
+        
+        HRESULT ( STDMETHODCALLTYPE *VideoProcessorGetBehaviorHints )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _In_  UINT OutputWidth,
+            /* [annotation] */ 
+            _In_  UINT OutputHeight,
+            /* [annotation] */ 
+            _In_  DXGI_FORMAT OutputFormat,
+            /* [annotation] */ 
+            _In_  UINT StreamCount,
+            /* [annotation] */ 
+            _In_reads_(StreamCount)  const D3D11_VIDEO_PROCESSOR_STREAM_BEHAVIOR_HINT *pStreams,
+            /* [annotation] */ 
+            _Out_  UINT *pBehaviorHints);
+        
+        void ( STDMETHODCALLTYPE *VideoProcessorSetOutputHDRMetaData )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _In_  DXGI_HDR_METADATA_TYPE Type,
+            /* [annotation] */ 
+            _In_  UINT Size,
+            /* [annotation] */ 
+            _In_reads_bytes_opt_(Size)  const void *pHDRMetaData);
+        
+        void ( STDMETHODCALLTYPE *VideoProcessorGetOutputHDRMetaData )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _Out_  DXGI_HDR_METADATA_TYPE *pType,
+            /* [annotation] */ 
+            _In_  UINT Size,
+            /* [annotation] */ 
+            _Out_writes_bytes_opt_(Size)  void *pMetaData);
+        
+        void ( STDMETHODCALLTYPE *VideoProcessorSetStreamHDRMetaData )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _In_  UINT StreamIndex,
+            /* [annotation] */ 
+            _In_  DXGI_HDR_METADATA_TYPE Type,
+            /* [annotation] */ 
+            _In_  UINT Size,
+            /* [annotation] */ 
+            _In_reads_bytes_opt_(Size)  const void *pHDRMetaData);
+        
+        void ( STDMETHODCALLTYPE *VideoProcessorGetStreamHDRMetaData )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoProcessor *pVideoProcessor,
+            /* [annotation] */ 
+            _In_  UINT StreamIndex,
+            /* [annotation] */ 
+            _Out_  DXGI_HDR_METADATA_TYPE *pType,
+            /* [annotation] */ 
+            _In_  UINT Size,
+            /* [annotation] */ 
+            _Out_writes_bytes_opt_(Size)  void *pMetaData);
+        
+        HRESULT ( STDMETHODCALLTYPE *DecoderBeginFrame1 )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoDecoder *pDecoder,
+            /* [annotation] */ 
+            _In_  ID3D11VideoDecoderOutputView *pView,
+            UINT ContentKeySize,
+            /* [annotation] */ 
+            _In_reads_bytes_opt_(ContentKeySize)  const void *pContentKey,
+            /* [annotation] */ 
+            _In_range_(0, D3D11_4_VIDEO_DECODER_MAX_HISTOGRAM_COMPONENTS)  UINT NumComponentHistograms,
+            /* [annotation] */ 
+            _In_reads_opt_(NumComponentHistograms)  const UINT *pHistogramOffsets,
+            /* [annotation] */ 
+            _In_reads_opt_(NumComponentHistograms)  ID3D11Buffer *const *ppHistogramBuffers);
+        
+        HRESULT ( STDMETHODCALLTYPE *SubmitDecoderBuffers2 )( 
+            ID3D11VideoContext3 * This,
+            /* [annotation] */ 
+            _In_  ID3D11VideoDecoder *pDecoder,
+            /* [annotation] */ 
+            _In_  UINT NumBuffers,
+            /* [annotation] */ 
+            _In_reads_(NumBuffers)  const D3D11_VIDEO_DECODER_BUFFER_DESC2 *pBufferDesc);
+        
+        END_INTERFACE
+    } ID3D11VideoContext3Vtbl;
+
+    interface ID3D11VideoContext3
+    {
+        CONST_VTBL struct ID3D11VideoContext3Vtbl *lpVtbl;
+    };
+
+    
+
+#ifdef COBJMACROS
+
+
+#define ID3D11VideoContext3_QueryInterface(This,riid,ppvObject)	\
+    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
+
+#define ID3D11VideoContext3_AddRef(This)	\
+    ( (This)->lpVtbl -> AddRef(This) ) 
+
+#define ID3D11VideoContext3_Release(This)	\
+    ( (This)->lpVtbl -> Release(This) ) 
+
+
+#define ID3D11VideoContext3_GetDevice(This,ppDevice)	\
+    ( (This)->lpVtbl -> GetDevice(This,ppDevice) ) 
+
+#define ID3D11VideoContext3_GetPrivateData(This,guid,pDataSize,pData)	\
+    ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) ) 
+
+#define ID3D11VideoContext3_SetPrivateData(This,guid,DataSize,pData)	\
+    ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) ) 
+
+#define ID3D11VideoContext3_SetPrivateDataInterface(This,guid,pData)	\
+    ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) ) 
+
+
+#define ID3D11VideoContext3_GetDecoderBuffer(This,pDecoder,Type,pBufferSize,ppBuffer)	\
+    ( (This)->lpVtbl -> GetDecoderBuffer(This,pDecoder,Type,pBufferSize,ppBuffer) ) 
+
+#define ID3D11VideoContext3_ReleaseDecoderBuffer(This,pDecoder,Type)	\
+    ( (This)->lpVtbl -> ReleaseDecoderBuffer(This,pDecoder,Type) ) 
+
+#define ID3D11VideoContext3_DecoderBeginFrame(This,pDecoder,pView,ContentKeySize,pContentKey)	\
+    ( (This)->lpVtbl -> DecoderBeginFrame(This,pDecoder,pView,ContentKeySize,pContentKey) ) 
+
+#define ID3D11VideoContext3_DecoderEndFrame(This,pDecoder)	\
+    ( (This)->lpVtbl -> DecoderEndFrame(This,pDecoder) ) 
+
+#define ID3D11VideoContext3_SubmitDecoderBuffers(This,pDecoder,NumBuffers,pBufferDesc)	\
+    ( (This)->lpVtbl -> SubmitDecoderBuffers(This,pDecoder,NumBuffers,pBufferDesc) ) 
+
+#define ID3D11VideoContext3_DecoderExtension(This,pDecoder,pExtensionData)	\
+    ( (This)->lpVtbl -> DecoderExtension(This,pDecoder,pExtensionData) ) 
+
+#define ID3D11VideoContext3_VideoProcessorSetOutputTargetRect(This,pVideoProcessor,Enable,pRect)	\
+    ( (This)->lpVtbl -> VideoProcessorSetOutputTargetRect(This,pVideoProcessor,Enable,pRect) ) 
+
+#define ID3D11VideoContext3_VideoProcessorSetOutputBackgroundColor(This,pVideoProcessor,YCbCr,pColor)	\
+    ( (This)->lpVtbl -> VideoProcessorSetOutputBackgroundColor(This,pVideoProcessor,YCbCr,pColor) ) 
+
+#define ID3D11VideoContext3_VideoProcessorSetOutputColorSpace(This,pVideoProcessor,pColorSpace)	\
+    ( (This)->lpVtbl -> VideoProcessorSetOutputColorSpace(This,pVideoProcessor,pColorSpace) ) 
+
+#define ID3D11VideoContext3_VideoProcessorSetOutputAlphaFillMode(This,pVideoProcessor,AlphaFillMode,StreamIndex)	\
+    ( (This)->lpVtbl -> VideoProcessorSetOutputAlphaFillMode(This,pVideoProcessor,AlphaFillMode,StreamIndex) ) 
+
+#define ID3D11VideoContext3_VideoProcessorSetOutputConstriction(This,pVideoProcessor,Enable,Size)	\
+    ( (This)->lpVtbl -> VideoProcessorSetOutputConstriction(This,pVideoProcessor,Enable,Size) ) 
+
+#define ID3D11VideoContext3_VideoProcessorSetOutputStereoMode(This,pVideoProcessor,Enable)	\
+    ( (This)->lpVtbl -> VideoProcessorSetOutputStereoMode(This,pVideoProcessor,Enable) ) 
+
+#define ID3D11VideoContext3_VideoProcessorSetOutputExtension(This,pVideoProcessor,pExtensionGuid,DataSize,pData)	\
+    ( (This)->lpVtbl -> VideoProcessorSetOutputExtension(This,pVideoProcessor,pExtensionGuid,DataSize,pData) ) 
+
+#define ID3D11VideoContext3_VideoProcessorGetOutputTargetRect(This,pVideoProcessor,Enabled,pRect)	\
+    ( (This)->lpVtbl -> VideoProcessorGetOutputTargetRect(This,pVideoProcessor,Enabled,pRect) ) 
+
+#define ID3D11VideoContext3_VideoProcessorGetOutputBackgroundColor(This,pVideoProcessor,pYCbCr,pColor)	\
+    ( (This)->lpVtbl -> VideoProcessorGetOutputBackgroundColor(This,pVideoProcessor,pYCbCr,pColor) ) 
+
+#define ID3D11VideoContext3_VideoProcessorGetOutputColorSpace(This,pVideoProcessor,pColorSpace)	\
+    ( (This)->lpVtbl -> VideoProcessorGetOutputColorSpace(This,pVideoProcessor,pColorSpace) ) 
+
+#define ID3D11VideoContext3_VideoProcessorGetOutputAlphaFillMode(This,pVideoProcessor,pAlphaFillMode,pStreamIndex)	\
+    ( (This)->lpVtbl -> VideoProcessorGetOutputAlphaFillMode(This,pVideoProcessor,pAlphaFillMode,pStreamIndex) ) 
+
+#define ID3D11VideoContext3_VideoProcessorGetOutputConstriction(This,pVideoProcessor,pEnabled,pSize)	\
+    ( (This)->lpVtbl -> VideoProcessorGetOutputConstriction(This,pVideoProcessor,pEnabled,pSize) ) 
+
+#define ID3D11VideoContext3_VideoProcessorGetOutputStereoMode(This,pVideoProcessor,pEnabled)	\
+    ( (This)->lpVtbl -> VideoProcessorGetOutputStereoMode(This,pVideoProcessor,pEnabled) ) 
+
+#define ID3D11VideoContext3_VideoProcessorGetOutputExtension(This,pVideoProcessor,pExtensionGuid,DataSize,pData)	\
+    ( (This)->lpVtbl -> VideoProcessorGetOutputExtension(This,pVideoProcessor,pExtensionGuid,DataSize,pData) ) 
+
+#define ID3D11VideoContext3_VideoProcessorSetStreamFrameFormat(This,pVideoProcessor,StreamIndex,FrameFormat)	\
+    ( (This)->lpVtbl -> VideoProcessorSetStreamFrameFormat(This,pVideoProcessor,StreamIndex,FrameFormat) ) 
+
+#define ID3D11VideoContext3_VideoProcessorSetStreamColorSpace(This,pVideoProcessor,StreamIndex,pColorSpace)	\
+    ( (This)->lpVtbl -> VideoProcessorSetStreamColorSpace(This,pVideoProcessor,StreamIndex,pColorSpace) ) 
+
+#define ID3D11VideoContext3_VideoProcessorSetStreamOutputRate(This,pVideoProcessor,StreamIndex,OutputRate,RepeatFrame,pCustomRate)	\
+    ( (This)->lpVtbl -> VideoProcessorSetStreamOutputRate(This,pVideoProcessor,StreamIndex,OutputRate,RepeatFrame,pCustomRate) ) 
+
+#define ID3D11VideoContext3_VideoProcessorSetStreamSourceRect(This,pVideoProcessor,StreamIndex,Enable,pRect)	\
+    ( (This)->lpVtbl -> VideoProcessorSetStreamSourceRect(This,pVideoProcessor,StreamIndex,Enable,pRect) ) 
+
+#define ID3D11VideoContext3_VideoProcessorSetStreamDestRect(This,pVideoProcessor,StreamIndex,Enable,pRect)	\
+    ( (This)->lpVtbl -> VideoProcessorSetStreamDestRect(This,pVideoProcessor,StreamIndex,Enable,pRect) ) 
+
+#define ID3D11VideoContext3_VideoProcessorSetStreamAlpha(This,pVideoProcessor,StreamIndex,Enable,Alpha)	\
+    ( (This)->lpVtbl -> VideoProcessorSetStreamAlpha(This,pVideoProcessor,StreamIndex,Enable,Alpha) ) 
+
+#define ID3D11VideoContext3_VideoProcessorSetStreamPalette(This,pVideoProcessor,StreamIndex,Count,pEntries)	\
+    ( (This)->lpVtbl -> VideoProcessorSetStreamPalette(This,pVideoProcessor,StreamIndex,Count,pEntries) ) 
+
+#define ID3D11VideoContext3_VideoProcessorSetStreamPixelAspectRatio(This,pVideoProcessor,StreamIndex,Enable,pSourceAspectRatio,pDestinationAspectRatio)	\
+    ( (This)->lpVtbl -> VideoProcessorSetStreamPixelAspectRatio(This,pVideoProcessor,StreamIndex,Enable,pSourceAspectRatio,pDestinationAspectRatio) ) 
+
+#define ID3D11VideoContext3_VideoProcessorSetStreamLumaKey(This,pVideoProcessor,StreamIndex,Enable,Lower,Upper)	\
+    ( (This)->lpVtbl -> VideoProcessorSetStreamLumaKey(This,pVideoProcessor,StreamIndex,Enable,Lower,Upper) ) 
+
+#define ID3D11VideoContext3_VideoProcessorSetStreamStereoFormat(This,pVideoProcessor,StreamIndex,Enable,Format,LeftViewFrame0,BaseViewFrame0,FlipMode,MonoOffset)	\
+    ( (This)->lpVtbl -> VideoProcessorSetStreamStereoFormat(This,pVideoProcessor,StreamIndex,Enable,Format,LeftViewFrame0,BaseViewFrame0,FlipMode,MonoOffset) ) 
+
+#define ID3D11VideoContext3_VideoProcessorSetStreamAutoProcessingMode(This,pVideoProcessor,StreamIndex,Enable)	\
+    ( (This)->lpVtbl -> VideoProcessorSetStreamAutoProcessingMode(This,pVideoProcessor,StreamIndex,Enable) ) 
+
+#define ID3D11VideoContext3_VideoProcessorSetStreamFilter(This,pVideoProcessor,StreamIndex,Filter,Enable,Level)	\
+    ( (This)->lpVtbl -> VideoProcessorSetStreamFilter(This,pVideoProcessor,StreamIndex,Filter,Enable,Level) ) 
+
+#define ID3D11VideoContext3_VideoProcessorSetStreamExtension(This,pVideoProcessor,StreamIndex,pExtensionGuid,DataSize,pData)	\
+    ( (This)->lpVtbl -> VideoProcessorSetStreamExtension(This,pVideoProcessor,StreamIndex,pExtensionGuid,DataSize,pData) ) 
+
+#define ID3D11VideoContext3_VideoProcessorGetStreamFrameFormat(This,pVideoProcessor,StreamIndex,pFrameFormat)	\
+    ( (This)->lpVtbl -> VideoProcessorGetStreamFrameFormat(This,pVideoProcessor,StreamIndex,pFrameFormat) ) 
+
+#define ID3D11VideoContext3_VideoProcessorGetStreamColorSpace(This,pVideoProcessor,StreamIndex,pColorSpace)	\
+    ( (This)->lpVtbl -> VideoProcessorGetStreamColorSpace(This,pVideoProcessor,StreamIndex,pColorSpace) ) 
+
+#define ID3D11VideoContext3_VideoProcessorGetStreamOutputRate(This,pVideoProcessor,StreamIndex,pOutputRate,pRepeatFrame,pCustomRate)	\
+    ( (This)->lpVtbl -> VideoProcessorGetStreamOutputRate(This,pVideoProcessor,StreamIndex,pOutputRate,pRepeatFrame,pCustomRate) ) 
+
+#define ID3D11VideoContext3_VideoProcessorGetStreamSourceRect(This,pVideoProcessor,StreamIndex,pEnabled,pRect)	\
+    ( (This)->lpVtbl -> VideoProcessorGetStreamSourceRect(This,pVideoProcessor,StreamIndex,pEnabled,pRect) ) 
+
+#define ID3D11VideoContext3_VideoProcessorGetStreamDestRect(This,pVideoProcessor,StreamIndex,pEnabled,pRect)	\
+    ( (This)->lpVtbl -> VideoProcessorGetStreamDestRect(This,pVideoProcessor,StreamIndex,pEnabled,pRect) ) 
+
+#define ID3D11VideoContext3_VideoProcessorGetStreamAlpha(This,pVideoProcessor,StreamIndex,pEnabled,pAlpha)	\
+    ( (This)->lpVtbl -> VideoProcessorGetStreamAlpha(This,pVideoProcessor,StreamIndex,pEnabled,pAlpha) ) 
+
+#define ID3D11VideoContext3_VideoProcessorGetStreamPalette(This,pVideoProcessor,StreamIndex,Count,pEntries)	\
+    ( (This)->lpVtbl -> VideoProcessorGetStreamPalette(This,pVideoProcessor,StreamIndex,Count,pEntries) ) 
+
+#define ID3D11VideoContext3_VideoProcessorGetStreamPixelAspectRatio(This,pVideoProcessor,StreamIndex,pEnabled,pSourceAspectRatio,pDestinationAspectRatio)	\
+    ( (This)->lpVtbl -> VideoProcessorGetStreamPixelAspectRatio(This,pVideoProcessor,StreamIndex,pEnabled,pSourceAspectRatio,pDestinationAspectRatio) ) 
+
+#define ID3D11VideoContext3_VideoProcessorGetStreamLumaKey(This,pVideoProcessor,StreamIndex,pEnabled,pLower,pUpper)	\
+    ( (This)->lpVtbl -> VideoProcessorGetStreamLumaKey(This,pVideoProcessor,StreamIndex,pEnabled,pLower,pUpper) ) 
+
+#define ID3D11VideoContext3_VideoProcessorGetStreamStereoFormat(This,pVideoProcessor,StreamIndex,pEnable,pFormat,pLeftViewFrame0,pBaseViewFrame0,pFlipMode,MonoOffset)	\
+    ( (This)->lpVtbl -> VideoProcessorGetStreamStereoFormat(This,pVideoProcessor,StreamIndex,pEnable,pFormat,pLeftViewFrame0,pBaseViewFrame0,pFlipMode,MonoOffset) ) 
+
+#define ID3D11VideoContext3_VideoProcessorGetStreamAutoProcessingMode(This,pVideoProcessor,StreamIndex,pEnabled)	\
+    ( (This)->lpVtbl -> VideoProcessorGetStreamAutoProcessingMode(This,pVideoProcessor,StreamIndex,pEnabled) ) 
+
+#define ID3D11VideoContext3_VideoProcessorGetStreamFilter(This,pVideoProcessor,StreamIndex,Filter,pEnabled,pLevel)	\
+    ( (This)->lpVtbl -> VideoProcessorGetStreamFilter(This,pVideoProcessor,StreamIndex,Filter,pEnabled,pLevel) ) 
+
+#define ID3D11VideoContext3_VideoProcessorGetStreamExtension(This,pVideoProcessor,StreamIndex,pExtensionGuid,DataSize,pData)	\
+    ( (This)->lpVtbl -> VideoProcessorGetStreamExtension(This,pVideoProcessor,StreamIndex,pExtensionGuid,DataSize,pData) ) 
+
+#define ID3D11VideoContext3_VideoProcessorBlt(This,pVideoProcessor,pView,OutputFrame,StreamCount,pStreams)	\
+    ( (This)->lpVtbl -> VideoProcessorBlt(This,pVideoProcessor,pView,OutputFrame,StreamCount,pStreams) ) 
+
+#define ID3D11VideoContext3_NegotiateCryptoSessionKeyExchange(This,pCryptoSession,DataSize,pData)	\
+    ( (This)->lpVtbl -> NegotiateCryptoSessionKeyExchange(This,pCryptoSession,DataSize,pData) ) 
+
+#define ID3D11VideoContext3_EncryptionBlt(This,pCryptoSession,pSrcSurface,pDstSurface,IVSize,pIV)	\
+    ( (This)->lpVtbl -> EncryptionBlt(This,pCryptoSession,pSrcSurface,pDstSurface,IVSize,pIV) ) 
+
+#define ID3D11VideoContext3_DecryptionBlt(This,pCryptoSession,pSrcSurface,pDstSurface,pEncryptedBlockInfo,ContentKeySize,pContentKey,IVSize,pIV)	\
+    ( (This)->lpVtbl -> DecryptionBlt(This,pCryptoSession,pSrcSurface,pDstSurface,pEncryptedBlockInfo,ContentKeySize,pContentKey,IVSize,pIV) ) 
+
+#define ID3D11VideoContext3_StartSessionKeyRefresh(This,pCryptoSession,RandomNumberSize,pRandomNumber)	\
+    ( (This)->lpVtbl -> StartSessionKeyRefresh(This,pCryptoSession,RandomNumberSize,pRandomNumber) ) 
+
+#define ID3D11VideoContext3_FinishSessionKeyRefresh(This,pCryptoSession)	\
+    ( (This)->lpVtbl -> FinishSessionKeyRefresh(This,pCryptoSession) ) 
+
+#define ID3D11VideoContext3_GetEncryptionBltKey(This,pCryptoSession,KeySize,pReadbackKey)	\
+    ( (This)->lpVtbl -> GetEncryptionBltKey(This,pCryptoSession,KeySize,pReadbackKey) ) 
+
+#define ID3D11VideoContext3_NegotiateAuthenticatedChannelKeyExchange(This,pChannel,DataSize,pData)	\
+    ( (This)->lpVtbl -> NegotiateAuthenticatedChannelKeyExchange(This,pChannel,DataSize,pData) ) 
+
+#define ID3D11VideoContext3_QueryAuthenticatedChannel(This,pChannel,InputSize,pInput,OutputSize,pOutput)	\
+    ( (This)->lpVtbl -> QueryAuthenticatedChannel(This,pChannel,InputSize,pInput,OutputSize,pOutput) ) 
+
+#define ID3D11VideoContext3_ConfigureAuthenticatedChannel(This,pChannel,InputSize,pInput,pOutput)	\
+    ( (This)->lpVtbl -> ConfigureAuthenticatedChannel(This,pChannel,InputSize,pInput,pOutput) ) 
+
+#define ID3D11VideoContext3_VideoProcessorSetStreamRotation(This,pVideoProcessor,StreamIndex,Enable,Rotation)	\
+    ( (This)->lpVtbl -> VideoProcessorSetStreamRotation(This,pVideoProcessor,StreamIndex,Enable,Rotation) ) 
+
+#define ID3D11VideoContext3_VideoProcessorGetStreamRotation(This,pVideoProcessor,StreamIndex,pEnable,pRotation)	\
+    ( (This)->lpVtbl -> VideoProcessorGetStreamRotation(This,pVideoProcessor,StreamIndex,pEnable,pRotation) ) 
+
+
+#define ID3D11VideoContext3_SubmitDecoderBuffers1(This,pDecoder,NumBuffers,pBufferDesc)	\
+    ( (This)->lpVtbl -> SubmitDecoderBuffers1(This,pDecoder,NumBuffers,pBufferDesc) ) 
+
+#define ID3D11VideoContext3_GetDataForNewHardwareKey(This,pCryptoSession,PrivateInputSize,pPrivatInputData,pPrivateOutputData)	\
+    ( (This)->lpVtbl -> GetDataForNewHardwareKey(This,pCryptoSession,PrivateInputSize,pPrivatInputData,pPrivateOutputData) ) 
+
+#define ID3D11VideoContext3_CheckCryptoSessionStatus(This,pCryptoSession,pStatus)	\
+    ( (This)->lpVtbl -> CheckCryptoSessionStatus(This,pCryptoSession,pStatus) ) 
+
+#define ID3D11VideoContext3_DecoderEnableDownsampling(This,pDecoder,InputColorSpace,pOutputDesc,ReferenceFrameCount)	\
+    ( (This)->lpVtbl -> DecoderEnableDownsampling(This,pDecoder,InputColorSpace,pOutputDesc,ReferenceFrameCount) ) 
+
+#define ID3D11VideoContext3_DecoderUpdateDownsampling(This,pDecoder,pOutputDesc)	\
+    ( (This)->lpVtbl -> DecoderUpdateDownsampling(This,pDecoder,pOutputDesc) ) 
+
+#define ID3D11VideoContext3_VideoProcessorSetOutputColorSpace1(This,pVideoProcessor,ColorSpace)	\
+    ( (This)->lpVtbl -> VideoProcessorSetOutputColorSpace1(This,pVideoProcessor,ColorSpace) ) 
+
+#define ID3D11VideoContext3_VideoProcessorSetOutputShaderUsage(This,pVideoProcessor,ShaderUsage)	\
+    ( (This)->lpVtbl -> VideoProcessorSetOutputShaderUsage(This,pVideoProcessor,ShaderUsage) ) 
+
+#define ID3D11VideoContext3_VideoProcessorGetOutputColorSpace1(This,pVideoProcessor,pColorSpace)	\
+    ( (This)->lpVtbl -> VideoProcessorGetOutputColorSpace1(This,pVideoProcessor,pColorSpace) ) 
+
+#define ID3D11VideoContext3_VideoProcessorGetOutputShaderUsage(This,pVideoProcessor,pShaderUsage)	\
+    ( (This)->lpVtbl -> VideoProcessorGetOutputShaderUsage(This,pVideoProcessor,pShaderUsage) ) 
+
+#define ID3D11VideoContext3_VideoProcessorSetStreamColorSpace1(This,pVideoProcessor,StreamIndex,ColorSpace)	\
+    ( (This)->lpVtbl -> VideoProcessorSetStreamColorSpace1(This,pVideoProcessor,StreamIndex,ColorSpace) ) 
+
+#define ID3D11VideoContext3_VideoProcessorSetStreamMirror(This,pVideoProcessor,StreamIndex,Enable,FlipHorizontal,FlipVertical)	\
+    ( (This)->lpVtbl -> VideoProcessorSetStreamMirror(This,pVideoProcessor,StreamIndex,Enable,FlipHorizontal,FlipVertical) ) 
+
+#define ID3D11VideoContext3_VideoProcessorGetStreamColorSpace1(This,pVideoProcessor,StreamIndex,pColorSpace)	\
+    ( (This)->lpVtbl -> VideoProcessorGetStreamColorSpace1(This,pVideoProcessor,StreamIndex,pColorSpace) ) 
+
+#define ID3D11VideoContext3_VideoProcessorGetStreamMirror(This,pVideoProcessor,StreamIndex,pEnable,pFlipHorizontal,pFlipVertical)	\
+    ( (This)->lpVtbl -> VideoProcessorGetStreamMirror(This,pVideoProcessor,StreamIndex,pEnable,pFlipHorizontal,pFlipVertical) ) 
+
+#define ID3D11VideoContext3_VideoProcessorGetBehaviorHints(This,pVideoProcessor,OutputWidth,OutputHeight,OutputFormat,StreamCount,pStreams,pBehaviorHints)	\
+    ( (This)->lpVtbl -> VideoProcessorGetBehaviorHints(This,pVideoProcessor,OutputWidth,OutputHeight,OutputFormat,StreamCount,pStreams,pBehaviorHints) ) 
+
+
+#define ID3D11VideoContext3_VideoProcessorSetOutputHDRMetaData(This,pVideoProcessor,Type,Size,pHDRMetaData)	\
+    ( (This)->lpVtbl -> VideoProcessorSetOutputHDRMetaData(This,pVideoProcessor,Type,Size,pHDRMetaData) ) 
+
+#define ID3D11VideoContext3_VideoProcessorGetOutputHDRMetaData(This,pVideoProcessor,pType,Size,pMetaData)	\
+    ( (This)->lpVtbl -> VideoProcessorGetOutputHDRMetaData(This,pVideoProcessor,pType,Size,pMetaData) ) 
+
+#define ID3D11VideoContext3_VideoProcessorSetStreamHDRMetaData(This,pVideoProcessor,StreamIndex,Type,Size,pHDRMetaData)	\
+    ( (This)->lpVtbl -> VideoProcessorSetStreamHDRMetaData(This,pVideoProcessor,StreamIndex,Type,Size,pHDRMetaData) ) 
+
+#define ID3D11VideoContext3_VideoProcessorGetStreamHDRMetaData(This,pVideoProcessor,StreamIndex,pType,Size,pMetaData)	\
+    ( (This)->lpVtbl -> VideoProcessorGetStreamHDRMetaData(This,pVideoProcessor,StreamIndex,pType,Size,pMetaData) ) 
+
+
+#define ID3D11VideoContext3_DecoderBeginFrame1(This,pDecoder,pView,ContentKeySize,pContentKey,NumComponentHistograms,pHistogramOffsets,ppHistogramBuffers)	\
+    ( (This)->lpVtbl -> DecoderBeginFrame1(This,pDecoder,pView,ContentKeySize,pContentKey,NumComponentHistograms,pHistogramOffsets,ppHistogramBuffers) ) 
+
+#define ID3D11VideoContext3_SubmitDecoderBuffers2(This,pDecoder,NumBuffers,pBufferDesc)	\
+    ( (This)->lpVtbl -> SubmitDecoderBuffers2(This,pDecoder,NumBuffers,pBufferDesc) ) 
+
+#endif /* COBJMACROS */
+
+
+#endif 	/* C style interface */
+
+
+
+
+#endif 	/* __ID3D11VideoContext3_INTERFACE_DEFINED__ */
+
+
+/* interface __MIDL_itf_d3d11_4_0000_0006 */
+/* [local] */ 
+
+typedef struct D3D11_FEATURE_DATA_D3D11_OPTIONS4
+    {
+    BOOL ExtendedNV12SharedTextureSupported;
+    } 	D3D11_FEATURE_DATA_D3D11_OPTIONS4;
+
+DEFINE_GUID(IID_ID3D11Device4,0x8992ab71,0x02e6,0x4b8d,0xba,0x48,0xb0,0x56,0xdc,0xda,0x42,0xc4);
+DEFINE_GUID(IID_ID3D11Device5,0x8ffde202,0xa0e7,0x45df,0x9e,0x01,0xe8,0x37,0x80,0x1b,0x5e,0xa0);
+DEFINE_GUID(IID_ID3D11Multithread,0x9B7E4E00,0x342C,0x4106,0xA1,0x9F,0x4F,0x27,0x04,0xF6,0x89,0xF0);
+DEFINE_GUID(IID_ID3D11VideoContext2,0xC4E7374C,0x6243,0x4D1B,0xAE,0x87,0x52,0xB4,0xF7,0x40,0xE2,0x61);
+DEFINE_GUID(IID_ID3D11VideoDevice2,0x59C0CB01,0x35F0,0x4A70,0x8F,0x67,0x87,0x90,0x5C,0x90,0x6A,0x53);
+DEFINE_GUID(IID_ID3D11VideoContext3,0xA9E2FAA0,0xCB39,0x418F,0xA0,0xB7,0xD8,0xAA,0xD4,0xDE,0x67,0x2E);
+
+
+extern RPC_IF_HANDLE __MIDL_itf_d3d11_4_0000_0006_v0_0_c_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_d3d11_4_0000_0006_v0_0_s_ifspec;
+
 /* Additional Prototypes for ALL interfaces */
 /* Additional Prototypes for ALL interfaces */
 
 
 /* end of Additional Prototypes */
 /* end of Additional Prototypes */

+ 32 - 1
3rdparty/dxsdk/include/d3d11sdklayers.h

@@ -2048,7 +2048,38 @@ enum D3D11_MESSAGE_ID
         D3D11_MESSAGE_ID_CREATE_FENCE	= ( D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMMIRROR_INVALIDSTREAM + 1 ) ,
         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_LIVE_FENCE	= ( D3D11_MESSAGE_ID_CREATE_FENCE + 1 ) ,
         D3D11_MESSAGE_ID_DESTROY_FENCE	= ( D3D11_MESSAGE_ID_LIVE_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;
     } 	D3D11_MESSAGE_ID;
 
 
 typedef struct D3D11_MESSAGE
 typedef struct D3D11_MESSAGE

Dosya farkı çok büyük olduğundan ihmal edildi
+ 2202 - 234
3rdparty/dxsdk/include/d3d12.h


+ 31 - 7
3rdparty/dxsdk/include/d3d12sdklayers.h

@@ -147,9 +147,6 @@ extern "C"{
 /* interface __MIDL_itf_d3d12sdklayers_0000_0000 */
 /* interface __MIDL_itf_d3d12sdklayers_0000_0000 */
 /* [local] */ 
 /* [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;
 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_ALLOW_BEHAVIOR_CHANGING_DEBUG_AIDS	= 0x1,
         D3D12_DEBUG_FEATURE_CONSERVATIVE_RESOURCE_STATE_TRACKING	= 0x2,
         D3D12_DEBUG_FEATURE_CONSERVATIVE_RESOURCE_STATE_TRACKING	= 0x2,
         D3D12_DEBUG_FEATURE_DISABLE_VIRTUALIZED_BUNDLES_VALIDATION	= 0x4,
         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;
     } 	D3D12_DEBUG_FEATURE;
 
 
 DEFINE_ENUM_FLAG_OPERATORS(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_TRACKED_WORKLOAD_NOT_SUPPORTED	= 1212,
         D3D12_MESSAGE_ID_RENDER_PASS_MISMATCHING_NO_ACCESS	= 1213,
         D3D12_MESSAGE_ID_RENDER_PASS_MISMATCHING_NO_ACCESS	= 1213,
         D3D12_MESSAGE_ID_RENDER_PASS_UNSUPPORTED_RESOLVE	= 1214,
         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;
     } 	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.");
 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 */
 /* interface __MIDL_itf_d3d12sdklayers_0000_0013 */
 /* [local] */ 
 /* [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_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_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);
 DEFINE_GUID(IID_ID3D12Debug2,0x93a665c4,0xa3b2,0x4e5d,0xb6,0x92,0xa2,0x6a,0xe1,0x4e,0x33,0x74);

+ 929 - 29
3rdparty/dxsdk/include/d3d12video.h

@@ -99,6 +99,34 @@ typedef interface ID3D12VideoProcessCommandList1 ID3D12VideoProcessCommandList1;
 #endif 	/* __ID3D12VideoProcessCommandList1_FWD_DEFINED__ */
 #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 */
 /* header files for imported files */
 #include "oaidl.h"
 #include "oaidl.h"
 #include "ocidl.h"
 #include "ocidl.h"
@@ -113,9 +141,6 @@ extern "C"{
 /* interface __MIDL_itf_d3d12video_0000_0000 */
 /* interface __MIDL_itf_d3d12video_0000_0000 */
 /* [local] */ 
 /* [local] */ 
 
 
-#include <winapifamily.h>
-// BK - pragma region App Family
-#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
 typedef 
 typedef 
 enum D3D12_VIDEO_FIELD_TYPE
 enum D3D12_VIDEO_FIELD_TYPE
     {
     {
@@ -169,7 +194,10 @@ enum D3D12_FEATURE_VIDEO
         D3D12_FEATURE_VIDEO_DECODE_PROFILE_COUNT	= 10,
         D3D12_FEATURE_VIDEO_DECODE_PROFILE_COUNT	= 10,
         D3D12_FEATURE_VIDEO_DECODE_FORMAT_COUNT	= 11,
         D3D12_FEATURE_VIDEO_DECODE_FORMAT_COUNT	= 11,
         D3D12_FEATURE_VIDEO_ARCHITECTURE	= 17,
         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;
     } 	D3D12_FEATURE_VIDEO;
 
 
 typedef 
 typedef 
@@ -2409,36 +2437,908 @@ EXTERN_C const IID IID_ID3D12VideoProcessCommandList1;
 /* interface __MIDL_itf_d3d12video_0000_0008 */
 /* interface __MIDL_itf_d3d12video_0000_0008 */
 /* [local] */ 
 /* [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);
-DEFINE_GUID(D3D12_VIDEO_DECODE_PROFILE_H264_STEREO_PROGRESSIVE, 0xd79be8da, 0x0cf1, 0x4c81, 0xb8, 0x2a, 0x69, 0xa4, 0xe2, 0x36, 0xf4, 0x3d);
-DEFINE_GUID(D3D12_VIDEO_DECODE_PROFILE_H264_STEREO, 0xf9aaccbb, 0xc2b6, 0x4cfc, 0x87, 0x79, 0x57, 0x07, 0xb1, 0x76, 0x05, 0x52);
-DEFINE_GUID(D3D12_VIDEO_DECODE_PROFILE_H264_MULTIVIEW, 0x705b9d82, 0x76cf, 0x49d6, 0xb7, 0xe6, 0xac, 0x88, 0x72, 0xdb, 0x01, 0x3c);
-DEFINE_GUID(D3D12_VIDEO_DECODE_PROFILE_VC1, 0x1b81beA3, 0xa0c7, 0x11d3, 0xb9, 0x84, 0x00, 0xc0, 0x4f, 0x2e, 0x73, 0xc5);
-DEFINE_GUID(D3D12_VIDEO_DECODE_PROFILE_VC1_D2010, 0x1b81beA4, 0xa0c7, 0x11d3, 0xb9, 0x84, 0x00, 0xc0, 0x4f, 0x2e, 0x73, 0xc5);
-DEFINE_GUID(D3D12_VIDEO_DECODE_PROFILE_MPEG4PT2_SIMPLE, 0xefd64d74, 0xc9e8,0x41d7,0xa5,0xe9,0xe9,0xb0,0xe3,0x9f,0xa3,0x19);
-DEFINE_GUID(D3D12_VIDEO_DECODE_PROFILE_MPEG4PT2_ADVSIMPLE_NOGMC, 0xed418a9f, 0x010d, 0x4eda, 0x9a, 0xe3, 0x9a, 0x65, 0x35, 0x8d, 0x8d, 0x2e);
-DEFINE_GUID(D3D12_VIDEO_DECODE_PROFILE_HEVC_MAIN, 0x5b11d51b, 0x2f4c, 0x4452, 0xbc, 0xc3, 0x09, 0xf2, 0xa1, 0x16, 0x0c, 0xc0);
-DEFINE_GUID(D3D12_VIDEO_DECODE_PROFILE_HEVC_MAIN10, 0x107af0e0, 0xef1a, 0x4d19, 0xab, 0xa8, 0x67, 0xa1, 0x63, 0x07, 0x3d, 0x13);
-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);
-DEFINE_GUID(IID_ID3D12VideoProcessor,0x304FDB32,0xBEDE,0x410A,0x85,0x45,0x94,0x3A,0xC6,0xA4,0x61,0x38);
-DEFINE_GUID(IID_ID3D12VideoDecodeCommandList,0x3B60536E,0xAD29,0x4E64,0xA2,0x69,0xF8,0x53,0x83,0x7E,0x5E,0x53);
-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);
+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_c_ifspec;
 extern RPC_IF_HANDLE __MIDL_itf_d3d12video_0000_0008_v0_0_s_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);
+DEFINE_GUID(D3D12_VIDEO_DECODE_PROFILE_H264_STEREO_PROGRESSIVE, 0xd79be8da, 0x0cf1, 0x4c81, 0xb8, 0x2a, 0x69, 0xa4, 0xe2, 0x36, 0xf4, 0x3d);
+DEFINE_GUID(D3D12_VIDEO_DECODE_PROFILE_H264_STEREO, 0xf9aaccbb, 0xc2b6, 0x4cfc, 0x87, 0x79, 0x57, 0x07, 0xb1, 0x76, 0x05, 0x52);
+DEFINE_GUID(D3D12_VIDEO_DECODE_PROFILE_H264_MULTIVIEW, 0x705b9d82, 0x76cf, 0x49d6, 0xb7, 0xe6, 0xac, 0x88, 0x72, 0xdb, 0x01, 0x3c);
+DEFINE_GUID(D3D12_VIDEO_DECODE_PROFILE_VC1, 0x1b81beA3, 0xa0c7, 0x11d3, 0xb9, 0x84, 0x00, 0xc0, 0x4f, 0x2e, 0x73, 0xc5);
+DEFINE_GUID(D3D12_VIDEO_DECODE_PROFILE_VC1_D2010, 0x1b81beA4, 0xa0c7, 0x11d3, 0xb9, 0x84, 0x00, 0xc0, 0x4f, 0x2e, 0x73, 0xc5);
+DEFINE_GUID(D3D12_VIDEO_DECODE_PROFILE_MPEG4PT2_SIMPLE, 0xefd64d74, 0xc9e8,0x41d7,0xa5,0xe9,0xe9,0xb0,0xe3,0x9f,0xa3,0x19);
+DEFINE_GUID(D3D12_VIDEO_DECODE_PROFILE_MPEG4PT2_ADVSIMPLE_NOGMC, 0xed418a9f, 0x010d, 0x4eda, 0x9a, 0xe3, 0x9a, 0x65, 0x35, 0x8d, 0x8d, 0x2e);
+DEFINE_GUID(D3D12_VIDEO_DECODE_PROFILE_HEVC_MAIN, 0x5b11d51b, 0x2f4c, 0x4452, 0xbc, 0xc3, 0x09, 0xf2, 0xa1, 0x16, 0x0c, 0xc0);
+DEFINE_GUID(D3D12_VIDEO_DECODE_PROFILE_HEVC_MAIN10, 0x107af0e0, 0xef1a, 0x4d19, 0xab, 0xa8, 0x67, 0xa1, 0x63, 0x07, 0x3d, 0x13);
+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);
+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);
+DEFINE_GUID(IID_ID3D12VideoProcessor,0x304FDB32,0xBEDE,0x410A,0x85,0x45,0x94,0x3A,0xC6,0xA4,0x61,0x38);
+DEFINE_GUID(IID_ID3D12VideoDecodeCommandList,0x3B60536E,0xAD29,0x4E64,0xA2,0x69,0xF8,0x53,0x83,0x7E,0x5E,0x53);
+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_0012_v0_0_c_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_d3d12video_0000_0012_v0_0_s_ifspec;
+
 /* Additional Prototypes for ALL interfaces */
 /* Additional Prototypes for ALL interfaces */
 
 
 /* end of Additional Prototypes */
 /* end of Additional Prototypes */

+ 0 - 9
3rdparty/dxsdk/include/dxgi1_2.h

@@ -113,9 +113,6 @@ extern "C"{
 /* interface __MIDL_itf_dxgi1_2_0000_0000 */
 /* interface __MIDL_itf_dxgi1_2_0000_0000 */
 /* [local] */ 
 /* [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;
 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 */
 /* interface __MIDL_itf_dxgi1_2_0000_0002 */
 /* [local] */ 
 /* [local] */ 
 
 
-#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
-// BK - pragma endregion
-// BK - pragma region App Family
-#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
 typedef 
 typedef 
 enum DXGI_ALPHA_MODE
 enum DXGI_ALPHA_MODE
     {
     {
@@ -2446,8 +2439,6 @@ EXTERN_C const IID IID_IDXGIOutput1;
 /* interface __MIDL_itf_dxgi1_2_0000_0009 */
 /* interface __MIDL_itf_dxgi1_2_0000_0009 */
 /* [local] */ 
 /* [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_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_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);
 DEFINE_GUID(IID_IDXGISurface2,0xaba496dd,0xb617,0x4cb8,0xa8,0x66,0xbc,0x44,0xd7,0xeb,0x1f,0xa2);

+ 0 - 13
3rdparty/dxsdk/include/dxgi1_3.h

@@ -106,9 +106,6 @@ extern "C"{
 /* interface __MIDL_itf_dxgi1_3_0000_0000 */
 /* interface __MIDL_itf_dxgi1_3_0000_0000 */
 /* [local] */ 
 /* [local] */ 
 
 
-#include <winapifamily.h>
-// BK - pragma region App Family
-#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
 #define DXGI_CREATE_FACTORY_DEBUG 0x1
 #define DXGI_CREATE_FACTORY_DEBUG 0x1
 HRESULT WINAPI CreateDXGIFactory2(UINT Flags, REFIID riid, _COM_Outptr_ void **ppFactory);
 HRESULT WINAPI CreateDXGIFactory2(UINT Flags, REFIID riid, _COM_Outptr_ void **ppFactory);
 HRESULT WINAPI DXGIGetDebugInterface1(UINT Flags, REFIID riid, _COM_Outptr_ void **pDebug);
 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 */
 /* interface __MIDL_itf_dxgi1_3_0000_0004 */
 /* [local] */ 
 /* [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
 typedef struct DXGI_DECODE_SWAP_CHAIN_DESC
     {
     {
     UINT Flags;
     UINT Flags;
@@ -1795,10 +1788,6 @@ enum DXGI_OVERLAY_SUPPORT_FLAG
         DXGI_OVERLAY_SUPPORT_FLAG_SCALING	= 0x2
         DXGI_OVERLAY_SUPPORT_FLAG_SCALING	= 0x2
     } 	DXGI_OVERLAY_SUPPORT_FLAG;
     } 	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;
 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 */
 /* interface __MIDL_itf_dxgi1_3_0000_0008 */
 /* [local] */ 
 /* [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_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_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);
 DEFINE_GUID(IID_IDXGIOutput2,0x595e39d1,0x2724,0x4663,0x99,0xb1,0xda,0x96,0x9d,0xe2,0x83,0x64);

+ 0 - 5
3rdparty/dxsdk/include/dxgi1_4.h

@@ -78,9 +78,6 @@ extern "C"{
 /* interface __MIDL_itf_dxgi1_4_0000_0000 */
 /* interface __MIDL_itf_dxgi1_4_0000_0000 */
 /* [local] */ 
 /* [local] */ 
 
 
-#include <winapifamily.h>
-// BK - pragma region App Family
-#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
 typedef 
 typedef 
 enum DXGI_SWAP_CHAIN_COLOR_SPACE_SUPPORT_FLAG
 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 */
 /* interface __MIDL_itf_dxgi1_4_0000_0004 */
 /* [local] */ 
 /* [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_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_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);
 DEFINE_GUID(IID_IDXGIFactory4,0x1bc6ea02,0xef36,0x464f,0xbf,0x0c,0x21,0xca,0x39,0xe5,0x16,0x8a);

+ 0 - 5
3rdparty/dxsdk/include/dxgi1_5.h

@@ -78,9 +78,6 @@ extern "C"{
 /* interface __MIDL_itf_dxgi1_5_0000_0000 */
 /* interface __MIDL_itf_dxgi1_5_0000_0000 */
 /* [local] */ 
 /* [local] */ 
 
 
-#include <winapifamily.h>
-// BK - pragma region App Family
-#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
 typedef 
 typedef 
 enum DXGI_OUTDUPL_FLAG
 enum DXGI_OUTDUPL_FLAG
     {
     {
@@ -1521,8 +1518,6 @@ EXTERN_C const IID IID_IDXGIFactory5;
 /* interface __MIDL_itf_dxgi1_5_0000_0004 */
 /* interface __MIDL_itf_dxgi1_5_0000_0004 */
 /* [local] */ 
 /* [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_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_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);
 DEFINE_GUID(IID_IDXGIDevice4,0x95B4F95F,0xD8DA,0x4CA4,0x9E,0xE6,0x3B,0x76,0xD5,0x96,0x8A,0x10);

+ 0 - 5
3rdparty/dxsdk/include/dxgi1_6.h

@@ -79,9 +79,6 @@ extern "C"{
 /* [local] */ 
 /* [local] */ 
 
 
 // Copyright (c) Microsoft Corporation.  All Rights Reserved
 // 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();
 HRESULT WINAPI DXGIDeclareAdapterRemovalSupport();
 typedef 
 typedef 
 enum DXGI_ADAPTER_FLAG3
 enum DXGI_ADAPTER_FLAG3
@@ -1492,8 +1489,6 @@ EXTERN_C const IID IID_IDXGIFactory7;
 /* interface __MIDL_itf_dxgi1_6_0000_0004 */
 /* interface __MIDL_itf_dxgi1_6_0000_0004 */
 /* [local] */ 
 /* [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_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_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);
 DEFINE_GUID(IID_IDXGIFactory6,0xc1b6694f,0xff09,0x44a9,0xb0,0x3c,0x77,0x90,0x0a,0x0a,0x1d,0x17);

+ 5 - 0
3rdparty/dxsdk/include/dxgicommon.h

@@ -44,6 +44,11 @@ typedef enum DXGI_COLOR_SPACE_TYPE
     DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P2020            = 17,
     DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P2020            = 17,
     DXGI_COLOR_SPACE_YCBCR_STUDIO_GHLG_TOPLEFT_P2020    = 18,
     DXGI_COLOR_SPACE_YCBCR_STUDIO_GHLG_TOPLEFT_P2020    = 18,
     DXGI_COLOR_SPACE_YCBCR_FULL_GHLG_TOPLEFT_P2020      = 19,
     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_CUSTOM                             = 0xFFFFFFFF
 } DXGI_COLOR_SPACE_TYPE;
 } DXGI_COLOR_SPACE_TYPE;
 
 

+ 0 - 24
3rdparty/dxsdk/include/dxgitype.h

@@ -11,30 +11,6 @@
 #define MAKE_DXGI_HRESULT(code) MAKE_HRESULT(1, _FACDXGI, code)
 #define MAKE_DXGI_HRESULT(code) MAKE_HRESULT(1, _FACDXGI, code)
 #define MAKE_DXGI_STATUS(code)  MAKE_HRESULT(0, _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
 // DXGI error messages have moved to winerror.h
 
 
 #define DXGI_CPU_ACCESS_NONE                    ( 0 )
 #define DXGI_CPU_ACCESS_NONE                    ( 0 )

Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor