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 16<h2>Definitions</h2> 17<DL><DD><PRE class="construction"> 18#include <revolution/cx/CXStreamingUncompression.h> 19 20typedef struct 21{ 22 u8* destp; // 4B 23 s32 destCount; // 4B 24 s32 forceDestCount; // 4B 25 u16 length; // 2B 26 u8 flags; // 1B 27 u8 headerSize; // 1B 28 // Total 16B 29} CXUncompContextRL; 30</PRE></dd></dl> 31 32<h2>Description</h2> 33<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"><CODE>CXInitUncompContextRL</CODE></A> function and used by the <A href="CXReadUncompRL.html"><CODE>CXReadUncompRL</CODE></A> function to save the uncompression state.<BR> 34</P> 35<TABLE class="arguments" border="1"> 36 <TBODY> 37 <TR> 38<TH>destp</TH> 39<TD>Pointer to the destination region where uncompressed data will be written.</TD> 40 </TR> 41 <TR> 42<TH>destCount</TH> 43<TD>Remaining write size.</TD> 44 </TR> 45 <TR> 46<TH>forceDestCount</TH> 47<TD>Uncompression destination size that is forcibly set.</TD> 48 </TR> 49 <TR> 50<TH>length</TH> 51<TD>For storing the size of continuous write.</TD> 52 </TR> 53 <TR> 54<TH>flags</TH> 55<TD>For storing compression flag data.</TD> 56 </TR> 57 <TR> 58<TH>headerSize</TH> 59<TD>For storing the compressed header size while reading.</TD> 60 </TR> 61 </TBODY> 62</TABLE> 63 64<h2>See Also</h2> 65<P class="reference"> 66<A href="CXInitUncompContextRL.html">CXInitUncompContextRL</A>, 67<A href="CXReadUncompRL.html">CXReadUncompRL</A>, 68<A href="CXUncompContextLZ.html">CXUncompContextLZ</A>, 69<A href="CXUncompContextHuffman.html">CXUncompContextHuffman</A> 70</P> 71 72<H2>Revision History</H2> 73<P> 742006/09/03 Reflected changes to the structure definition.<BR>2006/07/06 Initial version.<BR> 75</P> 76 77<hr><p>CONFIDENTIAL</p></body> 78</html> 79