nn::jpeg::CTR::EncoderErrorCode Enumerated Type

Syntax

enum EncoderErrorCode;

Value

Value Description
JPEG_ENCODER_ERROR_NONE There is no error.
JPEG_ENCODER_ERROR_NOT_INITIALIZED The encoder object is not initialized.
JPEG_ENCODER_ERROR_INVALID_ARGUMENT The argument is invalid.
JPEG_ENCODER_ERROR_SRC_ALIGNMENT Illegal alignment of the graphics data buffer (src).
JPEG_ENCODER_ERROR_APP1 Encoding failed because the number of bytes of data in the APP1 segment is greater than 0xFFFF bytes. Decrease the number or size of things such as thumbnails and manufacturer notes.
JPEG_ENCODER_ERROR_APP2_MP Encoding failed because the number of bytes of data in the APP2 segment is greater than 0xFFFF bytes. Reduce the number of MP format images being stored.
JPEG_ENCODER_ERROR_INVALID_MP_NUM_IMAGES Illegal specification of number of MP format images.
JPEG_ENCODER_ERROR_INVALID_MP_TYPE_CODE Illegal MP type specification in the MP format.
JPEG_ENCODER_ERROR_INVALID_MP_SEQUENCE Illegal encoding sequence in the MP format. There was either an attempt to encode a later image without encoding the first image or an attempt to encode more images than specified.
JPEG_ENCODER_ERROR_INSUFFICIENT_OUTPUT_BUFFER Not enough bytes allocated for the encoding result buffer.
JPEG_ENCODER_ERROR_INTERNAL There is a problem with the library implementation if this error occurs.

Description

Gives the reason why the encoding just performed failed.

The return value of JpegMpEncoder::GetLastError.

Revision History

2010/10/21
Initial version.

CONFIDENTIAL