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>CXUncompContextLRC</title>
9<LINK rel="stylesheet" href="../CSS/revolution.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">CXUncompContextLRC</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    u32  freq9[ 0x200 ];       //  2048B
25    u32  low_cnt9[ 0x200 ];    //  2048B
26    u32  freq12[ 0x1000 ];     // 16384B
27    u32  low_cnt12[ 0x1000 ];  // 16384B
28    u32  total9;               //     4B
29    u32  total12;              //     4B
30    u32  range;                //     4B
31    u32  code;                 //     4B
32    u32  low;                  //     4B
33    u32  carry_cnt;            //     4B
34    u8   carry;                //     1B
35    u8   codeLen;              //     1B
36    u16  length;               //     2B
37    u32  headerSize;           //     4B
38                            // Total 36904B
39} CXUncompContextLRC;</PRE>
40  </dd>
41</dl>
42<h2>Description</h2>
43<P>Context structure where the status of data uncompression is stored when LRC-compressed data is undergoing streaming uncompression while being read from the card.<BR>The context is initialized by the <A href="CXInitUncompContextLRC.html"><CODE>CXInitUncompContextLRC</CODE></A> function and used by the <A href="CXReadUncompLRC.html"><CODE>CXReadUncompLRC</CODE></A> function to store the uncompression status.<BR>
44</P>
45<TABLE class="arguments" border="1" width="100%">
46  <TBODY>
47    <TR>
48<TH width="13%">destp</TH>
49<TD width="87%">Pointer to the region where uncompressed data will be written</TD>
50    </TR>
51    <TR>
52<TH>destCount</TH>
53<TD>Remaining write size </TD>
54    </TR>
55    <TR>
56<TH>forceDestCount</TH>
57<TD>Decompression size.</TD>
58    </TR>
59    <TR>
60<TH>freq9</TH>
61<TD>Frequency table for code data.</TD>
62    </TR>
63    <TR>
64<TH>low_cnt9</TH>
65<TD><CODE>low_cnt</CODE> table for code data.</TD>
66    </TR>
67    <TR>
68<TH>freq12</TH>
69<TD>Frequency table for offset data.</TD>
70    </TR>
71    <TR>
72<TH>low_cnt12</TH>
73<TD><CODE>low_cnt</CODE> table for offset data.</TD>
74    </TR>
75    <TR>
76<TH>total9</TH>
77<TD>Total value for code data.</TD>
78    </TR>
79    <TR>
80<TH>total12</TH>
81<TD>Total value for offset data.</TD>
82    </TR>
83    <TR>
84<TH>range</TH>
85<TD>Range status of range coda.</TD>
86    </TR>
87    <TR>
88<TH>code</TH>
89<TD>Code status of range coda.</TD>
90    </TR>
91    <TR>
92<TH>low</TH>
93<TD>Low status of range coda.</TD>
94    </TR>
95    <TR>
96<TH>carry_cnt</TH>
97<TD>Number of carry digits for range coda.</TD>
98    </TR>
99    <TR>
100<TH>carry</TH>
101<TD>Carry status of range coda.</TD>
102    </TR>
103    <TR>
104<TH>codeLen</TH>
105<TD>Required code length for range coda.</TD>
106    </TR>
107    <TR>
108<TH>len</TH>
109<TD>LZ compression capture length.</TD>
110    </TR>
111    <TR>
112<TH>headerSize</TH>
113<TD>Size of header being read. </TD>
114    </TR>
115  </TBODY>
116</TABLE>
117<h2>See Also</h2>
118<p><A href="CXInitUncompContextLRC.html"><CODE>CXInitUncompContextLRC</CODE></A><BR> <A href="CXReadUncompLRC.html"><CODE>CXReadUncompLRC</CODE></A><BR> <A href="CXUncompContextRL.html"><CODE>CXUncompContextRL</CODE></A><br> <A href="CXUncompContextHuffman.html"><CODE>CXUncompContextHuffman</CODE></A></p>
119
120<H2>Revision History</H2>
121<P>2009/01/28 Initial version.</P>
122<hr><p>CONFIDENTIAL</p></body>
123</html>
124