wip prep commit in lieu of gfx subsystem update changes.
[AROS.git] / rom / hidds / graphics / stdpixfmts_be.h
blobf0c0f5e4623c85d6f61f74e8f7fcba9465912c11
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Standard pixel formats. Big 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 , 0x00FF0000, 0x0000FF00, 0x000000FF, 0x00000000
21 , 8, 16, 24, 0
22 , 0, 0
23 , vHidd_StdPixFmt_RGB24
24 , PF_GRAPHTYPE(TrueColor, Chunky)
25 }, {
26 /* B8G8R8 */
28 24, 24, 3
29 , 0x000000FF, 0x0000FF00, 0x00FF0000, 0x00000000
30 , 24, 16, 8, 0
31 , 0, 0
32 , vHidd_StdPixFmt_BGR24
33 , PF_GRAPHTYPE(TrueColor, Chunky)
34 }, {
35 /* R5G6B5 */
38 16, 16, 2
39 , 0x0000F800, 0x000007E0, 0x0000001F, 0x00000000
40 , 16, 21, 27, 0
41 , 0, 0
42 , vHidd_StdPixFmt_RGB16
43 , PF_GRAPHTYPE(TrueColor, Chunky)
44 }, {
45 /* R5G6B5 little endian */
47 16, 16, 2
48 , 0x0000F800, 0x000007E0, 0x0000001F, 0x00000000
49 , 16, 21, 27, 0
50 , 0, 0
51 , vHidd_StdPixFmt_RGB16_LE
52 , PF_GRAPHTYPE(TrueColor, Chunky) | vHidd_PixFmt_SwapPixelBytes_Flag
53 }, {
54 /* B5G6R5 */
56 16, 16, 2
57 , 0x0000001F, 0x000007E0, 0x0000F800, 0x00000000
58 , 27, 21, 16, 0
59 , 0, 0
60 , vHidd_StdPixFmt_BGR16
61 , PF_GRAPHTYPE(TrueColor, Chunky)
62 }, {
63 /* B5G6R5 little endian */
65 16, 16, 2
66 , 0x0000001F, 0x000007E0, 0x0000F800, 0x00000000
67 , 27, 21, 16, 0
68 , 0, 0
69 , vHidd_StdPixFmt_BGR16_LE
70 , PF_GRAPHTYPE(TrueColor, Chunky) | vHidd_PixFmt_SwapPixelBytes_Flag
71 }, {
72 /* X1R5G5B5 */
74 15, 15, 2
75 , 0x00007C00, 0x000003E0, 0x0000001F, 0x00000000
76 , 17, 22, 27, 0
77 , 0, 0
78 , vHidd_StdPixFmt_RGB15
79 , PF_GRAPHTYPE(TrueColor, Chunky)
80 }, {
81 /* X1R5G5B5 little endian */
83 15, 15, 2
84 , 0x00007C00, 0x000003E0, 0x0000001F, 0x00000000
85 , 17, 22, 27, 0
86 , 0, 0
87 , vHidd_StdPixFmt_RGB15_LE
88 , PF_GRAPHTYPE(TrueColor, Chunky) | vHidd_PixFmt_SwapPixelBytes_Flag
89 }, {
90 /* X1B5G5R5 */
92 15, 15, 2
93 , 0x0000001F, 0x000003E0, 0x00007C00, 0x00000000
94 , 27, 22, 17, 0
95 , 0, 0
96 , vHidd_StdPixFmt_BGR15
97 , PF_GRAPHTYPE(TrueColor, Chunky)
98 }, {
99 /* X1B5G5R5 little endian */
101 15, 15, 2
102 , 0x0000001F, 0x000003E0, 0x00007C00, 0x00000000
103 , 27, 22, 17, 0
104 , 0, 0
105 , vHidd_StdPixFmt_BGR15_LE
106 , PF_GRAPHTYPE(TrueColor, Chunky) | vHidd_PixFmt_SwapPixelBytes_Flag
107 }, {
108 /* A8R8G8B8 */
110 32, 32, 4
111 , 0x00FF0000, 0x0000FF00, 0x000000FF, 0xFF000000
112 , 8, 16, 24, 0
113 , 0, 0
114 , vHidd_StdPixFmt_ARGB32
115 , PF_GRAPHTYPE(TrueColor, Chunky)
116 }, {
117 /* B8G8R8A8 */
119 32, 32, 4
120 , 0x0000FF00, 0x00FF0000, 0xFF000000, 0x000000FF
121 , 16, 8, 0, 24
122 , 0, 0
123 , vHidd_StdPixFmt_BGRA32
124 , PF_GRAPHTYPE(TrueColor, Chunky)
125 }, {
126 /* R8G8B8A8 */
128 32, 32, 4
129 , 0xFF000000, 0x00FF0000, 0x0000FF00, 0x000000FF
130 , 0, 8, 16, 24
131 , 0, 0
132 , vHidd_StdPixFmt_RGBA32
133 , PF_GRAPHTYPE(TrueColor, Chunky)
134 }, {
135 /* A8B8G8R8 */
137 32, 32, 4
138 , 0x000000FF, 0x0000FF00, 0x00FF0000, 0xFF000000
139 , 24, 16, 8, 0
140 , 0, 0
141 , vHidd_StdPixFmt_ABGR32
142 , PF_GRAPHTYPE(TrueColor, Chunky)
143 }, {
144 /* X8R8G8B8 */
146 24, 24, 4
147 , 0x00FF0000, 0x0000FF00, 0x000000FF, 0x00000000
148 , 8, 16, 24, 0
149 , 0, 0
150 , vHidd_StdPixFmt_0RGB32
151 , PF_GRAPHTYPE(TrueColor, Chunky)
152 }, {
153 /* B8G8R8X8 */
155 24, 24, 4
156 , 0x0000FF00, 0x00FF0000, 0xFF000000, 0x00000000
157 , 16, 8, 0, 0
158 , 0, 0
159 , vHidd_StdPixFmt_BGR032
160 , PF_GRAPHTYPE(TrueColor, Chunky)
161 }, {
162 /* R8G8B8X8 */
164 24, 24, 4
165 , 0xFF000000, 0x00FF0000, 0x0000FF00, 0x00000000
166 , 0, 8, 16, 0
167 , 0, 0
168 , vHidd_StdPixFmt_RGB032
169 , PF_GRAPHTYPE(TrueColor, Chunky)
170 }, {
171 /* X8B8G8R8 */
173 24, 24, 4
174 , 0x000000FF, 0x0000FF00, 0x00FF0000, 0x00000000
175 , 24, 16, 8, 0
176 , 0, 0
177 , vHidd_StdPixFmt_0BGR32
178 , PF_GRAPHTYPE(TrueColor, Chunky)
179 }, {
180 /* 8 Bit chunky */
182 8, 8, 1
183 , 0x00FF0000, 0x0000FF00, 0x000000FF, 0x00000000
184 , 0, 0, 0, 0
185 , 0x000000FF, 0
186 , vHidd_StdPixFmt_LUT8
187 , PF_GRAPHTYPE(Palette, Chunky)
188 }, {
189 /* 1 Bit planar */
191 1, 1, 1
192 , 0x00FF0000, 0x0000FF00, 0x000000FF, 0x00000000
193 , 0, 0, 0, 0
194 , 0x0000000F, 0
195 , vHidd_StdPixFmt_Plane
196 , PF_GRAPHTYPE(Palette, Planar)