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>CXUncompContextRL</title> 9<LINK rel="stylesheet" href="../CSS/revolution.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">CXUncompContextRL</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 destTmp; // 2B 25 u8 destTmpCnt; // 1B 26 u8 flags; // 1B 27 u16 length; // 2B 28 u8 headerSize; // 1B 29 u8 padding_[1]; // 1B 30 // Total 16B 31} CXUncompContextRL; 32</PRE> 33 </dd> 34</dl> 35<h2>Description</h2> 36<P>This is the context structure for saving the state of data uncompression when Run-Length-compressed data is being read from the Card and undergoing streaming uncompression. The context is initialized by the <A href="CXInitUncompContextRL.html">CXInitUncompContextRL</A> function and used by the <A href="CXReadUncompRL.html">CXReadUncompRL</A> function to save the uncompression state.<BR> 37</P> 38<TABLE border="1" width="100%"> 39 <TBODY> 40 <TR> 41<TD width="13%"><EM><STRONG>destp</STRONG></EM></TD> 42<TD width="87%">Pointer to region where uncompressed data will be written</TD> 43 </TR> 44 <TR> 45<TD><EM><STRONG>destCount</STRONG></EM></TD> 46<TD>Remaining write size </TD> 47 </TR> 48 <TR> 49<TD><EM><STRONG>destTmp</STRONG></EM></TD> 50<TD>For storing data while writing</TD> 51 </TR> 52 <TR> 53<TD><EM><STRONG>destTmpCnt</STRONG></EM></TD> 54<TD>For storing data size while writing</TD> 55 </TR> 56 <TR> 57<TD><EM><STRONG>flags</STRONG></EM></TD> 58<TD>For storing compression flag data</TD> 59 </TR> 60 <TR> 61<TD width="13%"><EM><STRONG>length</STRONG></EM></TD> 62<TD width="87%">For storing the size of the continuous write </TD> 63 </TR> 64 <TR> 65<TD><EM><STRONG>headerSize</STRONG></EM></TD> 66<TD>For storing the compressed header size while reading</TD> 67 </TR> 68 </TBODY> 69</TABLE> 70<h2>See Also</h2> 71<p><CODE><A href="CXInitUncompContextRL.html">CXInitUncompContextRL</A>, <A href="CXReadUncompRL.html">CXReadUncompRL</A>, <A href="CXUncompContextLZ.html">CXUncompContextLZ</A>,<A href="CXUncompContextHuffman.html">CXUncompContextHuffman</A><br></CODE></p> 72 73<H2>Revision History</H2> 74<P>2006/07/06 Initial version.</P> 75<hr> 76<P>CONFIDENTIAL</p> 77</BODY> 78</HTML> 79