forked from Minki/linux
8bb36c2139
Add a 10 bits per pixel greyscale format in a bit-packed array representation, naming it Y10B. Such pixel format is supplied for instance by the Kinect sensor device. Signed-off-by: Antonio Ospite <ospite@studenti.unina.it> Signed-off-by: Jean-François Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
44 lines
1.5 KiB
XML
44 lines
1.5 KiB
XML
<refentry id="V4L2-PIX-FMT-Y10BPACK">
|
|
<refmeta>
|
|
<refentrytitle>V4L2_PIX_FMT_Y10BPACK ('Y10B')</refentrytitle>
|
|
&manvol;
|
|
</refmeta>
|
|
<refnamediv>
|
|
<refname><constant>V4L2_PIX_FMT_Y10BPACK</constant></refname>
|
|
<refpurpose>Grey-scale image as a bit-packed array</refpurpose>
|
|
</refnamediv>
|
|
<refsect1>
|
|
<title>Description</title>
|
|
|
|
<para>This is a packed grey-scale image format with a depth of 10 bits per
|
|
pixel. Pixels are stored in a bit-packed array of 10bit bits per pixel,
|
|
with no padding between them and with the most significant bits coming
|
|
first from the left.</para>
|
|
|
|
<example>
|
|
<title><constant>V4L2_PIX_FMT_Y10BPACK</constant> 4 pixel data stream taking 5 bytes</title>
|
|
|
|
<formalpara>
|
|
<title>Bit-packed representation</title>
|
|
<para>pixels cross the byte boundary and have a ratio of 5 bytes for each 4
|
|
pixels.
|
|
<informaltable frame="all">
|
|
<tgroup cols="5" align="center">
|
|
<colspec align="left" colwidth="2*" />
|
|
<tbody valign="top">
|
|
<row>
|
|
<entry>Y'<subscript>00[9:2]</subscript></entry>
|
|
<entry>Y'<subscript>00[1:0]</subscript>Y'<subscript>01[9:4]</subscript></entry>
|
|
<entry>Y'<subscript>01[3:0]</subscript>Y'<subscript>02[9:6]</subscript></entry>
|
|
<entry>Y'<subscript>02[5:0]</subscript>Y'<subscript>03[9:8]</subscript></entry>
|
|
<entry>Y'<subscript>03[7:0]</subscript></entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</informaltable>
|
|
</para>
|
|
</formalpara>
|
|
</example>
|
|
</refsect1>
|
|
</refentry>
|