ReactOS  0.4.15-dev-309-g7c8d563
d3dukmdt.h
Go to the documentation of this file.
1 /*
2  * Copyright 2016 Henri Verbeet for CodeWeavers
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 
19 #ifndef __WINE_D3DUKMDT_H
20 #define __WINE_D3DUKMDT_H
21 
22 #ifndef MAKEFOURCC
23 #define MAKEFOURCC(ch0, ch1, ch2, ch3) \
24  ((DWORD)(BYTE)(ch0) | ((DWORD)(BYTE)(ch1) << 8) | \
25  ((DWORD)(BYTE)(ch2) << 16) | ((DWORD)(BYTE)(ch3) << 24))
26 #endif /* MAKEFOURCC */
27 
28 typedef enum _D3DDDIFORMAT
29 {
39  D3DDDIFMT_A8 = 0x1c,
49  D3DDDIFMT_P8 = 0x29,
50  D3DDDIFMT_L8 = 0x32,
61  D3DDDIFMT_D32 = 0x47,
70  D3DDDIFMT_D16 = 0x50,
71  D3DDDIFMT_L16 = 0x51,
77  D3DDDIFMT_R8 = 0x5c,
89  D3DDDIFMT_A1 = 0x76,
126  D3DDDIFMT_DXT1 = MAKEFOURCC('D', 'X', 'T', '1'),
127  D3DDDIFMT_DXT2 = MAKEFOURCC('D', 'X', 'T', '2'),
128  D3DDDIFMT_DXT3 = MAKEFOURCC('D', 'X', 'T', '3'),
129  D3DDDIFMT_DXT4 = MAKEFOURCC('D', 'X', 'T', '4'),
130  D3DDDIFMT_DXT5 = MAKEFOURCC('D', 'X', 'T', '5'),
131  D3DDDIFMT_G8R8_G8B8 = MAKEFOURCC('G', 'R', 'G', 'B'),
132  D3DDDIFMT_MULTI2_ARGB8 = MAKEFOURCC('M', 'E', 'T', '1'),
133  D3DDDIFMT_R8G8_B8G8 = MAKEFOURCC('R', 'G', 'B', 'G'),
134  D3DDDIFMT_UYVY = MAKEFOURCC('U', 'Y', 'V', 'Y'),
135  D3DDDIFMT_YUY2 = MAKEFOURCC('Y', 'U', 'Y', '2'),
136  D3DDDIFMT_FORCE_UINT = 0x7fffffff,
137 } D3DDDIFORMAT;
138 
139 #endif /* __WINE_D3DUKMDT_H */
enum _D3DDDIFORMAT D3DDDIFORMAT
_D3DDDIFORMAT
Definition: d3dukmdt.h:28
#define MAKEFOURCC(ch0, ch1, ch2, ch3)
Definition: d3dukmdt.h:23