diff options
author | marsunet <marc.sunet@amd.com> | 2021-12-21 17:04:22 -0800 |
---|---|---|
committer | marsunet <marc.sunet@amd.com> | 2021-12-21 17:04:22 -0800 |
commit | fba8184491e0b7ae6fab7ac01b4600d230dc4569 (patch) | |
tree | c13194764867a4ad8f46702356b22dccc1e56dd3 /contrib/DirectX-Headers/include/directx/dxgicommon.idl | |
parent | 8b1583b65d77188ef35a89e75f145f29c3e3b5d7 (diff) |
Diffstat (limited to 'contrib/DirectX-Headers/include/directx/dxgicommon.idl')
-rw-r--r-- | contrib/DirectX-Headers/include/directx/dxgicommon.idl | 52 |
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 | |||
7 | typedef 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 | |||
17 | typedef struct DXGI_SAMPLE_DESC | ||
18 | { | ||
19 | UINT Count; | ||
20 | UINT Quality; | ||
21 | } DXGI_SAMPLE_DESC; | ||
22 | |||
23 | typedef 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 | |||