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>CXUncompContextLZ</title> 9<LINK rel="stylesheet" href="../CSS/revolution.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">CXUncompContextLZ</h1> 15<h2>Definitions</h2> 16 17<dl> 18 <dd> 19<PRE><CODE>#include <revolution/cx/CXStreamingUncompression.h></CODE><BR> 20typedef struct 21{ 22u8* destp; // 4B 23s32 destCount; // 4B 24u16 destTmp; // 2B 25u8 destTmpCnt; // 1B 26u8 flags; // 1B 27u8 flagIndex; // 1B 28u8 length; // 1B 29u8 lengthFlg; // 1B 30u8 headerSize; // 1B 31// Total 16B 32} CXUncompContextLZ;</PRE> 33 </dd> 34</dl> 35<h2>Description</h2> 36<P>This is the context structure for saving the state of data uncompression when LZ77-compressed data is being read from the Card and undergoing streaming uncompression. The context is initialized by the <A href="CXInitUncompContextLZ.html">CXInitUncompContextLZ</A> function and used by the <A href="CXReadUncompLZ.html">CXReadUncompLZ</A> function to save the uncompression state.<BR> 37</P> 38<TABLE border="1" width="100%"> 39 <TBODY> 40 <TR> 41<TD width="13%"><EM><STRONG>destp</STRONG></EM></TD> 42<TD width="87%">Pointer to region where uncompressed data will be written</TD> 43 </TR> 44 <TR> 45<TD><EM><STRONG>destCount</STRONG></EM></TD> 46<TD>Remaining write size </TD> 47 </TR> 48 <TR> 49<TD><EM><STRONG>destTmp</STRONG></EM></TD> 50<TD>For storing data while writing</TD> 51 </TR> 52 <TR> 53<TD><EM><STRONG>destTmpCnt</STRONG></EM></TD> 54<TD>For storing data size while writing</TD> 55 </TR> 56 <TR> 57<TD><EM><STRONG>flags</STRONG></EM></TD> 58<TD>For storing compression flag data</TD> 59 </TR> 60 <TR> 61<TD><EM><STRONG>flagIndex</STRONG></EM></TD> 62<TD>For storing the current index of flag data </TD> 63 </TR> 64 <TR> 65<TD width="13%"><EM><STRONG>length</STRONG></EM></TD> 66<TD width="87%">For storing the size of the continuous write </TD> 67 </TR> 68 <TR> 69<TD><EM><STRONG>lengthFlg</STRONG></EM></TD> 70<TD>For storing whether or not <em>offset</em> information spanning 2 bytes is currently being read</TD> 71 </TR> 72 <TR> 73<TD><EM><STRONG>headerSize</STRONG></EM></TD> 74<TD>For storing the compressed header size while reading</TD> 75 </TR> 76 </TBODY> 77</TABLE> 78<h2>See Also</h2> 79<p><CODE><A href="CXInitUncompContextLZ.html">CXInitUncompContextLZ</A>, <A href="CXReadUncompLZ.html">CXReadUncompLZ</A>, <A href="CXUncompContextRL.html">CXUncompContextRL</A>,<A href="CXUncompContextHuffman.html">CXUncompContextHuffman</A><br></CODE></p> 80 81<H2>Revision History</H2> 82<P>07/06/2006 Initial version.</P> 83<hr> 84<P>CONFIDENTIAL</p> 85</BODY> 86</HTML> 87