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