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>CXUncompContextLRC</title> 9<LINK rel="stylesheet" href="../CSS/revolution.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">CXUncompContextLRC</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 u32 freq9[ 0x200 ]; // 2048B 25 u32 low_cnt9[ 0x200 ]; // 2048B 26 u32 freq12[ 0x1000 ]; // 16384B 27 u32 low_cnt12[ 0x1000 ]; // 16384B 28 u32 total9; // 4B 29 u32 total12; // 4B 30 u32 range; // 4B 31 u32 code; // 4B 32 u32 low; // 4B 33 u32 carry_cnt; // 4B 34 u8 carry; // 1B 35 u8 codeLen; // 1B 36 u16 length; // 2B 37 u32 headerSize; // 4B 38 // Total 36904B 39} CXUncompContextLRC;</PRE> 40 </dd> 41</dl> 42<h2>Description</h2> 43<P>This is the context structure where the status of data uncompression is stored when LRC-compressed data is undergoing streaming uncompression while being read from the Card.<BR>The context is initialized by the <A href="CXInitUncompContextLRC.html"><CODE>CXInitUncompContextLRC</CODE></A> function and used by the <A href="CXReadUncompLRC.html"><CODE>CXReadUncompLRC</CODE></A> function to store the uncompression status.<BR> 44</P> 45<TABLE border="1" width="100%"> 46 <TBODY> 47 <TR> 48<TD width="13%"><EM><STRONG>destp</STRONG></EM></TD> 49<TD width="87%">Pointer to the region where uncompressed data will be written</TD> 50 </TR> 51 <TR> 52<TD><EM><STRONG>destCount</STRONG></EM></TD> 53<TD>Remaining write size </TD> 54 </TR> 55 <TR> 56<TD><EM><STRONG>destTmp</STRONG></EM></TD> 57<TD>For storing data while writing</TD> 58 </TR> 59 <TR> 60<TD><EM><STRONG>destTmpCnt</STRONG></EM></TD> 61<TD>For storing data size while writing</TD> 62 </TR> 63 <TR> 64<TD><EM><STRONG>flags</STRONG></EM></TD> 65<TD>For storing compression flag data</TD> 66 </TR> 67 <TR> 68<TD><EM><STRONG>flagIndex</STRONG></EM></TD> 69<TD>For storing the current index of flag data </TD> 70 </TR> 71 <TR> 72<TD width="13%"><EM><STRONG>length</STRONG></EM></TD> 73<TD width="87%">For storing the size of the continuous write </TD> 74 </TR> 75 <TR> 76<TD><EM><STRONG>lengthFlg</STRONG></EM></TD> 77<TD>For storing whether or not <em>offset</em> information spanning 2 bytes is currently being read</TD> 78 </TR> 79 <TR> 80<TD><EM><STRONG>headerSize</STRONG></EM></TD> 81<TD>For storing the compressed header size while reading</TD> 82 </TR> 83 </TBODY> 84</TABLE> 85<h2>See Also</h2> 86<p><CODE><A href="CXInitUncompContextLRC.html">CXInitUncompContextLRC</A>, <A href="CXReadUncompLRC.html">CXReadUncompLRC</A>, <A href="CXUncompContextRL.html">CXUncompContextRL</A>,<A href="CXUncompContextHuffman.html">CXUncompContextHuffman</A><br> 87</CODE></p> 88 89<H2>Revision History</H2> 90<P>2007/11/01 Initial version.</P> 91<hr><p>CONFIDENTIAL</p></body> 92</html> 93