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 name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows"> 6<META http-equiv="Content-Style-Type" content="text/css"> 7<LINK rel="stylesheet" type="text/css" href="../../css/nitro.css"> 8<TITLE>DSP Demos</TITLE> 9</HEAD> 10<BODY> 11<H1>DSP Library (DSP) Sample Demos</H1> 12<H2>Location</H2> 13<P><CODE>$TwlSDK/build/demos.TWL/dsp</CODE></P> 14<H2>Compilation</H2> 15<P>Move to the <CODE>$TwlSDK/build/demos.TWL/dsp</CODE> directory and enter the following:</P> 16<BLOCKQUOTE><CODE>% make</CODE></BLOCKQUOTE> 17<P> Compiling will begin, and the <CODE>SRL</CODE> executable file and the <CODE>TEF</CODE> files having the binary information will be generated in:</P> 18<BLOCKQUOTE><CODE>$TwlSDK/build/demos.TWL/dsp/<I>(sample_name)</I>/bin/<I>(platform)</I>/<I>(target)</I>/</CODE></BLOCKQUOTE> 19<P> For example:</P> 20<BLOCKQUOTE><CODE>$TwlSDK/build/demos.TWL/dsp/simple-1/bin/ARM9-TS/Release/main.srl</CODE></BLOCKQUOTE> 21<P>will be the executable file for the <CODE>simple-1</CODE> demo.</P> 22 23<H2>Running the Tool</H2> 24<H3>For TWL/NITRO HYBRID ROMs:</H3> 25<P>If using IS-TWL-DEBUGGER:</P> 26<UL> 27<LI>Load and execute a TLF file with IS-TWL-DEBUGGER. 28<LI>Execute an SRL file with IS-TWL-DEBUGGER. 29<LI>Execute an SRL file with IS-TWL-DEBUGGER using the <CODE>loadrun.TWL.exe</CODE> tool from a command line. 30</UL> 31<H3>For TWL LIMITED ROMs:</H3> 32<P>If using IS-TWL-DEBUGGER:</P> 33<UL> 34<LI>Load and execute a TLF file with IS-TWL-DEBUGGER. 35<LI>Execute an SRL file with IS-TWL-DEBUGGER. 36<LI>Execute an SRL file with IS-TWL-DEBUGGER using the <CODE>loadrun.TWL.exe</CODE> tool from a command line. 37</UL> 38 39<H2>Description</H2> 40<BR> 41<TABLE width="720"> 42 <TBODY> 43 <TR> 44<TH>Name</TH> 45<TH>Directories</TH> 46<TH>Operation</TH> 47 </TR> 48 <TR> 49<TD width="187"><CODE>g711</CODE></TD> 50<TD><CODE>demos.TWL</CODE></TD> 51<TD width="525">The demo uses the G.711 component.</TD> 52 </TR> 53 <TR> 54<TD width="187"><CODE>scaling-1</CODE></TD> 55<TD><CODE>demos.TWL</CODE></TD> 56<TD width="525">This demo scales images using the graphics component. It allows you to specify the scaling factor.</TD> 57 </TR> 58 <TR> 59<TD width="187"><CODE>scaling-2</CODE></TD> 60<TD><CODE>demos.TWL</CODE></TD> 61<TD width="525">This demo scales images using the graphics component. This demo allows you to specify the desired output size and uses a scaling factor obtained from that size.</TD> 62 </TR> 63 <TR> 64<TD width="187"><CODE>yuvToRgb</CODE></TD> 65<TD><CODE>demos.TWL</CODE></TD> 66<TD width="525">This demo uses the graphics component to continuously convert images captured from the camera in YUV422 format into RGB555, and displays them continuously.</TD> 67 </TR> 68 <TR> 69<TD width="187"><CODE>snd-mic</CODE></TD> 70<TD><CODE>demos.TWL</CODE></TD> 71<TD width="525">This demo performs sound playback and microphone sampling directly from the DSP.</TD> 72 </TR> 73 </TBODY> 74</TABLE> 75<H2>Operation</H2> 76<P>The DSP library demos works normally only in TWL mode.</P> 77<H2>See Also</H2> 78<P><A href="../../dsp/list_dsp.html"><CODE>DSP Function List</CODE></A></P> 79<H2>Revision History</H2> 80<P> 812008/10/09 Deleted a JPEG-related demo.<br>2008/08/28 Added the <CODE>scaling-2</CODE> demo. <br>2008/06/13 Added the <CODE>snd-mic</CODE> demo. <br>2008/05/22 Added the <CODE>scaling-1</CODE> demo. <br>2008/03/13 Changed the available demos following the release of the DSP library. <br>2007/11/15 Initial version.</P> 82<hr><p>CONFIDENTIAL</p></body> 83</HTML>