SSPJpegDecoderErrorCode

Definition

#include <twl/ssp/ARM9/jpegdec.h>
typedef enum SSPJpegDecoderErrorCode
{
    SSP_JPEG_DECODER_OK                 = 0,
    SSP_JPEG_DECODER_ERROR_ARGUMENT     = (-1),
    SSP_JPEG_DECODER_ERROR_WORK_ALIGN   = (-2),
    SSP_JPEG_DECODER_ERROR_OPTION       = (-3),
    SSP_JPEG_DECODER_ERROR_WIDTH_HEIGHT = (-20),
    SSP_JPEG_DECODER_ERROR_EXIF_0       = (-30),
} SSPJpegDecoderErrorCode;

Elements

SSP_JPEG_DECODER_OK The process completed without problems.
SSP_JPEG_DECODER_ERROR_ARGUMENT There was an error in an argument other than the decoding option.
SSP_JPEG_DECODER_ERROR_WORK_ALIGN The context structure was not 4-byte aligned.
SSP_JPEG_DECODER_ERROR_OPTION There was an error in the decoding option argument.
SSP_JPEG_DECODER_ERROR_WIDTH_HEIGHT The width or height exceeded the specified maximum value.
The actual sizes are in pCtx->width and pCtx->height.
SSP_JPEG_DECODER_ERROR_EXIF_0 Specified decoding of a thumbnail for an image that does not have thumbnail data.
This can also be generated by other errors.

Description

Enumerator type that indicates the result of the SSP_StartJpegDecoderFast function process.
Returns into the pCtx->errorCode that is the first argument.

Revision History

2009/07/06 Initial version.


CONFIDENTIAL