0bec78a4b2
Add documentation for 3 formats, used by RealSense cameras like R200. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
81 lines
2.9 KiB
XML
81 lines
2.9 KiB
XML
<refentry id="V4L2-PIX-FMT-Y8I">
|
|
<refmeta>
|
|
<refentrytitle>V4L2_PIX_FMT_Y8I ('Y8I ')</refentrytitle>
|
|
&manvol;
|
|
</refmeta>
|
|
<refnamediv>
|
|
<refname><constant>V4L2_PIX_FMT_Y8I</constant></refname>
|
|
<refpurpose>Interleaved grey-scale image, e.g. from a stereo-pair</refpurpose>
|
|
</refnamediv>
|
|
<refsect1>
|
|
<title>Description</title>
|
|
|
|
<para>This is a grey-scale image with a depth of 8 bits per pixel, but with
|
|
pixels from 2 sources interleaved. Each pixel is stored in a 16-bit word. E.g.
|
|
the R200 RealSense camera stores pixel from the left sensor in lower and from
|
|
the right sensor in the higher 8 bits.</para>
|
|
|
|
<example>
|
|
<title><constant>V4L2_PIX_FMT_Y8I</constant> 4 × 4
|
|
pixel image</title>
|
|
|
|
<formalpara>
|
|
<title>Byte Order.</title>
|
|
<para>Each cell is one byte.
|
|
<informaltable frame="none">
|
|
<tgroup cols="9" align="center">
|
|
<colspec align="left" colwidth="2*" />
|
|
<tbody valign="top">
|
|
<row>
|
|
<entry>start + 0:</entry>
|
|
<entry>Y'<subscript>00left</subscript></entry>
|
|
<entry>Y'<subscript>00right</subscript></entry>
|
|
<entry>Y'<subscript>01left</subscript></entry>
|
|
<entry>Y'<subscript>01right</subscript></entry>
|
|
<entry>Y'<subscript>02left</subscript></entry>
|
|
<entry>Y'<subscript>02right</subscript></entry>
|
|
<entry>Y'<subscript>03left</subscript></entry>
|
|
<entry>Y'<subscript>03right</subscript></entry>
|
|
</row>
|
|
<row>
|
|
<entry>start + 8:</entry>
|
|
<entry>Y'<subscript>10left</subscript></entry>
|
|
<entry>Y'<subscript>10right</subscript></entry>
|
|
<entry>Y'<subscript>11left</subscript></entry>
|
|
<entry>Y'<subscript>11right</subscript></entry>
|
|
<entry>Y'<subscript>12left</subscript></entry>
|
|
<entry>Y'<subscript>12right</subscript></entry>
|
|
<entry>Y'<subscript>13left</subscript></entry>
|
|
<entry>Y'<subscript>13right</subscript></entry>
|
|
</row>
|
|
<row>
|
|
<entry>start + 16:</entry>
|
|
<entry>Y'<subscript>20left</subscript></entry>
|
|
<entry>Y'<subscript>20right</subscript></entry>
|
|
<entry>Y'<subscript>21left</subscript></entry>
|
|
<entry>Y'<subscript>21right</subscript></entry>
|
|
<entry>Y'<subscript>22left</subscript></entry>
|
|
<entry>Y'<subscript>22right</subscript></entry>
|
|
<entry>Y'<subscript>23left</subscript></entry>
|
|
<entry>Y'<subscript>23right</subscript></entry>
|
|
</row>
|
|
<row>
|
|
<entry>start + 24:</entry>
|
|
<entry>Y'<subscript>30left</subscript></entry>
|
|
<entry>Y'<subscript>30right</subscript></entry>
|
|
<entry>Y'<subscript>31left</subscript></entry>
|
|
<entry>Y'<subscript>31right</subscript></entry>
|
|
<entry>Y'<subscript>32left</subscript></entry>
|
|
<entry>Y'<subscript>32right</subscript></entry>
|
|
<entry>Y'<subscript>33left</subscript></entry>
|
|
<entry>Y'<subscript>33right</subscript></entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</informaltable>
|
|
</para>
|
|
</formalpara>
|
|
</example>
|
|
</refsect1>
|
|
</refentry>
|