|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. --> |
|
3 <!-- This component and the accompanying materials are made available under the terms of the License |
|
4 "Eclipse Public License v1.0" which accompanies this distribution, |
|
5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". --> |
|
6 <!-- Initial Contributors: |
|
7 Nokia Corporation - initial contribution. |
|
8 Contributors: |
|
9 --> |
|
10 <!DOCTYPE concept |
|
11 PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
|
12 <concept id="GUID-7E6DDDBB-FDE2-59ED-A932-AFD4D0BAC3E3" xml:lang="en"><title>RGB |
|
13 Pixel Formats</title><shortdesc>This topic provides detailed information about the supported RGB |
|
14 pixel formats.</shortdesc><prolog><metadata><keywords/></metadata></prolog><conbody> |
|
15 <p>The following conventions are used in the diagrams: G represents |
|
16 the green component, B represents the blue component, R represents the red |
|
17 component, A represents the alpha component, l represents the low bit and |
|
18 h represents the high bit. </p> |
|
19 <section id="GUID-05210E2E-98D6-40FF-867B-282072998367"><title> EUidPixelFormatRGB_565</title> <p>16-bit little-endian format |
|
20 without an alpha channel. The red, green and blue color channels occupy 5, |
|
21 6 and 5 bits, respectively. This format supports 65536 possible colors. One |
|
22 word contains 2 pixels. </p> <fig id="GUID-BCA03D58-FE74-5E55-BA19-D9A7D71947B0"> |
|
23 <title> Word diagram representing the EUidPixelFormatRGB_565 |
|
24 format </title> |
|
25 <image href="GUID-2DDFE745-3991-573C-94D6-22A43A2F0BF0_d0e205349_href.png" placement="inline"/> |
|
26 </fig> <fig id="GUID-E01CE3FD-67C0-58DF-94A0-D37774FA1799"> |
|
27 <title> Pixel address layout in memory for the EUidPixelFormatRGB_565 |
|
28 format </title> |
|
29 <image href="GUID-331655D7-2D5F-55F9-99A4-5FFA40877C26_d0e205357_href.png" placement="inline"/> |
|
30 </fig> <table id="GUID-7A2E9722-8048-5E7E-BD12-E0EF0BD12735"> |
|
31 <tgroup cols="2"><colspec colname="col0"/><colspec colname="col1"/> |
|
32 <tbody> |
|
33 <row> |
|
34 <entry>Graphics display mode </entry> |
|
35 <entry><codeph>EColor64K</codeph> </entry> |
|
36 </row> |
|
37 <row> |
|
38 <entry>Color depth </entry> |
|
39 <entry>16bpp </entry> |
|
40 </row> |
|
41 <row> |
|
42 <entry>Multimedia pixel format constant </entry> |
|
43 <entry>No mapping </entry> |
|
44 </row> |
|
45 <row> |
|
46 <entry>Equivalent UID value </entry> |
|
47 <entry>{0x1027549E} </entry> |
|
48 </row> |
|
49 </tbody> |
|
50 </tgroup> |
|
51 </table> </section> |
|
52 <section id="GUID-7E8D737E-5294-45D0-9F7F-F5BD08102EF1"><title>EUidPixelFormatXRGB_4444</title> <p>16-bit little-endian format |
|
53 without an alpha channel. The red, green and blue color channels each occupy |
|
54 4 bits. The first 4 bits are unused. </p> <fig id="GUID-067C59F1-2336-5A34-A9C1-2FC07200E6C1"> |
|
55 <title> Word diagram representing the EUidPixelFormatXRGB_4444 |
|
56 format </title> |
|
57 <image href="GUID-D96DECA4-99B4-5F08-8FDF-C14771EEFACD_d0e205422_href.png" placement="inline"/> |
|
58 </fig> <fig id="GUID-CA9FA780-DEE1-5AB3-BC0E-9382A2895DF3"> |
|
59 <title> Pixel address layout in memory for the EUidPixelFormatXRGB_4444 |
|
60 format </title> |
|
61 <image href="GUID-5A8AE98B-51B3-5540-911A-2D04DA144C08_d0e205430_href.png" placement="inline"/> |
|
62 </fig> <table id="GUID-2566B91D-E924-5CED-BB08-02F362957DA7"> |
|
63 <tgroup cols="2"><colspec colname="col0"/><colspec colname="col1"/> |
|
64 <tbody> |
|
65 <row> |
|
66 <entry>Graphics display mode </entry> |
|
67 <entry><codeph>EColor4K</codeph> </entry> |
|
68 </row> |
|
69 <row> |
|
70 <entry>Color depth </entry> |
|
71 <entry>12bpp </entry> |
|
72 </row> |
|
73 <row> |
|
74 <entry>Multimedia pixel format constant </entry> |
|
75 <entry><codeph>KUidFormat16bitRGB444Interleaved</codeph> </entry> |
|
76 </row> |
|
77 <row> |
|
78 <entry>Equivalent UID value </entry> |
|
79 <entry>{0x10273764} </entry> |
|
80 </row> |
|
81 </tbody> |
|
82 </tgroup> |
|
83 </table> </section> |
|
84 <section id="GUID-1ADA4D91-850D-4EF0-B183-D447730DDF58"><title> EUidPixelFormatXRGB_8888</title> <p>32-bit little-endian |
|
85 format without an alpha channel. The red, green and blue color channels each |
|
86 occupy 8 bits with blue in the low byte and one unused byte. Although it uses |
|
87 only 24 bits, this format requires 32 bits (1 word) to construct. </p> <fig id="GUID-49BB7271-EA82-53E0-A8F1-0FD3173F5FBF"> |
|
88 <title> Word diagram representing the EUidPixelFormatXRGB_8888 |
|
89 format </title> |
|
90 <image href="GUID-71F8553D-04A2-5F59-A469-1D08109C7A28_d0e205497_href.png" placement="inline"/> |
|
91 </fig> <fig id="GUID-119ABE23-D8D8-5537-9AC3-91A5D188C64E"> |
|
92 <title> Pixel address layout in memory for the EUidPixelFormatXRGB_8888 |
|
93 format </title> |
|
94 <image href="GUID-7F5CBA9E-1386-596D-A7FD-34AC1284F0C5_d0e205505_href.png" placement="inline"/> |
|
95 </fig> <table id="GUID-A80BF34D-3630-50F2-8A50-02C606BEE1B1"> |
|
96 <tgroup cols="2"><colspec colname="col0"/><colspec colname="col1"/> |
|
97 <tbody> |
|
98 <row> |
|
99 <entry>Graphics display mode </entry> |
|
100 <entry><codeph>EColor16MU</codeph> </entry> |
|
101 </row> |
|
102 <row> |
|
103 <entry>Color depth </entry> |
|
104 <entry>32bpp </entry> |
|
105 </row> |
|
106 <row> |
|
107 <entry>Multimedia pixel format constant </entry> |
|
108 <entry>No mapping </entry> |
|
109 </row> |
|
110 <row> |
|
111 <entry>Equivalent UID value </entry> |
|
112 <entry>{0x10275496} </entry> |
|
113 </row> |
|
114 </tbody> |
|
115 </tgroup> |
|
116 </table> </section> |
|
117 <section id="GUID-42213AE6-0466-4A75-83CE-124A5F990372"><title> EUidPixelFormatARGB_8888</title> <p>32-bit little-endian |
|
118 format with an 8-bit alpha channel. The red, green and blue color channels |
|
119 each occupy 8 bits. </p> <fig id="GUID-4EF0F4E9-9263-510A-B3B3-543672FC2D9D"> |
|
120 <title> Word diagram representing the EUidPixelFormatARGB_8888 |
|
121 format </title> |
|
122 <image href="GUID-16D6C3BB-45C0-5669-93FB-846386F586B4_d0e205570_href.png" placement="inline"/> |
|
123 </fig> <fig id="GUID-FDF30C93-5DE1-5F48-B917-3A226C031C4B"> |
|
124 <title> Pixel address layout in memory for the EUidPixelFormatARGB_8888 |
|
125 format </title> |
|
126 <image href="GUID-20552A48-93D5-5B0E-8B53-A01913CC7A9F_d0e205578_href.png" placement="inline"/> |
|
127 </fig> <table id="GUID-C887942B-833F-5F96-8029-9A3F5A830493"> |
|
128 <tgroup cols="2"><colspec colname="col0"/><colspec colname="col1"/> |
|
129 <tbody> |
|
130 <row> |
|
131 <entry>Graphics display mode </entry> |
|
132 <entry><codeph>EColor16MA</codeph> </entry> |
|
133 </row> |
|
134 <row> |
|
135 <entry>Color depth </entry> |
|
136 <entry>32bpp </entry> |
|
137 </row> |
|
138 <row> |
|
139 <entry>Multimedia pixel format constant </entry> |
|
140 <entry>No mapping </entry> |
|
141 </row> |
|
142 <row> |
|
143 <entry>Equivalent UID value </entry> |
|
144 <entry>{0x10275498} </entry> |
|
145 </row> |
|
146 </tbody> |
|
147 </tgroup> |
|
148 </table> </section> |
|
149 <section id="GUID-DCA32C46-FF02-4928-A0CA-A40999BDC6D1"><title> EUidPixelFormatARGB_8888_PRE</title> <p>32-bit little-endian |
|
150 pre-multiplied format with an 8-bit alpha channel. The red, green and blue |
|
151 color channels each occupy 8 bits. The pixel color channels are pre-multiplied |
|
152 with the alpha information in the alpha channel. The alpha channel is left |
|
153 un-altered. This pixel format can improve performance when using multiple |
|
154 alpha blending and compositions. </p> <fig id="GUID-3CEC8456-124C-57C4-958E-8092FB9D8661"> |
|
155 <title> Word diagram representing the EUidPixelFormatARGB_8888_PRE |
|
156 format </title> |
|
157 <image href="GUID-B474D319-1E03-57EC-A8F1-2E8D32CD8092_d0e205643_href.png" placement="inline"/> |
|
158 </fig> <fig id="GUID-E19DC61E-9C08-5C8F-B05C-53D3BEB0D2D6"> |
|
159 <title> Pixel address layout in memory for the EUidPixelFormatARGB_8888_PRE |
|
160 format </title> |
|
161 <image href="GUID-46BBABA1-D6C6-5532-8487-6FD744C108C4_d0e205651_href.png" placement="inline"/> |
|
162 </fig> <table id="GUID-22C5CF91-862C-577A-A4E6-7AA995A561CA"> |
|
163 <tgroup cols="2"><colspec colname="col0"/><colspec colname="col1"/> |
|
164 <tbody> |
|
165 <row> |
|
166 <entry>Graphics display mode </entry> |
|
167 <entry><codeph>EColor16MAP</codeph> </entry> |
|
168 </row> |
|
169 <row> |
|
170 <entry>Color depth </entry> |
|
171 <entry>32bpp </entry> |
|
172 </row> |
|
173 <row> |
|
174 <entry>Multimedia pixel format constant </entry> |
|
175 <entry>No mapping </entry> |
|
176 </row> |
|
177 <row> |
|
178 <entry>Equivalent UID value </entry> |
|
179 <entry>{0x1027549A} </entry> |
|
180 </row> |
|
181 </tbody> |
|
182 </tgroup> |
|
183 </table> </section> |
|
184 <section id="GUID-FE0F393C-A9AE-4461-8E50-7AA04AACDACE"><title> EUidPixelFormatRGB_332</title> <p>8-bit little-endian format |
|
185 without an alpha channel. The red, green and blue color channels occupy 3, |
|
186 3 and 2 bits, respectively. One word contains 4 bytes. </p> <fig id="GUID-932214F5-2954-54DE-9F4F-A3BE90DDC862"> |
|
187 <title> Word diagram representing the EUidPixelFormatRGB_332 |
|
188 format </title> |
|
189 <image href="GUID-02442ADC-1C4C-5489-825F-7E1630415086_d0e205716_href.png" placement="inline"/> |
|
190 </fig> <fig id="GUID-A547575D-757F-5C60-894F-97B4118CB180"> |
|
191 <title> Pixel address layout in memory for the EUidPixelFormatRGB_332 |
|
192 format </title> |
|
193 <image href="GUID-42C21271-FDDD-5923-95A3-450FED07BEC4_d0e205724_href.png" placement="inline"/> |
|
194 </fig> <table id="GUID-77E938E5-A4AE-5483-9DCF-47CC33CD2D76"> |
|
195 <tgroup cols="2"><colspec colname="col0"/><colspec colname="col1"/> |
|
196 <tbody> |
|
197 <row> |
|
198 <entry>Graphics display mode </entry> |
|
199 <entry>N/A </entry> |
|
200 </row> |
|
201 <row> |
|
202 <entry>Color depth </entry> |
|
203 <entry>8bpp </entry> |
|
204 </row> |
|
205 <row> |
|
206 <entry>Multimedia pixel format constant </entry> |
|
207 <entry>No mapping </entry> |
|
208 </row> |
|
209 <row> |
|
210 <entry>Equivalent UID value </entry> |
|
211 <entry>{0x102754A2} </entry> |
|
212 </row> |
|
213 </tbody> |
|
214 </tgroup> |
|
215 </table> </section> |
|
216 <section id="GUID-9F4950FF-0108-477D-BC25-58CCEABA5286"><title>EUidPixelFormatARGB_4444</title> <p>16-bit little-endian format |
|
217 with a 4-bit alpha channel. The red, green and blue color channels each occupy |
|
218 4 bits. </p> <fig id="GUID-826DACBB-A1E2-58A2-8432-61E0B4617957"> |
|
219 <title> Word diagram representing the EUidPixelFormatARGB_4444 |
|
220 format </title> |
|
221 <image href="GUID-D9BE2E51-D80C-537C-BE94-2A3699BE1DC6_d0e205787_href.png" placement="inline"/> |
|
222 </fig> <table id="GUID-903EC211-97EA-59E6-8BA5-ACDCA2CA2B63"> |
|
223 <tgroup cols="2"><colspec colname="col0"/><colspec colname="col1"/> |
|
224 <tbody> |
|
225 <row> |
|
226 <entry>Graphics display mode </entry> |
|
227 <entry>N/A </entry> |
|
228 </row> |
|
229 <row> |
|
230 <entry>Color depth </entry> |
|
231 <entry>16bpp </entry> |
|
232 </row> |
|
233 <row> |
|
234 <entry>Multimedia pixel format constant </entry> |
|
235 <entry>No mapping </entry> |
|
236 </row> |
|
237 <row> |
|
238 <entry>Equivalent UID value </entry> |
|
239 <entry>{0x102754A1} </entry> |
|
240 </row> |
|
241 </tbody> |
|
242 </tgroup> |
|
243 </table> </section> |
|
244 <section id="GUID-2659F181-2815-42DE-A296-10A4640109A4"><title> EUidPixelFormatARGB_1555</title> <p>16-bit little-endian |
|
245 format with a 1-bit alpha channel. The red, green and blue color channels |
|
246 each occupy 5 bits. This leads to 32 different levels of each channel and |
|
247 32768 possible different colors in total. One word contains 2 pixels. </p> <fig id="GUID-83195A01-CE0B-5802-ABCE-377F81C171A0"> |
|
248 <title> Word diagram representing the EUidPixelFormatARGB_1555 |
|
249 format </title> |
|
250 <image href="GUID-99CFB57F-87FB-5DF6-B8A3-DD8094FA5419_d0e205850_href.png" placement="inline"/> |
|
251 </fig> <table id="GUID-9C1C455A-1C07-5A9B-918E-D21C93ADC5F1"> |
|
252 <tgroup cols="2"><colspec colname="col0"/><colspec colname="col1"/> |
|
253 <tbody> |
|
254 <row> |
|
255 <entry>Graphics display mode </entry> |
|
256 <entry>N/A </entry> |
|
257 </row> |
|
258 <row> |
|
259 <entry>Color depth </entry> |
|
260 <entry>16bpp </entry> |
|
261 </row> |
|
262 <row> |
|
263 <entry>Multimedia pixel format constant </entry> |
|
264 <entry> No mapping </entry> |
|
265 </row> |
|
266 <row> |
|
267 <entry>Equivalent UID value </entry> |
|
268 <entry>{0x1027549F} </entry> |
|
269 </row> |
|
270 </tbody> |
|
271 </tgroup> |
|
272 </table> </section> |
|
273 <section id="GUID-1CA43C15-28B8-479F-953C-14E1585D8753"><title>EUidPixelFormatXBGR_8888</title> <p>32-bit big-endian format |
|
274 without an alpha channel. The red, green and blue color channels each occupy |
|
275 8 bits. This format requires 32 bits to construct and the first 8 bits are |
|
276 unused. </p> <fig id="GUID-B4CB2BD2-CB9A-5B9D-BB44-CCAD76DCE36D"> |
|
277 <title> Word diagram representing the EUidPixelFormatXBGR_8888 |
|
278 format </title> |
|
279 <image href="GUID-4324A05E-3243-50E1-A287-BBD2F07E2295_d0e205913_href.png" placement="inline"/> |
|
280 </fig> <table id="GUID-39AEB354-2536-5A3E-9050-A070E38A7B3A"> |
|
281 <tgroup cols="2"><colspec colname="col0"/><colspec colname="col1"/> |
|
282 <tbody> |
|
283 <row> |
|
284 <entry>Graphics display mode </entry> |
|
285 <entry>N/A </entry> |
|
286 </row> |
|
287 <row> |
|
288 <entry>Color depth </entry> |
|
289 <entry>32bpp </entry> |
|
290 </row> |
|
291 <row> |
|
292 <entry>Multimedia pixel format constant </entry> |
|
293 <entry><codeph> KUidFormat32BitRGB888Interleaved</codeph> </entry> |
|
294 </row> |
|
295 <row> |
|
296 <entry>Equivalent UID value </entry> |
|
297 <entry>{0x10273766} </entry> |
|
298 </row> |
|
299 </tbody> |
|
300 </tgroup> |
|
301 </table> </section> |
|
302 <section id="GUID-8192872C-12CC-4433-9575-9D147982489E"><title> EUidPixelFormatBGRX_8888</title> <p>32-bit big-endian format |
|
303 without an alpha channel. The blue, green and red color channels each occupy |
|
304 8 bits. There is one unused byte. Although it uses only 24 bits, this format |
|
305 requires 1 word to construct. </p> <fig id="GUID-304C810E-8443-5AEE-9881-3118C22FA0DA"> |
|
306 <title> Word diagram representing the EUidPixelFormatBGRX_8888 |
|
307 format </title> |
|
308 <image href="GUID-A726509A-4016-5499-B5A0-F25F505E14C9_d0e205978_href.png" placement="inline"/> |
|
309 </fig> <table id="GUID-61485B33-02AC-5DDA-A6A1-12C39BE0498F"> |
|
310 <tgroup cols="2"><colspec colname="COLSPEC0" colwidth="1.00*"/><colspec colname="col1"/> |
|
311 <tbody> |
|
312 <row> |
|
313 <entry>Graphics display mode </entry> |
|
314 <entry>N/A </entry> |
|
315 </row> |
|
316 <row> |
|
317 <entry>Color depth </entry> |
|
318 <entry>32bpp </entry> |
|
319 </row> |
|
320 <row> |
|
321 <entry>Multimedia pixel format constant </entry> |
|
322 <entry>No mapping </entry> |
|
323 </row> |
|
324 <row> |
|
325 <entry>Equivalent UID value </entry> |
|
326 <entry>{0x102754A8} </entry> |
|
327 </row> |
|
328 </tbody> |
|
329 </tgroup> |
|
330 </table> </section> |
|
331 <section id="GUID-5BB3AFCA-397A-4A46-9C98-625B179DBF3B"><title>EUidPixelFormatBGRA_8888</title> <p>32-bit big-endian format |
|
332 with an alpha channel. The blue, green, red and alpha channels each occupy |
|
333 8 bits. </p> <fig id="GUID-03224617-89B5-55FC-9E6E-E713417DBE5F"> |
|
334 <title> Word diagram representing the EUidPixelFormatBGRA_8888 |
|
335 format </title> |
|
336 <image href="GUID-46CBF409-7A5E-511E-8ED7-1ED8FD04897E_d0e206041_href.png" placement="inline"/> |
|
337 </fig> <table id="GUID-92386E09-A207-517D-8F02-6630EDD2D24C"> |
|
338 <tgroup cols="2"><colspec colname="COLSPEC1" colwidth="1.00*"/><colspec colname="col1"/> |
|
339 <tbody> |
|
340 <row> |
|
341 <entry>Graphics display mode </entry> |
|
342 <entry>N/A </entry> |
|
343 </row> |
|
344 <row> |
|
345 <entry>Color depth </entry> |
|
346 <entry>32bpp </entry> |
|
347 </row> |
|
348 <row> |
|
349 <entry>Multimedia pixel format constant </entry> |
|
350 <entry>No mapping </entry> |
|
351 </row> |
|
352 <row> |
|
353 <entry>Equivalent UID value </entry> |
|
354 <entry>{0x102754A9} </entry> |
|
355 </row> |
|
356 </tbody> |
|
357 </tgroup> |
|
358 </table> </section> |
|
359 <section id="GUID-2A243B80-76E8-40D4-9CF0-A7BD8D798C74"><title>EUidPixelFormatABGR_8888</title> <p>32-bit big-endian format |
|
360 with an 8-bit alpha channel. The blue, green and red color channels each occupy |
|
361 8 bits. </p> <fig id="GUID-55A5EF28-D1C9-5571-A0F2-80F765C3154B"> |
|
362 <title> Word diagram representing the EUidPixelFormatABGR_8888 |
|
363 format </title> |
|
364 <image href="GUID-18D2E6CC-ED84-5A6F-B25D-7693432A2E58_d0e206104_href.png" placement="inline"/> |
|
365 </fig> <table id="GUID-8D70E3CC-2847-5744-95A9-960B294F7F04"> |
|
366 <tgroup cols="2"><colspec colname="COLSPEC2" colwidth="1.00*"/><colspec colname="col1"/> |
|
367 <tbody> |
|
368 <row> |
|
369 <entry>Graphics display mode </entry> |
|
370 <entry>N/A </entry> |
|
371 </row> |
|
372 <row> |
|
373 <entry>Color depth </entry> |
|
374 <entry>32bpp </entry> |
|
375 </row> |
|
376 <row> |
|
377 <entry>Multimedia pixel format constant </entry> |
|
378 <entry>No mapping </entry> |
|
379 </row> |
|
380 <row> |
|
381 <entry>Equivalent UID value </entry> |
|
382 <entry>{0x10275499} </entry> |
|
383 </row> |
|
384 </tbody> |
|
385 </tgroup> |
|
386 </table> </section> |
|
387 <section id="GUID-452B7BBD-EE4A-4DC4-A4B6-E84D1711393F"><title>EUidPixelFormatABGR_8888_PRE</title> <p>32-bit big-endian |
|
388 format with an 8-bit alpha channel. The blue, green and red color channels |
|
389 each occupy 8 bits. The pixel color channels are pre-multiplied with the alpha |
|
390 information in the alpha channel. </p> <fig id="GUID-FDF4407F-3F89-56CB-AF9D-C4679FB7A66A"> |
|
391 <title> Word diagram representing the EUidPixelFormatABGR_8888_PRE |
|
392 format </title> |
|
393 <image href="GUID-7B20C9EE-8EAB-504D-8DDB-03147E0C2B0C_d0e206167_href.png" placement="inline"/> |
|
394 </fig> <table id="GUID-0AD1D021-9A2D-52ED-964C-B3115CB0F86C"> |
|
395 <tgroup cols="2"><colspec colname="COLSPEC3" colwidth="1.00*"/><colspec colname="col1"/> |
|
396 <tbody> |
|
397 <row> |
|
398 <entry>Graphics display mode </entry> |
|
399 <entry>N/A </entry> |
|
400 </row> |
|
401 <row> |
|
402 <entry>Color depth </entry> |
|
403 <entry>32bpp </entry> |
|
404 </row> |
|
405 <row> |
|
406 <entry>Multimedia pixel format constant </entry> |
|
407 <entry>No mapping </entry> |
|
408 </row> |
|
409 <row> |
|
410 <entry>Equivalent UID value </entry> |
|
411 <entry>{0x1027549B} </entry> |
|
412 </row> |
|
413 </tbody> |
|
414 </tgroup> |
|
415 </table> </section> |
|
416 <section id="GUID-6C48E765-04C6-44C1-BA8B-16A14D93229E"><title>EUidPixelFormatBGRA_8888_PRE</title> <p>32-bit big-endian |
|
417 format with an 8-bit alpha channel. The blue, green and red color channels |
|
418 each occupy 8 bits. The pixel color channels are pre-multiplied with the alpha |
|
419 information in the alpha channel. </p> <fig id="GUID-97C9F09A-4081-5C6D-83D5-496FC8281D58"> |
|
420 <title> Word diagram representing the EUidPixelFormatBGRA_8888_PRE |
|
421 format </title> |
|
422 <image href="GUID-5F7CDE80-ED4E-592E-983D-C6C2E7EEC7E0_d0e206230_href.png" placement="inline"/> |
|
423 </fig> <table id="GUID-E5F25F47-36EC-5AED-820B-590271C5F151"> |
|
424 <tgroup cols="2"><colspec colname="COLSPEC4" colwidth="1.00*"/><colspec colname="col1"/> |
|
425 <tbody> |
|
426 <row> |
|
427 <entry>Graphics display mode </entry> |
|
428 <entry>N/A </entry> |
|
429 </row> |
|
430 <row> |
|
431 <entry>Color depth </entry> |
|
432 <entry>32bpp </entry> |
|
433 </row> |
|
434 <row> |
|
435 <entry>Multimedia pixel format constant </entry> |
|
436 <entry>No mapping </entry> |
|
437 </row> |
|
438 <row> |
|
439 <entry>Equivalent UID value </entry> |
|
440 <entry>{0x10275497} </entry> |
|
441 </row> |
|
442 </tbody> |
|
443 </tgroup> |
|
444 </table> </section> |
|
445 <section id="GUID-F57DF205-9DF6-4D5C-90F5-ABE21852750B"><title> EUidPixelFormatABGR_2101010</title> <p>32-bit big-endian |
|
446 format with a 2-bit alpha channel. The blue, green and red color channels |
|
447 each occupy 10 bits. </p> <fig id="GUID-126E8A73-773C-524E-B0E1-1BC9146D294B"> |
|
448 <title> Word diagram representing the EUidPixelFormatABGR_2101010 |
|
449 format </title> |
|
450 <image href="GUID-F5107783-6B4F-549B-B46D-E1294C241306_d0e206293_href.png" placement="inline"/> |
|
451 </fig> <table id="GUID-88179D3F-3337-524B-8F02-11DF4130EA1D"> |
|
452 <tgroup cols="2"><colspec colname="COLSPEC5" colwidth="1.00*"/><colspec colname="col1"/> |
|
453 <tbody> |
|
454 <row> |
|
455 <entry>Graphics display mode </entry> |
|
456 <entry>N/A </entry> |
|
457 </row> |
|
458 <row> |
|
459 <entry>Color depth </entry> |
|
460 <entry>32bpp </entry> |
|
461 </row> |
|
462 <row> |
|
463 <entry>Multimedia pixel format constant </entry> |
|
464 <entry>No mapping </entry> |
|
465 </row> |
|
466 <row> |
|
467 <entry>Equivalent UID value </entry> |
|
468 <entry>{0x1027549C} </entry> |
|
469 </row> |
|
470 </tbody> |
|
471 </tgroup> |
|
472 </table> </section> |
|
473 <section id="GUID-E6014CC5-3E8C-4167-94FF-739A41DCF718"><title>EUidPixelFormatARGB_2101010</title> <p>32-bit little-endian |
|
474 format with a 2-bit alpha channel. The red, green and blue color channels |
|
475 each occupy 10 bits. </p> <fig id="GUID-60D8F8D9-3613-5AA0-8205-E26B9FB63248"> |
|
476 <title> Word diagram representing the EUidPixelFormatARGB_2101010 |
|
477 format </title> |
|
478 <image href="GUID-55F6EEB1-1CED-518D-9AE7-E364FC080423_d0e206356_href.png" placement="inline"/> |
|
479 </fig> <table id="GUID-A63BBFC3-E8D3-5CB3-929D-8FB01D073DEB"> |
|
480 <tgroup cols="2"><colspec colname="COLSPEC6" colwidth="1.00*"/><colspec colname="col1"/> |
|
481 <tbody> |
|
482 <row> |
|
483 <entry>Graphics display mode </entry> |
|
484 <entry>N/A </entry> |
|
485 </row> |
|
486 <row> |
|
487 <entry>Color depth </entry> |
|
488 <entry>32bpp </entry> |
|
489 </row> |
|
490 <row> |
|
491 <entry>Multimedia pixel format constant </entry> |
|
492 <entry>No mapping </entry> |
|
493 </row> |
|
494 <row> |
|
495 <entry>Equivalent UID value </entry> |
|
496 <entry>{0x1027549D} </entry> |
|
497 </row> |
|
498 </tbody> |
|
499 </tgroup> |
|
500 </table> </section> |
|
501 <section id="GUID-C8B013F6-2841-4B0A-BC83-F5C3155F5DEB"><title> EUidPixelFormatBGR_888</title> <p>24-bit big-endian format |
|
502 without an alpha channel. The blue, green and red color channels each occupy |
|
503 8 bits. 12 bytes contain 4 pixels as shown in the following diagram. </p> <fig id="GUID-15A72683-97EA-59B1-8442-B5BBDE19E500"> |
|
504 <title> Word diagram representing the EUidPixelFormatBGR_888 |
|
505 format </title> |
|
506 <image href="GUID-6D7A25E2-9C24-5D44-ADAE-8DD5A3F358D5_d0e206419_href.png" placement="inline"/> |
|
507 </fig> <table id="GUID-0245ACDC-8DDA-512E-BD68-93734290A23C"> |
|
508 <tgroup cols="2"><colspec colname="COLSPEC7" colwidth="1.00*"/><colspec colname="col1"/> |
|
509 <tbody> |
|
510 <row> |
|
511 <entry>Graphics display mode </entry> |
|
512 <entry>N/A </entry> |
|
513 </row> |
|
514 <row> |
|
515 <entry>Color depth </entry> |
|
516 <entry>24bpp </entry> |
|
517 </row> |
|
518 <row> |
|
519 <entry>Multimedia pixel format constant </entry> |
|
520 <entry>No mapping </entry> |
|
521 </row> |
|
522 <row> |
|
523 <entry>Equivalent UID value </entry> |
|
524 <entry>{0x102754A7} </entry> |
|
525 </row> |
|
526 </tbody> |
|
527 </tgroup> |
|
528 </table> </section> |
|
529 <section id="GUID-D567DAE4-3433-4868-836A-5F79CFC41AC7"><title> EUidPixelFormatRGB_888</title> <p>24-bit little-endian format |
|
530 without an alpha channel. The red, green and blue color channels each occupy |
|
531 8 bits. 12 bytes contain 4 pixels as shown in the following diagram. </p> <fig id="GUID-392A7ABE-6AA1-578A-84FF-EE725203275C"> |
|
532 <title> Word diagram representing the EUidPixelFormatRGB_888 |
|
533 format </title> |
|
534 <image href="GUID-198DCEE2-5089-5D0C-83CE-E1CDC2AD3196_d0e206482_href.png" placement="inline"/> |
|
535 </fig> <table id="GUID-349DBD99-FF2F-5FED-8762-E663F77662AD"> |
|
536 <tgroup cols="2"><colspec colname="COLSPEC8" colwidth="1.00*"/><colspec colname="col1"/> |
|
537 <tbody> |
|
538 <row> |
|
539 <entry>Graphics display mode </entry> |
|
540 <entry><codeph> EColor16M</codeph> </entry> |
|
541 </row> |
|
542 <row> |
|
543 <entry>Color depth </entry> |
|
544 <entry>24bpp </entry> |
|
545 </row> |
|
546 <row> |
|
547 <entry>Multimedia pixel format constant </entry> |
|
548 <entry>No mapping </entry> |
|
549 </row> |
|
550 <row> |
|
551 <entry>Equivalent UID value </entry> |
|
552 <entry>{0x10275495} </entry> |
|
553 </row> |
|
554 </tbody> |
|
555 </tgroup> |
|
556 </table> </section> |
|
557 <section id="GUID-903C74B3-8D32-4C1C-AEA3-DC6684478554"><title>EUidPixelFormatXRGB_1555</title> <p>16-bit little-endian format |
|
558 without an alpha channel. The red, green and blue color channels each occupy |
|
559 5 bits. </p> <fig id="GUID-E13C7CBE-23C7-5B77-A82D-B852EE20B41B"> |
|
560 <title> Word diagram representing the EUidPixelFormatXRGB_1555 |
|
561 format </title> |
|
562 <image href="GUID-FCA90B94-B0D1-5479-A1BF-28758FB830E5_d0e206547_href.png" placement="inline"/> |
|
563 </fig> <table id="GUID-5C541349-5E59-5FFE-BB8B-8E30C76C15D1"> |
|
564 <tgroup cols="2"><colspec colname="COLSPEC9" colwidth="1.00*"/><colspec colname="col1"/> |
|
565 <tbody> |
|
566 <row> |
|
567 <entry>Graphics display mode </entry> |
|
568 <entry>N/A </entry> |
|
569 </row> |
|
570 <row> |
|
571 <entry>Color depth </entry> |
|
572 <entry>16bpp </entry> |
|
573 </row> |
|
574 <row> |
|
575 <entry>Multimedia pixel format constant </entry> |
|
576 <entry>No mapping </entry> |
|
577 </row> |
|
578 <row> |
|
579 <entry>Equivalent UID value </entry> |
|
580 <entry>{0x102754A0} </entry> |
|
581 </row> |
|
582 </tbody> |
|
583 </tgroup> |
|
584 </table> </section> |
|
585 <section id="GUID-4C2BE932-C118-4711-8118-CA17E720DAB8"><title> EUidPixelFormatBGRA_5551</title> <p>16-bit big-endian format |
|
586 with a 1-bit alpha channel. The red, green and blue color channels each occupy |
|
587 5 bits. </p> <fig id="GUID-AF4432E9-4644-5E03-8318-204F4C0ABC57"> |
|
588 <title> Word diagram representing the EUidPixelFormatBGRA_5551 |
|
589 format </title> |
|
590 <image href="GUID-4257E768-F392-507C-81C2-23F0CE2DDEA2_d0e206610_href.png" placement="inline"/> |
|
591 </fig> <table id="GUID-2B276464-9B5A-500E-A0C2-8E849140DFE1"> |
|
592 <tgroup cols="2"><colspec colname="COLSPEC10" colwidth="1.00*"/><colspec colname="col1"/> |
|
593 <tbody> |
|
594 <row> |
|
595 <entry>Graphics display mode </entry> |
|
596 <entry>N/A </entry> |
|
597 </row> |
|
598 <row> |
|
599 <entry>Color depth </entry> |
|
600 <entry>16bpp </entry> |
|
601 </row> |
|
602 <row> |
|
603 <entry>Multimedia pixel format constant </entry> |
|
604 <entry>No mapping </entry> |
|
605 </row> |
|
606 <row> |
|
607 <entry>Equivalent UID value </entry> |
|
608 <entry>{0x102754AA} </entry> |
|
609 </row> |
|
610 </tbody> |
|
611 </tgroup> |
|
612 </table> </section> |
|
613 <section id="GUID-A3E335A7-A25B-46FE-9131-A87C6AABEDA5"><title>EUidPixelFormatBGRX_5551</title> <p>16-bit big-endian format |
|
614 without an alpha channel. The red, green and blue color channels each occupy |
|
615 5 bits. </p> <fig id="GUID-BF8EF046-9348-5216-9DBF-AC61793879C0"> |
|
616 <title> Word diagram representing the EUidPixelFormatBGRX_5551 |
|
617 format </title> |
|
618 <image href="GUID-62950BAA-8DCB-58E2-B511-AF400605DA5C_d0e206673_href.png" placement="inline"/> |
|
619 </fig> <table id="GUID-D56DA61B-BE66-5587-ACCA-63885CD7E93E"> |
|
620 <tgroup cols="2"><colspec colname="COLSPEC11" colwidth="1.00*"/><colspec colname="col1"/> |
|
621 <tbody> |
|
622 <row> |
|
623 <entry>Graphics display mode </entry> |
|
624 <entry>N/A </entry> |
|
625 </row> |
|
626 <row> |
|
627 <entry>Color depth </entry> |
|
628 <entry>16bpp </entry> |
|
629 </row> |
|
630 <row> |
|
631 <entry>Multimedia pixel format constant </entry> |
|
632 <entry>No mapping </entry> |
|
633 </row> |
|
634 <row> |
|
635 <entry>Equivalent UID value </entry> |
|
636 <entry>{0x102754A5} </entry> |
|
637 </row> |
|
638 </tbody> |
|
639 </tgroup> |
|
640 </table> </section> |
|
641 <section id="GUID-3CCE5C14-0D9B-416B-9D14-7938E67EB68B"><title> EUidPixelFormatBGRA_4444</title> <p>16-bit big-endian format |
|
642 with a 4-bit alpha channel. The red, green and blue color channels each occupy |
|
643 4 bits. </p> <fig id="GUID-41630BA3-1801-5B77-A0C0-35CDC2DBF9EB"> |
|
644 <title> Word diagram representing the EUidPixelFormatBGRA_4444 |
|
645 format </title> |
|
646 <image href="GUID-14B9B9FB-E7E4-5C28-9821-52EE40B2658B_d0e206736_href.png" placement="inline"/> |
|
647 </fig> <table id="GUID-E5A15E7E-2999-5474-A619-26EA8ABD1C37"> |
|
648 <tgroup cols="2"><colspec colname="COLSPEC12" colwidth="1.00*"/><colspec colname="col1"/> |
|
649 <tbody> |
|
650 <row> |
|
651 <entry>Graphics display mode </entry> |
|
652 <entry>N/A </entry> |
|
653 </row> |
|
654 <row> |
|
655 <entry>Color depth </entry> |
|
656 <entry>16bpp </entry> |
|
657 </row> |
|
658 <row> |
|
659 <entry>Multimedia pixel format constant </entry> |
|
660 <entry>No mapping</entry> |
|
661 </row> |
|
662 <row> |
|
663 <entry>Equivalent UID value </entry> |
|
664 <entry>{0x102754AC}</entry> |
|
665 </row> |
|
666 </tbody> |
|
667 </tgroup> |
|
668 </table> </section> |
|
669 <section id="GUID-BE6E1067-1DE2-4E23-A28F-2FB71303D21E"><title>EUidPixelFormatBGRX_4444</title> <p>16-bit big-endian format |
|
670 without an alpha channel. The red, green and blue color channels each occupy |
|
671 4 bits. </p> <fig id="GUID-928A9FD2-2C6F-5DF3-8514-2FB4F85E92EA"> |
|
672 <title> Word diagram representing the EUidPixelFormatBGRX_4444 |
|
673 format </title> |
|
674 <image href="GUID-26CE565F-900B-5141-91AE-A5976213B8BF_d0e206799_href.png" placement="inline"/> |
|
675 </fig> <table id="GUID-8A8AB0B3-F6AC-5A00-A622-14BB723969A0"> |
|
676 <tgroup cols="2"><colspec colname="COLSPEC13" colwidth="1.00*"/><colspec colname="col1"/> |
|
677 <tbody> |
|
678 <row> |
|
679 <entry>Graphics display mode </entry> |
|
680 <entry>N/A </entry> |
|
681 </row> |
|
682 <row> |
|
683 <entry>Color depth </entry> |
|
684 <entry>16bpp</entry> |
|
685 </row> |
|
686 <row> |
|
687 <entry>Multimedia pixel format constant </entry> |
|
688 <entry>No mapping </entry> |
|
689 </row> |
|
690 <row> |
|
691 <entry>Equivalent UID value </entry> |
|
692 <entry>{0x102754A6} </entry> |
|
693 </row> |
|
694 </tbody> |
|
695 </tgroup> |
|
696 </table> </section> |
|
697 <section id="GUID-1EF5C670-3AE7-4601-8D1F-473BA127DD09"><title> EUidPixelFormatXBGR_4444</title> <p>16-bit big-endian format |
|
698 without an alpha channel. The red, green and blue color channels each occupy |
|
699 4 bits. </p> <fig id="GUID-104F3ABB-7663-5CEC-8CA4-6C7DD79137F0"> |
|
700 <title> Word diagram representing the EUidPixelFormatXBGR_4444 |
|
701 format </title> |
|
702 <image href="GUID-5F747E90-CB8A-5EF7-833F-E63B6A0A4402_d0e206862_href.png" placement="inline"/> |
|
703 </fig> <table id="GUID-7920C323-04F3-5697-AEDC-B123A121FB3E"> |
|
704 <tgroup cols="2"><colspec colname="COLSPEC14" colwidth="1.00*"/><colspec colname="col1"/> |
|
705 <tbody> |
|
706 <row> |
|
707 <entry>Graphics display mode </entry> |
|
708 <entry>N/A </entry> |
|
709 </row> |
|
710 <row> |
|
711 <entry>Color depth </entry> |
|
712 <entry>16bpp </entry> |
|
713 </row> |
|
714 <row> |
|
715 <entry>Multimedia pixel format constant </entry> |
|
716 <entry>No mapping </entry> |
|
717 </row> |
|
718 <row> |
|
719 <entry>Equivalent UID value </entry> |
|
720 <entry>{0x102754B0} </entry> |
|
721 </row> |
|
722 </tbody> |
|
723 </tgroup> |
|
724 </table> </section> |
|
725 <section id="GUID-BBC5D076-D8B0-4F3F-865A-1E3BDE1E7BB2"><title>EUidPixelFormatBGR_565</title> <p>16-bit big-endian format. |
|
726 The blue, green and red color channels occupy 5, 6 and 5 bits, respectively. |
|
727 This format supports 65536 possible colors. One word contains 2 pixels. </p> <fig id="GUID-E29D5E5A-4A94-50A6-A992-C2861DFE4760"> |
|
728 <title> Word diagram representing the EUidPixelFormatBGR_565 |
|
729 format </title> |
|
730 <image href="GUID-45E418FA-47C0-58C6-B118-EBF8260BCC89_d0e206925_href.png" placement="inline"/> |
|
731 </fig> <table id="GUID-B5CAEAB9-C18D-5A47-9436-A03A7313050C"> |
|
732 <tgroup cols="2"><colspec colname="COLSPEC15" colwidth="1.00*"/><colspec colname="col1"/> |
|
733 <tbody> |
|
734 <row> |
|
735 <entry>Graphics display mode </entry> |
|
736 <entry>N/A </entry> |
|
737 </row> |
|
738 <row> |
|
739 <entry>Color depth </entry> |
|
740 <entry>16bpp </entry> |
|
741 </row> |
|
742 <row> |
|
743 <entry>Multimedia pixel format constant </entry> |
|
744 <entry><codeph> KUidFormat16BitRGB565Interleaved</codeph> </entry> |
|
745 </row> |
|
746 <row> |
|
747 <entry>Equivalent UID value </entry> |
|
748 <entry>{0x10273765} </entry> |
|
749 </row> |
|
750 </tbody> |
|
751 </tgroup> |
|
752 </table> </section> |
|
753 <section id="GUID-A2F9530B-0A16-4C6B-8ABC-A1CC8D257696"><title> EUidPixelFormatARGB_8332</title> <p>16-bit little-endian |
|
754 format with an 8-bit alpha channel. The red, green and blue color channels |
|
755 occupy 3, 3 and 2 bits, respectively. </p> <fig id="GUID-BDAA8E36-6CAF-54D1-A30E-AF305B2CA8B0"> |
|
756 <title> Word diagram representing the EUidPixelFormatARGB_8332 |
|
757 format </title> |
|
758 <image href="GUID-DDEDB7CB-E0B2-5F7F-A9D9-79EFCBBFB022_d0e206990_href.png" placement="inline"/> |
|
759 </fig> <table id="GUID-3DC1B599-3690-5E15-8783-209093F87CDE"> |
|
760 <tgroup cols="2"><colspec colname="COLSPEC16" colwidth="1.00*"/><colspec colname="col1"/> |
|
761 <tbody> |
|
762 <row> |
|
763 <entry>Graphics display mode </entry> |
|
764 <entry>N/A </entry> |
|
765 </row> |
|
766 <row> |
|
767 <entry>Color depth </entry> |
|
768 <entry>16bpp </entry> |
|
769 </row> |
|
770 <row> |
|
771 <entry>Multimedia pixel format constant </entry> |
|
772 <entry>No mapping </entry> |
|
773 </row> |
|
774 <row> |
|
775 <entry>Equivalent UID value </entry> |
|
776 <entry>{0x102754A4} </entry> |
|
777 </row> |
|
778 </tbody> |
|
779 </tgroup> |
|
780 </table> </section> |
|
781 <section id="GUID-8F09A4B4-43EE-42C5-A090-92E2CA6679A0"><title> EUidPixelFormatBGR_332</title> <p>8-bit big-endian format. |
|
782 The blue, green and red color channels occupy 3, 3 and 2 bits, respectively. |
|
783 One word contains 4 bytes. </p> <fig id="GUID-727DD7A7-FA2A-5DB8-BB81-F5BA55F7B02A"> |
|
784 <title> Word diagram representing the EUidPixelFormatBGR_332 |
|
785 format </title> |
|
786 <image href="GUID-81D78B71-E108-5AA0-9058-308F1AC12754_d0e207053_href.png" placement="inline"/> |
|
787 </fig> <table id="GUID-14F4AA5C-2619-5AF7-A4D4-9F20870106B7"> |
|
788 <tgroup cols="2"><colspec colname="COLSPEC17" colwidth="1.00*"/><colspec colname="col1"/> |
|
789 <tbody> |
|
790 <row> |
|
791 <entry>Graphics display mode </entry> |
|
792 <entry>N/A </entry> |
|
793 </row> |
|
794 <row> |
|
795 <entry>Color depth </entry> |
|
796 <entry>8bpp </entry> |
|
797 </row> |
|
798 <row> |
|
799 <entry>Multimedia pixel format constant </entry> |
|
800 <entry>No mapping </entry> |
|
801 </row> |
|
802 <row> |
|
803 <entry>Equivalent UID value </entry> |
|
804 <entry>{0x102754B1} </entry> |
|
805 </row> |
|
806 </tbody> |
|
807 </tgroup> |
|
808 </table> </section> |
|
809 <section id="GUID-841559B8-E23D-420C-BD25-6F2E8C12573A"><title> EUidPixelFormatAP_88</title> <p>16-bit big-endian format |
|
810 with 8 bits of alpha. </p> <fig id="GUID-3231A844-DF52-513E-AFCB-3D805012EB85"> |
|
811 <title> Word diagram representing the EUidPixelFormatAP_88 format |
|
812 </title> |
|
813 <image href="GUID-314A8784-604E-509A-839E-38CEE280B67F_d0e207116_href.png" placement="inline"/> |
|
814 </fig> <table id="GUID-3559364E-4132-5CD1-9302-BF3FEA0B47BB"> |
|
815 <tgroup cols="2"><colspec colname="COLSPEC18" colwidth="1.00*"/><colspec colname="col1"/> |
|
816 <tbody> |
|
817 <row> |
|
818 <entry>Graphics display mode </entry> |
|
819 <entry>N/A </entry> |
|
820 </row> |
|
821 <row> |
|
822 <entry>Color depth </entry> |
|
823 <entry>16bpp </entry> |
|
824 </row> |
|
825 <row> |
|
826 <entry>Multimedia pixel format constant </entry> |
|
827 <entry>No mapping </entry> |
|
828 </row> |
|
829 <row> |
|
830 <entry>Equivalent UID value </entry> |
|
831 <entry>{0x102754AB} </entry> |
|
832 </row> |
|
833 </tbody> |
|
834 </tgroup> |
|
835 </table> </section> |
|
836 <section id="GUID-C49B97BB-68C8-453A-A7A5-991310D7C74C"><title> EUidPixelFormatP_8</title> <p>8-bit indexed, which means |
|
837 that it has a palette. </p> <fig id="GUID-C532DCC5-AF3D-5EA5-BEF4-520A44F33B0F"> |
|
838 <title> Word diagram representing the EUidPixelFormatP_8 format |
|
839 </title> |
|
840 <image href="GUID-8FB9A16A-15B4-59C0-842B-2B70169E2E95_d0e207179_href.png" placement="inline"/> |
|
841 </fig> <p>A little-endian architecture is implicit in the code, because conversions |
|
842 are made between pointers and byte and pointers to (unsigned) integer. (This |
|
843 implies that the lower-order byte of an unsigned integer has the physically |
|
844 lower address, because this is treated as the lower-addressed pixel). </p> <fig id="GUID-C48B4F15-019E-5A5D-A2F9-D63872F71ECF"> |
|
845 <title> Pixel address layout in memory for the EUidPixelFormatP_8 |
|
846 format </title> |
|
847 <image href="GUID-B32EA1DE-5E64-5A70-8333-B9F462F25C08_d0e207190_href.png" placement="inline"/> |
|
848 </fig> <table id="GUID-288F92BD-F1FA-586F-B9E6-6D18E2FC7BB7"> |
|
849 <tgroup cols="2"><colspec colname="COLSPEC19" colwidth="1.00*"/><colspec colname="col1"/> |
|
850 <tbody> |
|
851 <row> |
|
852 <entry>Graphics display mode </entry> |
|
853 <entry>N/A </entry> |
|
854 </row> |
|
855 <row> |
|
856 <entry>Color depth </entry> |
|
857 <entry>8bpp </entry> |
|
858 </row> |
|
859 <row> |
|
860 <entry>Multimedia pixel format constant </entry> |
|
861 <entry><codeph> KUidFormatYUVMonochrome</codeph> </entry> |
|
862 </row> |
|
863 <row> |
|
864 <entry>Equivalent UID value </entry> |
|
865 <entry>{0x10273763} </entry> |
|
866 </row> |
|
867 </tbody> |
|
868 </tgroup> |
|
869 </table> </section> |
|
870 <section id="GUID-89B1858E-4D51-4499-9B51-D5BA0CFC8D8C"><title> EUidPixelFormatP_4</title> <p>4-bit indexed, which means |
|
871 that it has a palette. </p> <fig id="GUID-064DD5AB-0698-595F-842C-10FA6D6D66B6"> |
|
872 <title> Word diagram representing the EUidPixelFormatP_4 format |
|
873 </title> |
|
874 <image href="GUID-D3B78EAF-CAE8-519D-8E70-FD51C842DC17_d0e207255_href.png" placement="inline"/> |
|
875 </fig> <p>It is implicit in the code that pixel addresses within a byte increase |
|
876 from low bit to high bit. A little-endian architecture is also implicit, because |
|
877 conversions are made between pointers to byte and pointers to (unsigned) integer |
|
878 and because of the implication that pixel addresses within a 32-bit word also |
|
879 increase from low to high-order bit. </p> <fig id="GUID-6B813927-8E8C-55C8-805C-329ED8D7B5E7"> |
|
880 <title> Pixel address layout in memory for the EUidPixelFormatP_4 |
|
881 format </title> |
|
882 <image href="GUID-7D1886D4-24E4-528E-B3F0-2B6AF3E175AB_d0e207266_href.png" placement="inline"/> |
|
883 </fig> <table id="GUID-9DE2CA6A-3181-5C20-8540-57EB83116A86"> |
|
884 <tgroup cols="2"><colspec colname="COLSPEC20" colwidth="1.00*"/><colspec colname="col1"/> |
|
885 <tbody> |
|
886 <row> |
|
887 <entry>Graphics display mode </entry> |
|
888 <entry>N/A </entry> |
|
889 </row> |
|
890 <row> |
|
891 <entry>Color depth </entry> |
|
892 <entry>4bpp </entry> |
|
893 </row> |
|
894 <row> |
|
895 <entry>Multimedia pixel format constant </entry> |
|
896 <entry>No mapping </entry> |
|
897 </row> |
|
898 <row> |
|
899 <entry>Equivalent UID value </entry> |
|
900 <entry>{0x102754AD} </entry> |
|
901 </row> |
|
902 </tbody> |
|
903 </tgroup> |
|
904 </table> </section> |
|
905 <section id="GUID-0B8723C5-9E9A-4818-BA84-6AFD8085026C"><title> EUidPixelFormatP_2</title> <p>2-bit indexed, which means |
|
906 that it has a palette. </p> <fig id="GUID-80EAC219-BDE0-53B7-BADA-CA053E6A4BA6"> |
|
907 <title> Word diagram representing the EUidPixelFormatP_2 format |
|
908 </title> |
|
909 <image href="GUID-0DE924C3-B740-515E-8B29-4BDEFDA2960B_d0e207329_href.png" placement="inline"/> |
|
910 </fig> <p>It is implicit in the code that pixel addresses within a byte increase |
|
911 from low bit to high bit. A little-endian architecture is also implicit, because |
|
912 conversions are made between pointers to byte and pointers to (unsigned) integer |
|
913 and because of the implication that pixel addresses within a 32-bit word also |
|
914 increase from low to high-order bit. </p> <fig id="GUID-27F6488B-4A9C-5DEF-B636-21B7D9EC1CF3"> |
|
915 <title> Pixel address layout in memory for the EUidPixelFormatP_2 |
|
916 format </title> |
|
917 <image href="GUID-9D182BE5-1BDA-5799-95B9-2DE25E7B3F12_d0e207340_href.png" placement="inline"/> |
|
918 </fig> <table id="GUID-AC40CB01-DB00-5118-A7C4-BB5C1F39C387"> |
|
919 <tgroup cols="2"><colspec colname="COLSPEC21" colwidth="1.00*"/><colspec colname="col1"/> |
|
920 <tbody> |
|
921 <row> |
|
922 <entry>Graphics display mode </entry> |
|
923 <entry>N/A </entry> |
|
924 </row> |
|
925 <row> |
|
926 <entry>Color depth </entry> |
|
927 <entry>2bpp </entry> |
|
928 </row> |
|
929 <row> |
|
930 <entry>Multimedia pixel format constant </entry> |
|
931 <entry>No mapping </entry> |
|
932 </row> |
|
933 <row> |
|
934 <entry>Equivalent UID value </entry> |
|
935 <entry>{0x102754AE} </entry> |
|
936 </row> |
|
937 </tbody> |
|
938 </tgroup> |
|
939 </table> </section> |
|
940 <section id="GUID-A05C0A33-190A-47CF-89E5-2BCB5BC75D8A"><title>EUidPixelFormatP_1</title> <p>1-bit indexed, which means that |
|
941 it has a palette. </p> <fig id="GUID-80570A01-C0B3-5EE3-BA10-A3648733B359"> |
|
942 <title> Word diagram representing the EUidPixelFormatP_1 format |
|
943 </title> |
|
944 <image href="GUID-0886F421-4895-5007-AAE7-0013E9FF211F_d0e207403_href.png" placement="inline"/> |
|
945 </fig> <p>It is implicit in the code that pixel addresses within a byte increase |
|
946 from low bit to high bit. A little-endian architecture is also implicit, because |
|
947 conversions are made between pointers to byte and pointers to (unsigned) integer |
|
948 and because of the implication that pixel addresses within a 32-bit word also |
|
949 increase from low to high-order bit. </p> <fig id="GUID-6F401C6F-0B02-5A95-9D6A-DF608D2D1764"> |
|
950 <title> Pixel address layout in memory for the EUidPixelFormatP_1 |
|
951 format </title> |
|
952 <image href="GUID-14B2BA6D-EB1D-527C-BBA5-27097D47F5E1_d0e207414_href.png" placement="inline"/> |
|
953 </fig> <table id="GUID-F7E17FE6-FF00-5351-B948-14A6BA666CA8"> |
|
954 <tgroup cols="2"><colspec colname="COLSPEC22" colwidth="1.00*"/><colspec colname="col1"/> |
|
955 <tbody> |
|
956 <row> |
|
957 <entry>Graphics display mode </entry> |
|
958 <entry>N/A </entry> |
|
959 </row> |
|
960 <row> |
|
961 <entry>Color depth </entry> |
|
962 <entry>1bpp </entry> |
|
963 </row> |
|
964 <row> |
|
965 <entry>Multimedia pixel format constant </entry> |
|
966 <entry>No mapping </entry> |
|
967 </row> |
|
968 <row> |
|
969 <entry>Equivalent UID value </entry> |
|
970 <entry>{0x102754AF} </entry> |
|
971 </row> |
|
972 </tbody> |
|
973 </tgroup> |
|
974 </table> </section> |
|
975 <section id="GUID-65507753-1D02-4BA3-AB84-8B80E2EACBF8"><title> EUidPixelFormatA_8</title> <p>8-bit alpha format. This contains |
|
976 an alpha value only. </p> <table id="GUID-EE7BCEB2-9B6E-556E-A3D0-401B58119EAB"> |
|
977 <tgroup cols="2"><colspec colname="COLSPEC23" colwidth="1.00*"/><colspec colname="col1"/> |
|
978 <tbody> |
|
979 <row> |
|
980 <entry>Graphics display mode </entry> |
|
981 <entry>N/A </entry> |
|
982 </row> |
|
983 <row> |
|
984 <entry>Color depth </entry> |
|
985 <entry>8bpp </entry> |
|
986 </row> |
|
987 <row> |
|
988 <entry>Multimedia pixel format constant </entry> |
|
989 <entry>No mapping </entry> |
|
990 </row> |
|
991 <row> |
|
992 <entry>Equivalent UID value </entry> |
|
993 <entry>{0x102754A3} </entry> |
|
994 </row> |
|
995 </tbody> |
|
996 </tgroup> |
|
997 </table> </section> |
|
998 </conbody><related-links> |
|
999 <link href="GUID-47701648-CEC1-564C-A6BF-CC42E78E701F.dita"><linktext>YUV Pixel |
|
1000 Formats Overview</linktext></link> |
|
1001 <link href="GUID-9F9CE6B6-1B3D-50A6-8A94-BD391732EF2D.dita"><linktext>Luminosity |
|
1002 Pixel Formats</linktext></link> |
|
1003 </related-links></concept> |