nn::jpeg::CTR::JpegMpDecoder::GetLastError Member Function

Syntax

#include <nn/jpeg.h>

s32 GetLastError() const;

Arguments

None.

Return Values

Returns JPEG_DECODER_ERROR_NONE (0) if the previous process succeeded. Also returns 0 if the decoder object has just been initialized or reinitialized.
Returns a non-zero value if the function fails. Reference materials will be created at a later date.

Description

Gets the reason for failure of the previous decoding operation.

The reason for failure is updated after the call to the following functions. (0 if successful)
StartJpegDecoder, StartJpegDecoderShrink, ExtractExif, StartMpDecoderLR, GetMpIndex, GetMpAttribute, GetMpRegionsToBuildJpegData

Revision History

2010/08/16
Initial version.

CONFIDENTIAL