1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<title>MICompressionHeader</title> 9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">MICompressionHeader <IMG src="../../image/NTR.gif" align="middle"><IMG src="../../image/TWL.gif" align="middle"></h1> 15<h2>Definition</h2> 16 17<dl> 18 <dd> 19 <PRE><CODE>#include <nitro/mi/uncompress.h></CODE><BR> 20typedef struct { 21 u32 compParam :4; 22 u32 compType :4; 23 u32 destSize :24; 24 25} MICompressionHeader; 26</PRE> 27 </dd> 28</dl> 29<h2>Description</h2> 30<P>This is the compressed data's header structure. All formats of compressed data supported by the SDK start with this header. <BR> 31</P> 32<TABLE border="1" width="100%"> 33 <TBODY> 34 <TR> 35 <TD width="13%"><EM><STRONG>compParam</STRONG></EM></TD> 36 <TD width="87%">Stores the compression parameters for the given compression format.</TD> 37 </TR> 38 <TR> 39 <TD><B><I>compType</I></B></TD> 40 <TD>The compression type.<br />For details on types, refer to the <CODE><A href="MI_GetCompressionType.html">MI_GetCompressionType</A></CODE> function.</TD> 41 </TR> 42 <TR> 43 <TD><EM><STRONG>destSize</STRONG></EM></TD> 44 <TD>The data size after uncompression.<br />This is the same value as that obtained from the <CODE><A href="MI_GetUncompressedSize.html">MI_GetUncompressedSize</A></CODE> function.</TD> 45 </TR> 46 </TBODY> 47</TABLE> 48<h2>See Also</h2> 49<p><a href="MI_GetCompressionType.html"><code>MI_GetCompressionType</code></a>, <a href="MI_GetUncompressedSize.html"><code>MI_GetUncompressedSize</code></a></p> 50 51<H2>Revision History</H2> 52<P>2004/11/30 Initial version.</P> 53<hr><p>CONFIDENTIAL</p></body> 54</html> 55