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::UncompContextHuffman</title> 51 </head> 52 <body> 53<h1><CODE><a href="../../../nn/Overview.html">nn</a>::<a href="../../../nn/cx/Overview.html">cx</a>::UncompContextHuffman</CODE> Structure</h1> 54 <div class="section"> 55<B>Header file:</B> <CODE>nn/cx.h</CODE> </div> 56<h2>Syntax</h2> 57 <div class="section"> 58 <pre class="definition">struct UncompContextHuffman 59{ 60 <a href="../../../nn_types/u8.html">u8</a> * destp; 61 <a href="../../../nn_types/s32.html">s32</a> destCount; 62 <a href="../../../nn_types/s32.html">s32</a> forceDestCount; 63 <a href="../../../nn_types/u8.html">u8</a> * treep; 64 <a href="../../../nn_types/u32.html">u32</a> srcTmp; 65 <a href="../../../nn_types/u32.html">u32</a> destTmp; 66 <a href="../../../nn_types/s16.html">s16</a> treeSize; 67 <a href="../../../nn_types/u8.html">u8</a> srcTmpCnt; 68 <a href="../../../nn_types/u8.html">u8</a> destTmpCnt; 69 <a href="../../../nn_types/u8.html">u8</a> bitSize; 70 <a href="../../../nn_types/u8.html">u8</a> headerSize; 71 <a href="../../../nn_types/u8.html">u8</a> tree[0x200]; 72}; 73</pre> 74 </div> 75<h2>Description</h2> 76 <div class="section"> 77<p>The context for decompressing Huffman compressed data.</p><!-- write here --></div> 78 <a name="variable" id="variable"> 79<h2>Member Variables</h2> 80 <div class="section"> 81 <table class="members"> 82 <tr> 83 <td width="100"> </td> 84 <th> 85<span class="argument">destp</span> 86 </th> 87<td width="100"><a href="../../../nn_types/u8.html">u8</a> *</td> 88<td>Write-destination pointer</td> 89 </tr> 90 <tr> 91 <td width="100"> </td> 92 <th> 93<span class="argument">destCount</span> 94 </th> 95<td width="100"><a href="../../../nn_types/s32.html">s32</a></td> 96<td>Remaining write size</td> 97 </tr> 98 <tr> 99 <td width="100"> </td> 100 <th> 101<span class="argument">forceDestCount</span> 102 </th> 103<td width="100"><a href="../../../nn_types/s32.html">s32</a></td> 104<td>Forcibly sets the size of the decompression target</td> 105 </tr> 106 <tr> 107 <td width="100"> </td> 108 <th> 109<span class="argument">treep</span> 110 </th> 111<td width="100"><a href="../../../nn_types/u8.html">u8</a> *</td> 112<td>Huffman encoding table, current pointer</td> 113 </tr> 114 <tr> 115 <td width="100"> </td> 116 <th> 117<span class="argument">srcTmp</span> 118 </th> 119<td width="100"><a href="../../../nn_types/u32.html">u32</a></td> 120<td>Data being read</td> 121 </tr> 122 <tr> 123 <td width="100"> </td> 124 <th> 125<span class="argument">destTmp</span> 126 </th> 127<td width="100"><a href="../../../nn_types/u32.html">u32</a></td> 128<td>Data being decoded</td> 129 </tr> 130 <tr> 131 <td width="100"> </td> 132 <th> 133<span class="argument">treeSize</span> 134 </th> 135<td width="100"><a href="../../../nn_types/s16.html">s16</a></td> 136<td>Size of Huffman encoding table</td> 137 </tr> 138 <tr> 139 <td width="100"> </td> 140 <th> 141<span class="argument">srcTmpCnt</span> 142 </th> 143<td width="100"><a href="../../../nn_types/u8.html">u8</a></td> 144<td>Size of data being read</td> 145 </tr> 146 <tr> 147 <td width="100"> </td> 148 <th> 149<span class="argument">destTmpCnt</span> 150 </th> 151<td width="100"><a href="../../../nn_types/u8.html">u8</a></td> 152<td>Number of bits that have been decoded</td> 153 </tr> 154 <tr> 155 <td width="100"> </td> 156 <th> 157<span class="argument">bitSize</span> 158 </th> 159<td width="100"><a href="../../../nn_types/u8.html">u8</a></td> 160<td>Encoded bit size</td> 161 </tr> 162 <tr> 163 <td width="100"> </td> 164 <th> 165<span class="argument">headerSize</span> 166 </th> 167<td width="100"><a href="../../../nn_types/u8.html">u8</a></td> 168<td>Size of header being read</td> 169 </tr> 170 <tr> 171 <td width="100"> </td> 172 <th> 173<span class="argument">tree</span> 174 </th> 175<td width="100"><a href="../../../nn_types/u8.html">u8</a></td> 176<td>Huffman encoding table</td> 177 </tr> </table> 178 </div> 179 </a> 180<h2>Revision History</h2> 181 <div class="section"> 182 <dl class="history"> 183 <dt>2010/11/10</dt> 184<dd>Initial version.<br /> 185 </dd> 186 </dl> 187 </div> 188 <hr><p>CONFIDENTIAL</p></body> 189</html>