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