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 8.0.0.0 for Windows"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<title>CXInitUncompContextLRCFront</title> 9<LINK rel="stylesheet" href="../CSS/revolution.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">CXInitUncompContextLRCFront</h1> 15<h2>Syntax</h2> 16 17<dl> 18 <dd> 19 <PRE><CODE>#include <revolution/cx/CXStreamingUncompression.h></CODE><BR> 20<CODE>void CXInitUncompContextLRCFront( <A href="CXUncompContextLRC.html">CXUncompContextLRC</A> *context, 21 void* dest, 22 s32 destSize );</CODE><br></PRE> 23 </dd> 24</dl> 25<h2>Arguments</h2> 26<TABLE class="arguments" border="1"> 27 <TBODY> 28 <TR> 29 <TH>context</TH> 30 <TD>Pointer to the context structure to be used for streaming expansion of LRC-compressed data.</TD> 31 </TR> 32 <TR> 33 <TH>dest</TH> 34 <TD>Destination buffer for uncompressed data.</TD> 35 </TR> 36 <TR> 37 <TH>destSize</TH> 38 <TD>Maximum amount of data to be uncompressed.</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 decompression of data compressed in LRC format.</P> 48<P>Use this interface for uncompressing only the number of bytes of data specified by <SPAN class="argument">destSize</SPAN>.<BR> To uncompress all data, use the <A href="CXInitUncompContextLRC.html"><CODE>CXInitUncompContextLRC</CODE></A> function.</P> 49<P> 50When the <A href="CXReadUncompLRC.html">CXReadUncompLRC</A> function is executed using this context, data is uncompressed sequentially in the region passed in the <SPAN class="argument">dest</SPAN> argument. 51</P> 52<P> 53If this context is going to be reused, it needs to be reinitialized after the decompression of each file is completed. 54</P> 55 56<h2>See Also</h2> 57<p><A href="CXGetUncompressedSize.html"><CODE>CXGetUncompressedSize</CODE></A><BR> <A href="CXUncompressLRC.html"><CODE>CXUncompressLRC</CODE></A><BR> <A href="CXSecureUncompressLRC.html"><CODE>CXSecureUncompressLRC</CODE></A><BR> <A href="CXReadUncompLRC.html"><CODE>CXReadUncompLRC</CODE></A><BR> <A href="CXIsFinishedUncompLRC.html"><CODE>CXIsFinishedUncompLRC</CODE></A><BR> <A href="../tools/ntcompress.html"><CODE>ntrompress</CODE></A></p> 58 59<H2>Revision History</H2> 60<P>2009/01/28 Initial version.</P> 61<hr><p>CONFIDENTIAL</p></body> 62</html> 63