• 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_GREY ('GREY')</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="Packed YUV formats"
17HREF="r3896.htm"><LINK
18REL="NEXT"
19TITLE="V4L2_PIX_FMT_Y16 ('Y16 ')"
20HREF="r4246.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="r3896.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="r4246.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-GREY"
74></A
75>V4L2_PIX_FMT_GREY ('GREY')</H1
76><DIV
77CLASS="REFNAMEDIV"
78><A
79NAME="AEN4189"
80></A
81><H2
82>Name</H2
83><CODE
84CLASS="CONSTANT"
85>V4L2_PIX_FMT_GREY</CODE
86>&nbsp;--&nbsp;Grey-scale image</DIV
87><DIV
88CLASS="REFSECT1"
89><A
90NAME="AEN4193"
91></A
92><H2
93>Description</H2
94><P
95>This is a grey-scale image. It is really a degenerate
96Y'CbCr format which simply contains no Cb or Cr data.</P
97><DIV
98CLASS="EXAMPLE"
99><A
100NAME="AEN4196"
101></A
102><P
103><B
104>Example 2-1. <CODE
105CLASS="CONSTANT"
106>V4L2_PIX_FMT_GREY</CODE
107> 4 &times; 4
108pixel image</B
109></P
110><DIV
111CLASS="FORMALPARA"
112><P
113><B
114>Byte Order. </B
115>Each cell is one byte.
116                <DIV
117CLASS="INFORMALTABLE"
118><P
119></P
120><A
121NAME="AEN4202"
122></A
123><TABLE
124BORDER="0"
125FRAME="void"
126CLASS="CALSTABLE"
127><COL
128WIDTH="2*"
129ALIGN="LEFT"><COL><COL><COL><COL><TBODY
130VALIGN="TOP"
131><TR
132><TD
133>start&nbsp;+&nbsp;0:</TD
134><TD
135>Y'<SUB
136>00</SUB
137></TD
138><TD
139>Y'<SUB
140>01</SUB
141></TD
142><TD
143>Y'<SUB
144>02</SUB
145></TD
146><TD
147>Y'<SUB
148>03</SUB
149></TD
150></TR
151><TR
152><TD
153>start&nbsp;+&nbsp;4:</TD
154><TD
155>Y'<SUB
156>10</SUB
157></TD
158><TD
159>Y'<SUB
160>11</SUB
161></TD
162><TD
163>Y'<SUB
164>12</SUB
165></TD
166><TD
167>Y'<SUB
168>13</SUB
169></TD
170></TR
171><TR
172><TD
173>start&nbsp;+&nbsp;8:</TD
174><TD
175>Y'<SUB
176>20</SUB
177></TD
178><TD
179>Y'<SUB
180>21</SUB
181></TD
182><TD
183>Y'<SUB
184>22</SUB
185></TD
186><TD
187>Y'<SUB
188>23</SUB
189></TD
190></TR
191><TR
192><TD
193>start&nbsp;+&nbsp;12:</TD
194><TD
195>Y'<SUB
196>30</SUB
197></TD
198><TD
199>Y'<SUB
200>31</SUB
201></TD
202><TD
203>Y'<SUB
204>32</SUB
205></TD
206><TD
207>Y'<SUB
208>33</SUB
209></TD
210></TR
211></TBODY
212></TABLE
213><P
214></P
215></DIV
216>
217              </P
218></DIV
219></DIV
220></DIV
221><DIV
222CLASS="NAVFOOTER"
223><HR
224ALIGN="LEFT"
225WIDTH="100%"><TABLE
226SUMMARY="Footer navigation table"
227WIDTH="100%"
228BORDER="0"
229CELLPADDING="0"
230CELLSPACING="0"
231><TR
232><TD
233WIDTH="33%"
234ALIGN="left"
235VALIGN="top"
236><A
237HREF="r3896.htm"
238ACCESSKEY="P"
239>Prev</A
240></TD
241><TD
242WIDTH="34%"
243ALIGN="center"
244VALIGN="top"
245><A
246HREF="book1.htm"
247ACCESSKEY="H"
248>Home</A
249></TD
250><TD
251WIDTH="33%"
252ALIGN="right"
253VALIGN="top"
254><A
255HREF="r4246.htm"
256ACCESSKEY="N"
257>Next</A
258></TD
259></TR
260><TR
261><TD
262WIDTH="33%"
263ALIGN="left"
264VALIGN="top"
265>Packed YUV formats</TD
266><TD
267WIDTH="34%"
268ALIGN="center"
269VALIGN="top"
270><A
271HREF="x3891.htm"
272ACCESSKEY="U"
273>Up</A
274></TD
275><TD
276WIDTH="33%"
277ALIGN="right"
278VALIGN="top"
279>V4L2_PIX_FMT_Y16 ('Y16 ')</TD
280></TR
281></TABLE
282></DIV
283></BODY
284></HTML
285>
286