TMCCJPEGDecGetExif

Syntax

#include <revolution/tmcc_jpeg.h>

s32 TMCCJPEGDecGetExif(
        void *pWorkArea,
        void *pJpegStream,
        u32 jpegStreamSize,
        TMCCJPEGExifInfo *exifInfo
);

Arguments

*pWorkArea Configure the starting address of the work area.
*pJpegStream Configure the starting address of the input JPEG data.
(The starting address for the JPEG data should be 32-byte aligned. A TMCC_JPEG_OPT_ERR error code is returned if not 32-byte aligned.)
jpegStreamSize Specify the size of the input JPEG data.
*exifInfo Stores Exif information.
(See the TMCCJPEGExifInfo structure.)

Return Values

0 Function completed successfully.
Negative Abnormal exit (error code).

Description

Gets the Exif information within the JPEG input data. Returns TMCC_JPEG_NG if Exif information does not exist in the data.

The following values of TMCCJPEGExifIFD0Info are not accepted, and 0 is always stored.
- Image Title (ImageDescription)
- Manufacturer Name (Make) of the Image Input Device
- Model Name (Model) of the Image Input Device

See Also

TMCCJPEGExifInfo
Error Codes

Revision History

2009/10/19 Made changes to the description of the include file in line with integration into the Revolution SDK.
2007/02/02 Initial version.


CONFIDENTIAL