DSP Demos

# DSP Library (DSP) Sample Demos

## Location

`$TwlSDK/build/demos.TWL/dsp`

## Compilation

Move to the `$TwlSDK/build/demos.TWL/dsp` directory and enter the following:

> `% make`

Compiling will begin, and the `SRL` executable file and the `TEF` files having the binary information will be generated in:

> `$TwlSDK/build/demos.TWL/dsp/(sample_name)/bin/(platform)/(target)/`

For example:

> `$TwlSDK/build/demos.TWL/dsp/simple-1/bin/ARM9-TS/Release/main.srl`

will be the executable file for the `simple-1` demo.

## Running the Tool

### For TWL/NITRO HYBRID ROMs:

If using IS-TWL-DEBUGGER:

- Load and execute a TLF file with IS-TWL-DEBUGGER.
- Execute an SRL file with IS-TWL-DEBUGGER.
- Execute an SRL file with IS-TWL-DEBUGGER using the `loadrun.TWL.exe` tool from a command line.

### For TWL LIMITED ROMs:

If using IS-TWL-DEBUGGER:

- Load and execute a TLF file with IS-TWL-DEBUGGER.
- Execute an SRL file with IS-TWL-DEBUGGER.
- Execute an SRL file with IS-TWL-DEBUGGER using the `loadrun.TWL.exe` tool from a command line.

## Description

Name | Directories | Operation
--- | --- | ---
`g711` | `demos.TWL` | The demo uses the G.711 component.
`scaling-1` | `demos.TWL` | This demo scales images using the graphics component. It allows you to specify the scaling factor.
`scaling-2` | `demos.TWL` | 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.
`yuvToRgb` | `demos.TWL` | This demo uses the graphics component to continuously convert images captured from the camera in YUV422 format into RGB555, and displays them continuously.
`snd-mic` | `demos.TWL` | This demo performs sound playback and microphone sampling directly from the DSP.

## Operation

The DSP library demos works normally only in TWL mode.

## See Also

`DSP Function List`

## Revision History

2008/10/09 Deleted a JPEG-related demo.
2008/08/28 Added the `scaling-2` demo.
2008/06/13 Added the `snd-mic` demo.
2008/05/22 Added the `scaling-1` demo.
2008/03/13 Changed the available demos following the release of the DSP library.
2007/11/15 Initial version.

CONFIDENTIAL