Camera Library (CAMERA) Sample Demos

Location

$TwlSDK/build/demos.TWL/camera

Compilation

Move to the $TwlSDK/build/demos.TWL/camera directory and enter the following.

% make

  Compiling begins, and the SRL executable file and the TEF files with the binary information are generated in:

$TwlSDK/build/demos.TWL/camera/(sample_name)/bin/(platform)/(target)/

For example:

$TwlSDK/build/demos.TWL/camera/simpleShoot-1/bin/ARM9-TS/Release/main.srl

is the executable file for the simpleShoot-1 demo.

Running the Tool

For TWL/NITRO Hybrid ROMs

If using IS-TWL-DEBUGGER:

For TWL Limited ROMs

If using IS-TWL-DEBUGGER:

Description


Name Directories Operation
camera-1 demos.TWL This demo shows the basics of how to use the camera.
camera-2 demos.TWL This demo uses the CAMERA_DmaPipeInfinity function.
camera-3 demos.TWL This demo creates three buffers in VRAM.
camera-4 demos.TWL This demo creates two buffers in main memory and one buffer in VRAM.
simpleShoot-1 demos.TWL This demo grabs and displays a still image from the video being captured by the camera, and plays a shutter sound.
It forces the shutter sound to be played while background music is playing.
It will be output through the speakers, even if headphones are in use.
simpleShoot-2 demos.TWL This demo is the same as simpleShoot-1 with the video capture feature added.

Operation

The CAMERA library demos operate normally only in TWL mode.

See Also

CAMERA Function List

Revision History

2008/12/12 Deleted mp_camera-1.
2008/09/16 Added simpleShoot-2.
2008/03/21 Deleted the SD-related demos and combined the camera_shutter demo with simpleShoot-1.
2008/03/13 Added the demo saveShoot-3.
2008/03/04 Added the shutter sound demo.
2007/11/15 Initial version.


CONFIDENTIAL