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      span.virtual_style
22      {
23        font-size			 : 8pt;
24        color				 : white;
25        font-weight			: bold;
26        background			: #0a0;
27        border-left			: solid 1px #0f0;
28        border-top			: solid 1px #0f0;
29        border-right		: solid 1px #060;
30        border-bottom		: solid 1px #060;
31        padding-left		: 2px;
32        padding-right		: 2px;
33      }
34      span.protected_style
35      {
36        font-size			 : 8pt;
37        color				 : white;
38        font-weight			: bold;
39        background			: #444;
40        border-left			: solid 1px #ccc;
41        border-top			: solid 1px #ccc;
42        border-right		: solid 1px #222;
43        border-bottom		: solid 1px #222;
44        padding-left		: 2px;
45        padding-right		: 2px;
46      }
47        --></style>
48<title>nn::cx::UncompContextHuffman</title>
49  </head>
50  <body>
51<h1><CODE>nn::cx::UncompContextHuffman</CODE> Structure</h1>
52<h2>Syntax</h2>
53    <div class="section">
54      <pre class="definition">struct UncompContextHuffman
55{
56   u8 * destp;
57   s32 destCount;
58   s32 forceDestCount;
59   u8 * treep;
60   u32 srcTmp;
61   u32 destTmp;
62   s16 treeSize;
63   u8 srcTmpCnt;
64   u8 destTmpCnt;
65   u8 bitSize;
66   u8 headerSize;
67   u8 tree[0x200];
68};
69</pre>
70    </div>
71<h2>Description</h2>
72    <div class="section">
73<p>The context for decompressing Huffman compressed data.</p><!-- write here --></div>
74    <a name="variable" id="variable">
75<h2>Member Variables</h2>
76      <div class="section">
77        <table class="members">
78          <tr>
79            <td width="100"> </td>
80            <th>
81<span class="argument">destp</span>
82            </th>
83<td>Write-destination pointer</td>
84          </tr>
85          <tr>
86            <td width="100"> </td>
87            <th>
88<span class="argument">destCount</span>
89            </th>
90<td>Remaining write size</td>
91          </tr>
92          <tr>
93            <td width="100"> </td>
94            <th>
95<span class="argument">forceDestCount</span>
96            </th>
97<td>Forcibly sets the size of the decompression target</td>
98          </tr>
99          <tr>
100            <td width="100"> </td>
101            <th>
102<span class="argument">treep</span>
103            </th>
104<td>Huffman encoding table, current pointer</td>
105          </tr>
106          <tr>
107            <td width="100"> </td>
108            <th>
109<span class="argument">srcTmp</span>
110            </th>
111<td>Data being read</td>
112          </tr>
113          <tr>
114            <td width="100"> </td>
115            <th>
116<span class="argument">destTmp</span>
117            </th>
118<td>Data being decoded</td>
119          </tr>
120          <tr>
121            <td width="100"> </td>
122            <th>
123<span class="argument">treeSize</span>
124            </th>
125<td>Size of Huffman encoding table</td>
126          </tr>
127          <tr>
128            <td width="100"> </td>
129            <th>
130<span class="argument">srcTmpCnt</span>
131            </th>
132<td>Size of data being read</td>
133          </tr>
134          <tr>
135            <td width="100"> </td>
136            <th>
137<span class="argument">destTmpCnt</span>
138            </th>
139<td>Number of bits that have been decoded</td>
140          </tr>
141          <tr>
142            <td width="100"> </td>
143            <th>
144<span class="argument">bitSize</span>
145            </th>
146<td>Encoded bit size</td>
147          </tr>
148          <tr>
149            <td width="100"> </td>
150            <th>
151<span class="argument">headerSize</span>
152            </th>
153<td>Size of header being read</td>
154          </tr>
155          <tr>
156            <td width="100"> </td>
157            <th>
158<span class="argument">tree</span>
159            </th>
160<td>Huffman encoding table</td>
161          </tr> </table>
162      </div>
163    </a>
164<h2>Revision History</h2>
165    <div class="section">
166      <dl class="history">
167        <dt>2010/11/10</dt>
168<dd>Initial version.<br />
169        </dd>
170      </dl>
171    </div>
172  <hr><p>CONFIDENTIAL</p></body>
173</html>
174