aboutsummaryrefslogtreecommitdiff
path: root/contrib/DirectX-Headers/include/directx/dxgicommon.idl
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/DirectX-Headers/include/directx/dxgicommon.idl')
-rw-r--r--contrib/DirectX-Headers/include/directx/dxgicommon.idl52
1 files changed, 52 insertions, 0 deletions
diff --git a/contrib/DirectX-Headers/include/directx/dxgicommon.idl b/contrib/DirectX-Headers/include/directx/dxgicommon.idl
new file mode 100644
index 0000000..ab73230
--- /dev/null
+++ b/contrib/DirectX-Headers/include/directx/dxgicommon.idl
@@ -0,0 +1,52 @@
1//
2// Copyright (C) Microsoft Corporation.
3// Licensed under the MIT license
4//
5
6
7typedef struct DXGI_RATIONAL
8{
9 UINT Numerator;
10 UINT Denominator;
11} DXGI_RATIONAL;
12
13// The following values are used with DXGI_SAMPLE_DESC::Quality:
14#define DXGI_STANDARD_MULTISAMPLE_QUALITY_PATTERN 0xffffffff
15#define DXGI_CENTER_MULTISAMPLE_QUALITY_PATTERN 0xfffffffe
16
17typedef struct DXGI_SAMPLE_DESC
18{
19 UINT Count;
20 UINT Quality;
21} DXGI_SAMPLE_DESC;
22
23typedef enum DXGI_COLOR_SPACE_TYPE
24{
25 DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709 = 0,
26 DXGI_COLOR_SPACE_RGB_FULL_G10_NONE_P709 = 1,
27 DXGI_COLOR_SPACE_RGB_STUDIO_G22_NONE_P709 = 2,
28 DXGI_COLOR_SPACE_RGB_STUDIO_G22_NONE_P2020 = 3,
29 DXGI_COLOR_SPACE_RESERVED = 4,
30 DXGI_COLOR_SPACE_YCBCR_FULL_G22_NONE_P709_X601 = 5,
31 DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P601 = 6,
32 DXGI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P601 = 7,
33 DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P709 = 8,
34 DXGI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P709 = 9,
35 DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P2020 = 10,
36 DXGI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P2020 = 11,
37 DXGI_COLOR_SPACE_RGB_FULL_G2084_NONE_P2020 = 12,
38 DXGI_COLOR_SPACE_YCBCR_STUDIO_G2084_LEFT_P2020 = 13,
39 DXGI_COLOR_SPACE_RGB_STUDIO_G2084_NONE_P2020 = 14,
40 DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_TOPLEFT_P2020 = 15,
41 DXGI_COLOR_SPACE_YCBCR_STUDIO_G2084_TOPLEFT_P2020 = 16,
42 DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P2020 = 17,
43 DXGI_COLOR_SPACE_YCBCR_STUDIO_GHLG_TOPLEFT_P2020 = 18,
44 DXGI_COLOR_SPACE_YCBCR_FULL_GHLG_TOPLEFT_P2020 = 19,
45 DXGI_COLOR_SPACE_RGB_STUDIO_G24_NONE_P709 = 20,
46 DXGI_COLOR_SPACE_RGB_STUDIO_G24_NONE_P2020 = 21,
47 DXGI_COLOR_SPACE_YCBCR_STUDIO_G24_LEFT_P709 = 22,
48 DXGI_COLOR_SPACE_YCBCR_STUDIO_G24_LEFT_P2020 = 23,
49 DXGI_COLOR_SPACE_YCBCR_STUDIO_G24_TOPLEFT_P2020 = 24,
50 DXGI_COLOR_SPACE_CUSTOM = 0xFFFFFFFF
51} DXGI_COLOR_SPACE_TYPE;
52