mirror of
https://github.com/torvalds/linux.git
synced 2024-12-25 04:11:49 +00:00
05ad6fc1d5
add new macro V4L2_PIX_FMT_SGRBG10ALAW8 and associated formats to represent Bayer format frames compressed by A-LAW algorithm, add V4L2_PIX_FMT_UV8 to represent storage of CbCr data (UV interleaved) only. Signed-off-by: Manjunath Hadli <manjunath.hadli@ti.com> Signed-off-by: Lad, Prabhakar <prabhakar.lad@ti.com> Acked-by: Sakari Ailus <sakari.ailus@iki.fi> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
63 lines
1.9 KiB
XML
63 lines
1.9 KiB
XML
<refentry id="V4L2-PIX-FMT-UV8">
|
|
<refmeta>
|
|
<refentrytitle>V4L2_PIX_FMT_UV8 ('UV8')</refentrytitle>
|
|
&manvol;
|
|
</refmeta>
|
|
<refnamediv>
|
|
<refname><constant>V4L2_PIX_FMT_UV8</constant></refname>
|
|
<refpurpose>UV plane interleaved</refpurpose>
|
|
</refnamediv>
|
|
<refsect1>
|
|
<title>Description</title>
|
|
<para>In this format there is no Y plane, Only CbCr plane. ie
|
|
(UV interleaved)</para>
|
|
<example>
|
|
<title>
|
|
<constant>V4L2_PIX_FMT_UV8</constant>
|
|
pixel image
|
|
</title>
|
|
|
|
<formalpara>
|
|
<title>Byte Order.</title>
|
|
<para>Each cell is one byte.
|
|
<informaltable frame="none">
|
|
<tgroup cols="5" align="center">
|
|
<colspec align="left" colwidth="2*" />
|
|
<tbody valign="top">
|
|
<row>
|
|
<entry>start + 0:</entry>
|
|
<entry>Cb<subscript>00</subscript></entry>
|
|
<entry>Cr<subscript>00</subscript></entry>
|
|
<entry>Cb<subscript>01</subscript></entry>
|
|
<entry>Cr<subscript>01</subscript></entry>
|
|
</row>
|
|
<row>
|
|
<entry>start + 4:</entry>
|
|
<entry>Cb<subscript>10</subscript></entry>
|
|
<entry>Cr<subscript>10</subscript></entry>
|
|
<entry>Cb<subscript>11</subscript></entry>
|
|
<entry>Cr<subscript>11</subscript></entry>
|
|
</row>
|
|
<row>
|
|
<entry>start + 8:</entry>
|
|
<entry>Cb<subscript>20</subscript></entry>
|
|
<entry>Cr<subscript>20</subscript></entry>
|
|
<entry>Cb<subscript>21</subscript></entry>
|
|
<entry>Cr<subscript>21</subscript></entry>
|
|
</row>
|
|
<row>
|
|
<entry>start + 12:</entry>
|
|
<entry>Cb<subscript>30</subscript></entry>
|
|
<entry>Cr<subscript>30</subscript></entry>
|
|
<entry>Cb<subscript>31</subscript></entry>
|
|
<entry>Cr<subscript>31</subscript></entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</informaltable>
|
|
</para>
|
|
</formalpara>
|
|
</example>
|
|
</refsect1>
|
|
</refentry>
|