• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">
2<HTML
3><HEAD
4><TITLE
5>Packed RGB formats</TITLE
6><META
7NAME="GENERATOR"
8CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
9REL="HOME"
10TITLE="Video for Linux Two API Specification"
11HREF="book1.htm"><LINK
12REL="UP"
13TITLE="RGB Formats"
14HREF="x2490.htm"><LINK
15REL="PREVIOUS"
16TITLE="RGB Formats"
17HREF="x2490.htm"><LINK
18REL="NEXT"
19TITLE="V4L2_PIX_FMT_SBGGR8 ('BA81')"
20HREF="r3735.htm"></HEAD
21><BODY
22CLASS="REFENTRY"
23BGCOLOR="#FFFFFF"
24TEXT="#000000"
25LINK="#0000FF"
26VLINK="#840084"
27ALINK="#0000FF"
28><DIV
29CLASS="NAVHEADER"
30><TABLE
31SUMMARY="Header navigation table"
32WIDTH="100%"
33BORDER="0"
34CELLPADDING="0"
35CELLSPACING="0"
36><TR
37><TH
38COLSPAN="3"
39ALIGN="center"
40>Video for Linux Two API Specification: Revision 0.24</TH
41></TR
42><TR
43><TD
44WIDTH="10%"
45ALIGN="left"
46VALIGN="bottom"
47><A
48HREF="x2490.htm"
49ACCESSKEY="P"
50>Prev</A
51></TD
52><TD
53WIDTH="80%"
54ALIGN="center"
55VALIGN="bottom"
56></TD
57><TD
58WIDTH="10%"
59ALIGN="right"
60VALIGN="bottom"
61><A
62HREF="r3735.htm"
63ACCESSKEY="N"
64>Next</A
65></TD
66></TR
67></TABLE
68><HR
69ALIGN="LEFT"
70WIDTH="100%"></DIV
71><H1
72><A
73NAME="PACKED-RGB"
74></A
75>Packed RGB formats</H1
76><DIV
77CLASS="REFNAMEDIV"
78><A
79NAME="AEN2496"
80></A
81><H2
82>Name</H2
83>Packed RGB formats&nbsp;--&nbsp;Packed RGB formats</DIV
84><DIV
85CLASS="REFSECT1"
86><A
87NAME="AEN2499"
88></A
89><H2
90>Description</H2
91><P
92>These formats are designed to match the pixel formats of
93typical PC graphics frame buffers. They occupy 8, 16, 24 or 32 bits
94per pixel. These are all packed-pixel formats, meaning all the data
95for a pixel lie next to each other in memory.</P
96><P
97>When one of these formats is used, drivers shall report the
98colorspace <CODE
99CLASS="CONSTANT"
100>V4L2_COLORSPACE_SRGB</CODE
101>.</P
102><DIV
103CLASS="TABLE"
104><A
105NAME="RGB-FORMATS"
106></A
107><P
108><B
109>Table 2-1. Packed RGB Image Formats</B
110></P
111><TABLE
112BORDER="0"
113FRAME="void"
114WIDTH="100%"
115CLASS="CALSTABLE"
116><COL
117WIDTH="3%"
118ALIGN="LEFT"
119TITLE="ID"><COL
120WIDTH="3%"
121TITLE="FOURCC"><COL
122WIDTH="3%"
123TITLE="BIT"><COL
124WIDTH="3%"
125ALIGN="CENTER"
126TITLE="B07"><COL
127WIDTH="3%"
128ALIGN="CENTER"
129TITLE="B06"><COL
130WIDTH="3%"
131ALIGN="CENTER"
132TITLE="B05"><COL
133WIDTH="3%"
134ALIGN="CENTER"
135TITLE="B04"><COL
136WIDTH="3%"
137ALIGN="CENTER"
138TITLE="B03"><COL
139WIDTH="3%"
140ALIGN="CENTER"
141TITLE="B02"><COL
142WIDTH="3%"
143ALIGN="CENTER"
144TITLE="B01"><COL
145WIDTH="3%"
146ALIGN="CENTER"
147TITLE="B00"><COL><COL
148WIDTH="3%"
149ALIGN="CENTER"
150TITLE="B17"><COL
151WIDTH="3%"
152ALIGN="CENTER"
153TITLE="B16"><COL
154WIDTH="3%"
155ALIGN="CENTER"
156TITLE="B15"><COL
157WIDTH="3%"
158ALIGN="CENTER"
159TITLE="B14"><COL
160WIDTH="3%"
161ALIGN="CENTER"
162TITLE="B13"><COL
163WIDTH="3%"
164ALIGN="CENTER"
165TITLE="B12"><COL
166WIDTH="3%"
167ALIGN="CENTER"
168TITLE="B11"><COL
169WIDTH="3%"
170ALIGN="CENTER"
171TITLE="B10"><COL><COL
172WIDTH="3%"
173ALIGN="CENTER"
174TITLE="B27"><COL
175WIDTH="3%"
176ALIGN="CENTER"
177TITLE="B26"><COL
178WIDTH="3%"
179ALIGN="CENTER"
180TITLE="B25"><COL
181WIDTH="3%"
182ALIGN="CENTER"
183TITLE="B24"><COL
184WIDTH="3%"
185ALIGN="CENTER"
186TITLE="B23"><COL
187WIDTH="3%"
188ALIGN="CENTER"
189TITLE="B22"><COL
190WIDTH="3%"
191ALIGN="CENTER"
192TITLE="B21"><COL
193WIDTH="3%"
194ALIGN="CENTER"
195TITLE="B20"><COL><COL
196WIDTH="3%"
197ALIGN="CENTER"
198TITLE="B37"><COL
199WIDTH="3%"
200ALIGN="CENTER"
201TITLE="B36"><COL
202WIDTH="3%"
203ALIGN="CENTER"
204TITLE="B35"><COL
205WIDTH="3%"
206ALIGN="CENTER"
207TITLE="B34"><COL
208WIDTH="3%"
209ALIGN="CENTER"
210TITLE="B33"><COL
211WIDTH="3%"
212ALIGN="CENTER"
213TITLE="B32"><COL
214WIDTH="3%"
215ALIGN="CENTER"
216TITLE="B31"><THEAD
217><TR
218><TH
219>Identifier</TH
220><TH
221>Code</TH
222><TH
223>&nbsp;</TH
224><TH
225COLSPAN="8"
226>Byte&nbsp;0 in memory</TH
227><TH
228>&nbsp;</TH
229><TH
230COLSPAN="8"
231>Byte&nbsp;1</TH
232><TH
233>&nbsp;</TH
234><TH
235COLSPAN="8"
236>Byte&nbsp;2</TH
237><TH
238>&nbsp;</TH
239><TH
240COLSPAN="8"
241>Byte&nbsp;3</TH
242></TR
243><TR
244><TH
245>&nbsp;</TH
246><TH
247>&nbsp;</TH
248><TH
249>Bit</TH
250><TH
251>7</TH
252><TH
253>6</TH
254><TH
255>5</TH
256><TH
257>4</TH
258><TH
259>3</TH
260><TH
261>2</TH
262><TH
263>1</TH
264><TH
265>0</TH
266><TH
267>&nbsp;</TH
268><TH
269>7</TH
270><TH
271>6</TH
272><TH
273>5</TH
274><TH
275>4</TH
276><TH
277>3</TH
278><TH
279>2</TH
280><TH
281>1</TH
282><TH
283>0</TH
284><TH
285>&nbsp;</TH
286><TH
287>7</TH
288><TH
289>6</TH
290><TH
291>5</TH
292><TH
293>4</TH
294><TH
295>3</TH
296><TH
297>2</TH
298><TH
299>1</TH
300><TH
301>0</TH
302><TH
303>&nbsp;</TH
304><TH
305>7</TH
306><TH
307>6</TH
308><TH
309>5</TH
310><TH
311>4</TH
312><TH
313>3</TH
314><TH
315>2</TH
316><TH
317>1</TH
318><TH
319>0</TH
320></TR
321></THEAD
322><TBODY
323VALIGN="TOP"
324><TR
325><A
326NAME="V4L2-PIX-FMT-RGB332"
327></A
328><TD
329><CODE
330CLASS="CONSTANT"
331>V4L2_PIX_FMT_RGB332</CODE
332></TD
333><TD
334>'RGB1'</TD
335><TD
336>&nbsp;</TD
337><TD
338>b<SUB
339>1</SUB
340></TD
341><TD
342>b<SUB
343>0</SUB
344></TD
345><TD
346>g<SUB
347>2</SUB
348></TD
349><TD
350>g<SUB
351>1</SUB
352></TD
353><TD
354>g<SUB
355>0</SUB
356></TD
357><TD
358>r<SUB
359>2</SUB
360></TD
361><TD
362>r<SUB
363>1</SUB
364></TD
365><TD
366>r<SUB
367>0</SUB
368></TD
369><TD
370>&nbsp;</TD
371><TD
372>&nbsp;</TD
373><TD
374>&nbsp;</TD
375><TD
376>&nbsp;</TD
377><TD
378>&nbsp;</TD
379><TD
380>&nbsp;</TD
381><TD
382>&nbsp;</TD
383><TD
384>&nbsp;</TD
385><TD
386>&nbsp;</TD
387><TD
388>&nbsp;</TD
389><TD
390>&nbsp;</TD
391><TD
392>&nbsp;</TD
393><TD
394>&nbsp;</TD
395><TD
396>&nbsp;</TD
397><TD
398>&nbsp;</TD
399><TD
400>&nbsp;</TD
401><TD
402>&nbsp;</TD
403><TD
404>&nbsp;</TD
405><TD
406>&nbsp;</TD
407><TD
408>&nbsp;</TD
409><TD
410>&nbsp;</TD
411><TD
412>&nbsp;</TD
413><TD
414>&nbsp;</TD
415><TD
416>&nbsp;</TD
417><TD
418>&nbsp;</TD
419><TD
420>&nbsp;</TD
421></TR
422><TR
423><A
424NAME="V4L2-PIX-FMT-RGB444"
425></A
426><TD
427><CODE
428CLASS="CONSTANT"
429>V4L2_PIX_FMT_RGB444</CODE
430></TD
431><TD
432>'R444'</TD
433><TD
434>&nbsp;</TD
435><TD
436>g<SUB
437>3</SUB
438></TD
439><TD
440>g<SUB
441>2</SUB
442></TD
443><TD
444>g<SUB
445>1</SUB
446></TD
447><TD
448>g<SUB
449>0</SUB
450></TD
451><TD
452>b<SUB
453>3</SUB
454></TD
455><TD
456>b<SUB
457>2</SUB
458></TD
459><TD
460>b<SUB
461>1</SUB
462></TD
463><TD
464>b<SUB
465>0</SUB
466></TD
467><TD
468>&nbsp;</TD
469><TD
470>a<SUB
471>3</SUB
472></TD
473><TD
474>a<SUB
475>2</SUB
476></TD
477><TD
478>a<SUB
479>1</SUB
480></TD
481><TD
482>a<SUB
483>0</SUB
484></TD
485><TD
486>r<SUB
487>3</SUB
488></TD
489><TD
490>r<SUB
491>2</SUB
492></TD
493><TD
494>r<SUB
495>1</SUB
496></TD
497><TD
498>r<SUB
499>0</SUB
500></TD
501><TD
502>&nbsp;</TD
503><TD
504>&nbsp;</TD
505><TD
506>&nbsp;</TD
507><TD
508>&nbsp;</TD
509><TD
510>&nbsp;</TD
511><TD
512>&nbsp;</TD
513><TD
514>&nbsp;</TD
515><TD
516>&nbsp;</TD
517><TD
518>&nbsp;</TD
519><TD
520>&nbsp;</TD
521><TD
522>&nbsp;</TD
523><TD
524>&nbsp;</TD
525><TD
526>&nbsp;</TD
527><TD
528>&nbsp;</TD
529><TD
530>&nbsp;</TD
531><TD
532>&nbsp;</TD
533><TD
534>&nbsp;</TD
535></TR
536><TR
537><A
538NAME="V4L2-PIX-FMT-RGB555"
539></A
540><TD
541><CODE
542CLASS="CONSTANT"
543>V4L2_PIX_FMT_RGB555</CODE
544></TD
545><TD
546>'RGBO'</TD
547><TD
548>&nbsp;</TD
549><TD
550>g<SUB
551>2</SUB
552></TD
553><TD
554>g<SUB
555>1</SUB
556></TD
557><TD
558>g<SUB
559>0</SUB
560></TD
561><TD
562>r<SUB
563>4</SUB
564></TD
565><TD
566>r<SUB
567>3</SUB
568></TD
569><TD
570>r<SUB
571>2</SUB
572></TD
573><TD
574>r<SUB
575>1</SUB
576></TD
577><TD
578>r<SUB
579>0</SUB
580></TD
581><TD
582>&nbsp;</TD
583><TD
584>a</TD
585><TD
586>b<SUB
587>4</SUB
588></TD
589><TD
590>b<SUB
591>3</SUB
592></TD
593><TD
594>b<SUB
595>2</SUB
596></TD
597><TD
598>b<SUB
599>1</SUB
600></TD
601><TD
602>b<SUB
603>0</SUB
604></TD
605><TD
606>g<SUB
607>4</SUB
608></TD
609><TD
610>g<SUB
611>3</SUB
612></TD
613><TD
614>&nbsp;</TD
615><TD
616>&nbsp;</TD
617><TD
618>&nbsp;</TD
619><TD
620>&nbsp;</TD
621><TD
622>&nbsp;</TD
623><TD
624>&nbsp;</TD
625><TD
626>&nbsp;</TD
627><TD
628>&nbsp;</TD
629><TD
630>&nbsp;</TD
631><TD
632>&nbsp;</TD
633><TD
634>&nbsp;</TD
635><TD
636>&nbsp;</TD
637><TD
638>&nbsp;</TD
639><TD
640>&nbsp;</TD
641><TD
642>&nbsp;</TD
643><TD
644>&nbsp;</TD
645><TD
646>&nbsp;</TD
647></TR
648><TR
649><A
650NAME="V4L2-PIX-FMT-RGB565"
651></A
652><TD
653><CODE
654CLASS="CONSTANT"
655>V4L2_PIX_FMT_RGB565</CODE
656></TD
657><TD
658>'RGBP'</TD
659><TD
660>&nbsp;</TD
661><TD
662>g<SUB
663>2</SUB
664></TD
665><TD
666>g<SUB
667>1</SUB
668></TD
669><TD
670>g<SUB
671>0</SUB
672></TD
673><TD
674>r<SUB
675>4</SUB
676></TD
677><TD
678>r<SUB
679>3</SUB
680></TD
681><TD
682>r<SUB
683>2</SUB
684></TD
685><TD
686>r<SUB
687>1</SUB
688></TD
689><TD
690>r<SUB
691>0</SUB
692></TD
693><TD
694>&nbsp;</TD
695><TD
696>b<SUB
697>4</SUB
698></TD
699><TD
700>b<SUB
701>3</SUB
702></TD
703><TD
704>b<SUB
705>2</SUB
706></TD
707><TD
708>b<SUB
709>1</SUB
710></TD
711><TD
712>b<SUB
713>0</SUB
714></TD
715><TD
716>g<SUB
717>5</SUB
718></TD
719><TD
720>g<SUB
721>4</SUB
722></TD
723><TD
724>g<SUB
725>3</SUB
726></TD
727><TD
728>&nbsp;</TD
729><TD
730>&nbsp;</TD
731><TD
732>&nbsp;</TD
733><TD
734>&nbsp;</TD
735><TD
736>&nbsp;</TD
737><TD
738>&nbsp;</TD
739><TD
740>&nbsp;</TD
741><TD
742>&nbsp;</TD
743><TD
744>&nbsp;</TD
745><TD
746>&nbsp;</TD
747><TD
748>&nbsp;</TD
749><TD
750>&nbsp;</TD
751><TD
752>&nbsp;</TD
753><TD
754>&nbsp;</TD
755><TD
756>&nbsp;</TD
757><TD
758>&nbsp;</TD
759><TD
760>&nbsp;</TD
761></TR
762><TR
763><A
764NAME="V4L2-PIX-FMT-RGB555X"
765></A
766><TD
767><CODE
768CLASS="CONSTANT"
769>V4L2_PIX_FMT_RGB555X</CODE
770></TD
771><TD
772>'RGBQ'</TD
773><TD
774>&nbsp;</TD
775><TD
776>a</TD
777><TD
778>b<SUB
779>4</SUB
780></TD
781><TD
782>b<SUB
783>3</SUB
784></TD
785><TD
786>b<SUB
787>2</SUB
788></TD
789><TD
790>b<SUB
791>1</SUB
792></TD
793><TD
794>b<SUB
795>0</SUB
796></TD
797><TD
798>g<SUB
799>4</SUB
800></TD
801><TD
802>g<SUB
803>3</SUB
804></TD
805><TD
806>&nbsp;</TD
807><TD
808>g<SUB
809>2</SUB
810></TD
811><TD
812>g<SUB
813>1</SUB
814></TD
815><TD
816>g<SUB
817>0</SUB
818></TD
819><TD
820>r<SUB
821>4</SUB
822></TD
823><TD
824>r<SUB
825>3</SUB
826></TD
827><TD
828>r<SUB
829>2</SUB
830></TD
831><TD
832>r<SUB
833>1</SUB
834></TD
835><TD
836>r<SUB
837>0</SUB
838></TD
839><TD
840>&nbsp;</TD
841><TD
842>&nbsp;</TD
843><TD
844>&nbsp;</TD
845><TD
846>&nbsp;</TD
847><TD
848>&nbsp;</TD
849><TD
850>&nbsp;</TD
851><TD
852>&nbsp;</TD
853><TD
854>&nbsp;</TD
855><TD
856>&nbsp;</TD
857><TD
858>&nbsp;</TD
859><TD
860>&nbsp;</TD
861><TD
862>&nbsp;</TD
863><TD
864>&nbsp;</TD
865><TD
866>&nbsp;</TD
867><TD
868>&nbsp;</TD
869><TD
870>&nbsp;</TD
871><TD
872>&nbsp;</TD
873></TR
874><TR
875><A
876NAME="V4L2-PIX-FMT-RGB565X"
877></A
878><TD
879><CODE
880CLASS="CONSTANT"
881>V4L2_PIX_FMT_RGB565X</CODE
882></TD
883><TD
884>'RGBR'</TD
885><TD
886>&nbsp;</TD
887><TD
888>b<SUB
889>4</SUB
890></TD
891><TD
892>b<SUB
893>3</SUB
894></TD
895><TD
896>b<SUB
897>2</SUB
898></TD
899><TD
900>b<SUB
901>1</SUB
902></TD
903><TD
904>b<SUB
905>0</SUB
906></TD
907><TD
908>g<SUB
909>5</SUB
910></TD
911><TD
912>g<SUB
913>4</SUB
914></TD
915><TD
916>g<SUB
917>3</SUB
918></TD
919><TD
920>&nbsp;</TD
921><TD
922>g<SUB
923>2</SUB
924></TD
925><TD
926>g<SUB
927>1</SUB
928></TD
929><TD
930>g<SUB
931>0</SUB
932></TD
933><TD
934>r<SUB
935>4</SUB
936></TD
937><TD
938>r<SUB
939>3</SUB
940></TD
941><TD
942>r<SUB
943>2</SUB
944></TD
945><TD
946>r<SUB
947>1</SUB
948></TD
949><TD
950>r<SUB
951>0</SUB
952></TD
953><TD
954>&nbsp;</TD
955><TD
956>&nbsp;</TD
957><TD
958>&nbsp;</TD
959><TD
960>&nbsp;</TD
961><TD
962>&nbsp;</TD
963><TD
964>&nbsp;</TD
965><TD
966>&nbsp;</TD
967><TD
968>&nbsp;</TD
969><TD
970>&nbsp;</TD
971><TD
972>&nbsp;</TD
973><TD
974>&nbsp;</TD
975><TD
976>&nbsp;</TD
977><TD
978>&nbsp;</TD
979><TD
980>&nbsp;</TD
981><TD
982>&nbsp;</TD
983><TD
984>&nbsp;</TD
985><TD
986>&nbsp;</TD
987></TR
988><TR
989><A
990NAME="V4L2-PIX-FMT-BGR24"
991></A
992><TD
993><CODE
994CLASS="CONSTANT"
995>V4L2_PIX_FMT_BGR24</CODE
996></TD
997><TD
998>'BGR3'</TD
999><TD
1000>&nbsp;</TD
1001><TD
1002>b<SUB
1003>7</SUB
1004></TD
1005><TD
1006>b<SUB
1007>6</SUB
1008></TD
1009><TD
1010>b<SUB
1011>5</SUB
1012></TD
1013><TD
1014>b<SUB
1015>4</SUB
1016></TD
1017><TD
1018>b<SUB
1019>3</SUB
1020></TD
1021><TD
1022>b<SUB
1023>2</SUB
1024></TD
1025><TD
1026>b<SUB
1027>1</SUB
1028></TD
1029><TD
1030>b<SUB
1031>0</SUB
1032></TD
1033><TD
1034>&nbsp;</TD
1035><TD
1036>g<SUB
1037>7</SUB
1038></TD
1039><TD
1040>g<SUB
1041>6</SUB
1042></TD
1043><TD
1044>g<SUB
1045>5</SUB
1046></TD
1047><TD
1048>g<SUB
1049>4</SUB
1050></TD
1051><TD
1052>g<SUB
1053>3</SUB
1054></TD
1055><TD
1056>g<SUB
1057>2</SUB
1058></TD
1059><TD
1060>g<SUB
1061>1</SUB
1062></TD
1063><TD
1064>g<SUB
1065>0</SUB
1066></TD
1067><TD
1068>&nbsp;</TD
1069><TD
1070>r<SUB
1071>7</SUB
1072></TD
1073><TD
1074>r<SUB
1075>6</SUB
1076></TD
1077><TD
1078>r<SUB
1079>5</SUB
1080></TD
1081><TD
1082>r<SUB
1083>4</SUB
1084></TD
1085><TD
1086>r<SUB
1087>3</SUB
1088></TD
1089><TD
1090>r<SUB
1091>2</SUB
1092></TD
1093><TD
1094>r<SUB
1095>1</SUB
1096></TD
1097><TD
1098>r<SUB
1099>0</SUB
1100></TD
1101><TD
1102>&nbsp;</TD
1103><TD
1104>&nbsp;</TD
1105><TD
1106>&nbsp;</TD
1107><TD
1108>&nbsp;</TD
1109><TD
1110>&nbsp;</TD
1111><TD
1112>&nbsp;</TD
1113><TD
1114>&nbsp;</TD
1115><TD
1116>&nbsp;</TD
1117></TR
1118><TR
1119><A
1120NAME="V4L2-PIX-FMT-RGB24"
1121></A
1122><TD
1123><CODE
1124CLASS="CONSTANT"
1125>V4L2_PIX_FMT_RGB24</CODE
1126></TD
1127><TD
1128>'RGB3'</TD
1129><TD
1130>&nbsp;</TD
1131><TD
1132>r<SUB
1133>7</SUB
1134></TD
1135><TD
1136>r<SUB
1137>6</SUB
1138></TD
1139><TD
1140>r<SUB
1141>5</SUB
1142></TD
1143><TD
1144>r<SUB
1145>4</SUB
1146></TD
1147><TD
1148>r<SUB
1149>3</SUB
1150></TD
1151><TD
1152>r<SUB
1153>2</SUB
1154></TD
1155><TD
1156>r<SUB
1157>1</SUB
1158></TD
1159><TD
1160>r<SUB
1161>0</SUB
1162></TD
1163><TD
1164>&nbsp;</TD
1165><TD
1166>g<SUB
1167>7</SUB
1168></TD
1169><TD
1170>g<SUB
1171>6</SUB
1172></TD
1173><TD
1174>g<SUB
1175>5</SUB
1176></TD
1177><TD
1178>g<SUB
1179>4</SUB
1180></TD
1181><TD
1182>g<SUB
1183>3</SUB
1184></TD
1185><TD
1186>g<SUB
1187>2</SUB
1188></TD
1189><TD
1190>g<SUB
1191>1</SUB
1192></TD
1193><TD
1194>g<SUB
1195>0</SUB
1196></TD
1197><TD
1198>&nbsp;</TD
1199><TD
1200>b<SUB
1201>7</SUB
1202></TD
1203><TD
1204>b<SUB
1205>6</SUB
1206></TD
1207><TD
1208>b<SUB
1209>5</SUB
1210></TD
1211><TD
1212>b<SUB
1213>4</SUB
1214></TD
1215><TD
1216>b<SUB
1217>3</SUB
1218></TD
1219><TD
1220>b<SUB
1221>2</SUB
1222></TD
1223><TD
1224>b<SUB
1225>1</SUB
1226></TD
1227><TD
1228>b<SUB
1229>0</SUB
1230></TD
1231><TD
1232>&nbsp;</TD
1233><TD
1234>&nbsp;</TD
1235><TD
1236>&nbsp;</TD
1237><TD
1238>&nbsp;</TD
1239><TD
1240>&nbsp;</TD
1241><TD
1242>&nbsp;</TD
1243><TD
1244>&nbsp;</TD
1245><TD
1246>&nbsp;</TD
1247></TR
1248><TR
1249><A
1250NAME="V4L2-PIX-FMT-BGR32"
1251></A
1252><TD
1253><CODE
1254CLASS="CONSTANT"
1255>V4L2_PIX_FMT_BGR32</CODE
1256></TD
1257><TD
1258>'BGR4'</TD
1259><TD
1260>&nbsp;</TD
1261><TD
1262>b<SUB
1263>7</SUB
1264></TD
1265><TD
1266>b<SUB
1267>6</SUB
1268></TD
1269><TD
1270>b<SUB
1271>5</SUB
1272></TD
1273><TD
1274>b<SUB
1275>4</SUB
1276></TD
1277><TD
1278>b<SUB
1279>3</SUB
1280></TD
1281><TD
1282>b<SUB
1283>2</SUB
1284></TD
1285><TD
1286>b<SUB
1287>1</SUB
1288></TD
1289><TD
1290>b<SUB
1291>0</SUB
1292></TD
1293><TD
1294>&nbsp;</TD
1295><TD
1296>g<SUB
1297>7</SUB
1298></TD
1299><TD
1300>g<SUB
1301>6</SUB
1302></TD
1303><TD
1304>g<SUB
1305>5</SUB
1306></TD
1307><TD
1308>g<SUB
1309>4</SUB
1310></TD
1311><TD
1312>g<SUB
1313>3</SUB
1314></TD
1315><TD
1316>g<SUB
1317>2</SUB
1318></TD
1319><TD
1320>g<SUB
1321>1</SUB
1322></TD
1323><TD
1324>g<SUB
1325>0</SUB
1326></TD
1327><TD
1328>&nbsp;</TD
1329><TD
1330>r<SUB
1331>7</SUB
1332></TD
1333><TD
1334>r<SUB
1335>6</SUB
1336></TD
1337><TD
1338>r<SUB
1339>5</SUB
1340></TD
1341><TD
1342>r<SUB
1343>4</SUB
1344></TD
1345><TD
1346>r<SUB
1347>3</SUB
1348></TD
1349><TD
1350>r<SUB
1351>2</SUB
1352></TD
1353><TD
1354>r<SUB
1355>1</SUB
1356></TD
1357><TD
1358>r<SUB
1359>0</SUB
1360></TD
1361><TD
1362>&nbsp;</TD
1363><TD
1364>a<SUB
1365>7</SUB
1366></TD
1367><TD
1368>a<SUB
1369>6</SUB
1370></TD
1371><TD
1372>a<SUB
1373>5</SUB
1374></TD
1375><TD
1376>a<SUB
1377>4</SUB
1378></TD
1379><TD
1380>a<SUB
1381>3</SUB
1382></TD
1383><TD
1384>a<SUB
1385>2</SUB
1386></TD
1387><TD
1388>a<SUB
1389>1</SUB
1390></TD
1391><TD
1392>a<SUB
1393>0</SUB
1394></TD
1395></TR
1396><TR
1397><A
1398NAME="V4L2-PIX-FMT-RGB32"
1399></A
1400><TD
1401><CODE
1402CLASS="CONSTANT"
1403>V4L2_PIX_FMT_RGB32</CODE
1404></TD
1405><TD
1406>'RGB4'</TD
1407><TD
1408>&nbsp;</TD
1409><TD
1410>r<SUB
1411>7</SUB
1412></TD
1413><TD
1414>r<SUB
1415>6</SUB
1416></TD
1417><TD
1418>r<SUB
1419>5</SUB
1420></TD
1421><TD
1422>r<SUB
1423>4</SUB
1424></TD
1425><TD
1426>r<SUB
1427>3</SUB
1428></TD
1429><TD
1430>r<SUB
1431>2</SUB
1432></TD
1433><TD
1434>r<SUB
1435>1</SUB
1436></TD
1437><TD
1438>r<SUB
1439>0</SUB
1440></TD
1441><TD
1442>&nbsp;</TD
1443><TD
1444>g<SUB
1445>7</SUB
1446></TD
1447><TD
1448>g<SUB
1449>6</SUB
1450></TD
1451><TD
1452>g<SUB
1453>5</SUB
1454></TD
1455><TD
1456>g<SUB
1457>4</SUB
1458></TD
1459><TD
1460>g<SUB
1461>3</SUB
1462></TD
1463><TD
1464>g<SUB
1465>2</SUB
1466></TD
1467><TD
1468>g<SUB
1469>1</SUB
1470></TD
1471><TD
1472>g<SUB
1473>0</SUB
1474></TD
1475><TD
1476>&nbsp;</TD
1477><TD
1478>b<SUB
1479>7</SUB
1480></TD
1481><TD
1482>b<SUB
1483>6</SUB
1484></TD
1485><TD
1486>b<SUB
1487>5</SUB
1488></TD
1489><TD
1490>b<SUB
1491>4</SUB
1492></TD
1493><TD
1494>b<SUB
1495>3</SUB
1496></TD
1497><TD
1498>b<SUB
1499>2</SUB
1500></TD
1501><TD
1502>b<SUB
1503>1</SUB
1504></TD
1505><TD
1506>b<SUB
1507>0</SUB
1508></TD
1509><TD
1510>&nbsp;</TD
1511><TD
1512>a<SUB
1513>7</SUB
1514></TD
1515><TD
1516>a<SUB
1517>6</SUB
1518></TD
1519><TD
1520>a<SUB
1521>5</SUB
1522></TD
1523><TD
1524>a<SUB
1525>4</SUB
1526></TD
1527><TD
1528>a<SUB
1529>3</SUB
1530></TD
1531><TD
1532>a<SUB
1533>2</SUB
1534></TD
1535><TD
1536>a<SUB
1537>1</SUB
1538></TD
1539><TD
1540>a<SUB
1541>0</SUB
1542></TD
1543></TR
1544></TBODY
1545></TABLE
1546></DIV
1547><P
1548>Bit 7 is the most significant bit. The value of a = alpha
1549bits is undefined when reading from the driver, ignored when writing
1550to the driver, except when alpha blending has been negotiated for a
1551<A
1552HREF="x6570.htm"
1553>Video Overlay</A
1554> or <A
1555HREF="x6909.htm"
1556>Video Output Overlay</A
1557>.</P
1558><DIV
1559CLASS="EXAMPLE"
1560><A
1561NAME="AEN3061"
1562></A
1563><P
1564><B
1565>Example 2-1. <CODE
1566CLASS="CONSTANT"
1567>V4L2_PIX_FMT_BGR24</CODE
1568> 4 &times; 4 pixel
1569image</B
1570></P
1571><DIV
1572CLASS="FORMALPARA"
1573><P
1574><B
1575>Byte Order. </B
1576>Each cell is one byte.
1577              <DIV
1578CLASS="INFORMALTABLE"
1579><P
1580></P
1581><A
1582NAME="AEN3067"
1583></A
1584><TABLE
1585BORDER="0"
1586FRAME="void"
1587CLASS="CALSTABLE"
1588><COL
1589WIDTH="2*"
1590ALIGN="LEFT"><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL><TBODY
1591VALIGN="TOP"
1592><TR
1593><TD
1594>start&nbsp;+&nbsp;0:</TD
1595><TD
1596>B<SUB
1597>00</SUB
1598></TD
1599><TD
1600>G<SUB
1601>00</SUB
1602></TD
1603><TD
1604>R<SUB
1605>00</SUB
1606></TD
1607><TD
1608>B<SUB
1609>01</SUB
1610></TD
1611><TD
1612>G<SUB
1613>01</SUB
1614></TD
1615><TD
1616>R<SUB
1617>01</SUB
1618></TD
1619><TD
1620>B<SUB
1621>02</SUB
1622></TD
1623><TD
1624>G<SUB
1625>02</SUB
1626></TD
1627><TD
1628>R<SUB
1629>02</SUB
1630></TD
1631><TD
1632>B<SUB
1633>03</SUB
1634></TD
1635><TD
1636>G<SUB
1637>03</SUB
1638></TD
1639><TD
1640>R<SUB
1641>03</SUB
1642></TD
1643></TR
1644><TR
1645><TD
1646>start&nbsp;+&nbsp;12:</TD
1647><TD
1648>B<SUB
1649>10</SUB
1650></TD
1651><TD
1652>G<SUB
1653>10</SUB
1654></TD
1655><TD
1656>R<SUB
1657>10</SUB
1658></TD
1659><TD
1660>B<SUB
1661>11</SUB
1662></TD
1663><TD
1664>G<SUB
1665>11</SUB
1666></TD
1667><TD
1668>R<SUB
1669>11</SUB
1670></TD
1671><TD
1672>B<SUB
1673>12</SUB
1674></TD
1675><TD
1676>G<SUB
1677>12</SUB
1678></TD
1679><TD
1680>R<SUB
1681>12</SUB
1682></TD
1683><TD
1684>B<SUB
1685>13</SUB
1686></TD
1687><TD
1688>G<SUB
1689>13</SUB
1690></TD
1691><TD
1692>R<SUB
1693>13</SUB
1694></TD
1695></TR
1696><TR
1697><TD
1698>start&nbsp;+&nbsp;24:</TD
1699><TD
1700>B<SUB
1701>20</SUB
1702></TD
1703><TD
1704>G<SUB
1705>20</SUB
1706></TD
1707><TD
1708>R<SUB
1709>20</SUB
1710></TD
1711><TD
1712>B<SUB
1713>21</SUB
1714></TD
1715><TD
1716>G<SUB
1717>21</SUB
1718></TD
1719><TD
1720>R<SUB
1721>21</SUB
1722></TD
1723><TD
1724>B<SUB
1725>22</SUB
1726></TD
1727><TD
1728>G<SUB
1729>22</SUB
1730></TD
1731><TD
1732>R<SUB
1733>22</SUB
1734></TD
1735><TD
1736>B<SUB
1737>23</SUB
1738></TD
1739><TD
1740>G<SUB
1741>23</SUB
1742></TD
1743><TD
1744>R<SUB
1745>23</SUB
1746></TD
1747></TR
1748><TR
1749><TD
1750>start&nbsp;+&nbsp;36:</TD
1751><TD
1752>B<SUB
1753>30</SUB
1754></TD
1755><TD
1756>G<SUB
1757>30</SUB
1758></TD
1759><TD
1760>R<SUB
1761>30</SUB
1762></TD
1763><TD
1764>B<SUB
1765>31</SUB
1766></TD
1767><TD
1768>G<SUB
1769>31</SUB
1770></TD
1771><TD
1772>R<SUB
1773>31</SUB
1774></TD
1775><TD
1776>B<SUB
1777>32</SUB
1778></TD
1779><TD
1780>G<SUB
1781>32</SUB
1782></TD
1783><TD
1784>R<SUB
1785>32</SUB
1786></TD
1787><TD
1788>B<SUB
1789>33</SUB
1790></TD
1791><TD
1792>G<SUB
1793>33</SUB
1794></TD
1795><TD
1796>R<SUB
1797>33</SUB
1798></TD
1799></TR
1800></TBODY
1801></TABLE
1802><P
1803></P
1804></DIV
1805>
1806            </P
1807></DIV
1808></DIV
1809><DIV
1810CLASS="IMPORTANT"
1811><BLOCKQUOTE
1812CLASS="IMPORTANT"
1813><P
1814><B
1815>Important: </B
1816>Drivers may interpret these formats differently.</P
1817></BLOCKQUOTE
1818></DIV
1819><P
1820>Some RGB formats above are uncommon and were probably
1821defined in error. Drivers may interpret them as in <A
1822HREF="r2492.htm#RGB-FORMATS-CORRECTED"
1823>Table 2-2</A
1824>.</P
1825><DIV
1826CLASS="TABLE"
1827><A
1828NAME="RGB-FORMATS-CORRECTED"
1829></A
1830><P
1831><B
1832>Table 2-2. Packed RGB Image Formats (corrected)</B
1833></P
1834><TABLE
1835BORDER="0"
1836FRAME="void"
1837WIDTH="100%"
1838CLASS="CALSTABLE"
1839><COL
1840WIDTH="3%"
1841ALIGN="LEFT"
1842TITLE="ID"><COL
1843WIDTH="3%"
1844TITLE="FOURCC"><COL
1845WIDTH="3%"
1846TITLE="BIT"><COL
1847WIDTH="3%"
1848ALIGN="CENTER"
1849TITLE="B07"><COL
1850WIDTH="3%"
1851ALIGN="CENTER"
1852TITLE="B06"><COL
1853WIDTH="3%"
1854ALIGN="CENTER"
1855TITLE="B05"><COL
1856WIDTH="3%"
1857ALIGN="CENTER"
1858TITLE="B04"><COL
1859WIDTH="3%"
1860ALIGN="CENTER"
1861TITLE="B03"><COL
1862WIDTH="3%"
1863ALIGN="CENTER"
1864TITLE="B02"><COL
1865WIDTH="3%"
1866ALIGN="CENTER"
1867TITLE="B01"><COL
1868WIDTH="3%"
1869ALIGN="CENTER"
1870TITLE="B00"><COL><COL
1871WIDTH="3%"
1872ALIGN="CENTER"
1873TITLE="B17"><COL
1874WIDTH="3%"
1875ALIGN="CENTER"
1876TITLE="B16"><COL
1877WIDTH="3%"
1878ALIGN="CENTER"
1879TITLE="B15"><COL
1880WIDTH="3%"
1881ALIGN="CENTER"
1882TITLE="B14"><COL
1883WIDTH="3%"
1884ALIGN="CENTER"
1885TITLE="B13"><COL
1886WIDTH="3%"
1887ALIGN="CENTER"
1888TITLE="B12"><COL
1889WIDTH="3%"
1890ALIGN="CENTER"
1891TITLE="B11"><COL
1892WIDTH="3%"
1893ALIGN="CENTER"
1894TITLE="B10"><COL><COL
1895WIDTH="3%"
1896ALIGN="CENTER"
1897TITLE="B27"><COL
1898WIDTH="3%"
1899ALIGN="CENTER"
1900TITLE="B26"><COL
1901WIDTH="3%"
1902ALIGN="CENTER"
1903TITLE="B25"><COL
1904WIDTH="3%"
1905ALIGN="CENTER"
1906TITLE="B24"><COL
1907WIDTH="3%"
1908ALIGN="CENTER"
1909TITLE="B23"><COL
1910WIDTH="3%"
1911ALIGN="CENTER"
1912TITLE="B22"><COL
1913WIDTH="3%"
1914ALIGN="CENTER"
1915TITLE="B21"><COL
1916WIDTH="3%"
1917ALIGN="CENTER"
1918TITLE="B20"><COL><COL
1919WIDTH="3%"
1920ALIGN="CENTER"
1921TITLE="B37"><COL
1922WIDTH="3%"
1923ALIGN="CENTER"
1924TITLE="B36"><COL
1925WIDTH="3%"
1926ALIGN="CENTER"
1927TITLE="B35"><COL
1928WIDTH="3%"
1929ALIGN="CENTER"
1930TITLE="B34"><COL
1931WIDTH="3%"
1932ALIGN="CENTER"
1933TITLE="B33"><COL
1934WIDTH="3%"
1935ALIGN="CENTER"
1936TITLE="B32"><COL
1937WIDTH="3%"
1938ALIGN="CENTER"
1939TITLE="B31"><THEAD
1940><TR
1941><TH
1942>Identifier</TH
1943><TH
1944>Code</TH
1945><TH
1946>&nbsp;</TH
1947><TH
1948COLSPAN="8"
1949>Byte&nbsp;0 in memory</TH
1950><TH
1951>&nbsp;</TH
1952><TH
1953COLSPAN="8"
1954>Byte&nbsp;1</TH
1955><TH
1956>&nbsp;</TH
1957><TH
1958COLSPAN="8"
1959>Byte&nbsp;2</TH
1960><TH
1961>&nbsp;</TH
1962><TH
1963COLSPAN="8"
1964>Byte&nbsp;3</TH
1965></TR
1966><TR
1967><TH
1968>&nbsp;</TH
1969><TH
1970>&nbsp;</TH
1971><TH
1972>Bit</TH
1973><TH
1974>7</TH
1975><TH
1976>6</TH
1977><TH
1978>5</TH
1979><TH
1980>4</TH
1981><TH
1982>3</TH
1983><TH
1984>2</TH
1985><TH
1986>1</TH
1987><TH
1988>0</TH
1989><TH
1990>&nbsp;</TH
1991><TH
1992>7</TH
1993><TH
1994>6</TH
1995><TH
1996>5</TH
1997><TH
1998>4</TH
1999><TH
2000>3</TH
2001><TH
2002>2</TH
2003><TH
2004>1</TH
2005><TH
2006>0</TH
2007><TH
2008>&nbsp;</TH
2009><TH
2010>7</TH
2011><TH
2012>6</TH
2013><TH
2014>5</TH
2015><TH
2016>4</TH
2017><TH
2018>3</TH
2019><TH
2020>2</TH
2021><TH
2022>1</TH
2023><TH
2024>0</TH
2025><TH
2026>&nbsp;</TH
2027><TH
2028>7</TH
2029><TH
2030>6</TH
2031><TH
2032>5</TH
2033><TH
2034>4</TH
2035><TH
2036>3</TH
2037><TH
2038>2</TH
2039><TH
2040>1</TH
2041><TH
2042>0</TH
2043></TR
2044></THEAD
2045><TBODY
2046VALIGN="TOP"
2047><TR
2048><TD
2049><CODE
2050CLASS="CONSTANT"
2051>V4L2_PIX_FMT_RGB332</CODE
2052></TD
2053><TD
2054>'RGB1'</TD
2055><TD
2056>&nbsp;</TD
2057><TD
2058>r<SUB
2059>2</SUB
2060></TD
2061><TD
2062>r<SUB
2063>1</SUB
2064></TD
2065><TD
2066>r<SUB
2067>0</SUB
2068></TD
2069><TD
2070>g<SUB
2071>2</SUB
2072></TD
2073><TD
2074>g<SUB
2075>1</SUB
2076></TD
2077><TD
2078>g<SUB
2079>0</SUB
2080></TD
2081><TD
2082>b<SUB
2083>1</SUB
2084></TD
2085><TD
2086>b<SUB
2087>0</SUB
2088></TD
2089><TD
2090>&nbsp;</TD
2091><TD
2092>&nbsp;</TD
2093><TD
2094>&nbsp;</TD
2095><TD
2096>&nbsp;</TD
2097><TD
2098>&nbsp;</TD
2099><TD
2100>&nbsp;</TD
2101><TD
2102>&nbsp;</TD
2103><TD
2104>&nbsp;</TD
2105><TD
2106>&nbsp;</TD
2107><TD
2108>&nbsp;</TD
2109><TD
2110>&nbsp;</TD
2111><TD
2112>&nbsp;</TD
2113><TD
2114>&nbsp;</TD
2115><TD
2116>&nbsp;</TD
2117><TD
2118>&nbsp;</TD
2119><TD
2120>&nbsp;</TD
2121><TD
2122>&nbsp;</TD
2123><TD
2124>&nbsp;</TD
2125><TD
2126>&nbsp;</TD
2127><TD
2128>&nbsp;</TD
2129><TD
2130>&nbsp;</TD
2131><TD
2132>&nbsp;</TD
2133><TD
2134>&nbsp;</TD
2135><TD
2136>&nbsp;</TD
2137><TD
2138>&nbsp;</TD
2139><TD
2140>&nbsp;</TD
2141></TR
2142><TR
2143><TD
2144><CODE
2145CLASS="CONSTANT"
2146>V4L2_PIX_FMT_RGB444</CODE
2147></TD
2148><TD
2149>'R444'</TD
2150><TD
2151>&nbsp;</TD
2152><TD
2153>g<SUB
2154>3</SUB
2155></TD
2156><TD
2157>g<SUB
2158>2</SUB
2159></TD
2160><TD
2161>g<SUB
2162>1</SUB
2163></TD
2164><TD
2165>g<SUB
2166>0</SUB
2167></TD
2168><TD
2169>b<SUB
2170>3</SUB
2171></TD
2172><TD
2173>b<SUB
2174>2</SUB
2175></TD
2176><TD
2177>b<SUB
2178>1</SUB
2179></TD
2180><TD
2181>b<SUB
2182>0</SUB
2183></TD
2184><TD
2185>&nbsp;</TD
2186><TD
2187>a<SUB
2188>3</SUB
2189></TD
2190><TD
2191>a<SUB
2192>2</SUB
2193></TD
2194><TD
2195>a<SUB
2196>1</SUB
2197></TD
2198><TD
2199>a<SUB
2200>0</SUB
2201></TD
2202><TD
2203>r<SUB
2204>3</SUB
2205></TD
2206><TD
2207>r<SUB
2208>2</SUB
2209></TD
2210><TD
2211>r<SUB
2212>1</SUB
2213></TD
2214><TD
2215>r<SUB
2216>0</SUB
2217></TD
2218><TD
2219>&nbsp;</TD
2220><TD
2221>&nbsp;</TD
2222><TD
2223>&nbsp;</TD
2224><TD
2225>&nbsp;</TD
2226><TD
2227>&nbsp;</TD
2228><TD
2229>&nbsp;</TD
2230><TD
2231>&nbsp;</TD
2232><TD
2233>&nbsp;</TD
2234><TD
2235>&nbsp;</TD
2236><TD
2237>&nbsp;</TD
2238><TD
2239>&nbsp;</TD
2240><TD
2241>&nbsp;</TD
2242><TD
2243>&nbsp;</TD
2244><TD
2245>&nbsp;</TD
2246><TD
2247>&nbsp;</TD
2248><TD
2249>&nbsp;</TD
2250><TD
2251>&nbsp;</TD
2252></TR
2253><TR
2254><TD
2255><CODE
2256CLASS="CONSTANT"
2257>V4L2_PIX_FMT_RGB555</CODE
2258></TD
2259><TD
2260>'RGBO'</TD
2261><TD
2262>&nbsp;</TD
2263><TD
2264>g<SUB
2265>2</SUB
2266></TD
2267><TD
2268>g<SUB
2269>1</SUB
2270></TD
2271><TD
2272>g<SUB
2273>0</SUB
2274></TD
2275><TD
2276>b<SUB
2277>4</SUB
2278></TD
2279><TD
2280>b<SUB
2281>3</SUB
2282></TD
2283><TD
2284>b<SUB
2285>2</SUB
2286></TD
2287><TD
2288>b<SUB
2289>1</SUB
2290></TD
2291><TD
2292>b<SUB
2293>0</SUB
2294></TD
2295><TD
2296>&nbsp;</TD
2297><TD
2298>a</TD
2299><TD
2300>r<SUB
2301>4</SUB
2302></TD
2303><TD
2304>r<SUB
2305>3</SUB
2306></TD
2307><TD
2308>r<SUB
2309>2</SUB
2310></TD
2311><TD
2312>r<SUB
2313>1</SUB
2314></TD
2315><TD
2316>r<SUB
2317>0</SUB
2318></TD
2319><TD
2320>g<SUB
2321>4</SUB
2322></TD
2323><TD
2324>g<SUB
2325>3</SUB
2326></TD
2327><TD
2328>&nbsp;</TD
2329><TD
2330>&nbsp;</TD
2331><TD
2332>&nbsp;</TD
2333><TD
2334>&nbsp;</TD
2335><TD
2336>&nbsp;</TD
2337><TD
2338>&nbsp;</TD
2339><TD
2340>&nbsp;</TD
2341><TD
2342>&nbsp;</TD
2343><TD
2344>&nbsp;</TD
2345><TD
2346>&nbsp;</TD
2347><TD
2348>&nbsp;</TD
2349><TD
2350>&nbsp;</TD
2351><TD
2352>&nbsp;</TD
2353><TD
2354>&nbsp;</TD
2355><TD
2356>&nbsp;</TD
2357><TD
2358>&nbsp;</TD
2359><TD
2360>&nbsp;</TD
2361></TR
2362><TR
2363><TD
2364><CODE
2365CLASS="CONSTANT"
2366>V4L2_PIX_FMT_RGB565</CODE
2367></TD
2368><TD
2369>'RGBP'</TD
2370><TD
2371>&nbsp;</TD
2372><TD
2373>g<SUB
2374>2</SUB
2375></TD
2376><TD
2377>g<SUB
2378>1</SUB
2379></TD
2380><TD
2381>g<SUB
2382>0</SUB
2383></TD
2384><TD
2385>b<SUB
2386>4</SUB
2387></TD
2388><TD
2389>b<SUB
2390>3</SUB
2391></TD
2392><TD
2393>b<SUB
2394>2</SUB
2395></TD
2396><TD
2397>b<SUB
2398>1</SUB
2399></TD
2400><TD
2401>b<SUB
2402>0</SUB
2403></TD
2404><TD
2405>&nbsp;</TD
2406><TD
2407>r<SUB
2408>4</SUB
2409></TD
2410><TD
2411>r<SUB
2412>3</SUB
2413></TD
2414><TD
2415>r<SUB
2416>2</SUB
2417></TD
2418><TD
2419>r<SUB
2420>1</SUB
2421></TD
2422><TD
2423>r<SUB
2424>0</SUB
2425></TD
2426><TD
2427>g<SUB
2428>5</SUB
2429></TD
2430><TD
2431>g<SUB
2432>4</SUB
2433></TD
2434><TD
2435>g<SUB
2436>3</SUB
2437></TD
2438><TD
2439>&nbsp;</TD
2440><TD
2441>&nbsp;</TD
2442><TD
2443>&nbsp;</TD
2444><TD
2445>&nbsp;</TD
2446><TD
2447>&nbsp;</TD
2448><TD
2449>&nbsp;</TD
2450><TD
2451>&nbsp;</TD
2452><TD
2453>&nbsp;</TD
2454><TD
2455>&nbsp;</TD
2456><TD
2457>&nbsp;</TD
2458><TD
2459>&nbsp;</TD
2460><TD
2461>&nbsp;</TD
2462><TD
2463>&nbsp;</TD
2464><TD
2465>&nbsp;</TD
2466><TD
2467>&nbsp;</TD
2468><TD
2469>&nbsp;</TD
2470><TD
2471>&nbsp;</TD
2472></TR
2473><TR
2474><TD
2475><CODE
2476CLASS="CONSTANT"
2477>V4L2_PIX_FMT_RGB555X</CODE
2478></TD
2479><TD
2480>'RGBQ'</TD
2481><TD
2482>&nbsp;</TD
2483><TD
2484>a</TD
2485><TD
2486>r<SUB
2487>4</SUB
2488></TD
2489><TD
2490>r<SUB
2491>3</SUB
2492></TD
2493><TD
2494>r<SUB
2495>2</SUB
2496></TD
2497><TD
2498>r<SUB
2499>1</SUB
2500></TD
2501><TD
2502>r<SUB
2503>0</SUB
2504></TD
2505><TD
2506>g<SUB
2507>4</SUB
2508></TD
2509><TD
2510>g<SUB
2511>3</SUB
2512></TD
2513><TD
2514>&nbsp;</TD
2515><TD
2516>g<SUB
2517>2</SUB
2518></TD
2519><TD
2520>g<SUB
2521>1</SUB
2522></TD
2523><TD
2524>g<SUB
2525>0</SUB
2526></TD
2527><TD
2528>b<SUB
2529>4</SUB
2530></TD
2531><TD
2532>b<SUB
2533>3</SUB
2534></TD
2535><TD
2536>b<SUB
2537>2</SUB
2538></TD
2539><TD
2540>b<SUB
2541>1</SUB
2542></TD
2543><TD
2544>b<SUB
2545>0</SUB
2546></TD
2547><TD
2548>&nbsp;</TD
2549><TD
2550>&nbsp;</TD
2551><TD
2552>&nbsp;</TD
2553><TD
2554>&nbsp;</TD
2555><TD
2556>&nbsp;</TD
2557><TD
2558>&nbsp;</TD
2559><TD
2560>&nbsp;</TD
2561><TD
2562>&nbsp;</TD
2563><TD
2564>&nbsp;</TD
2565><TD
2566>&nbsp;</TD
2567><TD
2568>&nbsp;</TD
2569><TD
2570>&nbsp;</TD
2571><TD
2572>&nbsp;</TD
2573><TD
2574>&nbsp;</TD
2575><TD
2576>&nbsp;</TD
2577><TD
2578>&nbsp;</TD
2579><TD
2580>&nbsp;</TD
2581></TR
2582><TR
2583><TD
2584><CODE
2585CLASS="CONSTANT"
2586>V4L2_PIX_FMT_RGB565X</CODE
2587></TD
2588><TD
2589>'RGBR'</TD
2590><TD
2591>&nbsp;</TD
2592><TD
2593>r<SUB
2594>4</SUB
2595></TD
2596><TD
2597>r<SUB
2598>3</SUB
2599></TD
2600><TD
2601>r<SUB
2602>2</SUB
2603></TD
2604><TD
2605>r<SUB
2606>1</SUB
2607></TD
2608><TD
2609>r<SUB
2610>0</SUB
2611></TD
2612><TD
2613>g<SUB
2614>5</SUB
2615></TD
2616><TD
2617>g<SUB
2618>4</SUB
2619></TD
2620><TD
2621>g<SUB
2622>3</SUB
2623></TD
2624><TD
2625>&nbsp;</TD
2626><TD
2627>g<SUB
2628>2</SUB
2629></TD
2630><TD
2631>g<SUB
2632>1</SUB
2633></TD
2634><TD
2635>g<SUB
2636>0</SUB
2637></TD
2638><TD
2639>b<SUB
2640>4</SUB
2641></TD
2642><TD
2643>b<SUB
2644>3</SUB
2645></TD
2646><TD
2647>b<SUB
2648>2</SUB
2649></TD
2650><TD
2651>b<SUB
2652>1</SUB
2653></TD
2654><TD
2655>b<SUB
2656>0</SUB
2657></TD
2658><TD
2659>&nbsp;</TD
2660><TD
2661>&nbsp;</TD
2662><TD
2663>&nbsp;</TD
2664><TD
2665>&nbsp;</TD
2666><TD
2667>&nbsp;</TD
2668><TD
2669>&nbsp;</TD
2670><TD
2671>&nbsp;</TD
2672><TD
2673>&nbsp;</TD
2674><TD
2675>&nbsp;</TD
2676><TD
2677>&nbsp;</TD
2678><TD
2679>&nbsp;</TD
2680><TD
2681>&nbsp;</TD
2682><TD
2683>&nbsp;</TD
2684><TD
2685>&nbsp;</TD
2686><TD
2687>&nbsp;</TD
2688><TD
2689>&nbsp;</TD
2690><TD
2691>&nbsp;</TD
2692></TR
2693><TR
2694><TD
2695><CODE
2696CLASS="CONSTANT"
2697>V4L2_PIX_FMT_BGR24</CODE
2698></TD
2699><TD
2700>'BGR3'</TD
2701><TD
2702>&nbsp;</TD
2703><TD
2704>b<SUB
2705>7</SUB
2706></TD
2707><TD
2708>b<SUB
2709>6</SUB
2710></TD
2711><TD
2712>b<SUB
2713>5</SUB
2714></TD
2715><TD
2716>b<SUB
2717>4</SUB
2718></TD
2719><TD
2720>b<SUB
2721>3</SUB
2722></TD
2723><TD
2724>b<SUB
2725>2</SUB
2726></TD
2727><TD
2728>b<SUB
2729>1</SUB
2730></TD
2731><TD
2732>b<SUB
2733>0</SUB
2734></TD
2735><TD
2736>&nbsp;</TD
2737><TD
2738>g<SUB
2739>7</SUB
2740></TD
2741><TD
2742>g<SUB
2743>6</SUB
2744></TD
2745><TD
2746>g<SUB
2747>5</SUB
2748></TD
2749><TD
2750>g<SUB
2751>4</SUB
2752></TD
2753><TD
2754>g<SUB
2755>3</SUB
2756></TD
2757><TD
2758>g<SUB
2759>2</SUB
2760></TD
2761><TD
2762>g<SUB
2763>1</SUB
2764></TD
2765><TD
2766>g<SUB
2767>0</SUB
2768></TD
2769><TD
2770>&nbsp;</TD
2771><TD
2772>r<SUB
2773>7</SUB
2774></TD
2775><TD
2776>r<SUB
2777>6</SUB
2778></TD
2779><TD
2780>r<SUB
2781>5</SUB
2782></TD
2783><TD
2784>r<SUB
2785>4</SUB
2786></TD
2787><TD
2788>r<SUB
2789>3</SUB
2790></TD
2791><TD
2792>r<SUB
2793>2</SUB
2794></TD
2795><TD
2796>r<SUB
2797>1</SUB
2798></TD
2799><TD
2800>r<SUB
2801>0</SUB
2802></TD
2803><TD
2804>&nbsp;</TD
2805><TD
2806>&nbsp;</TD
2807><TD
2808>&nbsp;</TD
2809><TD
2810>&nbsp;</TD
2811><TD
2812>&nbsp;</TD
2813><TD
2814>&nbsp;</TD
2815><TD
2816>&nbsp;</TD
2817><TD
2818>&nbsp;</TD
2819></TR
2820><TR
2821><TD
2822><CODE
2823CLASS="CONSTANT"
2824>V4L2_PIX_FMT_RGB24</CODE
2825></TD
2826><TD
2827>'RGB3'</TD
2828><TD
2829>&nbsp;</TD
2830><TD
2831>r<SUB
2832>7</SUB
2833></TD
2834><TD
2835>r<SUB
2836>6</SUB
2837></TD
2838><TD
2839>r<SUB
2840>5</SUB
2841></TD
2842><TD
2843>r<SUB
2844>4</SUB
2845></TD
2846><TD
2847>r<SUB
2848>3</SUB
2849></TD
2850><TD
2851>r<SUB
2852>2</SUB
2853></TD
2854><TD
2855>r<SUB
2856>1</SUB
2857></TD
2858><TD
2859>r<SUB
2860>0</SUB
2861></TD
2862><TD
2863>&nbsp;</TD
2864><TD
2865>g<SUB
2866>7</SUB
2867></TD
2868><TD
2869>g<SUB
2870>6</SUB
2871></TD
2872><TD
2873>g<SUB
2874>5</SUB
2875></TD
2876><TD
2877>g<SUB
2878>4</SUB
2879></TD
2880><TD
2881>g<SUB
2882>3</SUB
2883></TD
2884><TD
2885>g<SUB
2886>2</SUB
2887></TD
2888><TD
2889>g<SUB
2890>1</SUB
2891></TD
2892><TD
2893>g<SUB
2894>0</SUB
2895></TD
2896><TD
2897>&nbsp;</TD
2898><TD
2899>b<SUB
2900>7</SUB
2901></TD
2902><TD
2903>b<SUB
2904>6</SUB
2905></TD
2906><TD
2907>b<SUB
2908>5</SUB
2909></TD
2910><TD
2911>b<SUB
2912>4</SUB
2913></TD
2914><TD
2915>b<SUB
2916>3</SUB
2917></TD
2918><TD
2919>b<SUB
2920>2</SUB
2921></TD
2922><TD
2923>b<SUB
2924>1</SUB
2925></TD
2926><TD
2927>b<SUB
2928>0</SUB
2929></TD
2930><TD
2931>&nbsp;</TD
2932><TD
2933>&nbsp;</TD
2934><TD
2935>&nbsp;</TD
2936><TD
2937>&nbsp;</TD
2938><TD
2939>&nbsp;</TD
2940><TD
2941>&nbsp;</TD
2942><TD
2943>&nbsp;</TD
2944><TD
2945>&nbsp;</TD
2946></TR
2947><TR
2948><TD
2949><CODE
2950CLASS="CONSTANT"
2951>V4L2_PIX_FMT_BGR32</CODE
2952></TD
2953><TD
2954>'BGR4'</TD
2955><TD
2956>&nbsp;</TD
2957><TD
2958>b<SUB
2959>7</SUB
2960></TD
2961><TD
2962>b<SUB
2963>6</SUB
2964></TD
2965><TD
2966>b<SUB
2967>5</SUB
2968></TD
2969><TD
2970>b<SUB
2971>4</SUB
2972></TD
2973><TD
2974>b<SUB
2975>3</SUB
2976></TD
2977><TD
2978>b<SUB
2979>2</SUB
2980></TD
2981><TD
2982>b<SUB
2983>1</SUB
2984></TD
2985><TD
2986>b<SUB
2987>0</SUB
2988></TD
2989><TD
2990>&nbsp;</TD
2991><TD
2992>g<SUB
2993>7</SUB
2994></TD
2995><TD
2996>g<SUB
2997>6</SUB
2998></TD
2999><TD
3000>g<SUB
3001>5</SUB
3002></TD
3003><TD
3004>g<SUB
3005>4</SUB
3006></TD
3007><TD
3008>g<SUB
3009>3</SUB
3010></TD
3011><TD
3012>g<SUB
3013>2</SUB
3014></TD
3015><TD
3016>g<SUB
3017>1</SUB
3018></TD
3019><TD
3020>g<SUB
3021>0</SUB
3022></TD
3023><TD
3024>&nbsp;</TD
3025><TD
3026>r<SUB
3027>7</SUB
3028></TD
3029><TD
3030>r<SUB
3031>6</SUB
3032></TD
3033><TD
3034>r<SUB
3035>5</SUB
3036></TD
3037><TD
3038>r<SUB
3039>4</SUB
3040></TD
3041><TD
3042>r<SUB
3043>3</SUB
3044></TD
3045><TD
3046>r<SUB
3047>2</SUB
3048></TD
3049><TD
3050>r<SUB
3051>1</SUB
3052></TD
3053><TD
3054>r<SUB
3055>0</SUB
3056></TD
3057><TD
3058>&nbsp;</TD
3059><TD
3060>a<SUB
3061>7</SUB
3062></TD
3063><TD
3064>a<SUB
3065>6</SUB
3066></TD
3067><TD
3068>a<SUB
3069>5</SUB
3070></TD
3071><TD
3072>a<SUB
3073>4</SUB
3074></TD
3075><TD
3076>a<SUB
3077>3</SUB
3078></TD
3079><TD
3080>a<SUB
3081>2</SUB
3082></TD
3083><TD
3084>a<SUB
3085>1</SUB
3086></TD
3087><TD
3088>a<SUB
3089>0</SUB
3090></TD
3091></TR
3092><TR
3093><TD
3094><CODE
3095CLASS="CONSTANT"
3096>V4L2_PIX_FMT_RGB32</CODE
3097></TD
3098><TD
3099>'RGB4'</TD
3100><TD
3101>&nbsp;</TD
3102><TD
3103>a<SUB
3104>7</SUB
3105></TD
3106><TD
3107>a<SUB
3108>6</SUB
3109></TD
3110><TD
3111>a<SUB
3112>5</SUB
3113></TD
3114><TD
3115>a<SUB
3116>4</SUB
3117></TD
3118><TD
3119>a<SUB
3120>3</SUB
3121></TD
3122><TD
3123>a<SUB
3124>2</SUB
3125></TD
3126><TD
3127>a<SUB
3128>1</SUB
3129></TD
3130><TD
3131>a<SUB
3132>0</SUB
3133></TD
3134><TD
3135>&nbsp;</TD
3136><TD
3137>r<SUB
3138>7</SUB
3139></TD
3140><TD
3141>r<SUB
3142>6</SUB
3143></TD
3144><TD
3145>r<SUB
3146>5</SUB
3147></TD
3148><TD
3149>r<SUB
3150>4</SUB
3151></TD
3152><TD
3153>r<SUB
3154>3</SUB
3155></TD
3156><TD
3157>r<SUB
3158>2</SUB
3159></TD
3160><TD
3161>r<SUB
3162>1</SUB
3163></TD
3164><TD
3165>r<SUB
3166>0</SUB
3167></TD
3168><TD
3169>&nbsp;</TD
3170><TD
3171>g<SUB
3172>7</SUB
3173></TD
3174><TD
3175>g<SUB
3176>6</SUB
3177></TD
3178><TD
3179>g<SUB
3180>5</SUB
3181></TD
3182><TD
3183>g<SUB
3184>4</SUB
3185></TD
3186><TD
3187>g<SUB
3188>3</SUB
3189></TD
3190><TD
3191>g<SUB
3192>2</SUB
3193></TD
3194><TD
3195>g<SUB
3196>1</SUB
3197></TD
3198><TD
3199>g<SUB
3200>0</SUB
3201></TD
3202><TD
3203>&nbsp;</TD
3204><TD
3205>b<SUB
3206>7</SUB
3207></TD
3208><TD
3209>b<SUB
3210>6</SUB
3211></TD
3212><TD
3213>b<SUB
3214>5</SUB
3215></TD
3216><TD
3217>b<SUB
3218>4</SUB
3219></TD
3220><TD
3221>b<SUB
3222>3</SUB
3223></TD
3224><TD
3225>b<SUB
3226>2</SUB
3227></TD
3228><TD
3229>b<SUB
3230>1</SUB
3231></TD
3232><TD
3233>b<SUB
3234>0</SUB
3235></TD
3236></TR
3237></TBODY
3238></TABLE
3239></DIV
3240><P
3241>A test utility to determine which RGB formats a driver
3242actually supports is available from the LinuxTV v4l-dvb repository.
3243See <A
3244HREF="http://linuxtv.org/repo/"
3245TARGET="_top"
3246>http://linuxtv.org/repo/</A
3247> for access instructions.</P
3248></DIV
3249><DIV
3250CLASS="NAVFOOTER"
3251><HR
3252ALIGN="LEFT"
3253WIDTH="100%"><TABLE
3254SUMMARY="Footer navigation table"
3255WIDTH="100%"
3256BORDER="0"
3257CELLPADDING="0"
3258CELLSPACING="0"
3259><TR
3260><TD
3261WIDTH="33%"
3262ALIGN="left"
3263VALIGN="top"
3264><A
3265HREF="x2490.htm"
3266ACCESSKEY="P"
3267>Prev</A
3268></TD
3269><TD
3270WIDTH="34%"
3271ALIGN="center"
3272VALIGN="top"
3273><A
3274HREF="book1.htm"
3275ACCESSKEY="H"
3276>Home</A
3277></TD
3278><TD
3279WIDTH="33%"
3280ALIGN="right"
3281VALIGN="top"
3282><A
3283HREF="r3735.htm"
3284ACCESSKEY="N"
3285>Next</A
3286></TD
3287></TR
3288><TR
3289><TD
3290WIDTH="33%"
3291ALIGN="left"
3292VALIGN="top"
3293>RGB Formats</TD
3294><TD
3295WIDTH="34%"
3296ALIGN="center"
3297VALIGN="top"
3298><A
3299HREF="x2490.htm"
3300ACCESSKEY="U"
3301>Up</A
3302></TD
3303><TD
3304WIDTH="33%"
3305ALIGN="right"
3306VALIGN="top"
3307>V4L2_PIX_FMT_SBGGR8 ('BA81')</TD
3308></TR
3309></TABLE
3310></DIV
3311></BODY
3312></HTML
3313>
3314