About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

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




Custom Search

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

1	<refentry id="V4L2-PIX-FMT-SBGGR16">
2	  <refmeta>
3	    <refentrytitle>V4L2_PIX_FMT_SBGGR16 ('BYR2')</refentrytitle>
4	    &manvol;
5	  </refmeta>
6	  <refnamediv>
7	    <refname><constant>V4L2_PIX_FMT_SBGGR16</constant></refname>
8	    <refpurpose>Bayer RGB format</refpurpose>
9	  </refnamediv>
10	  <refsect1>
11	    <title>Description</title>
12	
13	    <para>This format is similar to <link
14	linkend="V4L2-PIX-FMT-SBGGR8">
15	<constant>V4L2_PIX_FMT_SBGGR8</constant></link>, except each pixel has
16	a depth of 16 bits. The least significant byte is stored at lower
17	memory addresses (little-endian). Note the actual sampling precision
18	may be lower than 16 bits, for example 10 bits per pixel with values
19	in range 0 to 1023.</para>
20	
21	    <example>
22	      <title><constant>V4L2_PIX_FMT_SBGGR16</constant> 4 &times; 4
23	pixel image</title>
24	
25	      <formalpara>
26		<title>Byte Order.</title>
27		<para>Each cell is one byte.
28		  <informaltable frame="none">
29		    <tgroup cols="5" align="center">
30		      <colspec align="left" colwidth="2*" />
31		      <tbody valign="top">
32			<row>
33			  <entry>start&nbsp;+&nbsp;0:</entry>
34			  <entry>B<subscript>00low</subscript></entry>
35			  <entry>B<subscript>00high</subscript></entry>
36			  <entry>G<subscript>01low</subscript></entry>
37			  <entry>G<subscript>01high</subscript></entry>
38			  <entry>B<subscript>02low</subscript></entry>
39			  <entry>B<subscript>02high</subscript></entry>
40			  <entry>G<subscript>03low</subscript></entry>
41			  <entry>G<subscript>03high</subscript></entry>
42			</row>
43			<row>
44			  <entry>start&nbsp;+&nbsp;8:</entry>
45			  <entry>G<subscript>10low</subscript></entry>
46			  <entry>G<subscript>10high</subscript></entry>
47			  <entry>R<subscript>11low</subscript></entry>
48			  <entry>R<subscript>11high</subscript></entry>
49			  <entry>G<subscript>12low</subscript></entry>
50			  <entry>G<subscript>12high</subscript></entry>
51			  <entry>R<subscript>13low</subscript></entry>
52			  <entry>R<subscript>13high</subscript></entry>
53			</row>
54			<row>
55			  <entry>start&nbsp;+&nbsp;16:</entry>
56			  <entry>B<subscript>20low</subscript></entry>
57			  <entry>B<subscript>20high</subscript></entry>
58			  <entry>G<subscript>21low</subscript></entry>
59			  <entry>G<subscript>21high</subscript></entry>
60			  <entry>B<subscript>22low</subscript></entry>
61			  <entry>B<subscript>22high</subscript></entry>
62			  <entry>G<subscript>23low</subscript></entry>
63			  <entry>G<subscript>23high</subscript></entry>
64			</row>
65			<row>
66			  <entry>start&nbsp;+&nbsp;24:</entry>
67			  <entry>G<subscript>30low</subscript></entry>
68			  <entry>G<subscript>30high</subscript></entry>
69			  <entry>R<subscript>31low</subscript></entry>
70			  <entry>R<subscript>31high</subscript></entry>
71			  <entry>G<subscript>32low</subscript></entry>
72			  <entry>G<subscript>32high</subscript></entry>
73			  <entry>R<subscript>33low</subscript></entry>
74			  <entry>R<subscript>33high</subscript></entry>
75			</row>
76		      </tbody>
77		    </tgroup>
78		  </informaltable>
79		</para>
80	      </formalpara>
81	    </example>
82	  </refsect1>
83	</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.