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::UncompContextLRC</title> 51 </head> 52 <body> 53 <h1><CODE>nn::cx::UncompContextLRC</CODE> Structure</h1> 54 <h2>Syntax</h2> 55 <div class="section"> 56 <pre class="definition">struct UncompContextLRC 57{ 58 u8 * destp; 59 s32 destCount; 60 s32 forceDestCount; 61 u32 freq9[1<< 9]; 62 u32 low_cnt9[1<< 9]; 63 u32 freq12[1<< 12]; 64 u32 low_cnt12[1<< 12]; 65 u32 total9; 66 u32 total12; 67 u32 range; 68 u32 code; 69 u32 low; 70 u32 carry_cnt; 71 u8 carry; 72 u8 codeLen; 73 u16 length; 74 u8 headerSize; 75}; 76</pre> 77 </div> 78 <h2>Description</h2> 79 <div class="section"> 80 <p>The context for decompressing LZ-RangeCoder compressed data.</p> 81 </div> 82 <a name="variable" id="variable"> 83 <h2>Member Variables</h2> 84 <div class="section"> 85 <table class="members"> 86 <tr> 87 <td width="100"> </td> 88 <th> 89 <span class="argument">destp</span> 90 </th> 91 <td>Write-destination pointer (4 bytes)</td> 92 </tr> 93 <tr> 94 <td width="100"> </td> 95 <th> 96 <span class="argument">destCount</span> 97 </th> 98 <td>Remaining size to write (4 bytes)</td> 99 </tr> 100 <tr> 101 <td width="100"> </td> 102 <th> 103 <span class="argument">forceDestCount</span> 104 </th> 105 <td>Forcibly setting the size of the decompression target (4 bytes)</td> 106 </tr> 107 <tr> 108 <td width="100"> </td> 109 <th> 110 <span class="argument">freq9</span> 111 </th> 112 <td>Frequency table for code data (2048 bytes)</td> 113 </tr> 114 <tr> 115 <td width="100"> </td> 116 <th> 117 <span class="argument">low_cnt9</span> 118 </th> 119 <td><CODE>low_cnt</CODE> table for code data (2048 bytes</td> 120 </tr> 121 <tr> 122 <td width="100"> </td> 123 <th> 124 <span class="argument">freq12</span> 125 </th> 126 <td>Frequency table for offset data (16384 bytes)</td> 127 </tr> 128 <tr> 129 <td width="100"> </td> 130 <th> 131 <span class="argument">low_cnt12</span> 132 </th> 133 <td>Frequency table for <CODE>low_cnt</CODE> data (16384 bytes)</td> 134 </tr> 135 <tr> 136 <td width="100"> </td> 137 <th> 138 <span class="argument">total9</span> 139 </th> 140 <td>Code data total value (4 bytes)</td> 141 </tr> 142 <tr> 143 <td width="100"> </td> 144 <th> 145 <span class="argument">total12</span> 146 </th> 147 <td>Offset data total value (4 bytes)</td> 148 </tr> 149 <tr> 150 <td width="100"> </td> 151 <th> 152 <span class="argument">range</span> 153 </th> 154 <td>Range coder range state (4 bytes)</td> 155 </tr> 156 <tr> 157 <td width="100"> </td> 158 <th> 159 <span class="argument">code</span> 160 </th> 161 <td>Range coder code state (4 bytes)</td> 162 </tr> 163 <tr> 164 <td width="100"> </td> 165 <th> 166 <span class="argument">low</span> 167 </th> 168 <td>Range coder low state (4 bytes)</td> 169 </tr> 170 <tr> 171 <td width="100"> </td> 172 <th> 173 <span class="argument">carry_cnt</span> 174 </th> 175 <td>Range coder carry digit count (4 bytes)</td> 176 </tr> 177 <tr> 178 <td width="100"> </td> 179 <th> 180 <span class="argument">carry</span> 181 </th> 182 <td>Range coder carry state (1 byte)</td> 183 </tr> 184 <tr> 185 <td width="100"> </td> 186 <th> 187 <span class="argument">codeLen</span> 188 </th> 189 <td>Range coder required code length (1 byte)</td> 190 </tr> 191 <tr> 192 <td width="100"> </td> 193 <th> 194 <span class="argument">length</span> 195 </th> 196 <td>LZ compression read length (2 bytes)</td> 197 </tr> 198 <tr> 199 <td width="100"> </td> 200 <th> 201 <span class="argument">headerSize</span> 202 </th> 203 <td>Size of header being read (1 byte)</td> 204 </tr> </table> 205 </div> 206 </a> 207 <hr><p>CONFIDENTIAL</p></body> 208</html>