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>MI_SecureUnfilterDiff</title> 9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">MI_SecureUnfilterDiff <IMG src="../../image/NTR.gif" align="middle"><IMG src="../../image/TWL.gif" align="middle"></h1> 15<h2>Syntax</h2> 16 17<dl> 18 <dd> 19<CODE>#include <nitro/mi.h></CODE><BR> 20 <BR> 21 <CODE>s32 MI_SecureUnfilterDiff( register const void *srcp, u32 srcSize, register void *destp, u32 dstSize);</CODE><br> 22</dl> 23<h2>Arguments</h2> 24<TABLE border="1" width="100%"> 25 <TBODY> 26 <TR> 27 <TD width="13%"><EM><STRONG>srcp</STRONG></EM></TD> 28 <TD width="87%">The source address where difference filtered-data is stored.</TD> 29 </TR> 30 <TR> 31 <TD width="13%"><EM><STRONG>srcSize</STRONG></EM></TD> 32 <TD width="87%">Source data size.</TD> 33 </TR> 34 <TR> 35 <TD width="13%"><EM><STRONG>destp</STRONG></EM></TD> 36 <TD width="87%">The destination address where the data is expanded. Can be the same region as the source address.</TD> 37 </TR> 38 <TR> 39 <TD width="13%"><EM><STRONG>dstSize</STRONG></EM></TD> 40 <TD width="87%">Destination size for decompression.</TD> 41 </TR> 42 </TBODY> 43</TABLE> 44 45<h2>Return Values</h2> 46<TABLE border="1" width="100%"> 47 <TBODY> 48 <TR> 49 <TD width="13%"><EM><STRONG>MI_ERR_SUCCESS</STRONG></EM></TD> 50 <TD width="87%">Function completed successfully.</TD> 51 </TR> 52 <TR> 53 <TD width="13%"><EM><STRONG>MI_ERR_UNSUPPORTED</STRONG></EM></TD> 54 <TD width="87%">Unsupported compression data type.</TD> 55 </TR> 56 <TR> 57 <TD width="13%"><EM><STRONG>MI_ERR_SRC_SHORTAGE</STRONG></EM></TD> 58 <TD width="87%">Source data size is too small.</TD> 59 </TR> 60 <TR> 61 <TD width="13%"><EM><STRONG>MI_ERR_SRC_REMAINDER</STRONG></EM></TD> 62 <TD width="87%">Source data size is too large.</TD> 63 </TR> 64 </TBODY> 65</TABLE> 66 67<H2>Description</H2> 68<P>This function expands the data to which the difference filter was applied and writes it to the specified memory region. The source address must be aligned to a 4-byte boundary. The pointers to the source and destination addresses may point to the same region.</P> 69 70<h2>See Also</h2> 71<p><CODE><A href="MI_SecureUncompressHuffman.html">MI_SecureUncompressHuffman</A>, <A href="MI_SecureUncompressRL.html">MI_SecureUncompressRL</A>, <A href="MI_SecureUncompressLZ.html">MI_SecureUncompressLZ</A></CODE></p> 72 73<H2>Revision History</H2> 74<P>2008/05/22 Initial version.</P> 75<hr><p>CONFIDENTIAL</p></body> 76</html> 77