About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / DocBook / media / v4l / pixfmt-y10b.xml




Custom Search

Based on kernel version 3.16. Page generated on 2014-08-06 21:38 EST.

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>
12	
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>
17	
18	    <example>
19	      <title><constant>V4L2_PIX_FMT_Y10BPACK</constant> 4 pixel data stream taking 5 bytes</title>
20	
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>
Hide Line Numbers
About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Information is copyright its respective author. All material is available from the Linux Kernel Source distributed under a GPL License. This page is provided as a free service by mjmwired.net.