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> 76 </div> 77 <a name="variable" id="variable"> 78 <h2>Member Variables</h2> 79 <div class="section"> 80 <table class="members"> 81 <tr> 82 <td width="100"> </td> 83 <th> 84 <span class="argument">destp</span> 85 </th> 86 <td>Write-destination pointer (4 bytes)</td> 87 </tr> 88 <tr> 89 <td width="100"> </td> 90 <th> 91 <span class="argument">destCount</span> 92 </th> 93 <td>Remaining size to write (4 bytes)</td> 94 </tr> 95 <tr> 96 <td width="100"> </td> 97 <th> 98 <span class="argument">forceDestCount</span> 99 </th> 100 <td>Forcibly setting the size of the decompression target (4 bytes)</td> 101 </tr> 102 <tr> 103 <td width="100"> </td> 104 <th> 105 <span class="argument">treep</span> 106 </th> 107 <td>Huffman encoding table, current pointer (4 bytes)</td> 108 </tr> 109 <tr> 110 <td width="100"> </td> 111 <th> 112 <span class="argument">srcTmp</span> 113 </th> 114 <td>Data being read (4 bytes)</td> 115 </tr> 116 <tr> 117 <td width="100"> </td> 118 <th> 119 <span class="argument">destTmp</span> 120 </th> 121 <td>Data being decoded (4 bytes)</td> 122 </tr> 123 <tr> 124 <td width="100"> </td> 125 <th> 126 <span class="argument">treeSize</span> 127 </th> 128 <td>Size of Huffman encoding table (2 bytes)</td> 129 </tr> 130 <tr> 131 <td width="100"> </td> 132 <th> 133 <span class="argument">srcTmpCnt</span> 134 </th> 135 <td>Size of data being read (1 bytes)</td> 136 </tr> 137 <tr> 138 <td width="100"> </td> 139 <th> 140 <span class="argument">destTmpCnt</span> 141 </th> 142 <td>Number of bits that have been decoded (1 byte)</td> 143 </tr> 144 <tr> 145 <td width="100"> </td> 146 <th> 147 <span class="argument">bitSize</span> 148 </th> 149 <td>Size of encoded bits (1 byte)</td> 150 </tr> 151 <tr> 152 <td width="100"> </td> 153 <th> 154 <span class="argument">headerSize</span> 155 </th> 156 <td>Size of header being read (1 byte)</td> 157 </tr> 158 <tr> 159 <td width="100"> </td> 160 <th> 161 <span class="argument">tree</span> 162 </th> 163 <td>Huffman encoding table (512 bytes) (32 bytes will suffice for 4-bit encoding, but 8 bits are allocated)</td> 164 </tr> </table> 165 </div> 166 </a> 167 <hr><p>CONFIDENTIAL</p></body> 168</html>