2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
5 Desc: Standard pixel formats. Big endian machines.
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
[] =
20 , 0x00FF0000, 0x0000FF00, 0x000000FF, 0x00000000
23 , vHidd_StdPixFmt_RGB24
24 , PF_GRAPHTYPE(TrueColor
, Chunky
)
29 , 0x000000FF, 0x0000FF00, 0x00FF0000, 0x00000000
32 , vHidd_StdPixFmt_BGR24
33 , PF_GRAPHTYPE(TrueColor
, Chunky
)
39 , 0x0000F800, 0x000007E0, 0x0000001F, 0x00000000
42 , vHidd_StdPixFmt_RGB16
43 , PF_GRAPHTYPE(TrueColor
, Chunky
)
45 /* R5G6B5 little endian */
48 , 0x0000F800, 0x000007E0, 0x0000001F, 0x00000000
51 , vHidd_StdPixFmt_RGB16_LE
52 , PF_GRAPHTYPE(TrueColor
, Chunky
) | vHidd_PixFmt_SwapPixelBytes_Flag
57 , 0x0000001F, 0x000007E0, 0x0000F800, 0x00000000
60 , vHidd_StdPixFmt_BGR16
61 , PF_GRAPHTYPE(TrueColor
, Chunky
)
63 /* B5G6R5 little endian */
66 , 0x0000001F, 0x000007E0, 0x0000F800, 0x00000000
69 , vHidd_StdPixFmt_BGR16_LE
70 , PF_GRAPHTYPE(TrueColor
, Chunky
) | vHidd_PixFmt_SwapPixelBytes_Flag
75 , 0x00007C00, 0x000003E0, 0x0000001F, 0x00000000
78 , vHidd_StdPixFmt_RGB15
79 , PF_GRAPHTYPE(TrueColor
, Chunky
)
81 /* X1R5G5B5 little endian */
84 , 0x00007C00, 0x000003E0, 0x0000001F, 0x00000000
87 , vHidd_StdPixFmt_RGB15_LE
88 , PF_GRAPHTYPE(TrueColor
, Chunky
) | vHidd_PixFmt_SwapPixelBytes_Flag
93 , 0x0000001F, 0x000003E0, 0x00007C00, 0x00000000
96 , vHidd_StdPixFmt_BGR15
97 , PF_GRAPHTYPE(TrueColor
, Chunky
)
99 /* X1B5G5R5 little endian */
102 , 0x0000001F, 0x000003E0, 0x00007C00, 0x00000000
105 , vHidd_StdPixFmt_BGR15_LE
106 , PF_GRAPHTYPE(TrueColor
, Chunky
) | vHidd_PixFmt_SwapPixelBytes_Flag
111 , 0x00FF0000, 0x0000FF00, 0x000000FF, 0xFF000000
114 , vHidd_StdPixFmt_ARGB32
115 , PF_GRAPHTYPE(TrueColor
, Chunky
)
120 , 0x0000FF00, 0x00FF0000, 0xFF000000, 0x000000FF
123 , vHidd_StdPixFmt_BGRA32
124 , PF_GRAPHTYPE(TrueColor
, Chunky
)
129 , 0xFF000000, 0x00FF0000, 0x0000FF00, 0x000000FF
132 , vHidd_StdPixFmt_RGBA32
133 , PF_GRAPHTYPE(TrueColor
, Chunky
)
138 , 0x000000FF, 0x0000FF00, 0x00FF0000, 0xFF000000
141 , vHidd_StdPixFmt_ABGR32
142 , PF_GRAPHTYPE(TrueColor
, Chunky
)
147 , 0x00FF0000, 0x0000FF00, 0x000000FF, 0x00000000
150 , vHidd_StdPixFmt_0RGB32
151 , PF_GRAPHTYPE(TrueColor
, Chunky
)
156 , 0x0000FF00, 0x00FF0000, 0xFF000000, 0x00000000
159 , vHidd_StdPixFmt_BGR032
160 , PF_GRAPHTYPE(TrueColor
, Chunky
)
165 , 0xFF000000, 0x00FF0000, 0x0000FF00, 0x00000000
168 , vHidd_StdPixFmt_RGB032
169 , PF_GRAPHTYPE(TrueColor
, Chunky
)
174 , 0x000000FF, 0x0000FF00, 0x00FF0000, 0x00000000
177 , vHidd_StdPixFmt_0BGR32
178 , PF_GRAPHTYPE(TrueColor
, Chunky
)
183 , 0x00FF0000, 0x0000FF00, 0x000000FF, 0x00000000
186 , vHidd_StdPixFmt_LUT8
187 , PF_GRAPHTYPE(Palette
, Chunky
)
192 , 0x00FF0000, 0x0000FF00, 0x000000FF, 0x00000000
195 , vHidd_StdPixFmt_Plane
196 , PF_GRAPHTYPE(Palette
, Planar
)