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 7 NAME="GENERATOR" 8 CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK 9 REL="HOME" 10 TITLE="Video for Linux Two API Specification" 11 HREF="book1.htm"><LINK 12 REL="UP" 13 TITLE="YUV Formats" 14 HREF="x3891.htm"><LINK 15 REL="PREVIOUS" 16 TITLE="V4L2_PIX_FMT_GREY ('GREY')" 17 HREF="r4185.htm"><LINK 18 REL="NEXT" 19 TITLE="V4L2_PIX_FMT_YUYV ('YUYV')" 20 HREF="r4339.htm"></HEAD 21 ><BODY 22 CLASS="REFENTRY" 23 BGCOLOR="#FFFFFF" 24 TEXT="#000000" 25 LINK="#0000FF" 26 VLINK="#840084" 27 ALINK="#0000FF" 28 ><DIV 29 CLASS="NAVHEADER" 30 ><TABLE 31 SUMMARY="Header navigation table" 32 WIDTH="100%" 33 BORDER="0" 34 CELLPADDING="0" 35 CELLSPACING="0" 36 ><TR 37 ><TH 38 COLSPAN="3" 39 ALIGN="center" 40 >Video for Linux Two API Specification: Revision 0.24</TH 41 ></TR 42 ><TR 43 ><TD 44 WIDTH="10%" 45 ALIGN="left" 46 VALIGN="bottom" 47 ><A 48 HREF="r4185.htm" 49 ACCESSKEY="P" 50 >Prev</A 51 ></TD 52 ><TD 53 WIDTH="80%" 54 ALIGN="center" 55 VALIGN="bottom" 56 ></TD 57 ><TD 58 WIDTH="10%" 59 ALIGN="right" 60 VALIGN="bottom" 61 ><A 62 HREF="r4339.htm" 63 ACCESSKEY="N" 64 >Next</A 65 ></TD 66 ></TR 67 ></TABLE 68 ><HR 69 ALIGN="LEFT" 70 WIDTH="100%"></DIV 71 ><H1 72 ><A 73 NAME="V4L2-PIX-FMT-Y16" 74 ></A 75 >V4L2_PIX_FMT_Y16 ('Y16 ')</H1 76 ><DIV 77 CLASS="REFNAMEDIV" 78 ><A 79 NAME="AEN4250" 80 ></A 81 ><H2 82 >Name</H2 83 ><CODE 84 CLASS="CONSTANT" 85 >V4L2_PIX_FMT_Y16</CODE 86 > -- Grey-scale image</DIV 87 ><DIV 88 CLASS="REFSECT1" 89 ><A 90 NAME="AEN4254" 91 ></A 92 ><H2 93 >Description</H2 94 ><P 95 >This is a grey-scale image with a depth of 16 bits per 96 pixel. The least significant byte is stored at lower memory addresses 97 (little-endian). Note the actual sampling precision may be lower than 98 16 bits, for example 10 bits per pixel with values in range 0 to 99 1023.</P 100 ><DIV 101 CLASS="EXAMPLE" 102 ><A 103 NAME="AEN4257" 104 ></A 105 ><P 106 ><B 107 >Example 2-1. <CODE 108 CLASS="CONSTANT" 109 >V4L2_PIX_FMT_Y16</CODE 110 > 4 × 4 111 pixel image</B 112 ></P 113 ><DIV 114 CLASS="FORMALPARA" 115 ><P 116 ><B 117 >Byte Order. </B 118 >Each cell is one byte. 119 <DIV 120 CLASS="INFORMALTABLE" 121 ><P 122 ></P 123 ><A 124 NAME="AEN4263" 125 ></A 126 ><TABLE 127 BORDER="0" 128 FRAME="void" 129 CLASS="CALSTABLE" 130 ><COL 131 WIDTH="2*" 132 ALIGN="LEFT"><COL><COL><COL><COL><COL><COL><COL><COL><TBODY 133 VALIGN="TOP" 134 ><TR 135 ><TD 136 >start + 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 + 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 + 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 + 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 289 CLASS="NAVFOOTER" 290 ><HR 291 ALIGN="LEFT" 292 WIDTH="100%"><TABLE 293 SUMMARY="Footer navigation table" 294 WIDTH="100%" 295 BORDER="0" 296 CELLPADDING="0" 297 CELLSPACING="0" 298 ><TR 299 ><TD 300 WIDTH="33%" 301 ALIGN="left" 302 VALIGN="top" 303 ><A 304 HREF="r4185.htm" 305 ACCESSKEY="P" 306 >Prev</A 307 ></TD 308 ><TD 309 WIDTH="34%" 310 ALIGN="center" 311 VALIGN="top" 312 ><A 313 HREF="book1.htm" 314 ACCESSKEY="H" 315 >Home</A 316 ></TD 317 ><TD 318 WIDTH="33%" 319 ALIGN="right" 320 VALIGN="top" 321 ><A 322 HREF="r4339.htm" 323 ACCESSKEY="N" 324 >Next</A 325 ></TD 326 ></TR 327 ><TR 328 ><TD 329 WIDTH="33%" 330 ALIGN="left" 331 VALIGN="top" 332 >V4L2_PIX_FMT_GREY ('GREY')</TD 333 ><TD 334 WIDTH="34%" 335 ALIGN="center" 336 VALIGN="top" 337 ><A 338 HREF="x3891.htm" 339 ACCESSKEY="U" 340 >Up</A 341 ></TD 342 ><TD 343 WIDTH="33%" 344 ALIGN="right" 345 VALIGN="top" 346 >V4L2_PIX_FMT_YUYV ('YUYV')</TD 347 ></TR 348 ></TABLE 349 ></DIV 350 ></BODY 351 ></HTML 352 > 353