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=utf-8">
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
16<h2>Definition</h2>
17<DL><DD><PRE class="construction">
18#include &lt;revolution/cx/CXStreamingUncompression.h&gt;
19
20typedef struct
21{
22    u8* destp;        // 4B
23    s32 destCount;    // 4B
24    s32 forceDestCount; // 4B
25    s32 length;         // 4B
26    u8      lengthFlg ;     // 1B
27    u8      flags ;         // 1B
28    u8  flagIndex;      // 1B
29    u8  headerSize;     // 1B
30    u8  exFormat;       // 1B
31    u8  padding_[3];    // 3B
32                     // Total 24B
33} CXUncompContextLZ;
34</PRE></dd></dl>
35
36<h2>Description</h2>
37<P>This is the context structure for saving the state of data uncompression when LZ77-compressed or LZ77 extended-compressed data is being read from the card and is undergoing streaming uncompression.<BR>The context is initialized by the <A href="CXInitUncompContextLZ.html"><CODE>CXInitUncompContextLZ</CODE></A> function and used by the <A href="CXReadUncompLZ.html"><CODE>CXReadUncompLZ</CODE></A> function to save the uncompression state.<BR>
38</P>
39<TABLE class="arguments" border="1">
40  <TBODY>
41    <TR>
42<TH>destp</TH>
43<TD>Pointer to the destination region where uncompressed data will be written.</TD>
44    </TR>
45    <TR>
46<TH>destCount</TH>
47<TD>Remaining write size.</TD>
48    </TR>
49    <TR>
50<TH>forceDestCount</TH>
51<TD>Uncompression destination size that is forcibly set.</TD>
52    </TR>
53    <TR>
54<TH>length</TH>
55<TD>For storing the size of continuous write.</TD>
56    </TR>
57    <TR>
58<TH>lengthFlg</TH>
59<TD>For storing whether or not offset information spanning 2 bytes is currently being read.</TD>
60    </TR>
61    <TR>
62<TH>flags</TH>
63<TD>For storing compression flag data.</TD>
64    </TR>
65    <TR>
66<TH>flagIndex</TH>
67<TD>For storing the current index of flag data.</TD>
68    </TR>
69    <TR>
70<TH>headerSize</TH>
71<TD>For storing the compressed header size while reading.</TD>
72    </TR>
73    <TR>
74<TH>exFormat</TH>
75<TD>LZ77 extended compression option.</TD>
76    </TR>
77  </TBODY>
78</TABLE>
79
80<h2>See Also</h2>
81<P class="reference">
82<A href="CXInitUncompContextLZ.html">CXInitUncompContextLZ</A><BR> <A href="CXReadUncompLZ.html">CXReadUncompLZ</A><BR><A href="CXUncompContextRL.html">CXUncompContextRL</A><BR><A href="CXUncompContextHuffman.html">CXUncompContextHuffman</A>
83</P>
84
85<H2>Revision History</H2>
86<P>
872009/09/25 Explained data compressed in the LZ77 extended-compression format.<BR>2006/09/03 Reflected changes to the structure definition.<BR>2006/07/06 Initial version.<BR>
88</P>
89
90<hr><p>CONFIDENTIAL</p></body>
91</html>
92