nn::jpeg::CTR::JpegMpDecoder::GetLastError Member Function#include <nn/jpeg.h> s32 GetLastError() const;
None.
JPEG_DECODER_ERROR_NONE (0) if the previous process succeeded. Also returns 0 if the decoder object has just been initialized or reinitialized.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
CONFIDENTIAL