< prev index next >

modules/javafx.graphics/src/main/native-iio/libjpeg7/jerror.h

Print this page


   1 /*
   2  * jerror.h
   3  *
   4  * Copyright (C) 1994-1997, Thomas G. Lane.
   5  * Modified 1997-2009 by Guido Vollbeding.
   6  * This file is part of the Independent JPEG Group's software.
   7  * For conditions of distribution and use, see the accompanying README file.
   8  *
   9  * This file defines the error and message codes for the JPEG library.
  10  * Edit this file to add new codes, or to translate the message strings to
  11  * some other language.
  12  * A set of error-reporting macros are defined too.  Some applications using
  13  * the JPEG library may wish to include this file to get the error codes
  14  * and/or the macros.
  15  */
  16 
  17 /*
  18  * To define the enum list of message codes, include this file without
  19  * defining macro JMESSAGE.  To create a message string table, include it
  20  * again with a suitable JMESSAGE definition (see jerror.c for an example).
  21  */
  22 #ifndef JMESSAGE
  23 #ifndef JERROR_H
  24 /* First time through, define the enum list */
  25 #define JMAKE_ENUM_LIST


  91 JMESSAGE(JERR_IMAGE_TOO_BIG, "Maximum supported image dimension is %u pixels")
  92 JMESSAGE(JERR_INPUT_EMPTY, "Empty input file")
  93 JMESSAGE(JERR_INPUT_EOF, "Premature end of input file")
  94 JMESSAGE(JERR_MISMATCHED_QUANT_TABLE,
  95          "Cannot transcode due to multiple use of quantization table %d")
  96 JMESSAGE(JERR_MISSING_DATA, "Scan script does not transmit all data")
  97 JMESSAGE(JERR_MODE_CHANGE, "Invalid color quantization mode change")
  98 JMESSAGE(JERR_NOTIMPL, "Not implemented yet")
  99 JMESSAGE(JERR_NOT_COMPILED, "Requested feature was omitted at compile time")
 100 JMESSAGE(JERR_NO_ARITH_TABLE, "Arithmetic table 0x%02x was not defined")
 101 JMESSAGE(JERR_NO_BACKING_STORE, "Backing store not supported")
 102 JMESSAGE(JERR_NO_HUFF_TABLE, "Huffman table 0x%02x was not defined")
 103 JMESSAGE(JERR_NO_IMAGE, "JPEG datastream contains no image")
 104 JMESSAGE(JERR_NO_QUANT_TABLE, "Quantization table 0x%02x was not defined")
 105 JMESSAGE(JERR_NO_SOI, "Not a JPEG file: starts with 0x%02x 0x%02x")
 106 JMESSAGE(JERR_OUT_OF_MEMORY, "Insufficient memory (case %d)")
 107 JMESSAGE(JERR_QUANT_COMPONENTS,
 108          "Cannot quantize more than %d color components")
 109 JMESSAGE(JERR_QUANT_FEW_COLORS, "Cannot quantize to fewer than %d colors")
 110 JMESSAGE(JERR_QUANT_MANY_COLORS, "Cannot quantize to more than %d colors")

 111 JMESSAGE(JERR_SOF_DUPLICATE, "Invalid JPEG file structure: two SOF markers")
 112 JMESSAGE(JERR_SOF_NO_SOS, "Invalid JPEG file structure: missing SOS marker")
 113 JMESSAGE(JERR_SOF_UNSUPPORTED, "Unsupported JPEG process: SOF type 0x%02x")
 114 JMESSAGE(JERR_SOI_DUPLICATE, "Invalid JPEG file structure: two SOI markers")
 115 JMESSAGE(JERR_SOS_NO_SOF, "Invalid JPEG file structure: SOS before SOF")
 116 JMESSAGE(JERR_TFILE_CREATE, "Failed to create temporary file %s")
 117 JMESSAGE(JERR_TFILE_READ, "Read failed on temporary file")
 118 JMESSAGE(JERR_TFILE_SEEK, "Seek failed on temporary file")
 119 JMESSAGE(JERR_TFILE_WRITE,
 120          "Write failed on temporary file --- out of disk space?")
 121 JMESSAGE(JERR_TOO_LITTLE_DATA, "Application transferred too few scanlines")
 122 JMESSAGE(JERR_UNKNOWN_MARKER, "Unsupported marker type 0x%02x")
 123 JMESSAGE(JERR_VIRTUAL_BUG, "Virtual array controller messed up")
 124 JMESSAGE(JERR_WIDTH_OVERFLOW, "Image too wide for this implementation")
 125 JMESSAGE(JERR_XMS_READ, "Read from XMS failed")
 126 JMESSAGE(JERR_XMS_WRITE, "Write to XMS failed")
 127 JMESSAGE(JMSG_COPYRIGHT, JCOPYRIGHT)
 128 JMESSAGE(JMSG_VERSION, JVERSION)
 129 JMESSAGE(JTRC_16BIT_TABLES,
 130          "Caution: quantization tables are too coarse for baseline JPEG")
 131 JMESSAGE(JTRC_ADOBE,
 132          "Adobe APP14 marker: version %d, flags 0x%04x 0x%04x, transform %d")
 133 JMESSAGE(JTRC_APP0, "Unknown APP0 marker (not JFIF), length %u")
 134 JMESSAGE(JTRC_APP14, "Unknown APP14 marker (not Adobe), length %u")
 135 JMESSAGE(JTRC_DAC, "Define Arithmetic Table 0x%02x: 0x%02x")


   1 /*
   2  * jerror.h
   3  *
   4  * Copyright (C) 1994-1997, Thomas G. Lane.
   5  * Modified 1997-2012 by Guido Vollbeding.
   6  * This file is part of the Independent JPEG Group's software.
   7  * For conditions of distribution and use, see the accompanying README file.
   8  *
   9  * This file defines the error and message codes for the JPEG library.
  10  * Edit this file to add new codes, or to translate the message strings to
  11  * some other language.
  12  * A set of error-reporting macros are defined too.  Some applications using
  13  * the JPEG library may wish to include this file to get the error codes
  14  * and/or the macros.
  15  */
  16 
  17 /*
  18  * To define the enum list of message codes, include this file without
  19  * defining macro JMESSAGE.  To create a message string table, include it
  20  * again with a suitable JMESSAGE definition (see jerror.c for an example).
  21  */
  22 #ifndef JMESSAGE
  23 #ifndef JERROR_H
  24 /* First time through, define the enum list */
  25 #define JMAKE_ENUM_LIST


  91 JMESSAGE(JERR_IMAGE_TOO_BIG, "Maximum supported image dimension is %u pixels")
  92 JMESSAGE(JERR_INPUT_EMPTY, "Empty input file")
  93 JMESSAGE(JERR_INPUT_EOF, "Premature end of input file")
  94 JMESSAGE(JERR_MISMATCHED_QUANT_TABLE,
  95          "Cannot transcode due to multiple use of quantization table %d")
  96 JMESSAGE(JERR_MISSING_DATA, "Scan script does not transmit all data")
  97 JMESSAGE(JERR_MODE_CHANGE, "Invalid color quantization mode change")
  98 JMESSAGE(JERR_NOTIMPL, "Not implemented yet")
  99 JMESSAGE(JERR_NOT_COMPILED, "Requested feature was omitted at compile time")
 100 JMESSAGE(JERR_NO_ARITH_TABLE, "Arithmetic table 0x%02x was not defined")
 101 JMESSAGE(JERR_NO_BACKING_STORE, "Backing store not supported")
 102 JMESSAGE(JERR_NO_HUFF_TABLE, "Huffman table 0x%02x was not defined")
 103 JMESSAGE(JERR_NO_IMAGE, "JPEG datastream contains no image")
 104 JMESSAGE(JERR_NO_QUANT_TABLE, "Quantization table 0x%02x was not defined")
 105 JMESSAGE(JERR_NO_SOI, "Not a JPEG file: starts with 0x%02x 0x%02x")
 106 JMESSAGE(JERR_OUT_OF_MEMORY, "Insufficient memory (case %d)")
 107 JMESSAGE(JERR_QUANT_COMPONENTS,
 108          "Cannot quantize more than %d color components")
 109 JMESSAGE(JERR_QUANT_FEW_COLORS, "Cannot quantize to fewer than %d colors")
 110 JMESSAGE(JERR_QUANT_MANY_COLORS, "Cannot quantize to more than %d colors")
 111 JMESSAGE(JERR_SOF_BEFORE, "Invalid JPEG file structure: %s before SOF")
 112 JMESSAGE(JERR_SOF_DUPLICATE, "Invalid JPEG file structure: two SOF markers")
 113 JMESSAGE(JERR_SOF_NO_SOS, "Invalid JPEG file structure: missing SOS marker")
 114 JMESSAGE(JERR_SOF_UNSUPPORTED, "Unsupported JPEG process: SOF type 0x%02x")
 115 JMESSAGE(JERR_SOI_DUPLICATE, "Invalid JPEG file structure: two SOI markers")

 116 JMESSAGE(JERR_TFILE_CREATE, "Failed to create temporary file %s")
 117 JMESSAGE(JERR_TFILE_READ, "Read failed on temporary file")
 118 JMESSAGE(JERR_TFILE_SEEK, "Seek failed on temporary file")
 119 JMESSAGE(JERR_TFILE_WRITE,
 120          "Write failed on temporary file --- out of disk space?")
 121 JMESSAGE(JERR_TOO_LITTLE_DATA, "Application transferred too few scanlines")
 122 JMESSAGE(JERR_UNKNOWN_MARKER, "Unsupported marker type 0x%02x")
 123 JMESSAGE(JERR_VIRTUAL_BUG, "Virtual array controller messed up")
 124 JMESSAGE(JERR_WIDTH_OVERFLOW, "Image too wide for this implementation")
 125 JMESSAGE(JERR_XMS_READ, "Read from XMS failed")
 126 JMESSAGE(JERR_XMS_WRITE, "Write to XMS failed")
 127 JMESSAGE(JMSG_COPYRIGHT, JCOPYRIGHT)
 128 JMESSAGE(JMSG_VERSION, JVERSION)
 129 JMESSAGE(JTRC_16BIT_TABLES,
 130          "Caution: quantization tables are too coarse for baseline JPEG")
 131 JMESSAGE(JTRC_ADOBE,
 132          "Adobe APP14 marker: version %d, flags 0x%04x 0x%04x, transform %d")
 133 JMESSAGE(JTRC_APP0, "Unknown APP0 marker (not JFIF), length %u")
 134 JMESSAGE(JTRC_APP14, "Unknown APP14 marker (not Adobe), length %u")
 135 JMESSAGE(JTRC_DAC, "Define Arithmetic Table 0x%02x: 0x%02x")


< prev index next >