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>MI_InitUncompContextLZ</title> 9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">MI_InitUncompContextLZ <IMG src="../../image/NTR.gif" align="middle"><IMG src="../../image/TWL.gif" align="middle"></h1> 15<h2>Syntax</h2> 16 17<dl> 18 <dd> 19 <PRE><CODE>#include <nitro/mi/uncomp_stream.h></CODE><BR> 20 <CODE>void MI_InitUncompContextLZ( <A href="MIUncompContextLZ.html">MIUncompContextLZ</A> *context, 21 u8* dest, 22 const <A href="MICompressionHeader.html">MICompressionHeader</A>* header );</CODE><br></PRE> 23 </dd> 24</dl> 25<h2>Arguments</h2> 26<TABLE border="1" width="100%"> 27 <TBODY> 28 <TR> 29 <TD width="13%"><EM><STRONG><em><strong><code>context</code></strong></em> </STRONG></EM></TD> 30 <TD width="87%">Pointer to the context structure to be used for streaming uncompression of LZ77-compressed data.</TD> 31 </TR> 32 <TR> 33 <TD width="13%"><EM><STRONG>dest</STRONG></EM></TD> 34 <TD width="87%">Specifies the destination buffer for uncompressed data.</TD> 35 </TR> 36 <TR> 37 <TD><EM><STRONG><code>header</code> </strong></em></STRONG></EM></TD> 38 <TD>Passes the previously obtained header of the compressed data and passes it as the argument.</TD> 39 </TR> 40 </TBODY> 41</TABLE> 42 43<h2>Return Values</h2> 44<p>None.</p> 45 46<H2>Description</H2> 47<P>Initializes the context structure for streaming uncompression of LZ77-compressed data The 4-byte header portion of the compressed data must be loaded in advance. When the <A href="MI_ReadUncompLZ.html"><CODE>MI_ReadUncompLZ8</CODE></A> function or <A href="MI_ReadUncompLZ.html"><CODE>MI_ReadUncompLZ16</CODE></A> function is called using this context, the next set of data gets uncompressed in the region passed by the <em><strong>dest</strong></em> argument.</P> 48<h2>See Also</h2> 49<p><a href="MI_UncompressLZ.html"><code>MI_UncompressLZ*</code></a>, <a href="MI_ReadUncompLZ.html"><code>MI_ReadUncompLZ*</code></a>, <a href="MIUncompContextLZ.html"><code>MIUncompContextLZ</code></a>, <a href="MICompressionHeader.html"><code>MICompressionHeader</code></a>, <a href="MI_InitUncompContextRL.html"><code>MI_InitUncompContextRL</code></a>, <a href="MI_InitUncompContextHuffman.html"><code>MI_InitUncompContextHuffman</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