Merge branch 'akpm'
[linux-2.6/next.git] / Documentation / DocBook / media / v4l / pixfmt-y10b.xml
blobadb0ad808c9352d3d0c315fde6caecfeeb9a9bc5
1 <refentry id="V4L2-PIX-FMT-Y10BPACK">
2   <refmeta>
3     <refentrytitle>V4L2_PIX_FMT_Y10BPACK ('Y10B')</refentrytitle>
4     &manvol;
5   </refmeta>
6   <refnamediv>
7     <refname><constant>V4L2_PIX_FMT_Y10BPACK</constant></refname>
8     <refpurpose>Grey-scale image as a bit-packed array</refpurpose>
9   </refnamediv>
10   <refsect1>
11     <title>Description</title>
13     <para>This is a packed grey-scale image format with a depth of 10 bits per
14       pixel. Pixels are stored in a bit-packed array of 10bit bits per pixel,
15       with no padding between them and with the most significant bits coming
16       first from the left.</para>
18     <example>
19       <title><constant>V4L2_PIX_FMT_Y10BPACK</constant> 4 pixel data stream taking 5 bytes</title>
21       <formalpara>
22         <title>Bit-packed representation</title>
23         <para>pixels cross the byte boundary and have a ratio of 5 bytes for each 4
24           pixels.
25           <informaltable frame="all">
26             <tgroup cols="5" align="center">
27               <colspec align="left" colwidth="2*" />
28               <tbody valign="top">
29                 <row>
30                   <entry>Y'<subscript>00[9:2]</subscript></entry>
31                   <entry>Y'<subscript>00[1:0]</subscript>Y'<subscript>01[9:4]</subscript></entry>
32                   <entry>Y'<subscript>01[3:0]</subscript>Y'<subscript>02[9:6]</subscript></entry>
33                   <entry>Y'<subscript>02[5:0]</subscript>Y'<subscript>03[9:8]</subscript></entry>
34                   <entry>Y'<subscript>03[7:0]</subscript></entry>
35                 </row>
36               </tbody>
37             </tgroup>
38           </informaltable>
39         </para>
40       </formalpara>
41     </example>
42   </refsect1>
43 </refentry>