ReactOS 0.4.17-dev-934-g091855f
dxgicommon.idl
Go to the documentation of this file.
1/*
2 * Copyright 2017 Ihsan Akmal
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17 */
18
19cpp_quote("#if 0")
20typedef unsigned int UINT;
21cpp_quote("#endif")
22
23const UINT DXGI_STANDARD_MULTISAMPLE_QUALITY_PATTERN = 0xffffffff;
24const UINT DXGI_CENTER_MULTISAMPLE_QUALITY_PATTERN = 0xfffffffe;
25
26typedef enum DXGI_COLOR_SPACE_TYPE
27{
28 DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709 = 0x00,
29 DXGI_COLOR_SPACE_RGB_FULL_G10_NONE_P709 = 0x01,
30 DXGI_COLOR_SPACE_RGB_STUDIO_G22_NONE_P709 = 0x02,
31 DXGI_COLOR_SPACE_RGB_STUDIO_G22_NONE_P2020 = 0x03,
32 DXGI_COLOR_SPACE_RESERVED = 0x04,
33 DXGI_COLOR_SPACE_YCBCR_FULL_G22_NONE_P709_X601 = 0x05,
34 DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P601 = 0x06,
35 DXGI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P601 = 0x07,
36 DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P709 = 0x08,
37 DXGI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P709 = 0x09,
38 DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P2020 = 0x0a,
39 DXGI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P2020 = 0x0b,
40 DXGI_COLOR_SPACE_RGB_FULL_G2084_NONE_P2020 = 0x0c,
41 DXGI_COLOR_SPACE_YCBCR_STUDIO_G2084_LEFT_P2020 = 0x0d,
42 DXGI_COLOR_SPACE_RGB_STUDIO_G2084_NONE_P2020 = 0x0e,
43 DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_TOPLEFT_P2020 = 0x0f,
44 DXGI_COLOR_SPACE_YCBCR_STUDIO_G2084_TOPLEFT_P2020 = 0x10,
45 DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P2020 = 0x11,
46 DXGI_COLOR_SPACE_YCBCR_STUDIO_GHLG_TOPLEFT_P2020 = 0x12,
47 DXGI_COLOR_SPACE_YCBCR_FULL_GHLG_TOPLEFT_P2020 = 0x13,
48 DXGI_COLOR_SPACE_RGB_STUDIO_G24_NONE_P709 = 0x14,
49 DXGI_COLOR_SPACE_RGB_STUDIO_G24_NONE_P2020 = 0x15,
50 DXGI_COLOR_SPACE_YCBCR_STUDIO_G24_LEFT_P709 = 0x16,
51 DXGI_COLOR_SPACE_YCBCR_STUDIO_G24_LEFT_P2020 = 0x17,
52 DXGI_COLOR_SPACE_YCBCR_STUDIO_G24_TOPLEFT_P2020 = 0x18,
53 DXGI_COLOR_SPACE_CUSTOM = 0xffffffff,
54} DXGI_COLOR_SPACE_TYPE;
55
56typedef struct DXGI_SAMPLE_DESC
57{
58 UINT Count;
59 UINT Quality;
60} DXGI_SAMPLE_DESC;
61
62typedef struct DXGI_RATIONAL
63{
64 UINT Numerator;
65 UINT Denominator;
66} DXGI_RATIONAL;
CD3D10_BUFFER_DESC D3D10_BUFFER_DESC cpp_quote(" ~CD3D10_BUFFER_DESC() {}") operator const D3D10_BUFFER_DESC &() const
Definition: d3d10.idl:496
unsigned int UINT
Definition: sysinfo.c:13