• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">
2<HTML
3><HEAD
4><TITLE
5>V4L2_PIX_FMT_SBGGR16 ('BA82')</TITLE
6><META
7NAME="GENERATOR"
8CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
9REL="HOME"
10TITLE="Video for Linux Two API Specification"
11HREF="book1.htm"><LINK
12REL="UP"
13TITLE="RGB Formats"
14HREF="x2490.htm"><LINK
15REL="PREVIOUS"
16TITLE="V4L2_PIX_FMT_SBGGR8 ('BA81')"
17HREF="r3735.htm"><LINK
18REL="NEXT"
19TITLE="YUV Formats"
20HREF="x3891.htm"></HEAD
21><BODY
22CLASS="REFENTRY"
23BGCOLOR="#FFFFFF"
24TEXT="#000000"
25LINK="#0000FF"
26VLINK="#840084"
27ALINK="#0000FF"
28><DIV
29CLASS="NAVHEADER"
30><TABLE
31SUMMARY="Header navigation table"
32WIDTH="100%"
33BORDER="0"
34CELLPADDING="0"
35CELLSPACING="0"
36><TR
37><TH
38COLSPAN="3"
39ALIGN="center"
40>Video for Linux Two API Specification: Revision 0.24</TH
41></TR
42><TR
43><TD
44WIDTH="10%"
45ALIGN="left"
46VALIGN="bottom"
47><A
48HREF="r3735.htm"
49ACCESSKEY="P"
50>Prev</A
51></TD
52><TD
53WIDTH="80%"
54ALIGN="center"
55VALIGN="bottom"
56></TD
57><TD
58WIDTH="10%"
59ALIGN="right"
60VALIGN="bottom"
61><A
62HREF="x3891.htm"
63ACCESSKEY="N"
64>Next</A
65></TD
66></TR
67></TABLE
68><HR
69ALIGN="LEFT"
70WIDTH="100%"></DIV
71><H1
72><A
73NAME="V4L2-PIX-FMT-SBGGR16"
74></A
75>V4L2_PIX_FMT_SBGGR16 ('BA82')</H1
76><DIV
77CLASS="REFNAMEDIV"
78><A
79NAME="AEN3800"
80></A
81><H2
82>Name</H2
83><CODE
84CLASS="CONSTANT"
85>V4L2_PIX_FMT_SBGGR16</CODE
86>&nbsp;--&nbsp;Bayer RGB format</DIV
87><DIV
88CLASS="REFSECT1"
89><A
90NAME="AEN3804"
91></A
92><H2
93>Description</H2
94><P
95>This format is similar to <A
96HREF="r3735.htm"
97><CODE
98CLASS="CONSTANT"
99>V4L2_PIX_FMT_SBGGR8</CODE
100></A
101>, except each pixel has
102a depth of 16 bits. The least significant byte is stored at lower
103memory addresses (little-endian). Note the actual sampling precision
104may be lower than 16 bits, for example 10 bits per pixel with values
105in range 0 to 1023.</P
106><DIV
107CLASS="EXAMPLE"
108><A
109NAME="AEN3809"
110></A
111><P
112><B
113>Example 2-1. <CODE
114CLASS="CONSTANT"
115>V4L2_PIX_FMT_SBGGR16</CODE
116> 4 &times; 4
117pixel image</B
118></P
119><DIV
120CLASS="FORMALPARA"
121><P
122><B
123>Byte Order. </B
124>Each cell is one byte.
125          <DIV
126CLASS="INFORMALTABLE"
127><P
128></P
129><A
130NAME="AEN3815"
131></A
132><TABLE
133BORDER="0"
134FRAME="void"
135CLASS="CALSTABLE"
136><COL
137WIDTH="2*"
138ALIGN="LEFT"><COL><COL><COL><COL><TBODY
139VALIGN="TOP"
140><TR
141><TD
142>start&nbsp;+&nbsp;0:</TD
143><TD
144>B<SUB
145>00low</SUB
146></TD
147><TD
148>B<SUB
149>00high</SUB
150></TD
151><TD
152>G<SUB
153>01low</SUB
154></TD
155><TD
156>G<SUB
157>01high</SUB
158></TD
159><TD
160>B<SUB
161>02low</SUB
162></TD
163><TD
164>B<SUB
165>02high</SUB
166></TD
167><TD
168>G<SUB
169>03low</SUB
170></TD
171><TD
172>G<SUB
173>03high</SUB
174></TD
175></TR
176><TR
177><TD
178>start&nbsp;+&nbsp;8:</TD
179><TD
180>G<SUB
181>10low</SUB
182></TD
183><TD
184>G<SUB
185>10high</SUB
186></TD
187><TD
188>R<SUB
189>11low</SUB
190></TD
191><TD
192>R<SUB
193>11high</SUB
194></TD
195><TD
196>G<SUB
197>12low</SUB
198></TD
199><TD
200>G<SUB
201>12high</SUB
202></TD
203><TD
204>R<SUB
205>13low</SUB
206></TD
207><TD
208>R<SUB
209>13high</SUB
210></TD
211></TR
212><TR
213><TD
214>start&nbsp;+&nbsp;16:</TD
215><TD
216>B<SUB
217>20low</SUB
218></TD
219><TD
220>B<SUB
221>20high</SUB
222></TD
223><TD
224>G<SUB
225>21low</SUB
226></TD
227><TD
228>G<SUB
229>21high</SUB
230></TD
231><TD
232>B<SUB
233>22low</SUB
234></TD
235><TD
236>B<SUB
237>22high</SUB
238></TD
239><TD
240>G<SUB
241>23low</SUB
242></TD
243><TD
244>G<SUB
245>23high</SUB
246></TD
247></TR
248><TR
249><TD
250>start&nbsp;+&nbsp;24:</TD
251><TD
252>G<SUB
253>30low</SUB
254></TD
255><TD
256>G<SUB
257>30high</SUB
258></TD
259><TD
260>R<SUB
261>31low</SUB
262></TD
263><TD
264>R<SUB
265>31high</SUB
266></TD
267><TD
268>G<SUB
269>32low</SUB
270></TD
271><TD
272>G<SUB
273>32high</SUB
274></TD
275><TD
276>R<SUB
277>33low</SUB
278></TD
279><TD
280>R<SUB
281>33high</SUB
282></TD
283></TR
284></TBODY
285></TABLE
286><P
287></P
288></DIV
289>
290        </P
291></DIV
292></DIV
293></DIV
294><DIV
295CLASS="NAVFOOTER"
296><HR
297ALIGN="LEFT"
298WIDTH="100%"><TABLE
299SUMMARY="Footer navigation table"
300WIDTH="100%"
301BORDER="0"
302CELLPADDING="0"
303CELLSPACING="0"
304><TR
305><TD
306WIDTH="33%"
307ALIGN="left"
308VALIGN="top"
309><A
310HREF="r3735.htm"
311ACCESSKEY="P"
312>Prev</A
313></TD
314><TD
315WIDTH="34%"
316ALIGN="center"
317VALIGN="top"
318><A
319HREF="book1.htm"
320ACCESSKEY="H"
321>Home</A
322></TD
323><TD
324WIDTH="33%"
325ALIGN="right"
326VALIGN="top"
327><A
328HREF="x3891.htm"
329ACCESSKEY="N"
330>Next</A
331></TD
332></TR
333><TR
334><TD
335WIDTH="33%"
336ALIGN="left"
337VALIGN="top"
338>V4L2_PIX_FMT_SBGGR8 ('BA81')</TD
339><TD
340WIDTH="34%"
341ALIGN="center"
342VALIGN="top"
343><A
344HREF="x2490.htm"
345ACCESSKEY="U"
346>Up</A
347></TD
348><TD
349WIDTH="33%"
350ALIGN="right"
351VALIGN="top"
352>YUV Formats</TD
353></TR
354></TABLE
355></DIV
356></BODY
357></HTML
358>
359