/*
* reserved comment block
* DO NOT REMOVE OR ALTER!
*/
/*
* jerror.h
*
* Copyright (C) 1994-1997, Thomas G. Lane.
* This file is part of the Independent JPEG Group's software.
* For conditions of distribution and use, see the accompanying README file.
*
* This file defines the error and message codes for the JPEG library.
* Edit this file to add new codes, or to translate the message strings to
* some other language.
* A set of error-reporting macros are defined too. Some applications using
* the JPEG library may wish to include this file to get the error codes
*/
/*
* To define the enum list of message codes, include this file without
* defining macro JMESSAGE. To create a message string table, include it
* again with a suitable JMESSAGE definition (see jerror.c for an example).
*/
#ifndef JMESSAGE
#ifndef JERROR_H
/* First time through, define the enum list */
#define JMAKE_ENUM_LIST
#else
/* Repeated inclusions of this file are no-ops unless JMESSAGE is defined */
#endif /* JERROR_H */
#endif /* JMESSAGE */
#ifdef JMAKE_ENUM_LIST
typedef enum {
#endif /* JMAKE_ENUM_LIST */
/* For maintenance convenience, list is alphabetical by message code name */
"Sorry, there are legal restrictions on arithmetic coding")
"Wrong JPEG library version: library is %d, caller expects %d")
"Invalid progressive parameters Ss=%d Se=%d Ah=%d Al=%d")
"Invalid progressive parameters at scan script entry %d")
"JPEG parameter struct mismatch: library thinks size is %u, caller expects %u")
"Cannot transcode due to multiple use of quantization table %d")
"Cannot quantize more than %d color components")
"Write failed on temporary file --- out of disk space?")
"Caution: quantization tables are too coarse for baseline JPEG")
"Adobe APP14 marker: version %d, flags 0x%04x 0x%04x, transform %d")
"Warning: thumbnail image size does not match data length %u")
"JFIF extension marker: type 0x%02x, length %u")
"Smoothing not supported with nonstandard sampling ratios")
"JFIF extension marker: JPEG-compressed thumbnail image, length %u")
"JFIF extension marker: palette thumbnail image, length %u")
"JFIF extension marker: RGB thumbnail image, length %u")
"Unrecognized component IDs %d %d %d, assuming YCbCr")
"Inconsistent progression sequence for component %d coefficient %d")
"Corrupt JPEG data: %u extraneous bytes before marker 0x%02x")
"Corrupt JPEG data: found marker 0x%02x instead of RST%d")
#ifdef JMAKE_ENUM_LIST
#endif /* JMAKE_ENUM_LIST */
/* Zap JMESSAGE macro so that future re-inclusions do nothing by default */
#ifndef JERROR_H
#define JERROR_H
/* Macros to simplify using the error and trace message stuff */
/* The first parameter is either type of cinfo pointer */
/* Fatal errors (print message and exit) */
/* Nonfatal errors (we can keep going, but the data is probably corrupt) */
/* Informational/debugging messages */
#endif /* JERROR_H */