1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 8.0.0.0 for Windows"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<title>CXUncompContextLH</title> 9<LINK rel="stylesheet" href="../CSS/revolution.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">CXUncompContextLH</h1> 15<h2>Definitions</h2> 16 17<dl> 18 <dd> 19 <PRE><CODE>#include <revolution/cx/CXStreamingUncompression.h></CODE><BR> 20typedef struct 21{ 22 u8* destp; // 4B 23 s32 destCount; // 4B 24 u16 huffTable9[ 0x400 ]; // 2048B 25 u16 huffTable12[ 0x40 ]; // 128B 26 u16* nodep; // 4B 27 s32 tableSize9; // 4B 28 s32 tableSize12; // 4B 29 u32 tableIdx; // 4B 30 u32 stream; // 4B 31 u32 stream_len; // 4B 32 u32 headerSize; // 4B 33 u16 length; // 2B 34 s8 offset_bits; // 1B 35 u8 padding_[1]; // 1B 36 // Total 2216B 37} CXUncompContextLH;</PRE> 38 </dd> 39</dl> 40<h2>Description</h2> 41<P>Context structure where the status of data uncompression is stored when LH-compressed data is undergoing streaming uncompression while being read from the Card.<BR>The context is initialized by the <A href="CXInitUncompContextLH.html"><CODE>CXInitUncompContextLH</CODE></A> function and used by the <A href="CXReadUncompLH.html"><CODE>CXReadUncompLH</CODE></A> function to store the uncompression status.<BR> 42</P> 43<TABLE class="arguments" border="1" width="100%"> 44 <TBODY> 45 <TR> 46<TH width="13%">destp</TH> 47<TD width="87%">Pointer to destination region where uncompressed data will be written.</TD> 48 </TR> 49 <TR> 50<TH>destCount</TH> 51<TD>Remaining write size.</TD> 52 </TR> 53 <TR> 54<TH>forceDestCount</TH> 55<TD>Decompression size.</TD> 56 </TR> 57 <TR> 58<TH>huffTable9</TH> 59<TD>For backing up the Huffman encoding table for data and current pointer.</TD> 60 </TR> 61 <TR> 62<TH>huffTable12</TH> 63<TD>For backing up the Huffman encoding table for offset and current pointer.</TD> 64 </TR> 65 <TR> 66<TH>nodep</TH> 67<TD>Node being searched for in the Huffman table.</TD> 68 </TR> 69 <TR> 70<TH>tableSize9</TH> 71<TD>Table size for data being loaded.</TD> 72 </TR> 73 <TR> 74<TH>tableSize12</TH> 75<TD>Table size for offset being loaded.</TD> 76 </TR> 77 <TR> 78<TH>tableIdx</TH> 79<TD>Table load position index.</TD> 80 </TR> 81 <TR> 82<TH>stream</TH> 83<TD> Bitstream for loading.</TD> 84 </TR> 85 <TR> 86<TH>stream_len</TH> 87<TD>Number of active bits in stream for loading.</TD> 88 </TR> 89 <TR> 90<TH>length</TH> 91<TD>LZ compression capture length.</TD> 92 </TR> 93 <TR> 94<TH>offset_bits</TH> 95<TD>Bit length of offset information.</TD> 96 </TR> 97 <TR> 98<TH>headerSize</TH> 99<TD>Size of header being read. </TD> 100 </TR> 101 </TBODY> 102</TABLE> 103<h2>See Also</h2> 104<p><A href="CXInitUncompContextLH.html"><CODE>CXInitUncompContextLH</CODE></A><br> <A href="CXReadUncompLH.html"><CODE>CXReadUncompLH</CODE></A><br> <A href="CXUncompContextRL.html"><CODE>CXUncompContextRL</CODE></A><br> <A href="CXUncompContextHuffman.html"><CODE>CXUncompContextHuffman</CODE></A></p> 105 106<H2>Revision History</H2> 107<P>2009/01/28 Initial version.</P> 108<hr><p>CONFIDENTIAL</p></body> 109</html> 110