1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<HTML> 3<HEAD> 4<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 5<META http-equiv="Content-Style-Type" content="text/css"> 6 <TITLE>CX Demos</TITLE> 7<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css"> 8</HEAD> 9<BODY> 10 11<H1>Sample Demo of the Compression/Decompression Library (CX) </H1> 12 13<H2>Location</H2> 14<P><FONT face="Courier New">$REVOLUTION_SDK_ROOT/build/demos/cxdemo</FONT></P> 15<H2>Compilation</H2> 16<P>Change directories to <code>$REVOLUTION_SDK_ROOT/build/demos/cxdemo</code> and enter <code>make</code>. An executable file (<code>.elf</code> file) will be generated under the path <code>$REVOLUTION_SDK_ROOT/RVL/bin/demos/cxdemo/</code>.</P> 17 18<H2>Execution</H2> 19<p>You must configure <CODE>DVDRoot</CODE> before execution. Be sure to specify the folder name <code>$REVOLUTION_SDK_ROOT/dvddata</code> as the <code>DvdRoot</code> argument of the <code>SetNdEnv</code> command. </p> 20 21<P>Change to the <code>$REVOLUTION_SDK_ROOT/RVL/bin/demos/cxdemo</code> directory and do the following:</P> 22<ul> 23<li>To execute a program, run the <code>ndrun</code> script with the <code>.elf</code> file as the argument.</li> 24<li>To debug using CodeWarrior, do one of the following:</li> 25<ul> 26<li>�uExecute <code>$CWFOLDER/bin/IDE.exe</code> with the <code>.elf</code> file as an argument.</li> 27<li>�uLaunch <code>$CWFOLDER/bin/IDE.exe</code>, then drag and drop the <code>.elf</code> file.</li> 28<li>If the <code>.elf</code> files are associated with <code>$CWFOLDER/bin/IDE.exe</code>, double-click the <code>.elf</code> file.</li> 29</ul> 30 31</ul> 32 33<H2>Description</H2> 34<TABLE border="1" cellpadding="3" cellspacing="0.1"> 35 <TBODY> 36 <TR> 37 <TD><EM><STRONG><CODE>cx_uncompress</CODE></STRONG></EM></TD> 38 <TD>Decompresses and displays the texture data compressed by one of various compression methods provided on DVD.</TD> 39 </TR> 40 <TR> 41 <TD><EM><STRONG><CODE>cx_uncompress_stream</CODE></STRONG></EM></TD> 42 <TD>Performs streaming decompression of texture data compressed by one of various compression methods provided on DVD. Using a double buffer for loading data, data is decompressed in parallel with an asynchronous read of the DVD. 43 </TD> 44 </TR> 45 </TBODY> 46</TABLE> 47 48<H2>See Also</H2> 49<P><A href="toc.html" target="contents"><CODE>CX Functions</CODE></A></P> 50 51<H2>Revision History</H2> 52<P> 5307/10/2006 Initial version. 54</P> 55 56<hr> 57<P>CONFIDENTIAL</p> 58</BODY> 59</HTML> 60