1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
3  <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5    <meta http-equiv="Content-Style-Type" content="text/css" />
6    <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" />
7    <style type="text/css"><!--
8      span.static_style
9      {
10        font-size			: 8pt;
11        color				: white;
12        font-weight			: bold;
13        background			: #44f;
14        border-left			: solid 1px #aaf;
15        border-top			: solid 1px #aaf;
16        border-right		: solid 1px #00c;
17        border-bottom		: solid 1px #00c;
18        padding-left		: 2px;
19        padding-right		: 2px;
20      }
21
22      span.virtual_style
23      {
24        font-size			 : 8pt;
25        color				 : white;
26        font-weight			: bold;
27        background			: #0a0;
28        border-left			: solid 1px #0f0;
29        border-top			: solid 1px #0f0;
30        border-right		: solid 1px #060;
31        border-bottom		: solid 1px #060;
32        padding-left		: 2px;
33        padding-right		: 2px;
34      }
35
36      span.protected_style
37      {
38        font-size			 : 8pt;
39        color				 : white;
40        font-weight			: bold;
41        background			: #444;
42        border-left			: solid 1px #ccc;
43        border-top			: solid 1px #ccc;
44        border-right		: solid 1px #222;
45        border-bottom		: solid 1px #222;
46        padding-left		: 2px;
47        padding-right		: 2px;
48      }
49        --></style>
50    <title>nn::cx::UncompContextLH</title>
51  </head>
52  <body>
53    <h1><CODE>nn::cx::UncompContextLH</CODE> Structure</h1>
54    <h2>Syntax</h2>
55    <div class="section">
56      <pre class="definition">struct UncompContextLH
57{
58   u8 * destp;
59   s32 destCount;
60   s32 forceDestCount;
61   u16 huffTable9[1&lt;&lt; (9+1)];
62   u16 huffTable12[1&lt;&lt; (5+1)];
63   u16 * nodep;
64   s32 tableSize9;
65   s32 tableSize12;
66   u32 tableIdx;
67   u32 stream;
68   u32 stream_len;
69   u16 length;
70   s8 offset_bits;
71   u8 headerSize;
72};
73</pre>
74    </div>
75    <h2>Description</h2>
76    <div class="section">
77      <p>The context for decompressing LZ-Huffman compressed data.</p>
78    </div>
79    <a name="variable" id="variable">
80      <h2>Member Variables</h2>
81      <div class="section">
82        <table class="members">
83          <tr>
84            <td width="100"> </td>
85            <th>
86              <span class="argument">destp</span>
87            </th>
88            <td>Write-destination pointer (4 bytes)</td>
89          </tr>
90          <tr>
91            <td width="100"> </td>
92            <th>
93              <span class="argument">destCount</span>
94            </th>
95            <td>Remaining size to write (4 byes)</td>
96          </tr>
97          <tr>
98            <td width="100"> </td>
99            <th>
100              <span class="argument">forceDestCount</span>
101            </th>
102            <td>Forcibly setting the size of the decompression target (4 bytes)</td>
103          </tr>
104          <tr>
105            <td width="100"> </td>
106            <th>
107              <span class="argument">huffTable9</span>
108            </th>
109            <td>Huffman encoding table (2048 bytes)</td>
110          </tr>
111          <tr>
112            <td width="100"> </td>
113            <th>
114              <span class="argument">huffTable12</span>
115            </th>
116            <td>Huffman encoding table (128 bytes)</td>
117          </tr>
118          <tr>
119            <td width="100"> </td>
120            <th>
121              <span class="argument">nodep</span>
122            </th>
123            <td>Node being searched for in the Huffman table (4 bytes)</td>
124          </tr>
125          <tr>
126            <td width="100"> </td>
127            <th>
128              <span class="argument">tableSize9</span>
129            </th>
130            <td>Size of table being read (4 bytes)</td>
131          </tr>
132          <tr>
133            <td width="100"> </td>
134            <th>
135              <span class="argument">tableSize12</span>
136            </th>
137            <td>Size of table being read (4 bytes)</td>
138          </tr>
139          <tr>
140            <td width="100"> </td>
141            <th>
142              <span class="argument">tableIdx</span>
143            </th>
144            <td>Table load position index (4 bytes)</td>
145          </tr>
146          <tr>
147            <td width="100"> </td>
148            <th>
149              <span class="argument">stream</span>
150            </th>
151            <td>Bitstream to read (4 bytes)</td>
152          </tr>
153          <tr>
154            <td width="100"> </td>
155            <th>
156              <span class="argument">stream_len</span>
157            </th>
158            <td>Number of active bits in stream to read (4 bytes)</td>
159          </tr>
160          <tr>
161            <td width="100"> </td>
162            <th>
163              <span class="argument">length</span>
164            </th>
165            <td>LZ compression read length (2 bytes)</td>
166          </tr>
167          <tr>
168            <td width="100"> </td>
169            <th>
170              <span class="argument">offset_bits</span>
171            </th>
172            <td>Offset information bit length (1 bytes)</td>
173          </tr>
174          <tr>
175            <td width="100"> </td>
176            <th>
177              <span class="argument">headerSize</span>
178            </th>
179            <td>Size of header being read (1 byte) </td>
180          </tr> </table>
181      </div>
182    </a>
183  <hr><p>CONFIDENTIAL</p></body>
184</html>