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_InitUncompContextHuffman</title> 9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">MI_InitUncompContextHuffman <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_InitUncompContextHuffman( <A href="MIUncompContextHuffman.html">MIUncompContextHuffman</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 Huffman-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 Huffman-compressed data The 4-byte header portion of the compressed data must be loaded in advance. When the <A href="MI_ReadUncompHuffman.html"><CODE>MI_ReadUncompHuffman()</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_UncompressHuffman.html"><code>MI_UncompressHuffman*</code></a>, <a href="MI_ReadUncompHuffman.html"><code>MI_ReadUncompHuffman*</code></a>, <a href="MIUncompContextHuffman.html"><code>MIUncompContextHuffman</code></a>, <a href="MICompressionHeader.html"><code>MICompressionHeader</code></a>, <a href="MI_InitUncompContextLZ.html"><code>MI_InitUncompContextLZ</code></a>, <a href="MI_InitUncompContextRL.html"><code>MI_InitUncompContextRL</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