JPEG Encode/Decode Demos

Compilation

Execute make in the various directories found under the $CAFE_ROOT/system/src/demo/jpeg directory to generate executable (RPX) files in the directory $CAFE_SDK_ROOT/system/bin/cafe/demo/jpeg/DEBUG.

Execution

Execute make run in the various directories located below $CAFE_ROOT/system/src/demo/jpeg.

Description

Demo Description
simple Shows the basic procedure for using the JPEG library to read JPEG file, parse JPEG binary headers, decode JPEG binary into surface image, and re-encode data as JPEG binary.
display Shows how to display surface image decoded from JPEG binary using the GX2 library.
check Measures the execution time of the JPEG library. It measures the various execution times for three types of JPEG files (VGA, QVGA and 478x285) by repeating the following processes 100 times: parsing JPEG binary header, decoding into surface image, and re-encoding into JPEG binary.

Revision History

2013/05/08 Automated cleanup pass.
2013/02/19 Replaced words 'texture' with 'surface'.
2011/08/08 Initial version.


CONFIDENTIAL