• 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_Y16 ('Y16 ')</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="YUV Formats"
14HREF="x3891.htm"><LINK
15REL="PREVIOUS"
16TITLE="V4L2_PIX_FMT_GREY ('GREY')"
17HREF="r4185.htm"><LINK
18REL="NEXT"
19TITLE="V4L2_PIX_FMT_YUYV ('YUYV')"
20HREF="r4339.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="r4185.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="r4339.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-Y16"
74></A
75>V4L2_PIX_FMT_Y16 ('Y16 ')</H1
76><DIV
77CLASS="REFNAMEDIV"
78><A
79NAME="AEN4250"
80></A
81><H2
82>Name</H2
83><CODE
84CLASS="CONSTANT"
85>V4L2_PIX_FMT_Y16</CODE
86>&nbsp;--&nbsp;Grey-scale image</DIV
87><DIV
88CLASS="REFSECT1"
89><A
90NAME="AEN4254"
91></A
92><H2
93>Description</H2
94><P
95>This is a grey-scale image with a depth of 16 bits per
96pixel. The least significant byte is stored at lower memory addresses
97(little-endian). Note the actual sampling precision may be lower than
9816 bits, for example 10 bits per pixel with values in range 0 to
991023.</P
100><DIV
101CLASS="EXAMPLE"
102><A
103NAME="AEN4257"
104></A
105><P
106><B
107>Example 2-1. <CODE
108CLASS="CONSTANT"
109>V4L2_PIX_FMT_Y16</CODE
110> 4 &times; 4
111pixel image</B
112></P
113><DIV
114CLASS="FORMALPARA"
115><P
116><B
117>Byte Order. </B
118>Each cell is one byte.
119          <DIV
120CLASS="INFORMALTABLE"
121><P
122></P
123><A
124NAME="AEN4263"
125></A
126><TABLE
127BORDER="0"
128FRAME="void"
129CLASS="CALSTABLE"
130><COL
131WIDTH="2*"
132ALIGN="LEFT"><COL><COL><COL><COL><COL><COL><COL><COL><TBODY
133VALIGN="TOP"
134><TR
135><TD
136>start&nbsp;+&nbsp;0:</TD
137><TD
138>Y'<SUB
139>00low</SUB
140></TD
141><TD
142>Y'<SUB
143>00high</SUB
144></TD
145><TD
146>Y'<SUB
147>01low</SUB
148></TD
149><TD
150>Y'<SUB
151>01high</SUB
152></TD
153><TD
154>Y'<SUB
155>02low</SUB
156></TD
157><TD
158>Y'<SUB
159>02high</SUB
160></TD
161><TD
162>Y'<SUB
163>03low</SUB
164></TD
165><TD
166>Y'<SUB
167>03high</SUB
168></TD
169></TR
170><TR
171><TD
172>start&nbsp;+&nbsp;8:</TD
173><TD
174>Y'<SUB
175>10low</SUB
176></TD
177><TD
178>Y'<SUB
179>10high</SUB
180></TD
181><TD
182>Y'<SUB
183>11low</SUB
184></TD
185><TD
186>Y'<SUB
187>11high</SUB
188></TD
189><TD
190>Y'<SUB
191>12low</SUB
192></TD
193><TD
194>Y'<SUB
195>12high</SUB
196></TD
197><TD
198>Y'<SUB
199>13low</SUB
200></TD
201><TD
202>Y'<SUB
203>13high</SUB
204></TD
205></TR
206><TR
207><TD
208>start&nbsp;+&nbsp;16:</TD
209><TD
210>Y'<SUB
211>20low</SUB
212></TD
213><TD
214>Y'<SUB
215>20high</SUB
216></TD
217><TD
218>Y'<SUB
219>21low</SUB
220></TD
221><TD
222>Y'<SUB
223>21high</SUB
224></TD
225><TD
226>Y'<SUB
227>22low</SUB
228></TD
229><TD
230>Y'<SUB
231>22high</SUB
232></TD
233><TD
234>Y'<SUB
235>23low</SUB
236></TD
237><TD
238>Y'<SUB
239>23high</SUB
240></TD
241></TR
242><TR
243><TD
244>start&nbsp;+&nbsp;24:</TD
245><TD
246>Y'<SUB
247>30low</SUB
248></TD
249><TD
250>Y'<SUB
251>30high</SUB
252></TD
253><TD
254>Y'<SUB
255>31low</SUB
256></TD
257><TD
258>Y'<SUB
259>31high</SUB
260></TD
261><TD
262>Y'<SUB
263>32low</SUB
264></TD
265><TD
266>Y'<SUB
267>32high</SUB
268></TD
269><TD
270>Y'<SUB
271>33low</SUB
272></TD
273><TD
274>Y'<SUB
275>33high</SUB
276></TD
277></TR
278></TBODY
279></TABLE
280><P
281></P
282></DIV
283>
284        </P
285></DIV
286></DIV
287></DIV
288><DIV
289CLASS="NAVFOOTER"
290><HR
291ALIGN="LEFT"
292WIDTH="100%"><TABLE
293SUMMARY="Footer navigation table"
294WIDTH="100%"
295BORDER="0"
296CELLPADDING="0"
297CELLSPACING="0"
298><TR
299><TD
300WIDTH="33%"
301ALIGN="left"
302VALIGN="top"
303><A
304HREF="r4185.htm"
305ACCESSKEY="P"
306>Prev</A
307></TD
308><TD
309WIDTH="34%"
310ALIGN="center"
311VALIGN="top"
312><A
313HREF="book1.htm"
314ACCESSKEY="H"
315>Home</A
316></TD
317><TD
318WIDTH="33%"
319ALIGN="right"
320VALIGN="top"
321><A
322HREF="r4339.htm"
323ACCESSKEY="N"
324>Next</A
325></TD
326></TR
327><TR
328><TD
329WIDTH="33%"
330ALIGN="left"
331VALIGN="top"
332>V4L2_PIX_FMT_GREY ('GREY')</TD
333><TD
334WIDTH="34%"
335ALIGN="center"
336VALIGN="top"
337><A
338HREF="x3891.htm"
339ACCESSKEY="U"
340>Up</A
341></TD
342><TD
343WIDTH="33%"
344ALIGN="right"
345VALIGN="top"
346>V4L2_PIX_FMT_YUYV ('YUYV')</TD
347></TR
348></TABLE
349></DIV
350></BODY
351></HTML
352>
353