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 7.0.0.0 for Windows"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<title>MIUncompContextLZ</title> 9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">MIUncompContextLZ <IMG src="../../image/NTR.gif" align="middle"><IMG src="../../image/TWL.gif" align="middle"></h1> 15<h2>Definition</h2> 16 17<dl> 18 <dd> 19 <PRE><CODE>#include <nitro/mi/uncomp_stream.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 u8 flagIndex ; // 1B 28 u8 length ; // 1B 29 u8 lengthFlg ; // 1B 30 u8 _padding[1] ; // 1B 31 // Total 16B 32} MIUncompContextLZ;</PRE> 33 </dd> 34</dl> 35<h2>Description</h2> 36<P>This is the context structure for saving the state of data uncompression when LZ77-compressed data is being read from the Card and undergoing streaming uncompression. The context is initialized by the <CODE><A href="MI_InitUncompContextLZ.html">MI_InitUncompContextLZ</A></CODE> function and used by the <CODE><A href="MI_ReadUncompLZ.html">MI_ReadUncompLZ</A></CODE> function to save the uncompressed 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><EM><STRONG>flagIndex</STRONG></EM></TD> 62 <TD>For storing the current index of flag data </TD> 63 </TR> 64 <TR> 65 <TD width="13%"><EM><STRONG>length</STRONG></EM></TD> 66 <TD width="87%">For storing the size of the continuous write </TD> 67 </TR> 68 <TR> 69 <TD><EM><STRONG>lengthFlg</STRONG></EM></TD> 70 <TD>For storing whether <em>offset</em> information spanning 2 bytes is currently being read</TD> 71 </TR> 72 </TBODY> 73</TABLE> 74<h2>See Also</h2> 75<p><a href="MI_InitUncompContextLZ.html"><code>MI_InitUncompContextLZ</code></a>, <a href="MI_ReadUncompLZ.html"><code>MI_ReadUncompLZ*</code></a>, <a href="MIUncompContextRL.html"><code>MIUncompContextRL</code></a>, <a href="MIUncompContextHuffman.html"><code>MIUncompContextHuffman</code></a></p> 76 77<H2>Revision History</H2> 78<P>2004/11/30 Initial version.</P> 79<hr><p>CONFIDENTIAL</p></body> 80</html> 81