grub2: bring back build of aros-side grub2 tools
[AROS.git] / rom / hidds / graphics / stdpixfmts_le.h
blob430a850c3eb32606e963ad08b2e4399279184bed
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Standard pixel formats. Little endian machines.
6 Lang: english
7 */
9 /****************************************************************************************/
11 /* IMPORTANT: The order of these must match the order of the vHidd_StdPixFmt
12 enum in <hidds/graphics.h> !!! */
14 const HIDDT_PixelFormat stdpfs[] =
17 /* R8G8B8 */
19 24, 24, 3
20 , 0x000000FF, 0x0000FF00, 0x00FF0000, 0x00000000
21 , 24, 16, 8, 0
22 , 0, 0
23 , vHidd_StdPixFmt_RGB24
24 , PF_GRAPHTYPE(TrueColor, Chunky)
25 }, {
26 /* B8G8R8 */
28 24, 24, 3
29 , 0x00FF0000, 0x0000FF00, 0x000000FF, 0x00000000
30 , 8, 16, 24, 0
31 , 0, 0
32 , vHidd_StdPixFmt_BGR24
33 , PF_GRAPHTYPE(TrueColor, Chunky)
34 }, {
35 /* R5G6B5 */
37 16, 16, 2
38 , 0x0000F800, 0x000007E0, 0x0000001F, 0x00000000
39 , 16, 21, 27, 0
40 , 0, 0
41 , vHidd_StdPixFmt_RGB16
42 , PF_GRAPHTYPE(TrueColor, Chunky) | vHidd_PixFmt_SwapPixelBytes_Flag
43 }, {
44 /* R5G6B5 little endian */
46 16, 16, 2
47 , 0x0000F800, 0x000007E0, 0x0000001F, 0x00000000
48 , 16, 21, 27, 0
49 , 0, 0
50 , vHidd_StdPixFmt_RGB16_LE
51 , PF_GRAPHTYPE(TrueColor, Chunky)
52 }, {
53 /* B5G6R5 */
55 16, 16, 2
56 , 0x0000001F, 0x000007E0, 0x0000F800, 0x00000000
57 , 27, 21, 16, 0
58 , 0, 0
59 , vHidd_StdPixFmt_BGR16
60 , PF_GRAPHTYPE(TrueColor, Chunky) | vHidd_PixFmt_SwapPixelBytes_Flag
61 }, {
62 /* B5G6R5 little endian */
64 16, 16, 2
65 , 0x0000001F, 0x000007E0, 0x0000F800, 0x00000000
66 , 27, 21, 16, 0
67 , 0, 0
68 , vHidd_StdPixFmt_BGR16_LE
69 , PF_GRAPHTYPE(TrueColor, Chunky)
70 }, {
71 /* X1R5G5B5 */
73 15, 15, 2
74 , 0x00007C00, 0x000003E0, 0x0000001F, 0x00000000
75 , 17, 22, 27, 0
76 , 0, 0
77 , vHidd_StdPixFmt_RGB15
78 , PF_GRAPHTYPE(TrueColor, Chunky) | vHidd_PixFmt_SwapPixelBytes_Flag
79 }, {
80 /* X1R5G5B5 little endian */
82 15, 15, 2
83 , 0x00007C00, 0x000003E0, 0x0000001F, 0x00000000
84 , 17, 22, 27, 0
85 , 0, 0
86 , vHidd_StdPixFmt_RGB15_LE
87 , PF_GRAPHTYPE(TrueColor, Chunky)
88 }, {
89 /* X1B5G5R5 */
91 15, 15, 2
92 , 0x0000001F, 0x000003E0, 0x00007C00, 0x00000000
93 , 27, 22, 17, 0
94 , 0, 0
95 , vHidd_StdPixFmt_BGR15
96 , PF_GRAPHTYPE(TrueColor, Chunky) | vHidd_PixFmt_SwapPixelBytes_Flag
97 }, {
98 /* X1B5G5R5 little endian */
100 15, 15, 2
101 , 0x0000001F, 0x000003E0, 0x00007C00, 0x00000000
102 , 27, 22, 17, 0
103 , 0, 0
104 , vHidd_StdPixFmt_BGR15_LE
105 , PF_GRAPHTYPE(TrueColor, Chunky)
106 }, {
107 /* A8R8G8B8 */
109 32, 32, 4
110 , 0x0000FF00, 0x00FF0000, 0xFF000000, 0x000000FF
111 , 16, 8, 0, 24
112 , 0, 0
113 , vHidd_StdPixFmt_ARGB32
114 , PF_GRAPHTYPE(TrueColor, Chunky)
115 }, {
116 /* B8G8R8A8 */
118 32, 32, 4
119 , 0x00FF0000, 0x0000FF00, 0x000000FF, 0xFF000000
120 , 8, 16, 24, 0
121 , 0, 0
122 , vHidd_StdPixFmt_BGRA32
123 , PF_GRAPHTYPE(TrueColor, Chunky)
124 }, {
125 /* R8G8B8A8 */
127 32, 32, 4
128 , 0x000000FF, 0x0000FF00, 0x00FF0000, 0xFF000000
129 , 24, 16, 8, 0
130 , 0, 0
131 , vHidd_StdPixFmt_RGBA32
132 , PF_GRAPHTYPE(TrueColor, Chunky)
133 }, {
134 /* A8B8G8R8 */
136 32, 32, 4
137 , 0xFF000000, 0x00FF0000, 0x0000FF00, 0x000000FF
138 , 0, 8, 16, 24
139 , 0, 0
140 , vHidd_StdPixFmt_ABGR32
141 , PF_GRAPHTYPE(TrueColor, Chunky)
142 }, {
143 /* X8R8G8B8 */
145 24, 24, 4
146 , 0x0000FF00, 0x00FF0000, 0xFF000000, 0x00000000
147 , 16, 8, 0, 0
148 , 0, 0
149 , vHidd_StdPixFmt_0RGB32
150 , PF_GRAPHTYPE(TrueColor, Chunky)
151 }, {
152 /* B8G8R8X8 */
154 24, 24, 4
155 , 0x00FF0000, 0x0000FF00, 0x000000FF, 0x00000000
156 , 8, 16, 24, 0
157 , 0, 0
158 , vHidd_StdPixFmt_BGR032
159 , PF_GRAPHTYPE(TrueColor, Chunky)
160 }, {
161 /* R8G8B8X8 */
163 24, 24, 4
164 , 0x000000FF, 0x0000FF00, 0x00FF0000, 0x00000000
165 , 24, 16, 8, 0
166 , 0, 0
167 , vHidd_StdPixFmt_RGB032
168 , PF_GRAPHTYPE(TrueColor, Chunky)
169 }, {
170 /* X8B8G8R8 */
172 24, 24, 4
173 , 0xFF000000, 0x00FF0000, 0x0000FF00, 0x00000000
174 , 0, 8, 16, 0
175 , 0, 0
176 , vHidd_StdPixFmt_0BGR32
177 , PF_GRAPHTYPE(TrueColor, Chunky)
178 }, {
179 /* 8 Bit chunky */
181 8, 8, 1
182 , 0x000000FF, 0x0000FF00, 0x00FF0000, 0x00000000
183 , 0, 0, 0, 0
184 , 0x000000FF, 0
185 , vHidd_StdPixFmt_LUT8
186 , PF_GRAPHTYPE(Palette, Chunky)
187 }, {
188 /* 1 Bit planar */
190 1, 1, 1
191 , 0x000000FF, 0x0000FF00, 0x00FF0000, 0x00000000
192 , 0, 0, 0, 0
193 , 0x0000000F, 0
194 , vHidd_StdPixFmt_Plane
195 , PF_GRAPHTYPE(Palette, Planar)