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_UnfilterDiff*</title>
9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">MI_UnfilterDiff* <IMG src="../../image/NTR.gif" width="23" height="12" border="0" align="middle"><IMG src="../../image/TWL.gif" width="23" height="12" border="0" align="middle"></h1>
15<h2>Syntax</h2>
16
17<dl>
18  <dd>
19<CODE>#include &lt;nitro/mi.h&gt;</CODE><BR> <BR> <CODE>void MI_UnfilterDiff8( const void* srcp, void* destp );</CODE><br> <CODE>void MI_UnfilterDiff16( const void* srcp, void* destp );</CODE><br> <CODE>void MI_UnfilterDiff32( const void* srcp, void* destp );</CODE></dd>
20</dl>
21<h2>Arguments</h2>
22<TABLE border="1" width="100%">
23  <TBODY>
24    <TR>
25<TD width="13%"><EM><STRONG>srcp</STRONG></EM></TD>
26<TD width="87%">The source address where difference filtered-data is stored.</TD>
27    </TR>
28    <TR>
29<TD width="13%"><EM><STRONG>destp</STRONG></EM></TD>
30<TD width="87%">The destination address where the data is expanded. Can be the same region as the source address.</TD>
31    </TR>
32  </TBODY>
33</TABLE>
34
35<h2>Return Values</h2>
36<p>None.</p>
37
38<H2>Description</H2>
39<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. When the size of the compressed data is not a multiple of 4, adjust by padding it with zeros. The pointers to the source and destination addresses may point to the same region.</P>
40<P><code>MI_UnfilterDiff8</code> writes in 8-bit units. On NITRO, you cannot decompress directly to VRAM. On TWL, this is possible, but it is quite slow.<BR><BR> <code>MI_UnfilterDiff16</code> writes in 16-bit units. It is also possible to decompress to DTCM or VRAM.<BR><BR><BR> <CODE>MI_UnfilterDiff32()</CODE> writes in 32-bit units. <BR>It operates at a higher speed than both the <CODE>MI_UnfilterDiff8</CODE> and <CODE>MI_UnfilterDiff16</CODE> functions.<BR>It is also possible to decompress to DTCM or VRAM.</P>
41<h2>Internal Operation</h2>
42<P>Processing only takes place on the CPU, without the use of a system call or DMA.</P>
43<h2>See Also</h2>
44<p><CODE><A href="MI_FilterDiff.html">MI_FilterDiff</A><BR> <A href="MI_UncompressHuffman.html">MI_UncompressHuffman</A><BR> <A href="MI_UncompressRL.html">MI_UncompressRL*</A><BR> <A href="MI_UncompressLZ.html">MI_UncompressLZ*</A><br></CODE></p>
45
46<H2>Revision History</H2>
47<P>
482008/07/02 Added the 32-bit version. Revised the description of internal operations.<BR>2004/11/15 Initial version.
49</P>
50<hr><p>CONFIDENTIAL</p></body>
51</html>
52