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::UncompContextLH</title> 49 </head> 50 <body> 51<h1><CODE><a href="../../../nn/Overview.html">nn</a>::<a href="../../../nn/cx/Overview.html">cx</a>::UncompContextLH</CODE> Structure</h1> 52<h2>Syntax</h2> 53 <div class="section"> 54<pre class="definition">struct UncompContextLH 55{ 56 u8 * destp; 57 s32 destCount; 58 s32 forceDestCount; 59 u16 huffTable9[1<< (9+1)]; 60 u16 huffTable12[1<< (5+1)]; 61 u16 * nodep; 62 s32 tableSize9; 63 s32 tableSize12; 64 u32 tableIdx; 65 u32 stream; 66 u32 stream_len; 67 u16 length; 68 s8 offset_bits; 69 u8 headerSize; 70}; 71</pre> 72 </div> 73<h2>Description</h2> 74 <div class="section"> 75<p>The context for decompressing LZ-Huffman compressed data.</p><!-- write here --></div> 76 <a name="variable" id="variable"> 77<h2>Member Variables</h2> 78 <div class="section"> 79 <table class="members"> 80 <tr> 81 <td width="100"> </td> 82 <th> 83<span class="argument">destp</span> 84 </th> 85<td width="100">u8*</td> 86<td>Write-destination pointer</td> 87 </tr> 88 <tr> 89 <td width="100"> </td> 90 <th> 91<span class="argument">destCount</span> 92 </th> 93<td width="100">s32</td> 94<td>Remaining write size</td> 95 </tr> 96 <tr> 97 <td width="100"> </td> 98 <th> 99<span class="argument">forceDestCount</span> 100 </th> 101<td width="100">s32</td> 102<td>Forcibly sets the size of the decompression target</td> 103 </tr> 104 <tr> 105 <td width="100"> </td> 106 <th> 107<span class="argument">huffTable9</span> 108 </th> 109<td width="100">u16</td> 110<td>Huffman encoding table</td> 111 </tr> 112 <tr> 113 <td width="100"> </td> 114 <th> 115<span class="argument">huffTable12</span> 116 </th> 117<td width="100">u16</td> 118<td>Huffman encoding table</td> 119 </tr> 120 <tr> 121 <td width="100"> </td> 122 <th> 123<span class="argument">nodep</span> 124 </th> 125<td width="100">u16*</td> 126<td>Node being searched for in the Huffman table</td> 127 </tr> 128 <tr> 129 <td width="100"> </td> 130 <th> 131<span class="argument">tableSize9</span> 132 </th> 133<td width="100">s32</td> 134<td>Size of table being read</td> 135 </tr> 136 <tr> 137 <td width="100"> </td> 138 <th> 139<span class="argument">tableSize12</span> 140 </th> 141<td width="100">s32</td> 142<td>Size of table being read</td> 143 </tr> 144 <tr> 145 <td width="100"> </td> 146 <th> 147<span class="argument">tableIdx</span> 148 </th> 149<td width="100">u32</td> 150<td>Table load position index</td> 151 </tr> 152 <tr> 153 <td width="100"> </td> 154 <th> 155<span class="argument">stream</span> 156 </th> 157<td width="100">u32</td> 158<td>Bitstream for loading</td> 159 </tr> 160 <tr> 161 <td width="100"> </td> 162 <th> 163<span class="argument">stream_len</span> 164 </th> 165<td width="100">u32</td> 166<td>Number of active bits in stream for loading</td> 167 </tr> 168 <tr> 169 <td width="100"> </td> 170 <th> 171<span class="argument">length</span> 172 </th> 173<td width="100">u16</td> 174<td>LZ compression load length</td> 175 </tr> 176 <tr> 177 <td width="100"> </td> 178 <th> 179<span class="argument">offset_bits</span> 180 </th> 181<td width="100">s8</td> 182<td>Offset information bit length</td> 183 </tr> 184 <tr> 185 <td width="100"> </td> 186 <th> 187<span class="argument">headerSize</span> 188 </th> 189<td width="100">u8</td> 190<td>Size of header being read</td> 191 </tr> </table> 192 </div> 193 </a> 194<h2>Revision History</h2> 195 <div class="section"> 196 <dl class="history"> 197 <dt>2010/11/10</dt> 198<dd>Initial version.<br /> 199 </dd> 200 </dl> 201 </div> 202 <hr><p>CONFIDENTIAL</p></body> 203</html> 204