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>Compressed Formats</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="Image Formats" 14HREF="c2030.htm"><LINK 15REL="PREVIOUS" 16TITLE="V4L2_PIX_FMT_NV12 ('NV12'), V4L2_PIX_FMT_NV21 ('NV21')" 17HREF="r5470.htm"><LINK 18REL="NEXT" 19TITLE="Reserved Format Identifiers" 20HREF="x5665.htm"></HEAD 21><BODY 22CLASS="SECTION" 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="r5470.htm" 49ACCESSKEY="P" 50>Prev</A 51></TD 52><TD 53WIDTH="80%" 54ALIGN="center" 55VALIGN="bottom" 56>Chapter 2. Image Formats</TD 57><TD 58WIDTH="10%" 59ALIGN="right" 60VALIGN="bottom" 61><A 62HREF="x5665.htm" 63ACCESSKEY="N" 64>Next</A 65></TD 66></TR 67></TABLE 68><HR 69ALIGN="LEFT" 70WIDTH="100%"></DIV 71><DIV 72CLASS="SECTION" 73><H1 74CLASS="SECTION" 75><A 76NAME="AEN5634" 77>2.6. Compressed Formats</A 78></H1 79><DIV 80CLASS="TABLE" 81><A 82NAME="COMPRESSED-FORMATS" 83></A 84><P 85><B 86>Table 2-7. Compressed Image Formats</B 87></P 88><TABLE 89BORDER="0" 90FRAME="void" 91WIDTH="100%" 92CLASS="CALSTABLE" 93><COL 94WIDTH="38%" 95TITLE="C1"><COL 96WIDTH="12%" 97TITLE="C2"><COL 98WIDTH="50%" 99TITLE="C3"><THEAD 100><TR 101><TH 102>Identifier</TH 103><TH 104>Code</TH 105><TH 106>Details</TH 107></TR 108></THEAD 109><TBODY 110VALIGN="TOP" 111><TR 112><A 113NAME="V4L2-PIX-FMT-JPEG" 114></A 115><TD 116><CODE 117CLASS="CONSTANT" 118>V4L2_PIX_FMT_JPEG</CODE 119></TD 120><TD 121>'JPEG'</TD 122><TD 123>TBD. See also <A 124HREF="r11285.htm" 125><CODE 126CLASS="CONSTANT" 127>VIDIOC_G_JPEGCOMP</CODE 128></A 129>, 130 <A 131HREF="r11285.htm" 132><CODE 133CLASS="CONSTANT" 134>VIDIOC_S_JPEGCOMP</CODE 135></A 136>.</TD 137></TR 138><TR 139><A 140NAME="V4L2-PIX-FMT-MPEG" 141></A 142><TD 143><CODE 144CLASS="CONSTANT" 145>V4L2_PIX_FMT_MPEG</CODE 146></TD 147><TD 148>'MPEG'</TD 149><TD 150>MPEG stream. The actual format is determined by 151extended control <CODE 152CLASS="CONSTANT" 153>V4L2_CID_MPEG_STREAM_TYPE</CODE 154>, see 155<A 156HREF="x802.htm#MPEG-CONTROL-ID" 157>Table 1-2</A 158>.</TD 159></TR 160></TBODY 161></TABLE 162></DIV 163></DIV 164><DIV 165CLASS="NAVFOOTER" 166><HR 167ALIGN="LEFT" 168WIDTH="100%"><TABLE 169SUMMARY="Footer navigation table" 170WIDTH="100%" 171BORDER="0" 172CELLPADDING="0" 173CELLSPACING="0" 174><TR 175><TD 176WIDTH="33%" 177ALIGN="left" 178VALIGN="top" 179><A 180HREF="r5470.htm" 181ACCESSKEY="P" 182>Prev</A 183></TD 184><TD 185WIDTH="34%" 186ALIGN="center" 187VALIGN="top" 188><A 189HREF="book1.htm" 190ACCESSKEY="H" 191>Home</A 192></TD 193><TD 194WIDTH="33%" 195ALIGN="right" 196VALIGN="top" 197><A 198HREF="x5665.htm" 199ACCESSKEY="N" 200>Next</A 201></TD 202></TR 203><TR 204><TD 205WIDTH="33%" 206ALIGN="left" 207VALIGN="top" 208>V4L2_PIX_FMT_NV12 ('NV12'), V4L2_PIX_FMT_NV21 ('NV21')</TD 209><TD 210WIDTH="34%" 211ALIGN="center" 212VALIGN="top" 213><A 214HREF="c2030.htm" 215ACCESSKEY="U" 216>Up</A 217></TD 218><TD 219WIDTH="33%" 220ALIGN="right" 221VALIGN="top" 222>Reserved Format Identifiers</TD 223></TR 224></TABLE 225></DIV 226></BODY 227></HTML 228> 229