nn::jpeg::CTR::JpegMpEncoder::GetLastError Member Function

Syntax

#include <nn/jpeg.h>

s32 GetLastError() const;

Arguments

None.

Return Values

Returns JPEG_ENCODER_ERROR_NONE (0) if the previous encoding process succeeded.
Also returns 0 if the encoder 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 call to the StartMpEncoderFirst, StartMpEncoderNext, or StartMpEncoderLR functions.

Revision History

2010/08/16
Initial version.

CONFIDENTIAL