[PATCH v2 5/6] include/dxgi1_5.idl: Add missing values in DXGI_HDR_METADATA_TYPE enum.

Biswapriyo Nath nathbappai at gmail.com
Fri Aug 14 01:22:15 CDT 2020


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20200814/c9f2addd/attachment.htm>
-------------- next part --------------
From 716229f09fa3f25e3f13780ce7ea26444474104d Mon Sep 17 00:00:00 2001
From: Biswapriyo Nath <nathbappai at gmail.com>
Date: Fri, 14 Aug 2020 10:48:43 +0530
Subject: [PATCH v2 5/6] include/dxgi1_5.idl: Add missing values in DXGI_HDR_METADATA_TYPE enum.

Also add the related DXGI_HDR_METADATA_HDR10PLUS structure.

Signed-off-by: Biswapriyo Nath <nathbappai at gmail.com>
---
 include/dxgi1_5.idl | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/include/dxgi1_5.idl b/include/dxgi1_5.idl
index d88d141..7919f01 100644
--- a/include/dxgi1_5.idl
+++ b/include/dxgi1_5.idl
@@ -27,6 +27,7 @@ typedef enum DXGI_HDR_METADATA_TYPE
 {
     DXGI_HDR_METADATA_TYPE_NONE = 0x0,
     DXGI_HDR_METADATA_TYPE_HDR10 = 0x1,
+    DXGI_HDR_METADATA_TYPE_HDR10PLUS = 0x2,
 } DXGI_HDR_METADATA_TYPE;
 
 typedef enum _DXGI_OFFER_RESOURCE_FLAGS
@@ -58,6 +59,11 @@ typedef struct DXGI_HDR_METADATA_HDR10
     UINT16 MaxFrameAverageLightLevel;
 } DXGI_HDR_METADATA_HDR10;
 
+typedef struct DXGI_HDR_METADATA_HDR10PLUS
+{
+    BYTE Data[72];
+} DXGI_HDR_METADATA_HDR10PLUS;
+
 [
     object,
     uuid(80a07424-ab52-42eb-833c-0c42fd282d98),
-- 
2.27.0



More information about the wine-devel mailing list