nn::jpeg::CTR::DecoderErrorCode Enumerated Type

Syntax

enum DecoderErrorCode;

Value

Value Description
JPEG_DECODER_ERROR_NONE There is no error.
JPEG_DECODER_ERROR_NOT_INITIALIZED The decoder object is not initialized.
JPEG_DECODER_ERROR_INVALID_ARGUMENT The argument is invalid.
JPEG_DECODER_ERROR_DST_ALIGNMENT Illegal alignment of the output buffer (dst) used by the decoding function.
JPEG_DECODER_ERROR_DST_BUFFER_SIZE Not enough bytes allocated for the output buffer used by the decoding function.
JPEG_DECODER_ERROR_STOPPED Decoding stopped due to a request from the application.
JPEG_DECODER_ERROR_WIDTH_HEIGHT The width or height of the image is 0 or exceeds the maximum value.
JPEG_DECODER_ERROR_WIDTH_HEIGHT_DIFFERENT The width or height for the image does not match the specified value. Or, the size of the two images does not match.
JPEG_DECODER_ERROR_EXIF Exif information could not be processed.
JPEG_DECODER_ERROR_THUMBNAIL Either a thumbnail could not be found or it could not be decoded. Uncompressed thumbnails and non-Exif thumbnails cannot be decoded.
JPEG_DECODER_ERROR_MP MP format information (MP index IFD or unique MP information IFD) could not be processed.
JPEG_DECODER_ERROR_MP_NOT_FOUND MP format-related information could not be found.
JPEG_DECODER_ERROR_MARKER_COMBINATION Data (markers) could not be processed. The combination of markers is illegal. For example, the SOS marker corresponding to a given SOF marker could not be found.
JPEG_DECODER_ERROR_SOI Data (SOI marker) could not be processed.
JPEG_DECODER_ERROR_SOF Data (SOF marker) could not be processed.
JPEG_DECODER_ERROR_SOF_BLOCK_ID Data (SOF marker) could not be processed.
JPEG_DECODER_ERROR_DHT Data (DHT markers) could not be processed.
JPEG_DECODER_ERROR_SOS Data (SOS marker) could not be processed.
JPEG_DECODER_ERROR_DQT Data (DQT marker) could not be processed.
JPEG_DECODER_ERROR_DRI Data (DRI marker) could not be processed.
JPEG_DECODER_ERROR_SOS_NOT_FOUND An SOS marker could not be found.
JPEG_DECODER_ERROR_SOF_NOT_FOUND An SOF marker could not be found.
JPEG_DECODER_ERROR_DQT_NOT_FOUND A DQT marker could not be found.
JPEG_DECODER_ERROR_DHT_NOT_FOUND A DHT marker could not be found.
JPEG_DECODER_ERROR_UNDERRUN_0 Data could not be processed.
JPEG_DECODER_ERROR_UNDERRUN_1 Data could not be processed.
JPEG_DECODER_ERROR_UNDERRUN_2 Data could not be processed.
JPEG_DECODER_ERROR_UNDERRUN_3 Data could not be processed.
JPEG_DECODER_ERROR_UNDERRUN_4 Data could not be processed.
JPEG_DECODER_ERROR_UNDERRUN_5 Data could not be processed.
JPEG_DECODER_ERROR_UNDERRUN_6 Data could not be processed.
JPEG_DECODER_ERROR_RANGE_0 Data could not be processed.
JPEG_DECODER_ERROR_RANGE_1 Data could not be processed.
JPEG_DECODER_ERROR_RANGE_2 Data could not be processed.
JPEG_DECODER_ERROR_RANGE_3 Data could not be processed.
JPEG_DECODER_ERROR_RANGE_4 Data could not be processed.
JPEG_DECODER_ERROR_RANGE_5 Data could not be processed.
JPEG_DECODER_ERROR_HLB_0 Data could not be processed.
JPEG_DECODER_ERROR_INTERNAL There is a problem with the library implementation if this error occurs.

Description

Gives the reason why the decoding or other operation just performed failed.

The return value of JpegMpDecoder::GetLastError.

Revision History

2010/10/21
Initial version.

CONFIDENTIAL