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_InitUncompContextRL</title> 9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">MI_InitUncompContextRL <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_InitUncompContextRL( <A href="MIUncompContextRL.html">MIUncompContextRL</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 RL-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 RL-compressed data The 4-byte header portion of the compressed data must be loaded in advance. When the <code><a href="MI_ReadUncompRL.html">MI_ReadUncompRL8</a></code> function or <code><a href="MI_ReadUncompRL.html">MI_ReadUncompRL16</a></code> 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 49<h2>See Also</h2> 50<p><a href="MI_UncompressRL.html"><code>MI_UncompressRL*</code></a>, <a href="MI_ReadUncompRL.html"><code>MI_ReadUncompRL*</code></a>, <a href="MIUncompContextRL.html"><code>MIUncompContextRL</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_InitUncompContextHuffman</code></a></p> 51 52<H2>Revision History</H2> 53<P>2004/11/30 Initial version.</P> 54<hr><p>CONFIDENTIAL</p></body> 55</html> 56