Biswapriyo Nath : include: Update d3d9caps.h header file.

Alexandre Julliard julliard at winehq.org
Wed Dec 11 16:35:07 CST 2019


Module: wine
Branch: master
Commit: 7157160865874344c330c936697942d2e8bca2f3
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=7157160865874344c330c936697942d2e8bca2f3

Author: Biswapriyo Nath <nathbappai at gmail.com>
Date:   Wed Dec 11 07:18:00 2019 +0530

include: Update d3d9caps.h header file.

Signed-off-by: Biswapriyo Nath <nathbappai at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 include/d3d9caps.h | 43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/include/d3d9caps.h b/include/d3d9caps.h
index feee0d4ce5..1068a2c35a 100644
--- a/include/d3d9caps.h
+++ b/include/d3d9caps.h
@@ -407,6 +407,49 @@ typedef struct _D3DCAPS9 {
 
 } D3DCAPS9;
 
+#ifndef D3D_DISABLE_9EX
+
+#define D3DOVERLAYCAPS_FULLRANGERGB      0x00000001
+#define D3DOVERLAYCAPS_LIMITEDRANGERGB   0x00000002
+#define D3DOVERLAYCAPS_YCbCr_BT601       0x00000004
+#define D3DOVERLAYCAPS_YCbCr_BT709       0x00000008
+#define D3DOVERLAYCAPS_YCbCr_BT601_xvYCC 0x00000010
+#define D3DOVERLAYCAPS_YCbCr_BT709_xvYCC 0x00000020
+#define D3DOVERLAYCAPS_STRETCHX          0x00000040
+#define D3DOVERLAYCAPS_STRETCHY          0x00000080
+
+typedef struct _D3DOVERLAYCAPS {
+  UINT   Caps;
+  UINT   MaxOverlayDisplayWidth;
+  UINT   MaxOverlayDisplayHeight;
+} D3DOVERLAYCAPS;
+
+#define D3DCPCAPS_SOFTWARE               0x00000001
+#define D3DCPCAPS_HARDWARE               0x00000002
+#define D3DCPCAPS_PROTECTIONALWAYSON     0x00000004
+#define D3DCPCAPS_PARTIALDECRYPTION      0x00000008
+#define D3DCPCAPS_CONTENTKEY             0x00000010
+#define D3DCPCAPS_FRESHENSESSIONKEY      0x00000020
+#define D3DCPCAPS_ENCRYPTEDREADBACK      0x00000040
+#define D3DCPCAPS_ENCRYPTEDREADBACKKEY   0x00000080
+#define D3DCPCAPS_SEQUENTIAL_CTR_IV      0x00000100
+#define D3DCPCAPS_ENCRYPTSLICEDATAONLY   0x00000200
+
+typedef struct _D3DCONTENTPROTECTIONCAPS {
+  DWORD     Caps;
+  GUID      KeyExchangeType;
+  UINT      BufferAlignmentStart;
+  UINT      BlockAlignmentSize;
+  ULONGLONG ProtectedMemorySize;
+} D3DCONTENTPROTECTIONCAPS;
+
+DEFINE_GUID(D3DCRYPTOTYPE_AES128_CTR,   0x9b6bd711, 0x4f74, 0x41c9, 0x9e, 0x7b, 0xb, 0xe2, 0xd7, 0xd9, 0x3b, 0x4f);
+DEFINE_GUID(D3DCRYPTOTYPE_PROPRIETARY,  0xab4e9afd, 0x1d1c, 0x46e6, 0xa7, 0x2f, 0x8, 0x69, 0x91, 0x7b, 0xd, 0xe8);
+DEFINE_GUID(D3DKEYEXCHANGE_RSAES_OAEP,  0xc1949895, 0xd72a, 0x4a1d, 0x8e, 0x5d, 0xed, 0x85, 0x7d, 0x17, 0x15, 0x20);
+DEFINE_GUID(D3DKEYEXCHANGE_DXVA,        0x43d3775c, 0x38e5, 0x4924, 0x8d, 0x86, 0xd3, 0xfc, 0xcf, 0x15, 0x3e, 0x9b);
+
+#endif
+
 #ifdef __i386__
 #include <poppack.h>
 #endif




More information about the wine-cvs mailing list