|
@@ -16,9 +16,12 @@ next to each other in memory.
|
|
|
|
|
|
.. raw:: latex
|
|
|
|
|
|
- \begin{adjustbox}{width=\columnwidth}
|
|
|
+ \begingroup
|
|
|
+ \tiny
|
|
|
+ \setlength{\tabcolsep}{2pt}
|
|
|
+
|
|
|
+.. tabularcolumns:: |p{2.3cm}|p{1.6cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|
|
|
|
|
|
|
-.. tabularcolumns:: |p{4.5cm}|p{3.3cm}|p{0.7cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.2cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.2cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.2cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{1.7cm}|
|
|
|
|
|
|
.. _rgb-formats:
|
|
|
|
|
@@ -28,17 +31,11 @@ next to each other in memory.
|
|
|
|
|
|
* - Identifier
|
|
|
- Code
|
|
|
- -
|
|
|
- :cspan:`7` Byte 0 in memory
|
|
|
- -
|
|
|
- :cspan:`7` Byte 1
|
|
|
- -
|
|
|
- :cspan:`7` Byte 2
|
|
|
- -
|
|
|
- :cspan:`7` Byte 3
|
|
|
- * -
|
|
|
- -
|
|
|
- - Bit
|
|
|
+ * - :cspan:`1`
|
|
|
- 7
|
|
|
- 6
|
|
|
- 5
|
|
@@ -47,7 +44,7 @@ next to each other in memory.
|
|
|
- 2
|
|
|
- 1
|
|
|
- 0
|
|
|
- -
|
|
|
+
|
|
|
- 7
|
|
|
- 6
|
|
|
- 5
|
|
@@ -56,7 +53,7 @@ next to each other in memory.
|
|
|
- 2
|
|
|
- 1
|
|
|
- 0
|
|
|
- -
|
|
|
+
|
|
|
- 7
|
|
|
- 6
|
|
|
- 5
|
|
@@ -65,7 +62,7 @@ next to each other in memory.
|
|
|
- 2
|
|
|
- 1
|
|
|
- 0
|
|
|
- -
|
|
|
+
|
|
|
- 7
|
|
|
- 6
|
|
|
- 5
|
|
@@ -78,7 +75,7 @@ next to each other in memory.
|
|
|
|
|
|
- ``V4L2_PIX_FMT_RGB332``
|
|
|
- 'RGB1'
|
|
|
- -
|
|
|
+
|
|
|
- r\ :sub:`2`
|
|
|
- r\ :sub:`1`
|
|
|
- r\ :sub:`0`
|
|
@@ -87,11 +84,12 @@ next to each other in memory.
|
|
|
- g\ :sub:`0`
|
|
|
- b\ :sub:`1`
|
|
|
- b\ :sub:`0`
|
|
|
+ -
|
|
|
* .. _V4L2-PIX-FMT-ARGB444:
|
|
|
|
|
|
- ``V4L2_PIX_FMT_ARGB444``
|
|
|
- 'AR12'
|
|
|
- -
|
|
|
+
|
|
|
- g\ :sub:`3`
|
|
|
- g\ :sub:`2`
|
|
|
- g\ :sub:`1`
|
|
@@ -100,7 +98,7 @@ next to each other in memory.
|
|
|
- b\ :sub:`2`
|
|
|
- b\ :sub:`1`
|
|
|
- b\ :sub:`0`
|
|
|
- -
|
|
|
+
|
|
|
- a\ :sub:`3`
|
|
|
- a\ :sub:`2`
|
|
|
- a\ :sub:`1`
|
|
@@ -109,11 +107,12 @@ next to each other in memory.
|
|
|
- r\ :sub:`2`
|
|
|
- r\ :sub:`1`
|
|
|
- r\ :sub:`0`
|
|
|
+ -
|
|
|
* .. _V4L2-PIX-FMT-XRGB444:
|
|
|
|
|
|
- ``V4L2_PIX_FMT_XRGB444``
|
|
|
- 'XR12'
|
|
|
- -
|
|
|
+
|
|
|
- g\ :sub:`3`
|
|
|
- g\ :sub:`2`
|
|
|
- g\ :sub:`1`
|
|
@@ -122,7 +121,7 @@ next to each other in memory.
|
|
|
- b\ :sub:`2`
|
|
|
- b\ :sub:`1`
|
|
|
- b\ :sub:`0`
|
|
|
- -
|
|
|
+
|
|
|
-
|
|
|
-
|
|
|
-
|
|
@@ -131,11 +130,12 @@ next to each other in memory.
|
|
|
- r\ :sub:`2`
|
|
|
- r\ :sub:`1`
|
|
|
- r\ :sub:`0`
|
|
|
+ -
|
|
|
* .. _V4L2-PIX-FMT-ARGB555:
|
|
|
|
|
|
- ``V4L2_PIX_FMT_ARGB555``
|
|
|
- 'AR15'
|
|
|
- -
|
|
|
+
|
|
|
- g\ :sub:`2`
|
|
|
- g\ :sub:`1`
|
|
|
- g\ :sub:`0`
|
|
@@ -144,7 +144,7 @@ next to each other in memory.
|
|
|
- b\ :sub:`2`
|
|
|
- b\ :sub:`1`
|
|
|
- b\ :sub:`0`
|
|
|
- -
|
|
|
+
|
|
|
- a
|
|
|
- r\ :sub:`4`
|
|
|
- r\ :sub:`3`
|
|
@@ -153,11 +153,12 @@ next to each other in memory.
|
|
|
- r\ :sub:`0`
|
|
|
- g\ :sub:`4`
|
|
|
- g\ :sub:`3`
|
|
|
+ -
|
|
|
* .. _V4L2-PIX-FMT-XRGB555:
|
|
|
|
|
|
- ``V4L2_PIX_FMT_XRGB555``
|
|
|
- 'XR15'
|
|
|
- -
|
|
|
+
|
|
|
- g\ :sub:`2`
|
|
|
- g\ :sub:`1`
|
|
|
- g\ :sub:`0`
|
|
@@ -166,7 +167,7 @@ next to each other in memory.
|
|
|
- b\ :sub:`2`
|
|
|
- b\ :sub:`1`
|
|
|
- b\ :sub:`0`
|
|
|
- -
|
|
|
+
|
|
|
-
|
|
|
- r\ :sub:`4`
|
|
|
- r\ :sub:`3`
|
|
@@ -175,11 +176,12 @@ next to each other in memory.
|
|
|
- r\ :sub:`0`
|
|
|
- g\ :sub:`4`
|
|
|
- g\ :sub:`3`
|
|
|
+ -
|
|
|
* .. _V4L2-PIX-FMT-RGB565:
|
|
|
|
|
|
- ``V4L2_PIX_FMT_RGB565``
|
|
|
- 'RGBP'
|
|
|
- -
|
|
|
+
|
|
|
- g\ :sub:`2`
|
|
|
- g\ :sub:`1`
|
|
|
- g\ :sub:`0`
|
|
@@ -188,7 +190,7 @@ next to each other in memory.
|
|
|
- b\ :sub:`2`
|
|
|
- b\ :sub:`1`
|
|
|
- b\ :sub:`0`
|
|
|
- -
|
|
|
+
|
|
|
- r\ :sub:`4`
|
|
|
- r\ :sub:`3`
|
|
|
- r\ :sub:`2`
|
|
@@ -197,11 +199,12 @@ next to each other in memory.
|
|
|
- g\ :sub:`5`
|
|
|
- g\ :sub:`4`
|
|
|
- g\ :sub:`3`
|
|
|
+ -
|
|
|
* .. _V4L2-PIX-FMT-ARGB555X:
|
|
|
|
|
|
- ``V4L2_PIX_FMT_ARGB555X``
|
|
|
- 'AR15' | (1 << 31)
|
|
|
- -
|
|
|
+
|
|
|
- a
|
|
|
- r\ :sub:`4`
|
|
|
- r\ :sub:`3`
|
|
@@ -210,7 +213,7 @@ next to each other in memory.
|
|
|
- r\ :sub:`0`
|
|
|
- g\ :sub:`4`
|
|
|
- g\ :sub:`3`
|
|
|
- -
|
|
|
+
|
|
|
- g\ :sub:`2`
|
|
|
- g\ :sub:`1`
|
|
|
- g\ :sub:`0`
|
|
@@ -219,11 +222,12 @@ next to each other in memory.
|
|
|
- b\ :sub:`2`
|
|
|
- b\ :sub:`1`
|
|
|
- b\ :sub:`0`
|
|
|
+ -
|
|
|
* .. _V4L2-PIX-FMT-XRGB555X:
|
|
|
|
|
|
- ``V4L2_PIX_FMT_XRGB555X``
|
|
|
- 'XR15' | (1 << 31)
|
|
|
- -
|
|
|
+
|
|
|
-
|
|
|
- r\ :sub:`4`
|
|
|
- r\ :sub:`3`
|
|
@@ -232,7 +236,7 @@ next to each other in memory.
|
|
|
- r\ :sub:`0`
|
|
|
- g\ :sub:`4`
|
|
|
- g\ :sub:`3`
|
|
|
- -
|
|
|
+
|
|
|
- g\ :sub:`2`
|
|
|
- g\ :sub:`1`
|
|
|
- g\ :sub:`0`
|
|
@@ -241,11 +245,12 @@ next to each other in memory.
|
|
|
- b\ :sub:`2`
|
|
|
- b\ :sub:`1`
|
|
|
- b\ :sub:`0`
|
|
|
+ -
|
|
|
* .. _V4L2-PIX-FMT-RGB565X:
|
|
|
|
|
|
- ``V4L2_PIX_FMT_RGB565X``
|
|
|
- 'RGBR'
|
|
|
- -
|
|
|
+
|
|
|
- r\ :sub:`4`
|
|
|
- r\ :sub:`3`
|
|
|
- r\ :sub:`2`
|
|
@@ -254,7 +259,7 @@ next to each other in memory.
|
|
|
- g\ :sub:`5`
|
|
|
- g\ :sub:`4`
|
|
|
- g\ :sub:`3`
|
|
|
- -
|
|
|
+
|
|
|
- g\ :sub:`2`
|
|
|
- g\ :sub:`1`
|
|
|
- g\ :sub:`0`
|
|
@@ -263,11 +268,12 @@ next to each other in memory.
|
|
|
- b\ :sub:`2`
|
|
|
- b\ :sub:`1`
|
|
|
- b\ :sub:`0`
|
|
|
+ -
|
|
|
* .. _V4L2-PIX-FMT-BGR24:
|
|
|
|
|
|
- ``V4L2_PIX_FMT_BGR24``
|
|
|
- 'BGR3'
|
|
|
- -
|
|
|
+
|
|
|
- b\ :sub:`7`
|
|
|
- b\ :sub:`6`
|
|
|
- b\ :sub:`5`
|
|
@@ -276,7 +282,7 @@ next to each other in memory.
|
|
|
- b\ :sub:`2`
|
|
|
- b\ :sub:`1`
|
|
|
- b\ :sub:`0`
|
|
|
- -
|
|
|
+
|
|
|
- g\ :sub:`7`
|
|
|
- g\ :sub:`6`
|
|
|
- g\ :sub:`5`
|
|
@@ -285,7 +291,7 @@ next to each other in memory.
|
|
|
- g\ :sub:`2`
|
|
|
- g\ :sub:`1`
|
|
|
- g\ :sub:`0`
|
|
|
- -
|
|
|
+
|
|
|
- r\ :sub:`7`
|
|
|
- r\ :sub:`6`
|
|
|
- r\ :sub:`5`
|
|
@@ -294,11 +300,12 @@ next to each other in memory.
|
|
|
- r\ :sub:`2`
|
|
|
- r\ :sub:`1`
|
|
|
- r\ :sub:`0`
|
|
|
+ -
|
|
|
* .. _V4L2-PIX-FMT-RGB24:
|
|
|
|
|
|
- ``V4L2_PIX_FMT_RGB24``
|
|
|
- 'RGB3'
|
|
|
- -
|
|
|
+
|
|
|
- r\ :sub:`7`
|
|
|
- r\ :sub:`6`
|
|
|
- r\ :sub:`5`
|
|
@@ -307,7 +314,7 @@ next to each other in memory.
|
|
|
- r\ :sub:`2`
|
|
|
- r\ :sub:`1`
|
|
|
- r\ :sub:`0`
|
|
|
- -
|
|
|
+
|
|
|
- g\ :sub:`7`
|
|
|
- g\ :sub:`6`
|
|
|
- g\ :sub:`5`
|
|
@@ -316,7 +323,7 @@ next to each other in memory.
|
|
|
- g\ :sub:`2`
|
|
|
- g\ :sub:`1`
|
|
|
- g\ :sub:`0`
|
|
|
- -
|
|
|
+
|
|
|
- b\ :sub:`7`
|
|
|
- b\ :sub:`6`
|
|
|
- b\ :sub:`5`
|
|
@@ -325,11 +332,12 @@ next to each other in memory.
|
|
|
- b\ :sub:`2`
|
|
|
- b\ :sub:`1`
|
|
|
- b\ :sub:`0`
|
|
|
+ -
|
|
|
* .. _V4L2-PIX-FMT-BGR666:
|
|
|
|
|
|
- ``V4L2_PIX_FMT_BGR666``
|
|
|
- 'BGRH'
|
|
|
- -
|
|
|
+
|
|
|
- b\ :sub:`5`
|
|
|
- b\ :sub:`4`
|
|
|
- b\ :sub:`3`
|
|
@@ -338,7 +346,7 @@ next to each other in memory.
|
|
|
- b\ :sub:`0`
|
|
|
- g\ :sub:`5`
|
|
|
- g\ :sub:`4`
|
|
|
- -
|
|
|
+
|
|
|
- g\ :sub:`3`
|
|
|
- g\ :sub:`2`
|
|
|
- g\ :sub:`1`
|
|
@@ -347,7 +355,7 @@ next to each other in memory.
|
|
|
- r\ :sub:`4`
|
|
|
- r\ :sub:`3`
|
|
|
- r\ :sub:`2`
|
|
|
- -
|
|
|
+
|
|
|
- r\ :sub:`1`
|
|
|
- r\ :sub:`0`
|
|
|
-
|
|
@@ -356,7 +364,7 @@ next to each other in memory.
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- -
|
|
|
+
|
|
|
-
|
|
|
-
|
|
|
-
|
|
@@ -369,7 +377,7 @@ next to each other in memory.
|
|
|
|
|
|
- ``V4L2_PIX_FMT_ABGR32``
|
|
|
- 'AR24'
|
|
|
- -
|
|
|
+
|
|
|
- b\ :sub:`7`
|
|
|
- b\ :sub:`6`
|
|
|
- b\ :sub:`5`
|
|
@@ -378,7 +386,7 @@ next to each other in memory.
|
|
|
- b\ :sub:`2`
|
|
|
- b\ :sub:`1`
|
|
|
- b\ :sub:`0`
|
|
|
- -
|
|
|
+
|
|
|
- g\ :sub:`7`
|
|
|
- g\ :sub:`6`
|
|
|
- g\ :sub:`5`
|
|
@@ -387,7 +395,7 @@ next to each other in memory.
|
|
|
- g\ :sub:`2`
|
|
|
- g\ :sub:`1`
|
|
|
- g\ :sub:`0`
|
|
|
- -
|
|
|
+
|
|
|
- r\ :sub:`7`
|
|
|
- r\ :sub:`6`
|
|
|
- r\ :sub:`5`
|
|
@@ -396,7 +404,7 @@ next to each other in memory.
|
|
|
- r\ :sub:`2`
|
|
|
- r\ :sub:`1`
|
|
|
- r\ :sub:`0`
|
|
|
- -
|
|
|
+
|
|
|
- a\ :sub:`7`
|
|
|
- a\ :sub:`6`
|
|
|
- a\ :sub:`5`
|
|
@@ -409,7 +417,7 @@ next to each other in memory.
|
|
|
|
|
|
- ``V4L2_PIX_FMT_XBGR32``
|
|
|
- 'XR24'
|
|
|
- -
|
|
|
+
|
|
|
- b\ :sub:`7`
|
|
|
- b\ :sub:`6`
|
|
|
- b\ :sub:`5`
|
|
@@ -418,7 +426,7 @@ next to each other in memory.
|
|
|
- b\ :sub:`2`
|
|
|
- b\ :sub:`1`
|
|
|
- b\ :sub:`0`
|
|
|
- -
|
|
|
+
|
|
|
- g\ :sub:`7`
|
|
|
- g\ :sub:`6`
|
|
|
- g\ :sub:`5`
|
|
@@ -427,7 +435,7 @@ next to each other in memory.
|
|
|
- g\ :sub:`2`
|
|
|
- g\ :sub:`1`
|
|
|
- g\ :sub:`0`
|
|
|
- -
|
|
|
+
|
|
|
- r\ :sub:`7`
|
|
|
- r\ :sub:`6`
|
|
|
- r\ :sub:`5`
|
|
@@ -436,7 +444,7 @@ next to each other in memory.
|
|
|
- r\ :sub:`2`
|
|
|
- r\ :sub:`1`
|
|
|
- r\ :sub:`0`
|
|
|
- -
|
|
|
+
|
|
|
-
|
|
|
-
|
|
|
-
|
|
@@ -449,7 +457,7 @@ next to each other in memory.
|
|
|
|
|
|
- ``V4L2_PIX_FMT_ARGB32``
|
|
|
- 'BA24'
|
|
|
- -
|
|
|
+
|
|
|
- a\ :sub:`7`
|
|
|
- a\ :sub:`6`
|
|
|
- a\ :sub:`5`
|
|
@@ -458,7 +466,7 @@ next to each other in memory.
|
|
|
- a\ :sub:`2`
|
|
|
- a\ :sub:`1`
|
|
|
- a\ :sub:`0`
|
|
|
- -
|
|
|
+
|
|
|
- r\ :sub:`7`
|
|
|
- r\ :sub:`6`
|
|
|
- r\ :sub:`5`
|
|
@@ -467,7 +475,7 @@ next to each other in memory.
|
|
|
- r\ :sub:`2`
|
|
|
- r\ :sub:`1`
|
|
|
- r\ :sub:`0`
|
|
|
- -
|
|
|
+
|
|
|
- g\ :sub:`7`
|
|
|
- g\ :sub:`6`
|
|
|
- g\ :sub:`5`
|
|
@@ -476,7 +484,7 @@ next to each other in memory.
|
|
|
- g\ :sub:`2`
|
|
|
- g\ :sub:`1`
|
|
|
- g\ :sub:`0`
|
|
|
- -
|
|
|
+
|
|
|
- b\ :sub:`7`
|
|
|
- b\ :sub:`6`
|
|
|
- b\ :sub:`5`
|
|
@@ -489,6 +497,7 @@ next to each other in memory.
|
|
|
|
|
|
- ``V4L2_PIX_FMT_XRGB32``
|
|
|
- 'BX24'
|
|
|
+
|
|
|
-
|
|
|
-
|
|
|
-
|
|
@@ -497,8 +506,7 @@ next to each other in memory.
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- -
|
|
|
- -
|
|
|
+
|
|
|
- r\ :sub:`7`
|
|
|
- r\ :sub:`6`
|
|
|
- r\ :sub:`5`
|
|
@@ -507,7 +515,7 @@ next to each other in memory.
|
|
|
- r\ :sub:`2`
|
|
|
- r\ :sub:`1`
|
|
|
- r\ :sub:`0`
|
|
|
- -
|
|
|
+
|
|
|
- g\ :sub:`7`
|
|
|
- g\ :sub:`6`
|
|
|
- g\ :sub:`5`
|
|
@@ -516,7 +524,7 @@ next to each other in memory.
|
|
|
- g\ :sub:`2`
|
|
|
- g\ :sub:`1`
|
|
|
- g\ :sub:`0`
|
|
|
- -
|
|
|
+
|
|
|
- b\ :sub:`7`
|
|
|
- b\ :sub:`6`
|
|
|
- b\ :sub:`5`
|
|
@@ -528,7 +536,7 @@ next to each other in memory.
|
|
|
|
|
|
.. raw:: latex
|
|
|
|
|
|
- \end{adjustbox}\newline\newline
|
|
|
+ \endgroup
|
|
|
|
|
|
.. note:: Bit 7 is the most significant bit.
|
|
|
|
|
@@ -562,9 +570,9 @@ Each cell is one byte.
|
|
|
|
|
|
.. raw:: latex
|
|
|
|
|
|
- \newline\newline\begin{adjustbox}{width=\columnwidth}
|
|
|
+ \small
|
|
|
|
|
|
-.. tabularcolumns:: |p{4.1cm}|p{1.1cm}|p{1.1cm}|p{1.1cm}|p{1.1cm}|p{1.1cm}|p{1.1cm}|p{1.1cm}|p{1.1cm}|p{1.1cm}|p{1.1cm}|p{1.1cm}|p{1.3cm}|
|
|
|
+.. tabularcolumns:: |p{3.1cm}|p{0.8cm}|p{0.8cm}|p{0.8cm}|p{0.8cm}|p{0.8cm}|p{0.8cm}|p{0.8cm}|p{0.8cm}|p{0.8cm}|p{0.8cm}|p{0.8cm}|p{0.8cm}|
|
|
|
|
|
|
.. flat-table:: RGB byte order
|
|
|
:header-rows: 0
|
|
@@ -626,19 +634,23 @@ Each cell is one byte.
|
|
|
|
|
|
.. raw:: latex
|
|
|
|
|
|
- \end{adjustbox}\newline\newline
|
|
|
+ \normalsize
|
|
|
|
|
|
Formats defined in :ref:`rgb-formats-deprecated` are deprecated and
|
|
|
must not be used by new drivers. They are documented here for reference.
|
|
|
-The meaning of their alpha bits (a) is ill-defined and interpreted as in
|
|
|
+The meaning of their alpha bits ``(a)`` are ill-defined and interpreted as in
|
|
|
either the corresponding ARGB or XRGB format, depending on the driver.
|
|
|
|
|
|
|
|
|
.. raw:: latex
|
|
|
|
|
|
- \begin{adjustbox}{width=\columnwidth}
|
|
|
+.. raw:: latex
|
|
|
+
|
|
|
+ \begingroup
|
|
|
+ \tiny
|
|
|
+ \setlength{\tabcolsep}{2pt}
|
|
|
|
|
|
-.. tabularcolumns:: |p{4.2cm}|p{1.0cm}|p{0.7cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.2cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.2cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.2cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{0.4cm}|p{1.7cm}|
|
|
|
+.. tabularcolumns:: |p{2.2cm}|p{0.60cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|
|
|
|
|
|
|
.. _rgb-formats-deprecated:
|
|
|
|
|
@@ -648,17 +660,14 @@ either the corresponding ARGB or XRGB format, depending on the driver.
|
|
|
|
|
|
* - Identifier
|
|
|
- Code
|
|
|
- -
|
|
|
- :cspan:`7` Byte 0 in memory
|
|
|
- -
|
|
|
+
|
|
|
- :cspan:`7` Byte 1
|
|
|
- -
|
|
|
+
|
|
|
- :cspan:`7` Byte 2
|
|
|
- -
|
|
|
+
|
|
|
- :cspan:`7` Byte 3
|
|
|
- * -
|
|
|
- -
|
|
|
- - Bit
|
|
|
+ * - :cspan:`1`
|
|
|
- 7
|
|
|
- 6
|
|
|
- 5
|
|
@@ -667,7 +676,7 @@ either the corresponding ARGB or XRGB format, depending on the driver.
|
|
|
- 2
|
|
|
- 1
|
|
|
- 0
|
|
|
- -
|
|
|
+
|
|
|
- 7
|
|
|
- 6
|
|
|
- 5
|
|
@@ -676,7 +685,7 @@ either the corresponding ARGB or XRGB format, depending on the driver.
|
|
|
- 2
|
|
|
- 1
|
|
|
- 0
|
|
|
- -
|
|
|
+
|
|
|
- 7
|
|
|
- 6
|
|
|
- 5
|
|
@@ -685,7 +694,7 @@ either the corresponding ARGB or XRGB format, depending on the driver.
|
|
|
- 2
|
|
|
- 1
|
|
|
- 0
|
|
|
- -
|
|
|
+
|
|
|
- 7
|
|
|
- 6
|
|
|
- 5
|
|
@@ -698,7 +707,7 @@ either the corresponding ARGB or XRGB format, depending on the driver.
|
|
|
|
|
|
- ``V4L2_PIX_FMT_RGB444``
|
|
|
- 'R444'
|
|
|
- -
|
|
|
+
|
|
|
- g\ :sub:`3`
|
|
|
- g\ :sub:`2`
|
|
|
- g\ :sub:`1`
|
|
@@ -707,7 +716,7 @@ either the corresponding ARGB or XRGB format, depending on the driver.
|
|
|
- b\ :sub:`2`
|
|
|
- b\ :sub:`1`
|
|
|
- b\ :sub:`0`
|
|
|
- -
|
|
|
+
|
|
|
- a\ :sub:`3`
|
|
|
- a\ :sub:`2`
|
|
|
- a\ :sub:`1`
|
|
@@ -716,11 +725,12 @@ either the corresponding ARGB or XRGB format, depending on the driver.
|
|
|
- r\ :sub:`2`
|
|
|
- r\ :sub:`1`
|
|
|
- r\ :sub:`0`
|
|
|
+ -
|
|
|
* .. _V4L2-PIX-FMT-RGB555:
|
|
|
|
|
|
- ``V4L2_PIX_FMT_RGB555``
|
|
|
- 'RGBO'
|
|
|
- -
|
|
|
+
|
|
|
- g\ :sub:`2`
|
|
|
- g\ :sub:`1`
|
|
|
- g\ :sub:`0`
|
|
@@ -729,7 +739,7 @@ either the corresponding ARGB or XRGB format, depending on the driver.
|
|
|
- b\ :sub:`2`
|
|
|
- b\ :sub:`1`
|
|
|
- b\ :sub:`0`
|
|
|
- -
|
|
|
+
|
|
|
- a
|
|
|
- r\ :sub:`4`
|
|
|
- r\ :sub:`3`
|
|
@@ -738,11 +748,12 @@ either the corresponding ARGB or XRGB format, depending on the driver.
|
|
|
- r\ :sub:`0`
|
|
|
- g\ :sub:`4`
|
|
|
- g\ :sub:`3`
|
|
|
+ -
|
|
|
* .. _V4L2-PIX-FMT-RGB555X:
|
|
|
|
|
|
- ``V4L2_PIX_FMT_RGB555X``
|
|
|
- 'RGBQ'
|
|
|
- -
|
|
|
+
|
|
|
- a
|
|
|
- r\ :sub:`4`
|
|
|
- r\ :sub:`3`
|
|
@@ -751,7 +762,7 @@ either the corresponding ARGB or XRGB format, depending on the driver.
|
|
|
- r\ :sub:`0`
|
|
|
- g\ :sub:`4`
|
|
|
- g\ :sub:`3`
|
|
|
- -
|
|
|
+
|
|
|
- g\ :sub:`2`
|
|
|
- g\ :sub:`1`
|
|
|
- g\ :sub:`0`
|
|
@@ -760,11 +771,12 @@ either the corresponding ARGB or XRGB format, depending on the driver.
|
|
|
- b\ :sub:`2`
|
|
|
- b\ :sub:`1`
|
|
|
- b\ :sub:`0`
|
|
|
+ -
|
|
|
* .. _V4L2-PIX-FMT-BGR32:
|
|
|
|
|
|
- ``V4L2_PIX_FMT_BGR32``
|
|
|
- 'BGR4'
|
|
|
- -
|
|
|
+
|
|
|
- b\ :sub:`7`
|
|
|
- b\ :sub:`6`
|
|
|
- b\ :sub:`5`
|
|
@@ -773,7 +785,7 @@ either the corresponding ARGB or XRGB format, depending on the driver.
|
|
|
- b\ :sub:`2`
|
|
|
- b\ :sub:`1`
|
|
|
- b\ :sub:`0`
|
|
|
- -
|
|
|
+
|
|
|
- g\ :sub:`7`
|
|
|
- g\ :sub:`6`
|
|
|
- g\ :sub:`5`
|
|
@@ -782,7 +794,7 @@ either the corresponding ARGB or XRGB format, depending on the driver.
|
|
|
- g\ :sub:`2`
|
|
|
- g\ :sub:`1`
|
|
|
- g\ :sub:`0`
|
|
|
- -
|
|
|
+
|
|
|
- r\ :sub:`7`
|
|
|
- r\ :sub:`6`
|
|
|
- r\ :sub:`5`
|
|
@@ -791,7 +803,7 @@ either the corresponding ARGB or XRGB format, depending on the driver.
|
|
|
- r\ :sub:`2`
|
|
|
- r\ :sub:`1`
|
|
|
- r\ :sub:`0`
|
|
|
- -
|
|
|
+
|
|
|
- a\ :sub:`7`
|
|
|
- a\ :sub:`6`
|
|
|
- a\ :sub:`5`
|
|
@@ -804,7 +816,7 @@ either the corresponding ARGB or XRGB format, depending on the driver.
|
|
|
|
|
|
- ``V4L2_PIX_FMT_RGB32``
|
|
|
- 'RGB4'
|
|
|
- -
|
|
|
+
|
|
|
- a\ :sub:`7`
|
|
|
- a\ :sub:`6`
|
|
|
- a\ :sub:`5`
|
|
@@ -813,7 +825,7 @@ either the corresponding ARGB or XRGB format, depending on the driver.
|
|
|
- a\ :sub:`2`
|
|
|
- a\ :sub:`1`
|
|
|
- a\ :sub:`0`
|
|
|
- -
|
|
|
+
|
|
|
- r\ :sub:`7`
|
|
|
- r\ :sub:`6`
|
|
|
- r\ :sub:`5`
|
|
@@ -822,7 +834,7 @@ either the corresponding ARGB or XRGB format, depending on the driver.
|
|
|
- r\ :sub:`2`
|
|
|
- r\ :sub:`1`
|
|
|
- r\ :sub:`0`
|
|
|
- -
|
|
|
+
|
|
|
- g\ :sub:`7`
|
|
|
- g\ :sub:`6`
|
|
|
- g\ :sub:`5`
|
|
@@ -831,7 +843,7 @@ either the corresponding ARGB or XRGB format, depending on the driver.
|
|
|
- g\ :sub:`2`
|
|
|
- g\ :sub:`1`
|
|
|
- g\ :sub:`0`
|
|
|
- -
|
|
|
+
|
|
|
- b\ :sub:`7`
|
|
|
- b\ :sub:`6`
|
|
|
- b\ :sub:`5`
|
|
@@ -843,7 +855,7 @@ either the corresponding ARGB or XRGB format, depending on the driver.
|
|
|
|
|
|
.. raw:: latex
|
|
|
|
|
|
- \end{adjustbox}\newline\newline
|
|
|
+ \endgroup
|
|
|
|
|
|
A test utility to determine which RGB formats a driver actually supports
|
|
|
is available from the LinuxTV v4l-dvb repository. See
|