Update gnuwin32 libraries.

This commit is contained in:
castano
2008-02-11 07:02:21 +00:00
parent 9d13742314
commit f7eb953237
28 changed files with 9407 additions and 13848 deletions

BIN
gnuwin32/bin/libpng12.dll Executable file

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,58 +1,58 @@
/* jconfig.h. Generated automatically by configure. */ /* jconfig.h. Generated automatically by configure. */
/* jconfig.cfg --- source file edited by configure script */ /* jconfig.cfg --- source file edited by configure script */
/* see jconfig.doc for explanations */ /* see jconfig.doc for explanations */
#define HAVE_PROTOTYPES #define HAVE_PROTOTYPES
#define HAVE_UNSIGNED_CHAR #define HAVE_UNSIGNED_CHAR
#define HAVE_UNSIGNED_SHORT #define HAVE_UNSIGNED_SHORT
#ifdef _WIN32 #ifdef _WIN32
# include <windows.h> # include <windows.h>
/* Define "boolean" as unsigned char, not int, per Windows custom */ /* Define "boolean" as unsigned char, not int, per Windows custom */
# if !defined __RPCNDR_H__ || defined __MINGW32__ /* don't conflict if rpcndr.h already read */ # if !defined __RPCNDR_H__ || defined __MINGW32__ /* don't conflict if rpcndr.h already read */
# ifndef boolean /* don't conflict if rpcndr.h already read */ # ifndef boolean /* don't conflict if rpcndr.h already read */
typedef unsigned char boolean; typedef unsigned char boolean;
# endif /* boolean */ # endif /* boolean */
# endif /* __RPCNDR_H__ */ # endif /* __RPCNDR_H__ */
# define HAVE_BOOLEAN /* prevent jmorecfg.h from redefining it */ # define HAVE_BOOLEAN /* prevent jmorecfg.h from redefining it */
# define USE_WINDOWS_MESSAGEBOX 1 # define USE_WINDOWS_MESSAGEBOX 1
#endif /* _WIN32 */ #endif /* _WIN32 */
#undef void #undef void
#undef const #undef const
#undef CHAR_IS_UNSIGNED #undef CHAR_IS_UNSIGNED
#define HAVE_STDDEF_H #define HAVE_STDDEF_H
#define HAVE_STDLIB_H #define HAVE_STDLIB_H
#undef NEED_BSD_STRINGS #undef NEED_BSD_STRINGS
#undef NEED_SYS_TYPES_H #undef NEED_SYS_TYPES_H
#undef NEED_FAR_POINTERS #undef NEED_FAR_POINTERS
#undef NEED_SHORT_EXTERNAL_NAMES #undef NEED_SHORT_EXTERNAL_NAMES
/* Define this if you get warnings about undefined structures. */ /* Define this if you get warnings about undefined structures. */
#undef INCOMPLETE_TYPES_BROKEN #undef INCOMPLETE_TYPES_BROKEN
#ifdef JPEG_INTERNALS #ifdef JPEG_INTERNALS
#undef RIGHT_SHIFT_IS_UNSIGNED #undef RIGHT_SHIFT_IS_UNSIGNED
#define INLINE __inline__ #define INLINE __inline__
/* These are for configuring the JPEG memory manager. */ /* These are for configuring the JPEG memory manager. */
#undef DEFAULT_MAX_MEM #undef DEFAULT_MAX_MEM
#undef NO_MKTEMP #undef NO_MKTEMP
#endif /* JPEG_INTERNALS */ #endif /* JPEG_INTERNALS */
#ifdef JPEG_CJPEG_DJPEG #ifdef JPEG_CJPEG_DJPEG
#define BMP_SUPPORTED /* BMP image file format */ #define BMP_SUPPORTED /* BMP image file format */
#define GIF_SUPPORTED /* GIF image file format */ #define GIF_SUPPORTED /* GIF image file format */
#define PPM_SUPPORTED /* PBMPLUS PPM/PGM image file format */ #define PPM_SUPPORTED /* PBMPLUS PPM/PGM image file format */
#define RLE_SUPPORTED /* Utah RLE image file format */ #define RLE_SUPPORTED /* Utah RLE image file format */
#define TARGA_SUPPORTED /* Targa image file format */ #define TARGA_SUPPORTED /* Targa image file format */
#undef TWO_FILE_COMMANDLINE #undef TWO_FILE_COMMANDLINE
#undef NEED_SIGNAL_CATCHER #undef NEED_SIGNAL_CATCHER
#undef DONT_USE_B_MODE #undef DONT_USE_B_MODE
/* Define this if you want percent-done progress reports from cjpeg/djpeg. */ /* Define this if you want percent-done progress reports from cjpeg/djpeg. */
#undef PROGRESS_REPORT #undef PROGRESS_REPORT
#endif /* JPEG_CJPEG_DJPEG */ #endif /* JPEG_CJPEG_DJPEG */

View File

@ -1,303 +1,303 @@
/* /*
* jerror.h * jerror.h
* *
* Copyright (C) 1994-1997, Thomas G. Lane. * Copyright (C) 1994-1997, Thomas G. Lane.
* This file is part of the Independent JPEG Group's software. * This file is part of the Independent JPEG Group's software.
* For conditions of distribution and use, see the accompanying README file. * For conditions of distribution and use, see the accompanying README file.
* *
* This file defines the error and message codes for the JPEG library. * 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 * Edit this file to add new codes, or to translate the message strings to
* some other language. * some other language.
* A set of error-reporting macros are defined too. Some applications using * 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 * the JPEG library may wish to include this file to get the error codes
* and/or the macros. * and/or the macros.
*/ */
/* /*
* To define the enum list of message codes, include this file without * To define the enum list of message codes, include this file without
* defining macro JMESSAGE. To create a message string table, include it * defining macro JMESSAGE. To create a message string table, include it
* again with a suitable JMESSAGE definition (see jerror.c for an example). * again with a suitable JMESSAGE definition (see jerror.c for an example).
*/ */
#ifndef JMESSAGE #ifndef JMESSAGE
#ifndef JERROR_H #ifndef JERROR_H
/* First time through, define the enum list */ /* First time through, define the enum list */
#define JMAKE_ENUM_LIST #define JMAKE_ENUM_LIST
#else #else
/* Repeated inclusions of this file are no-ops unless JMESSAGE is defined */ /* Repeated inclusions of this file are no-ops unless JMESSAGE is defined */
#define JMESSAGE(code,string) #define JMESSAGE(code,string)
#endif /* JERROR_H */ #endif /* JERROR_H */
#endif /* JMESSAGE */ #endif /* JMESSAGE */
#ifdef JMAKE_ENUM_LIST #ifdef JMAKE_ENUM_LIST
typedef enum { typedef enum {
#define JMESSAGE(code,string) code , #define JMESSAGE(code,string) code ,
#endif /* JMAKE_ENUM_LIST */ #endif /* JMAKE_ENUM_LIST */
JMESSAGE(JMSG_NOMESSAGE, "Bogus message code %d") /* Must be first entry! */ JMESSAGE(JMSG_NOMESSAGE, "Bogus message code %d") /* Must be first entry! */
/* For maintenance convenience, list is alphabetical by message code name */ /* For maintenance convenience, list is alphabetical by message code name */
JMESSAGE(JERR_ARITH_NOTIMPL, JMESSAGE(JERR_ARITH_NOTIMPL,
"Sorry, there are legal restrictions on arithmetic coding") "Sorry, there are legal restrictions on arithmetic coding")
JMESSAGE(JERR_BAD_ALIGN_TYPE, "ALIGN_TYPE is wrong, please fix") JMESSAGE(JERR_BAD_ALIGN_TYPE, "ALIGN_TYPE is wrong, please fix")
JMESSAGE(JERR_BAD_ALLOC_CHUNK, "MAX_ALLOC_CHUNK is wrong, please fix") JMESSAGE(JERR_BAD_ALLOC_CHUNK, "MAX_ALLOC_CHUNK is wrong, please fix")
JMESSAGE(JERR_BAD_BUFFER_MODE, "Bogus buffer control mode") JMESSAGE(JERR_BAD_BUFFER_MODE, "Bogus buffer control mode")
JMESSAGE(JERR_BAD_COMPONENT_ID, "Invalid component ID %d in SOS") JMESSAGE(JERR_BAD_COMPONENT_ID, "Invalid component ID %d in SOS")
JMESSAGE(JERR_BAD_CROP_SPEC, "Invalid crop request") JMESSAGE(JERR_BAD_CROP_SPEC, "Invalid crop request")
JMESSAGE(JERR_BAD_DCT_COEF, "DCT coefficient out of range") JMESSAGE(JERR_BAD_DCT_COEF, "DCT coefficient out of range")
JMESSAGE(JERR_BAD_DCTSIZE, "IDCT output block size %d not supported") JMESSAGE(JERR_BAD_DCTSIZE, "IDCT output block size %d not supported")
JMESSAGE(JERR_BAD_DROP_SAMPLING, JMESSAGE(JERR_BAD_DROP_SAMPLING,
"Component index %d: mismatching sampling ratio %d:%d, %d:%d, %c") "Component index %d: mismatching sampling ratio %d:%d, %d:%d, %c")
JMESSAGE(JERR_BAD_HUFF_TABLE, "Bogus Huffman table definition") JMESSAGE(JERR_BAD_HUFF_TABLE, "Bogus Huffman table definition")
JMESSAGE(JERR_BAD_IN_COLORSPACE, "Bogus input colorspace") JMESSAGE(JERR_BAD_IN_COLORSPACE, "Bogus input colorspace")
JMESSAGE(JERR_BAD_J_COLORSPACE, "Bogus JPEG colorspace") JMESSAGE(JERR_BAD_J_COLORSPACE, "Bogus JPEG colorspace")
JMESSAGE(JERR_BAD_LENGTH, "Bogus marker length") JMESSAGE(JERR_BAD_LENGTH, "Bogus marker length")
JMESSAGE(JERR_BAD_LIB_VERSION, JMESSAGE(JERR_BAD_LIB_VERSION,
"Wrong JPEG library version: library is %d, caller expects %d") "Wrong JPEG library version: library is %d, caller expects %d")
JMESSAGE(JERR_BAD_MCU_SIZE, "Sampling factors too large for interleaved scan") JMESSAGE(JERR_BAD_MCU_SIZE, "Sampling factors too large for interleaved scan")
JMESSAGE(JERR_BAD_POOL_ID, "Invalid memory pool code %d") JMESSAGE(JERR_BAD_POOL_ID, "Invalid memory pool code %d")
JMESSAGE(JERR_BAD_PRECISION, "Unsupported JPEG data precision %d") JMESSAGE(JERR_BAD_PRECISION, "Unsupported JPEG data precision %d")
JMESSAGE(JERR_BAD_PROGRESSION, JMESSAGE(JERR_BAD_PROGRESSION,
"Invalid progressive parameters Ss=%d Se=%d Ah=%d Al=%d") "Invalid progressive parameters Ss=%d Se=%d Ah=%d Al=%d")
JMESSAGE(JERR_BAD_PROG_SCRIPT, JMESSAGE(JERR_BAD_PROG_SCRIPT,
"Invalid progressive parameters at scan script entry %d") "Invalid progressive parameters at scan script entry %d")
JMESSAGE(JERR_BAD_SAMPLING, "Bogus sampling factors") JMESSAGE(JERR_BAD_SAMPLING, "Bogus sampling factors")
JMESSAGE(JERR_BAD_SCAN_SCRIPT, "Invalid scan script at entry %d") JMESSAGE(JERR_BAD_SCAN_SCRIPT, "Invalid scan script at entry %d")
JMESSAGE(JERR_BAD_STATE, "Improper call to JPEG library in state %d") JMESSAGE(JERR_BAD_STATE, "Improper call to JPEG library in state %d")
JMESSAGE(JERR_BAD_STRUCT_SIZE, JMESSAGE(JERR_BAD_STRUCT_SIZE,
"JPEG parameter struct mismatch: library thinks size is %u, caller expects %u") "JPEG parameter struct mismatch: library thinks size is %u, caller expects %u")
JMESSAGE(JERR_BAD_VIRTUAL_ACCESS, "Bogus virtual array access") JMESSAGE(JERR_BAD_VIRTUAL_ACCESS, "Bogus virtual array access")
JMESSAGE(JERR_BUFFER_SIZE, "Buffer passed to JPEG library is too small") JMESSAGE(JERR_BUFFER_SIZE, "Buffer passed to JPEG library is too small")
JMESSAGE(JERR_CANT_SUSPEND, "Suspension not allowed here") JMESSAGE(JERR_CANT_SUSPEND, "Suspension not allowed here")
JMESSAGE(JERR_CCIR601_NOTIMPL, "CCIR601 sampling not implemented yet") JMESSAGE(JERR_CCIR601_NOTIMPL, "CCIR601 sampling not implemented yet")
JMESSAGE(JERR_COMPONENT_COUNT, "Too many color components: %d, max %d") JMESSAGE(JERR_COMPONENT_COUNT, "Too many color components: %d, max %d")
JMESSAGE(JERR_CONVERSION_NOTIMPL, "Unsupported color conversion request") JMESSAGE(JERR_CONVERSION_NOTIMPL, "Unsupported color conversion request")
JMESSAGE(JERR_DAC_INDEX, "Bogus DAC index %d") JMESSAGE(JERR_DAC_INDEX, "Bogus DAC index %d")
JMESSAGE(JERR_DAC_VALUE, "Bogus DAC value 0x%x") JMESSAGE(JERR_DAC_VALUE, "Bogus DAC value 0x%x")
JMESSAGE(JERR_DHT_INDEX, "Bogus DHT index %d") JMESSAGE(JERR_DHT_INDEX, "Bogus DHT index %d")
JMESSAGE(JERR_DQT_INDEX, "Bogus DQT index %d") JMESSAGE(JERR_DQT_INDEX, "Bogus DQT index %d")
JMESSAGE(JERR_EMPTY_IMAGE, "Empty JPEG image (DNL not supported)") JMESSAGE(JERR_EMPTY_IMAGE, "Empty JPEG image (DNL not supported)")
JMESSAGE(JERR_EMS_READ, "Read from EMS failed") JMESSAGE(JERR_EMS_READ, "Read from EMS failed")
JMESSAGE(JERR_EMS_WRITE, "Write to EMS failed") JMESSAGE(JERR_EMS_WRITE, "Write to EMS failed")
JMESSAGE(JERR_EOI_EXPECTED, "Didn't expect more than one scan") JMESSAGE(JERR_EOI_EXPECTED, "Didn't expect more than one scan")
JMESSAGE(JERR_FILE_READ, "Input file read error") JMESSAGE(JERR_FILE_READ, "Input file read error")
JMESSAGE(JERR_FILE_WRITE, "Output file write error --- out of disk space?") JMESSAGE(JERR_FILE_WRITE, "Output file write error --- out of disk space?")
JMESSAGE(JERR_FRACT_SAMPLE_NOTIMPL, "Fractional sampling not implemented yet") JMESSAGE(JERR_FRACT_SAMPLE_NOTIMPL, "Fractional sampling not implemented yet")
JMESSAGE(JERR_HUFF_CLEN_OVERFLOW, "Huffman code size table overflow") JMESSAGE(JERR_HUFF_CLEN_OVERFLOW, "Huffman code size table overflow")
JMESSAGE(JERR_HUFF_MISSING_CODE, "Missing Huffman code table entry") JMESSAGE(JERR_HUFF_MISSING_CODE, "Missing Huffman code table entry")
JMESSAGE(JERR_IMAGE_TOO_BIG, "Maximum supported image dimension is %u pixels") JMESSAGE(JERR_IMAGE_TOO_BIG, "Maximum supported image dimension is %u pixels")
JMESSAGE(JERR_INPUT_EMPTY, "Empty input file") JMESSAGE(JERR_INPUT_EMPTY, "Empty input file")
JMESSAGE(JERR_INPUT_EOF, "Premature end of input file") JMESSAGE(JERR_INPUT_EOF, "Premature end of input file")
JMESSAGE(JERR_MISMATCHED_QUANT_TABLE, JMESSAGE(JERR_MISMATCHED_QUANT_TABLE,
"Cannot transcode due to multiple use of quantization table %d") "Cannot transcode due to multiple use of quantization table %d")
JMESSAGE(JERR_MISSING_DATA, "Scan script does not transmit all data") JMESSAGE(JERR_MISSING_DATA, "Scan script does not transmit all data")
JMESSAGE(JERR_MODE_CHANGE, "Invalid color quantization mode change") JMESSAGE(JERR_MODE_CHANGE, "Invalid color quantization mode change")
JMESSAGE(JERR_NOTIMPL, "Not implemented yet") JMESSAGE(JERR_NOTIMPL, "Not implemented yet")
JMESSAGE(JERR_NOT_COMPILED, "Requested feature was omitted at compile time") JMESSAGE(JERR_NOT_COMPILED, "Requested feature was omitted at compile time")
JMESSAGE(JERR_NO_BACKING_STORE, "Backing store not supported") JMESSAGE(JERR_NO_BACKING_STORE, "Backing store not supported")
JMESSAGE(JERR_NO_HUFF_TABLE, "Huffman table 0x%02x was not defined") JMESSAGE(JERR_NO_HUFF_TABLE, "Huffman table 0x%02x was not defined")
JMESSAGE(JERR_NO_IMAGE, "JPEG datastream contains no image") JMESSAGE(JERR_NO_IMAGE, "JPEG datastream contains no image")
JMESSAGE(JERR_NO_QUANT_TABLE, "Quantization table 0x%02x was not defined") JMESSAGE(JERR_NO_QUANT_TABLE, "Quantization table 0x%02x was not defined")
JMESSAGE(JERR_NO_SOI, "Not a JPEG file: starts with 0x%02x 0x%02x") JMESSAGE(JERR_NO_SOI, "Not a JPEG file: starts with 0x%02x 0x%02x")
JMESSAGE(JERR_OUT_OF_MEMORY, "Insufficient memory (case %d)") JMESSAGE(JERR_OUT_OF_MEMORY, "Insufficient memory (case %d)")
JMESSAGE(JERR_QUANT_COMPONENTS, JMESSAGE(JERR_QUANT_COMPONENTS,
"Cannot quantize more than %d color components") "Cannot quantize more than %d color components")
JMESSAGE(JERR_QUANT_FEW_COLORS, "Cannot quantize to fewer than %d colors") JMESSAGE(JERR_QUANT_FEW_COLORS, "Cannot quantize to fewer than %d colors")
JMESSAGE(JERR_QUANT_MANY_COLORS, "Cannot quantize to more than %d colors") JMESSAGE(JERR_QUANT_MANY_COLORS, "Cannot quantize to more than %d colors")
JMESSAGE(JERR_SOF_DUPLICATE, "Invalid JPEG file structure: two SOF markers") JMESSAGE(JERR_SOF_DUPLICATE, "Invalid JPEG file structure: two SOF markers")
JMESSAGE(JERR_SOF_NO_SOS, "Invalid JPEG file structure: missing SOS marker") JMESSAGE(JERR_SOF_NO_SOS, "Invalid JPEG file structure: missing SOS marker")
JMESSAGE(JERR_SOF_UNSUPPORTED, "Unsupported JPEG process: SOF type 0x%02x") JMESSAGE(JERR_SOF_UNSUPPORTED, "Unsupported JPEG process: SOF type 0x%02x")
JMESSAGE(JERR_SOI_DUPLICATE, "Invalid JPEG file structure: two SOI markers") JMESSAGE(JERR_SOI_DUPLICATE, "Invalid JPEG file structure: two SOI markers")
JMESSAGE(JERR_SOS_NO_SOF, "Invalid JPEG file structure: SOS before SOF") JMESSAGE(JERR_SOS_NO_SOF, "Invalid JPEG file structure: SOS before SOF")
JMESSAGE(JERR_TFILE_CREATE, "Failed to create temporary file %s") JMESSAGE(JERR_TFILE_CREATE, "Failed to create temporary file %s")
JMESSAGE(JERR_TFILE_READ, "Read failed on temporary file") JMESSAGE(JERR_TFILE_READ, "Read failed on temporary file")
JMESSAGE(JERR_TFILE_SEEK, "Seek failed on temporary file") JMESSAGE(JERR_TFILE_SEEK, "Seek failed on temporary file")
JMESSAGE(JERR_TFILE_WRITE, JMESSAGE(JERR_TFILE_WRITE,
"Write failed on temporary file --- out of disk space?") "Write failed on temporary file --- out of disk space?")
JMESSAGE(JERR_TOO_LITTLE_DATA, "Application transferred too few scanlines") JMESSAGE(JERR_TOO_LITTLE_DATA, "Application transferred too few scanlines")
JMESSAGE(JERR_UNKNOWN_MARKER, "Unsupported marker type 0x%02x") JMESSAGE(JERR_UNKNOWN_MARKER, "Unsupported marker type 0x%02x")
JMESSAGE(JERR_VIRTUAL_BUG, "Virtual array controller messed up") JMESSAGE(JERR_VIRTUAL_BUG, "Virtual array controller messed up")
JMESSAGE(JERR_WIDTH_OVERFLOW, "Image too wide for this implementation") JMESSAGE(JERR_WIDTH_OVERFLOW, "Image too wide for this implementation")
JMESSAGE(JERR_XMS_READ, "Read from XMS failed") JMESSAGE(JERR_XMS_READ, "Read from XMS failed")
JMESSAGE(JERR_XMS_WRITE, "Write to XMS failed") JMESSAGE(JERR_XMS_WRITE, "Write to XMS failed")
JMESSAGE(JMSG_COPYRIGHT, JCOPYRIGHT) JMESSAGE(JMSG_COPYRIGHT, JCOPYRIGHT)
JMESSAGE(JMSG_VERSION, JVERSION) JMESSAGE(JMSG_VERSION, JVERSION)
JMESSAGE(JTRC_16BIT_TABLES, JMESSAGE(JTRC_16BIT_TABLES,
"Caution: quantization tables are too coarse for baseline JPEG") "Caution: quantization tables are too coarse for baseline JPEG")
JMESSAGE(JTRC_ADOBE, JMESSAGE(JTRC_ADOBE,
"Adobe APP14 marker: version %d, flags 0x%04x 0x%04x, transform %d") "Adobe APP14 marker: version %d, flags 0x%04x 0x%04x, transform %d")
JMESSAGE(JTRC_APP0, "Unknown APP0 marker (not JFIF), length %u") JMESSAGE(JTRC_APP0, "Unknown APP0 marker (not JFIF), length %u")
JMESSAGE(JTRC_APP14, "Unknown APP14 marker (not Adobe), length %u") JMESSAGE(JTRC_APP14, "Unknown APP14 marker (not Adobe), length %u")
JMESSAGE(JTRC_DAC, "Define Arithmetic Table 0x%02x: 0x%02x") JMESSAGE(JTRC_DAC, "Define Arithmetic Table 0x%02x: 0x%02x")
JMESSAGE(JTRC_DHT, "Define Huffman Table 0x%02x") JMESSAGE(JTRC_DHT, "Define Huffman Table 0x%02x")
JMESSAGE(JTRC_DQT, "Define Quantization Table %d precision %d") JMESSAGE(JTRC_DQT, "Define Quantization Table %d precision %d")
JMESSAGE(JTRC_DRI, "Define Restart Interval %u") JMESSAGE(JTRC_DRI, "Define Restart Interval %u")
JMESSAGE(JTRC_EMS_CLOSE, "Freed EMS handle %u") JMESSAGE(JTRC_EMS_CLOSE, "Freed EMS handle %u")
JMESSAGE(JTRC_EMS_OPEN, "Obtained EMS handle %u") JMESSAGE(JTRC_EMS_OPEN, "Obtained EMS handle %u")
JMESSAGE(JTRC_EOI, "End Of Image") JMESSAGE(JTRC_EOI, "End Of Image")
JMESSAGE(JTRC_HUFFBITS, " %3d %3d %3d %3d %3d %3d %3d %3d") JMESSAGE(JTRC_HUFFBITS, " %3d %3d %3d %3d %3d %3d %3d %3d")
JMESSAGE(JTRC_JFIF, "JFIF APP0 marker: version %d.%02d, density %dx%d %d") JMESSAGE(JTRC_JFIF, "JFIF APP0 marker: version %d.%02d, density %dx%d %d")
JMESSAGE(JTRC_JFIF_BADTHUMBNAILSIZE, JMESSAGE(JTRC_JFIF_BADTHUMBNAILSIZE,
"Warning: thumbnail image size does not match data length %u") "Warning: thumbnail image size does not match data length %u")
JMESSAGE(JTRC_JFIF_EXTENSION, JMESSAGE(JTRC_JFIF_EXTENSION,
"JFIF extension marker: type 0x%02x, length %u") "JFIF extension marker: type 0x%02x, length %u")
JMESSAGE(JTRC_JFIF_THUMBNAIL, " with %d x %d thumbnail image") JMESSAGE(JTRC_JFIF_THUMBNAIL, " with %d x %d thumbnail image")
JMESSAGE(JTRC_MISC_MARKER, "Miscellaneous marker 0x%02x, length %u") JMESSAGE(JTRC_MISC_MARKER, "Miscellaneous marker 0x%02x, length %u")
JMESSAGE(JTRC_PARMLESS_MARKER, "Unexpected marker 0x%02x") JMESSAGE(JTRC_PARMLESS_MARKER, "Unexpected marker 0x%02x")
JMESSAGE(JTRC_QUANTVALS, " %4u %4u %4u %4u %4u %4u %4u %4u") JMESSAGE(JTRC_QUANTVALS, " %4u %4u %4u %4u %4u %4u %4u %4u")
JMESSAGE(JTRC_QUANT_3_NCOLORS, "Quantizing to %d = %d*%d*%d colors") JMESSAGE(JTRC_QUANT_3_NCOLORS, "Quantizing to %d = %d*%d*%d colors")
JMESSAGE(JTRC_QUANT_NCOLORS, "Quantizing to %d colors") JMESSAGE(JTRC_QUANT_NCOLORS, "Quantizing to %d colors")
JMESSAGE(JTRC_QUANT_SELECTED, "Selected %d colors for quantization") JMESSAGE(JTRC_QUANT_SELECTED, "Selected %d colors for quantization")
JMESSAGE(JTRC_RECOVERY_ACTION, "At marker 0x%02x, recovery action %d") JMESSAGE(JTRC_RECOVERY_ACTION, "At marker 0x%02x, recovery action %d")
JMESSAGE(JTRC_RST, "RST%d") JMESSAGE(JTRC_RST, "RST%d")
JMESSAGE(JTRC_SMOOTH_NOTIMPL, JMESSAGE(JTRC_SMOOTH_NOTIMPL,
"Smoothing not supported with nonstandard sampling ratios") "Smoothing not supported with nonstandard sampling ratios")
JMESSAGE(JTRC_SOF, "Start Of Frame 0x%02x: width=%u, height=%u, components=%d") JMESSAGE(JTRC_SOF, "Start Of Frame 0x%02x: width=%u, height=%u, components=%d")
JMESSAGE(JTRC_SOF_COMPONENT, " Component %d: %dhx%dv q=%d") JMESSAGE(JTRC_SOF_COMPONENT, " Component %d: %dhx%dv q=%d")
JMESSAGE(JTRC_SOI, "Start of Image") JMESSAGE(JTRC_SOI, "Start of Image")
JMESSAGE(JTRC_SOS, "Start Of Scan: %d components") JMESSAGE(JTRC_SOS, "Start Of Scan: %d components")
JMESSAGE(JTRC_SOS_COMPONENT, " Component %d: dc=%d ac=%d") JMESSAGE(JTRC_SOS_COMPONENT, " Component %d: dc=%d ac=%d")
JMESSAGE(JTRC_SOS_PARAMS, " Ss=%d, Se=%d, Ah=%d, Al=%d") JMESSAGE(JTRC_SOS_PARAMS, " Ss=%d, Se=%d, Ah=%d, Al=%d")
JMESSAGE(JTRC_TFILE_CLOSE, "Closed temporary file %s") JMESSAGE(JTRC_TFILE_CLOSE, "Closed temporary file %s")
JMESSAGE(JTRC_TFILE_OPEN, "Opened temporary file %s") JMESSAGE(JTRC_TFILE_OPEN, "Opened temporary file %s")
JMESSAGE(JTRC_THUMB_JPEG, JMESSAGE(JTRC_THUMB_JPEG,
"JFIF extension marker: JPEG-compressed thumbnail image, length %u") "JFIF extension marker: JPEG-compressed thumbnail image, length %u")
JMESSAGE(JTRC_THUMB_PALETTE, JMESSAGE(JTRC_THUMB_PALETTE,
"JFIF extension marker: palette thumbnail image, length %u") "JFIF extension marker: palette thumbnail image, length %u")
JMESSAGE(JTRC_THUMB_RGB, JMESSAGE(JTRC_THUMB_RGB,
"JFIF extension marker: RGB thumbnail image, length %u") "JFIF extension marker: RGB thumbnail image, length %u")
JMESSAGE(JTRC_UNKNOWN_IDS, JMESSAGE(JTRC_UNKNOWN_IDS,
"Unrecognized component IDs %d %d %d, assuming YCbCr") "Unrecognized component IDs %d %d %d, assuming YCbCr")
JMESSAGE(JTRC_XMS_CLOSE, "Freed XMS handle %u") JMESSAGE(JTRC_XMS_CLOSE, "Freed XMS handle %u")
JMESSAGE(JTRC_XMS_OPEN, "Obtained XMS handle %u") JMESSAGE(JTRC_XMS_OPEN, "Obtained XMS handle %u")
JMESSAGE(JWRN_ADOBE_XFORM, "Unknown Adobe color transform code %d") JMESSAGE(JWRN_ADOBE_XFORM, "Unknown Adobe color transform code %d")
JMESSAGE(JWRN_BOGUS_PROGRESSION, JMESSAGE(JWRN_BOGUS_PROGRESSION,
"Inconsistent progression sequence for component %d coefficient %d") "Inconsistent progression sequence for component %d coefficient %d")
JMESSAGE(JWRN_EXTRANEOUS_DATA, JMESSAGE(JWRN_EXTRANEOUS_DATA,
"Corrupt JPEG data: %u extraneous bytes before marker 0x%02x") "Corrupt JPEG data: %u extraneous bytes before marker 0x%02x")
JMESSAGE(JWRN_HIT_MARKER, "Corrupt JPEG data: premature end of data segment") JMESSAGE(JWRN_HIT_MARKER, "Corrupt JPEG data: premature end of data segment")
JMESSAGE(JWRN_HUFF_BAD_CODE, "Corrupt JPEG data: bad Huffman code") JMESSAGE(JWRN_HUFF_BAD_CODE, "Corrupt JPEG data: bad Huffman code")
JMESSAGE(JWRN_JFIF_MAJOR, "Warning: unknown JFIF revision number %d.%02d") JMESSAGE(JWRN_JFIF_MAJOR, "Warning: unknown JFIF revision number %d.%02d")
JMESSAGE(JWRN_JPEG_EOF, "Premature end of JPEG file") JMESSAGE(JWRN_JPEG_EOF, "Premature end of JPEG file")
JMESSAGE(JWRN_MUST_RESYNC, JMESSAGE(JWRN_MUST_RESYNC,
"Corrupt JPEG data: found marker 0x%02x instead of RST%d") "Corrupt JPEG data: found marker 0x%02x instead of RST%d")
JMESSAGE(JWRN_NOT_SEQUENTIAL, "Invalid SOS parameters for sequential JPEG") JMESSAGE(JWRN_NOT_SEQUENTIAL, "Invalid SOS parameters for sequential JPEG")
JMESSAGE(JWRN_TOO_MUCH_DATA, "Application transferred too many scanlines") JMESSAGE(JWRN_TOO_MUCH_DATA, "Application transferred too many scanlines")
#ifdef JMAKE_ENUM_LIST #ifdef JMAKE_ENUM_LIST
JMSG_LASTMSGCODE JMSG_LASTMSGCODE
} J_MESSAGE_CODE; } J_MESSAGE_CODE;
#undef JMAKE_ENUM_LIST #undef JMAKE_ENUM_LIST
#endif /* JMAKE_ENUM_LIST */ #endif /* JMAKE_ENUM_LIST */
/* Zap JMESSAGE macro so that future re-inclusions do nothing by default */ /* Zap JMESSAGE macro so that future re-inclusions do nothing by default */
#undef JMESSAGE #undef JMESSAGE
#ifndef JERROR_H #ifndef JERROR_H
#define JERROR_H #define JERROR_H
/* Macros to simplify using the error and trace message stuff */ /* Macros to simplify using the error and trace message stuff */
/* The first parameter is either type of cinfo pointer */ /* The first parameter is either type of cinfo pointer */
/* Fatal errors (print message and exit) */ /* Fatal errors (print message and exit) */
#define ERREXIT(cinfo,code) \ #define ERREXIT(cinfo,code) \
((cinfo)->err->msg_code = (code), \ ((cinfo)->err->msg_code = (code), \
(*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo))) (*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo)))
#define ERREXIT1(cinfo,code,p1) \ #define ERREXIT1(cinfo,code,p1) \
((cinfo)->err->msg_code = (code), \ ((cinfo)->err->msg_code = (code), \
(cinfo)->err->msg_parm.i[0] = (p1), \ (cinfo)->err->msg_parm.i[0] = (p1), \
(*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo))) (*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo)))
#define ERREXIT2(cinfo,code,p1,p2) \ #define ERREXIT2(cinfo,code,p1,p2) \
((cinfo)->err->msg_code = (code), \ ((cinfo)->err->msg_code = (code), \
(cinfo)->err->msg_parm.i[0] = (p1), \ (cinfo)->err->msg_parm.i[0] = (p1), \
(cinfo)->err->msg_parm.i[1] = (p2), \ (cinfo)->err->msg_parm.i[1] = (p2), \
(*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo))) (*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo)))
#define ERREXIT3(cinfo,code,p1,p2,p3) \ #define ERREXIT3(cinfo,code,p1,p2,p3) \
((cinfo)->err->msg_code = (code), \ ((cinfo)->err->msg_code = (code), \
(cinfo)->err->msg_parm.i[0] = (p1), \ (cinfo)->err->msg_parm.i[0] = (p1), \
(cinfo)->err->msg_parm.i[1] = (p2), \ (cinfo)->err->msg_parm.i[1] = (p2), \
(cinfo)->err->msg_parm.i[2] = (p3), \ (cinfo)->err->msg_parm.i[2] = (p3), \
(*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo))) (*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo)))
#define ERREXIT4(cinfo,code,p1,p2,p3,p4) \ #define ERREXIT4(cinfo,code,p1,p2,p3,p4) \
((cinfo)->err->msg_code = (code), \ ((cinfo)->err->msg_code = (code), \
(cinfo)->err->msg_parm.i[0] = (p1), \ (cinfo)->err->msg_parm.i[0] = (p1), \
(cinfo)->err->msg_parm.i[1] = (p2), \ (cinfo)->err->msg_parm.i[1] = (p2), \
(cinfo)->err->msg_parm.i[2] = (p3), \ (cinfo)->err->msg_parm.i[2] = (p3), \
(cinfo)->err->msg_parm.i[3] = (p4), \ (cinfo)->err->msg_parm.i[3] = (p4), \
(*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo))) (*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo)))
#define ERREXIT6(cinfo,code,p1,p2,p3,p4,p5,p6) \ #define ERREXIT6(cinfo,code,p1,p2,p3,p4,p5,p6) \
((cinfo)->err->msg_code = (code), \ ((cinfo)->err->msg_code = (code), \
(cinfo)->err->msg_parm.i[0] = (p1), \ (cinfo)->err->msg_parm.i[0] = (p1), \
(cinfo)->err->msg_parm.i[1] = (p2), \ (cinfo)->err->msg_parm.i[1] = (p2), \
(cinfo)->err->msg_parm.i[2] = (p3), \ (cinfo)->err->msg_parm.i[2] = (p3), \
(cinfo)->err->msg_parm.i[3] = (p4), \ (cinfo)->err->msg_parm.i[3] = (p4), \
(cinfo)->err->msg_parm.i[4] = (p5), \ (cinfo)->err->msg_parm.i[4] = (p5), \
(cinfo)->err->msg_parm.i[5] = (p6), \ (cinfo)->err->msg_parm.i[5] = (p6), \
(*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo))) (*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo)))
#define ERREXITS(cinfo,code,str) \ #define ERREXITS(cinfo,code,str) \
((cinfo)->err->msg_code = (code), \ ((cinfo)->err->msg_code = (code), \
strncpy((cinfo)->err->msg_parm.s, (str), JMSG_STR_PARM_MAX), \ strncpy((cinfo)->err->msg_parm.s, (str), JMSG_STR_PARM_MAX), \
(*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo))) (*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo)))
#define MAKESTMT(stuff) do { stuff } while (0) #define MAKESTMT(stuff) do { stuff } while (0)
/* Nonfatal errors (we can keep going, but the data is probably corrupt) */ /* Nonfatal errors (we can keep going, but the data is probably corrupt) */
#define WARNMS(cinfo,code) \ #define WARNMS(cinfo,code) \
((cinfo)->err->msg_code = (code), \ ((cinfo)->err->msg_code = (code), \
(*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), -1)) (*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), -1))
#define WARNMS1(cinfo,code,p1) \ #define WARNMS1(cinfo,code,p1) \
((cinfo)->err->msg_code = (code), \ ((cinfo)->err->msg_code = (code), \
(cinfo)->err->msg_parm.i[0] = (p1), \ (cinfo)->err->msg_parm.i[0] = (p1), \
(*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), -1)) (*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), -1))
#define WARNMS2(cinfo,code,p1,p2) \ #define WARNMS2(cinfo,code,p1,p2) \
((cinfo)->err->msg_code = (code), \ ((cinfo)->err->msg_code = (code), \
(cinfo)->err->msg_parm.i[0] = (p1), \ (cinfo)->err->msg_parm.i[0] = (p1), \
(cinfo)->err->msg_parm.i[1] = (p2), \ (cinfo)->err->msg_parm.i[1] = (p2), \
(*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), -1)) (*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), -1))
/* Informational/debugging messages */ /* Informational/debugging messages */
#define TRACEMS(cinfo,lvl,code) \ #define TRACEMS(cinfo,lvl,code) \
((cinfo)->err->msg_code = (code), \ ((cinfo)->err->msg_code = (code), \
(*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl))) (*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl)))
#define TRACEMS1(cinfo,lvl,code,p1) \ #define TRACEMS1(cinfo,lvl,code,p1) \
((cinfo)->err->msg_code = (code), \ ((cinfo)->err->msg_code = (code), \
(cinfo)->err->msg_parm.i[0] = (p1), \ (cinfo)->err->msg_parm.i[0] = (p1), \
(*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl))) (*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl)))
#define TRACEMS2(cinfo,lvl,code,p1,p2) \ #define TRACEMS2(cinfo,lvl,code,p1,p2) \
((cinfo)->err->msg_code = (code), \ ((cinfo)->err->msg_code = (code), \
(cinfo)->err->msg_parm.i[0] = (p1), \ (cinfo)->err->msg_parm.i[0] = (p1), \
(cinfo)->err->msg_parm.i[1] = (p2), \ (cinfo)->err->msg_parm.i[1] = (p2), \
(*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl))) (*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl)))
#define TRACEMS3(cinfo,lvl,code,p1,p2,p3) \ #define TRACEMS3(cinfo,lvl,code,p1,p2,p3) \
MAKESTMT(int * _mp = (cinfo)->err->msg_parm.i; \ MAKESTMT(int * _mp = (cinfo)->err->msg_parm.i; \
_mp[0] = (p1); _mp[1] = (p2); _mp[2] = (p3); \ _mp[0] = (p1); _mp[1] = (p2); _mp[2] = (p3); \
(cinfo)->err->msg_code = (code); \ (cinfo)->err->msg_code = (code); \
(*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl)); ) (*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl)); )
#define TRACEMS4(cinfo,lvl,code,p1,p2,p3,p4) \ #define TRACEMS4(cinfo,lvl,code,p1,p2,p3,p4) \
MAKESTMT(int * _mp = (cinfo)->err->msg_parm.i; \ MAKESTMT(int * _mp = (cinfo)->err->msg_parm.i; \
_mp[0] = (p1); _mp[1] = (p2); _mp[2] = (p3); _mp[3] = (p4); \ _mp[0] = (p1); _mp[1] = (p2); _mp[2] = (p3); _mp[3] = (p4); \
(cinfo)->err->msg_code = (code); \ (cinfo)->err->msg_code = (code); \
(*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl)); ) (*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl)); )
#define TRACEMS5(cinfo,lvl,code,p1,p2,p3,p4,p5) \ #define TRACEMS5(cinfo,lvl,code,p1,p2,p3,p4,p5) \
MAKESTMT(int * _mp = (cinfo)->err->msg_parm.i; \ MAKESTMT(int * _mp = (cinfo)->err->msg_parm.i; \
_mp[0] = (p1); _mp[1] = (p2); _mp[2] = (p3); _mp[3] = (p4); \ _mp[0] = (p1); _mp[1] = (p2); _mp[2] = (p3); _mp[3] = (p4); \
_mp[4] = (p5); \ _mp[4] = (p5); \
(cinfo)->err->msg_code = (code); \ (cinfo)->err->msg_code = (code); \
(*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl)); ) (*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl)); )
#define TRACEMS8(cinfo,lvl,code,p1,p2,p3,p4,p5,p6,p7,p8) \ #define TRACEMS8(cinfo,lvl,code,p1,p2,p3,p4,p5,p6,p7,p8) \
MAKESTMT(int * _mp = (cinfo)->err->msg_parm.i; \ MAKESTMT(int * _mp = (cinfo)->err->msg_parm.i; \
_mp[0] = (p1); _mp[1] = (p2); _mp[2] = (p3); _mp[3] = (p4); \ _mp[0] = (p1); _mp[1] = (p2); _mp[2] = (p3); _mp[3] = (p4); \
_mp[4] = (p5); _mp[5] = (p6); _mp[6] = (p7); _mp[7] = (p8); \ _mp[4] = (p5); _mp[5] = (p6); _mp[6] = (p7); _mp[7] = (p8); \
(cinfo)->err->msg_code = (code); \ (cinfo)->err->msg_code = (code); \
(*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl)); ) (*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl)); )
#define TRACEMSS(cinfo,lvl,code,str) \ #define TRACEMSS(cinfo,lvl,code,str) \
((cinfo)->err->msg_code = (code), \ ((cinfo)->err->msg_code = (code), \
strncpy((cinfo)->err->msg_parm.s, (str), JMSG_STR_PARM_MAX), \ strncpy((cinfo)->err->msg_parm.s, (str), JMSG_STR_PARM_MAX), \
(*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl))) (*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl)))
#endif /* JERROR_H */ #endif /* JERROR_H */

View File

@ -1,426 +1,426 @@
/* /*
* jmorecfg.h * jmorecfg.h
* *
* Copyright (C) 1991-1997, Thomas G. Lane. * Copyright (C) 1991-1997, Thomas G. Lane.
* This file is part of the Independent JPEG Group's software. * This file is part of the Independent JPEG Group's software.
* For conditions of distribution and use, see the accompanying README file. * For conditions of distribution and use, see the accompanying README file.
* *
* This file contains additional configuration options that customize the * This file contains additional configuration options that customize the
* JPEG software for special applications or support machine-dependent * JPEG software for special applications or support machine-dependent
* optimizations. Most users will not need to touch this file. * optimizations. Most users will not need to touch this file.
*/ */
/* /*
* Define BITS_IN_JSAMPLE as either * Define BITS_IN_JSAMPLE as either
* 8 for 8-bit sample values (the usual setting) * 8 for 8-bit sample values (the usual setting)
* 12 for 12-bit sample values * 12 for 12-bit sample values
* Only 8 and 12 are legal data precisions for lossy JPEG according to the * Only 8 and 12 are legal data precisions for lossy JPEG according to the
* JPEG standard, and the IJG code does not support anything else! * JPEG standard, and the IJG code does not support anything else!
* We do not support run-time selection of data precision, sorry. * We do not support run-time selection of data precision, sorry.
*/ */
#define BITS_IN_JSAMPLE 8 /* use 8 or 12 */ #define BITS_IN_JSAMPLE 8 /* use 8 or 12 */
#if (defined (_MSC_VER) && (_MSC_VER >= 800)) #if (defined (_MSC_VER) && (_MSC_VER >= 800))
#define HAVE_UNSIGNED_CHAR #define HAVE_UNSIGNED_CHAR
#define HAVE_ALL_INTS #define HAVE_ALL_INTS
#define EXTERN(type) extern type __cdecl #define EXTERN(type) extern type __cdecl
#endif #endif
/* /*
* Maximum number of components (color channels) allowed in JPEG image. * Maximum number of components (color channels) allowed in JPEG image.
* To meet the letter of the JPEG spec, set this to 255. However, darn * To meet the letter of the JPEG spec, set this to 255. However, darn
* few applications need more than 4 channels (maybe 5 for CMYK + alpha * few applications need more than 4 channels (maybe 5 for CMYK + alpha
* mask). We recommend 10 as a reasonable compromise; use 4 if you are * mask). We recommend 10 as a reasonable compromise; use 4 if you are
* really short on memory. (Each allowed component costs a hundred or so * really short on memory. (Each allowed component costs a hundred or so
* bytes of storage, whether actually used in an image or not.) * bytes of storage, whether actually used in an image or not.)
*/ */
#define MAX_COMPONENTS 10 /* maximum number of image components */ #define MAX_COMPONENTS 10 /* maximum number of image components */
/* /*
* Basic data types. * Basic data types.
* You may need to change these if you have a machine with unusual data * You may need to change these if you have a machine with unusual data
* type sizes; for example, "char" not 8 bits, "short" not 16 bits, * type sizes; for example, "char" not 8 bits, "short" not 16 bits,
* or "long" not 32 bits. We don't care whether "int" is 16 or 32 bits, * or "long" not 32 bits. We don't care whether "int" is 16 or 32 bits,
* but it had better be at least 16. * but it had better be at least 16.
*/ */
/* Representation of a single sample (pixel element value). /* Representation of a single sample (pixel element value).
* We frequently allocate large arrays of these, so it's important to keep * We frequently allocate large arrays of these, so it's important to keep
* them small. But if you have memory to burn and access to char or short * them small. But if you have memory to burn and access to char or short
* arrays is very slow on your hardware, you might want to change these. * arrays is very slow on your hardware, you might want to change these.
*/ */
#if BITS_IN_JSAMPLE == 8 #if BITS_IN_JSAMPLE == 8
/* JSAMPLE should be the smallest type that will hold the values 0..255. /* JSAMPLE should be the smallest type that will hold the values 0..255.
* You can use a signed char by having GETJSAMPLE mask it with 0xFF. * You can use a signed char by having GETJSAMPLE mask it with 0xFF.
*/ */
#ifdef HAVE_UNSIGNED_CHAR #ifdef HAVE_UNSIGNED_CHAR
typedef unsigned char JSAMPLE; typedef unsigned char JSAMPLE;
#define GETJSAMPLE(value) ((int) (value)) #define GETJSAMPLE(value) ((int) (value))
#else /* not HAVE_UNSIGNED_CHAR */ #else /* not HAVE_UNSIGNED_CHAR */
typedef char JSAMPLE; typedef char JSAMPLE;
#ifdef CHAR_IS_UNSIGNED #ifdef CHAR_IS_UNSIGNED
#define GETJSAMPLE(value) ((int) (value)) #define GETJSAMPLE(value) ((int) (value))
#else #else
#define GETJSAMPLE(value) ((int) (value) & 0xFF) #define GETJSAMPLE(value) ((int) (value) & 0xFF)
#endif /* CHAR_IS_UNSIGNED */ #endif /* CHAR_IS_UNSIGNED */
#endif /* HAVE_UNSIGNED_CHAR */ #endif /* HAVE_UNSIGNED_CHAR */
#define MAXJSAMPLE 255 #define MAXJSAMPLE 255
#define CENTERJSAMPLE 128 #define CENTERJSAMPLE 128
#endif /* BITS_IN_JSAMPLE == 8 */ #endif /* BITS_IN_JSAMPLE == 8 */
#if BITS_IN_JSAMPLE == 12 #if BITS_IN_JSAMPLE == 12
/* JSAMPLE should be the smallest type that will hold the values 0..4095. /* JSAMPLE should be the smallest type that will hold the values 0..4095.
* On nearly all machines "short" will do nicely. * On nearly all machines "short" will do nicely.
*/ */
typedef short JSAMPLE; typedef short JSAMPLE;
#define GETJSAMPLE(value) ((int) (value)) #define GETJSAMPLE(value) ((int) (value))
#define MAXJSAMPLE 4095 #define MAXJSAMPLE 4095
#define CENTERJSAMPLE 2048 #define CENTERJSAMPLE 2048
#endif /* BITS_IN_JSAMPLE == 12 */ #endif /* BITS_IN_JSAMPLE == 12 */
/* Representation of a DCT frequency coefficient. /* Representation of a DCT frequency coefficient.
* This should be a signed value of at least 16 bits; "short" is usually OK. * This should be a signed value of at least 16 bits; "short" is usually OK.
* Again, we allocate large arrays of these, but you can change to int * Again, we allocate large arrays of these, but you can change to int
* if you have memory to burn and "short" is really slow. * if you have memory to burn and "short" is really slow.
*/ */
typedef short JCOEF; typedef short JCOEF;
/* Compressed datastreams are represented as arrays of JOCTET. /* Compressed datastreams are represented as arrays of JOCTET.
* These must be EXACTLY 8 bits wide, at least once they are written to * These must be EXACTLY 8 bits wide, at least once they are written to
* external storage. Note that when using the stdio data source/destination * external storage. Note that when using the stdio data source/destination
* managers, this is also the data type passed to fread/fwrite. * managers, this is also the data type passed to fread/fwrite.
*/ */
#ifdef HAVE_UNSIGNED_CHAR #ifdef HAVE_UNSIGNED_CHAR
typedef unsigned char JOCTET; typedef unsigned char JOCTET;
#define GETJOCTET(value) (value) #define GETJOCTET(value) (value)
#else /* not HAVE_UNSIGNED_CHAR */ #else /* not HAVE_UNSIGNED_CHAR */
typedef char JOCTET; typedef char JOCTET;
#ifdef CHAR_IS_UNSIGNED #ifdef CHAR_IS_UNSIGNED
#define GETJOCTET(value) (value) #define GETJOCTET(value) (value)
#else #else
#define GETJOCTET(value) ((value) & 0xFF) #define GETJOCTET(value) ((value) & 0xFF)
#endif /* CHAR_IS_UNSIGNED */ #endif /* CHAR_IS_UNSIGNED */
#endif /* HAVE_UNSIGNED_CHAR */ #endif /* HAVE_UNSIGNED_CHAR */
/* These typedefs are used for various table entries and so forth. /* These typedefs are used for various table entries and so forth.
* They must be at least as wide as specified; but making them too big * They must be at least as wide as specified; but making them too big
* won't cost a huge amount of memory, so we don't provide special * won't cost a huge amount of memory, so we don't provide special
* extraction code like we did for JSAMPLE. (In other words, these * extraction code like we did for JSAMPLE. (In other words, these
* typedefs live at a different point on the speed/space tradeoff curve.) * typedefs live at a different point on the speed/space tradeoff curve.)
*/ */
/* UINT8 must hold at least the values 0..255. */ /* UINT8 must hold at least the values 0..255. */
#ifndef HAVE_ALL_INTS #ifndef HAVE_ALL_INTS
#ifdef HAVE_UNSIGNED_CHAR #ifdef HAVE_UNSIGNED_CHAR
typedef unsigned char UINT8; typedef unsigned char UINT8;
#else /* not HAVE_UNSIGNED_CHAR */ #else /* not HAVE_UNSIGNED_CHAR */
#ifdef CHAR_IS_UNSIGNED #ifdef CHAR_IS_UNSIGNED
typedef char UINT8; typedef char UINT8;
#else /* not CHAR_IS_UNSIGNED */ #else /* not CHAR_IS_UNSIGNED */
typedef short UINT8; typedef short UINT8;
#endif /* CHAR_IS_UNSIGNED */ #endif /* CHAR_IS_UNSIGNED */
#endif /* HAVE_UNSIGNED_CHAR */ #endif /* HAVE_UNSIGNED_CHAR */
/* UINT16 must hold at least the values 0..65535. */ /* UINT16 must hold at least the values 0..65535. */
#ifdef HAVE_UNSIGNED_SHORT #ifdef HAVE_UNSIGNED_SHORT
typedef unsigned short UINT16; typedef unsigned short UINT16;
#else /* not HAVE_UNSIGNED_SHORT */ #else /* not HAVE_UNSIGNED_SHORT */
typedef unsigned int UINT16; typedef unsigned int UINT16;
#endif /* HAVE_UNSIGNED_SHORT */ #endif /* HAVE_UNSIGNED_SHORT */
/* INT16 must hold at least the values -32768..32767. */ /* INT16 must hold at least the values -32768..32767. */
#ifndef XMD_H /* X11/xmd.h correctly defines INT16 */ #ifndef XMD_H /* X11/xmd.h correctly defines INT16 */
typedef short INT16; typedef short INT16;
#endif #endif
/* INT32 must hold at least signed 32-bit values. */ /* INT32 must hold at least signed 32-bit values. */
#if !defined(XMD_H) && !defined(_WIN32) /* X11/xmd.h correctly defines INT32 */ #if !defined(XMD_H) && !defined(_WIN32) /* X11/xmd.h correctly defines INT32 */
typedef long INT32; typedef long INT32;
#endif #endif
#endif /* HAVE_ALL_INTS */ #endif /* HAVE_ALL_INTS */
/* Datatype used for image dimensions. The JPEG standard only supports /* Datatype used for image dimensions. The JPEG standard only supports
* images up to 64K*64K due to 16-bit fields in SOF markers. Therefore * images up to 64K*64K due to 16-bit fields in SOF markers. Therefore
* "unsigned int" is sufficient on all machines. However, if you need to * "unsigned int" is sufficient on all machines. However, if you need to
* handle larger images and you don't mind deviating from the spec, you * handle larger images and you don't mind deviating from the spec, you
* can change this datatype. * can change this datatype.
*/ */
typedef unsigned int JDIMENSION; typedef unsigned int JDIMENSION;
#define JPEG_MAX_DIMENSION 65500L /* a tad under 64K to prevent overflows */ #define JPEG_MAX_DIMENSION 65500L /* a tad under 64K to prevent overflows */
/* These macros are used in all function definitions and extern declarations. /* These macros are used in all function definitions and extern declarations.
* You could modify them if you need to change function linkage conventions; * You could modify them if you need to change function linkage conventions;
* in particular, you'll need to do that to make the library a Windows DLL. * in particular, you'll need to do that to make the library a Windows DLL.
* Another application is to make all functions global for use with debuggers * Another application is to make all functions global for use with debuggers
* or code profilers that require it. * or code profilers that require it.
*/ */
#ifdef _WIN32 #ifdef _WIN32
# if defined(ALL_STATIC) # if defined(ALL_STATIC)
# if defined(JPEG_DLL) # if defined(JPEG_DLL)
# undef JPEG_DLL # undef JPEG_DLL
# endif # endif
# if !defined(JPEG_STATIC) # if !defined(JPEG_STATIC)
# define JPEG_STATIC # define JPEG_STATIC
# endif # endif
# endif # endif
# if defined(JPEG_DLL) # if defined(JPEG_DLL)
# if defined(JPEG_STATIC) # if defined(JPEG_STATIC)
# undef JPEG_STATIC # undef JPEG_STATIC
# endif # endif
# endif # endif
# if defined(JPEG_DLL) # if defined(JPEG_DLL)
/* building a DLL */ /* building a DLL */
# define JPEG_IMPEXP __declspec(dllexport) # define JPEG_IMPEXP __declspec(dllexport)
# elif defined(JPEG_STATIC) # elif defined(JPEG_STATIC)
/* building or linking to a static library */ /* building or linking to a static library */
# define JPEG_IMPEXP # define JPEG_IMPEXP
# else # else
/* linking to the DLL */ /* linking to the DLL */
# define JPEG_IMPEXP __declspec(dllimport) # define JPEG_IMPEXP __declspec(dllimport)
# endif # endif
# if !defined(JPEG_API) # if !defined(JPEG_API)
# define JPEG_API __cdecl # define JPEG_API __cdecl
# endif # endif
/* The only remaining magic that is necessary for cygwin */ /* The only remaining magic that is necessary for cygwin */
#elif defined(__CYGWIN__) #elif defined(__CYGWIN__)
# if !defined(JPEG_IMPEXP) # if !defined(JPEG_IMPEXP)
# define JPEG_IMPEXP # define JPEG_IMPEXP
# endif # endif
# if !defined(JPEG_API) # if !defined(JPEG_API)
# define JPEG_API __cdecl # define JPEG_API __cdecl
# endif # endif
#endif #endif
/* Ensure our magic doesn't hurt other platforms */ /* Ensure our magic doesn't hurt other platforms */
#if !defined(JPEG_IMPEXP) #if !defined(JPEG_IMPEXP)
# define JPEG_IMPEXP # define JPEG_IMPEXP
#endif #endif
#if !defined(JPEG_API) #if !defined(JPEG_API)
# define JPEG_API # define JPEG_API
#endif #endif
/* a function called through method pointers: */ /* a function called through method pointers: */
#define METHODDEF(type) static type #define METHODDEF(type) static type
/* a function used only in its module: */ /* a function used only in its module: */
#define LOCAL(type) static type #define LOCAL(type) static type
/* a function referenced thru EXTERNs: */ /* a function referenced thru EXTERNs: */
#define GLOBAL(type) type JPEG_API #define GLOBAL(type) type JPEG_API
/* a reference to a GLOBAL function: */ /* a reference to a GLOBAL function: */
#ifndef EXTERN #ifndef EXTERN
# define EXTERN(type) extern JPEG_IMPEXP type JPEG_API # define EXTERN(type) extern JPEG_IMPEXP type JPEG_API
/* a reference to a "GLOBAL" function exported by sourcefiles of utility progs */ /* a reference to a "GLOBAL" function exported by sourcefiles of utility progs */
#endif /* EXTERN */ #endif /* EXTERN */
#define EXTERN_1(type) extern type JPEG_API #define EXTERN_1(type) extern type JPEG_API
/* This macro is used to declare a "method", that is, a function pointer. /* This macro is used to declare a "method", that is, a function pointer.
* We want to supply prototype parameters if the compiler can cope. * We want to supply prototype parameters if the compiler can cope.
* Note that the arglist parameter must be parenthesized! * Note that the arglist parameter must be parenthesized!
* Again, you can customize this if you need special linkage keywords. * Again, you can customize this if you need special linkage keywords.
*/ */
#ifdef HAVE_PROTOTYPES #ifdef HAVE_PROTOTYPES
#define JMETHOD(type,methodname,arglist) type (*methodname) arglist #define JMETHOD(type,methodname,arglist) type (*methodname) arglist
#else #else
#define JMETHOD(type,methodname,arglist) type (*methodname) () #define JMETHOD(type,methodname,arglist) type (*methodname) ()
#endif #endif
/* Here is the pseudo-keyword for declaring pointers that must be "far" /* Here is the pseudo-keyword for declaring pointers that must be "far"
* on 80x86 machines. Most of the specialized coding for 80x86 is handled * on 80x86 machines. Most of the specialized coding for 80x86 is handled
* by just saying "FAR *" where such a pointer is needed. In a few places * by just saying "FAR *" where such a pointer is needed. In a few places
* explicit coding is needed; see uses of the NEED_FAR_POINTERS symbol. * explicit coding is needed; see uses of the NEED_FAR_POINTERS symbol.
*/ */
/* jmorecfg.h line 220 */ /* jmorecfg.h line 220 */
/* HJH modification: several of the windows header files already define FAR /* HJH modification: several of the windows header files already define FAR
because of this, the code below was changed so that it only tinkers with because of this, the code below was changed so that it only tinkers with
the FAR define if FAR is still undefined */ the FAR define if FAR is still undefined */
#ifndef FAR #ifndef FAR
#ifdef NEED_FAR_POINTERS #ifdef NEED_FAR_POINTERS
#define FAR far #define FAR far
#else #else
#define FAR #define FAR
#endif #endif
#endif #endif
/* /*
* On a few systems, type boolean and/or its values FALSE, TRUE may appear * On a few systems, type boolean and/or its values FALSE, TRUE may appear
* in standard header files. Or you may have conflicts with application- * in standard header files. Or you may have conflicts with application-
* specific header files that you want to include together with these files. * specific header files that you want to include together with these files.
* Defining HAVE_BOOLEAN before including jpeglib.h should make it work. * Defining HAVE_BOOLEAN before including jpeglib.h should make it work.
*/ */
#ifndef HAVE_BOOLEAN #ifndef HAVE_BOOLEAN
typedef int boolean; typedef int boolean;
#endif #endif
#ifndef FALSE /* in case these macros already exist */ #ifndef FALSE /* in case these macros already exist */
#define FALSE 0 /* values of boolean */ #define FALSE 0 /* values of boolean */
#endif #endif
#ifndef TRUE #ifndef TRUE
#define TRUE 1 #define TRUE 1
#endif #endif
/* /*
* The remaining options affect code selection within the JPEG library, * The remaining options affect code selection within the JPEG library,
* but they don't need to be visible to most applications using the library. * but they don't need to be visible to most applications using the library.
* To minimize application namespace pollution, the symbols won't be * To minimize application namespace pollution, the symbols won't be
* defined unless JPEG_INTERNALS or JPEG_INTERNAL_OPTIONS has been defined. * defined unless JPEG_INTERNALS or JPEG_INTERNAL_OPTIONS has been defined.
*/ */
#ifdef JPEG_INTERNALS #ifdef JPEG_INTERNALS
#define JPEG_INTERNAL_OPTIONS #define JPEG_INTERNAL_OPTIONS
#endif #endif
#ifdef JPEG_INTERNAL_OPTIONS #ifdef JPEG_INTERNAL_OPTIONS
/* /*
* These defines indicate whether to include various optional functions. * These defines indicate whether to include various optional functions.
* Undefining some of these symbols will produce a smaller but less capable * Undefining some of these symbols will produce a smaller but less capable
* library. Note that you can leave certain source files out of the * library. Note that you can leave certain source files out of the
* compilation/linking process if you've #undef'd the corresponding symbols. * compilation/linking process if you've #undef'd the corresponding symbols.
* (You may HAVE to do that if your compiler doesn't like null source files.) * (You may HAVE to do that if your compiler doesn't like null source files.)
*/ */
/* Arithmetic coding is unsupported for legal reasons. Complaints to IBM. */ /* Arithmetic coding is unsupported for legal reasons. Complaints to IBM. */
/* Capability options common to encoder and decoder: */ /* Capability options common to encoder and decoder: */
#define DCT_ISLOW_SUPPORTED /* slow but accurate integer algorithm */ #define DCT_ISLOW_SUPPORTED /* slow but accurate integer algorithm */
#define DCT_IFAST_SUPPORTED /* faster, less accurate integer method */ #define DCT_IFAST_SUPPORTED /* faster, less accurate integer method */
#define DCT_FLOAT_SUPPORTED /* floating-point: accurate, fast on fast HW */ #define DCT_FLOAT_SUPPORTED /* floating-point: accurate, fast on fast HW */
/* Encoder capability options: */ /* Encoder capability options: */
#undef C_ARITH_CODING_SUPPORTED /* Arithmetic coding back end? */ #undef C_ARITH_CODING_SUPPORTED /* Arithmetic coding back end? */
#define C_MULTISCAN_FILES_SUPPORTED /* Multiple-scan JPEG files? */ #define C_MULTISCAN_FILES_SUPPORTED /* Multiple-scan JPEG files? */
#define C_PROGRESSIVE_SUPPORTED /* Progressive JPEG? (Requires MULTISCAN)*/ #define C_PROGRESSIVE_SUPPORTED /* Progressive JPEG? (Requires MULTISCAN)*/
#define ENTROPY_OPT_SUPPORTED /* Optimization of entropy coding parms? */ #define ENTROPY_OPT_SUPPORTED /* Optimization of entropy coding parms? */
/* Note: if you selected 12-bit data precision, it is dangerous to turn off /* Note: if you selected 12-bit data precision, it is dangerous to turn off
* ENTROPY_OPT_SUPPORTED. The standard Huffman tables are only good for 8-bit * ENTROPY_OPT_SUPPORTED. The standard Huffman tables are only good for 8-bit
* precision, so jchuff.c normally uses entropy optimization to compute * precision, so jchuff.c normally uses entropy optimization to compute
* usable tables for higher precision. If you don't want to do optimization, * usable tables for higher precision. If you don't want to do optimization,
* you'll have to supply different default Huffman tables. * you'll have to supply different default Huffman tables.
* The exact same statements apply for progressive JPEG: the default tables * The exact same statements apply for progressive JPEG: the default tables
* don't work for progressive mode. (This may get fixed, however.) * don't work for progressive mode. (This may get fixed, however.)
*/ */
#define INPUT_SMOOTHING_SUPPORTED /* Input image smoothing option? */ #define INPUT_SMOOTHING_SUPPORTED /* Input image smoothing option? */
/* Decoder capability options: */ /* Decoder capability options: */
#undef D_ARITH_CODING_SUPPORTED /* Arithmetic coding back end? */ #undef D_ARITH_CODING_SUPPORTED /* Arithmetic coding back end? */
#define D_MULTISCAN_FILES_SUPPORTED /* Multiple-scan JPEG files? */ #define D_MULTISCAN_FILES_SUPPORTED /* Multiple-scan JPEG files? */
#define D_PROGRESSIVE_SUPPORTED /* Progressive JPEG? (Requires MULTISCAN)*/ #define D_PROGRESSIVE_SUPPORTED /* Progressive JPEG? (Requires MULTISCAN)*/
#define SAVE_MARKERS_SUPPORTED /* jpeg_save_markers() needed? */ #define SAVE_MARKERS_SUPPORTED /* jpeg_save_markers() needed? */
#define BLOCK_SMOOTHING_SUPPORTED /* Block smoothing? (Progressive only) */ #define BLOCK_SMOOTHING_SUPPORTED /* Block smoothing? (Progressive only) */
#define IDCT_SCALING_SUPPORTED /* Output rescaling via IDCT? */ #define IDCT_SCALING_SUPPORTED /* Output rescaling via IDCT? */
#undef UPSAMPLE_SCALING_SUPPORTED /* Output rescaling at upsample stage? */ #undef UPSAMPLE_SCALING_SUPPORTED /* Output rescaling at upsample stage? */
#define UPSAMPLE_MERGING_SUPPORTED /* Fast path for sloppy upsampling? */ #define UPSAMPLE_MERGING_SUPPORTED /* Fast path for sloppy upsampling? */
#define QUANT_1PASS_SUPPORTED /* 1-pass color quantization? */ #define QUANT_1PASS_SUPPORTED /* 1-pass color quantization? */
#define QUANT_2PASS_SUPPORTED /* 2-pass color quantization? */ #define QUANT_2PASS_SUPPORTED /* 2-pass color quantization? */
/* more capability options later, no doubt */ /* more capability options later, no doubt */
/* /*
* Ordering of RGB data in scanlines passed to or from the application. * Ordering of RGB data in scanlines passed to or from the application.
* If your application wants to deal with data in the order B,G,R, just * If your application wants to deal with data in the order B,G,R, just
* change these macros. You can also deal with formats such as R,G,B,X * change these macros. You can also deal with formats such as R,G,B,X
* (one extra byte per pixel) by changing RGB_PIXELSIZE. Note that changing * (one extra byte per pixel) by changing RGB_PIXELSIZE. Note that changing
* the offsets will also change the order in which colormap data is organized. * the offsets will also change the order in which colormap data is organized.
* RESTRICTIONS: * RESTRICTIONS:
* 1. The sample applications cjpeg,djpeg do NOT support modified RGB formats. * 1. The sample applications cjpeg,djpeg do NOT support modified RGB formats.
* 2. These macros only affect RGB<=>YCbCr color conversion, so they are not * 2. These macros only affect RGB<=>YCbCr color conversion, so they are not
* useful if you are using JPEG color spaces other than YCbCr or grayscale. * useful if you are using JPEG color spaces other than YCbCr or grayscale.
* 3. The color quantizer modules will not behave desirably if RGB_PIXELSIZE * 3. The color quantizer modules will not behave desirably if RGB_PIXELSIZE
* is not 3 (they don't understand about dummy color components!). So you * is not 3 (they don't understand about dummy color components!). So you
* can't use color quantization if you change that value. * can't use color quantization if you change that value.
*/ */
#define RGB_RED 0 /* Offset of Red in an RGB scanline element */ #define RGB_RED 0 /* Offset of Red in an RGB scanline element */
#define RGB_GREEN 1 /* Offset of Green */ #define RGB_GREEN 1 /* Offset of Green */
#define RGB_BLUE 2 /* Offset of Blue */ #define RGB_BLUE 2 /* Offset of Blue */
#define RGB_PIXELSIZE 3 /* JSAMPLEs per RGB scanline element */ #define RGB_PIXELSIZE 3 /* JSAMPLEs per RGB scanline element */
/* Definitions for speed-related optimizations. */ /* Definitions for speed-related optimizations. */
/* If your compiler supports inline functions, define INLINE /* If your compiler supports inline functions, define INLINE
* as the inline keyword; otherwise define it as empty. * as the inline keyword; otherwise define it as empty.
*/ */
#ifndef INLINE #ifndef INLINE
#ifdef __GNUC__ /* for instance, GNU C knows about inline */ #ifdef __GNUC__ /* for instance, GNU C knows about inline */
#define INLINE __inline__ #define INLINE __inline__
#endif #endif
#ifndef INLINE #ifndef INLINE
#define INLINE /* default is to define it as empty */ #define INLINE /* default is to define it as empty */
#endif #endif
#endif #endif
/* On some machines (notably 68000 series) "int" is 32 bits, but multiplying /* On some machines (notably 68000 series) "int" is 32 bits, but multiplying
* two 16-bit shorts is faster than multiplying two ints. Define MULTIPLIER * two 16-bit shorts is faster than multiplying two ints. Define MULTIPLIER
* as short on such a machine. MULTIPLIER must be at least 16 bits wide. * as short on such a machine. MULTIPLIER must be at least 16 bits wide.
*/ */
#ifndef MULTIPLIER #ifndef MULTIPLIER
#define MULTIPLIER int /* type for fastest integer multiply */ #define MULTIPLIER int /* type for fastest integer multiply */
#endif #endif
/* FAST_FLOAT should be either float or double, whichever is done faster /* FAST_FLOAT should be either float or double, whichever is done faster
* by your compiler. (Note that this type is only used in the floating point * by your compiler. (Note that this type is only used in the floating point
* DCT routines, so it only matters if you've defined DCT_FLOAT_SUPPORTED.) * DCT routines, so it only matters if you've defined DCT_FLOAT_SUPPORTED.)
* Typically, float is faster in ANSI C compilers, while double is faster in * Typically, float is faster in ANSI C compilers, while double is faster in
* pre-ANSI compilers (because they insist on converting to double anyway). * pre-ANSI compilers (because they insist on converting to double anyway).
* The code below therefore chooses float if we have ANSI-style prototypes. * The code below therefore chooses float if we have ANSI-style prototypes.
*/ */
#ifndef FAST_FLOAT #ifndef FAST_FLOAT
#ifdef HAVE_PROTOTYPES #ifdef HAVE_PROTOTYPES
#define FAST_FLOAT float #define FAST_FLOAT float
#else #else
#define FAST_FLOAT double #define FAST_FLOAT double
#endif #endif
#endif #endif
#endif /* JPEG_INTERNAL_OPTIONS */ #endif /* JPEG_INTERNAL_OPTIONS */

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,332 +1,332 @@
/* zconf.h -- configuration of the zlib compression library /* zconf.h -- configuration of the zlib compression library
* Copyright (C) 1995-2005 Jean-loup Gailly. * Copyright (C) 1995-2005 Jean-loup Gailly.
* For conditions of distribution and use, see copyright notice in zlib.h * For conditions of distribution and use, see copyright notice in zlib.h
*/ */
/* @(#) $Id$ */ /* @(#) $Id$ */
#ifndef ZCONF_H #ifndef ZCONF_H
#define ZCONF_H #define ZCONF_H
/* /*
* If you *really* need a unique prefix for all types and library functions, * If you *really* need a unique prefix for all types and library functions,
* compile with -DZ_PREFIX. The "standard" zlib should be compiled without it. * compile with -DZ_PREFIX. The "standard" zlib should be compiled without it.
*/ */
#ifdef Z_PREFIX #ifdef Z_PREFIX
# define deflateInit_ z_deflateInit_ # define deflateInit_ z_deflateInit_
# define deflate z_deflate # define deflate z_deflate
# define deflateEnd z_deflateEnd # define deflateEnd z_deflateEnd
# define inflateInit_ z_inflateInit_ # define inflateInit_ z_inflateInit_
# define inflate z_inflate # define inflate z_inflate
# define inflateEnd z_inflateEnd # define inflateEnd z_inflateEnd
# define deflateInit2_ z_deflateInit2_ # define deflateInit2_ z_deflateInit2_
# define deflateSetDictionary z_deflateSetDictionary # define deflateSetDictionary z_deflateSetDictionary
# define deflateCopy z_deflateCopy # define deflateCopy z_deflateCopy
# define deflateReset z_deflateReset # define deflateReset z_deflateReset
# define deflateParams z_deflateParams # define deflateParams z_deflateParams
# define deflateBound z_deflateBound # define deflateBound z_deflateBound
# define deflatePrime z_deflatePrime # define deflatePrime z_deflatePrime
# define inflateInit2_ z_inflateInit2_ # define inflateInit2_ z_inflateInit2_
# define inflateSetDictionary z_inflateSetDictionary # define inflateSetDictionary z_inflateSetDictionary
# define inflateSync z_inflateSync # define inflateSync z_inflateSync
# define inflateSyncPoint z_inflateSyncPoint # define inflateSyncPoint z_inflateSyncPoint
# define inflateCopy z_inflateCopy # define inflateCopy z_inflateCopy
# define inflateReset z_inflateReset # define inflateReset z_inflateReset
# define inflateBack z_inflateBack # define inflateBack z_inflateBack
# define inflateBackEnd z_inflateBackEnd # define inflateBackEnd z_inflateBackEnd
# define compress z_compress # define compress z_compress
# define compress2 z_compress2 # define compress2 z_compress2
# define compressBound z_compressBound # define compressBound z_compressBound
# define uncompress z_uncompress # define uncompress z_uncompress
# define adler32 z_adler32 # define adler32 z_adler32
# define crc32 z_crc32 # define crc32 z_crc32
# define get_crc_table z_get_crc_table # define get_crc_table z_get_crc_table
# define zError z_zError # define zError z_zError
# define alloc_func z_alloc_func # define alloc_func z_alloc_func
# define free_func z_free_func # define free_func z_free_func
# define in_func z_in_func # define in_func z_in_func
# define out_func z_out_func # define out_func z_out_func
# define Byte z_Byte # define Byte z_Byte
# define uInt z_uInt # define uInt z_uInt
# define uLong z_uLong # define uLong z_uLong
# define Bytef z_Bytef # define Bytef z_Bytef
# define charf z_charf # define charf z_charf
# define intf z_intf # define intf z_intf
# define uIntf z_uIntf # define uIntf z_uIntf
# define uLongf z_uLongf # define uLongf z_uLongf
# define voidpf z_voidpf # define voidpf z_voidpf
# define voidp z_voidp # define voidp z_voidp
#endif #endif
#if defined(__MSDOS__) && !defined(MSDOS) #if defined(__MSDOS__) && !defined(MSDOS)
# define MSDOS # define MSDOS
#endif #endif
#if (defined(OS_2) || defined(__OS2__)) && !defined(OS2) #if (defined(OS_2) || defined(__OS2__)) && !defined(OS2)
# define OS2 # define OS2
#endif #endif
#if defined(_WINDOWS) && !defined(WINDOWS) #if defined(_WINDOWS) && !defined(WINDOWS)
# define WINDOWS # define WINDOWS
#endif #endif
#if defined(_WIN32) || defined(_WIN32_WCE) || defined(__WIN32__) #if defined(_WIN32) || defined(_WIN32_WCE) || defined(__WIN32__)
# ifndef WIN32 # ifndef WIN32
# define WIN32 # define WIN32
# endif # endif
#endif #endif
#if (defined(MSDOS) || defined(OS2) || defined(WINDOWS)) && !defined(WIN32) #if (defined(MSDOS) || defined(OS2) || defined(WINDOWS)) && !defined(WIN32)
# if !defined(__GNUC__) && !defined(__FLAT__) && !defined(__386__) # if !defined(__GNUC__) && !defined(__FLAT__) && !defined(__386__)
# ifndef SYS16BIT # ifndef SYS16BIT
# define SYS16BIT # define SYS16BIT
# endif # endif
# endif # endif
#endif #endif
/* /*
* Compile with -DMAXSEG_64K if the alloc function cannot allocate more * Compile with -DMAXSEG_64K if the alloc function cannot allocate more
* than 64k bytes at a time (needed on systems with 16-bit int). * than 64k bytes at a time (needed on systems with 16-bit int).
*/ */
#ifdef SYS16BIT #ifdef SYS16BIT
# define MAXSEG_64K # define MAXSEG_64K
#endif #endif
#ifdef MSDOS #ifdef MSDOS
# define UNALIGNED_OK # define UNALIGNED_OK
#endif #endif
#ifdef __STDC_VERSION__ #ifdef __STDC_VERSION__
# ifndef STDC # ifndef STDC
# define STDC # define STDC
# endif # endif
# if __STDC_VERSION__ >= 199901L # if __STDC_VERSION__ >= 199901L
# ifndef STDC99 # ifndef STDC99
# define STDC99 # define STDC99
# endif # endif
# endif # endif
#endif #endif
#if !defined(STDC) && (defined(__STDC__) || defined(__cplusplus)) #if !defined(STDC) && (defined(__STDC__) || defined(__cplusplus))
# define STDC # define STDC
#endif #endif
#if !defined(STDC) && (defined(__GNUC__) || defined(__BORLANDC__)) #if !defined(STDC) && (defined(__GNUC__) || defined(__BORLANDC__))
# define STDC # define STDC
#endif #endif
#if !defined(STDC) && (defined(MSDOS) || defined(WINDOWS) || defined(WIN32)) #if !defined(STDC) && (defined(MSDOS) || defined(WINDOWS) || defined(WIN32))
# define STDC # define STDC
#endif #endif
#if !defined(STDC) && (defined(OS2) || defined(__HOS_AIX__)) #if !defined(STDC) && (defined(OS2) || defined(__HOS_AIX__))
# define STDC # define STDC
#endif #endif
#if defined(__OS400__) && !defined(STDC) /* iSeries (formerly AS/400). */ #if defined(__OS400__) && !defined(STDC) /* iSeries (formerly AS/400). */
# define STDC # define STDC
#endif #endif
#ifndef STDC #ifndef STDC
# ifndef const /* cannot use !defined(STDC) && !defined(const) on Mac */ # ifndef const /* cannot use !defined(STDC) && !defined(const) on Mac */
# define const /* note: need a more gentle solution here */ # define const /* note: need a more gentle solution here */
# endif # endif
#endif #endif
/* Some Mac compilers merge all .h files incorrectly: */ /* Some Mac compilers merge all .h files incorrectly: */
#if defined(__MWERKS__)||defined(applec)||defined(THINK_C)||defined(__SC__) #if defined(__MWERKS__)||defined(applec)||defined(THINK_C)||defined(__SC__)
# define NO_DUMMY_DECL # define NO_DUMMY_DECL
#endif #endif
/* Maximum value for memLevel in deflateInit2 */ /* Maximum value for memLevel in deflateInit2 */
#ifndef MAX_MEM_LEVEL #ifndef MAX_MEM_LEVEL
# ifdef MAXSEG_64K # ifdef MAXSEG_64K
# define MAX_MEM_LEVEL 8 # define MAX_MEM_LEVEL 8
# else # else
# define MAX_MEM_LEVEL 9 # define MAX_MEM_LEVEL 9
# endif # endif
#endif #endif
/* Maximum value for windowBits in deflateInit2 and inflateInit2. /* Maximum value for windowBits in deflateInit2 and inflateInit2.
* WARNING: reducing MAX_WBITS makes minigzip unable to extract .gz files * WARNING: reducing MAX_WBITS makes minigzip unable to extract .gz files
* created by gzip. (Files created by minigzip can still be extracted by * created by gzip. (Files created by minigzip can still be extracted by
* gzip.) * gzip.)
*/ */
#ifndef MAX_WBITS #ifndef MAX_WBITS
# define MAX_WBITS 15 /* 32K LZ77 window */ # define MAX_WBITS 15 /* 32K LZ77 window */
#endif #endif
/* The memory requirements for deflate are (in bytes): /* The memory requirements for deflate are (in bytes):
(1 << (windowBits+2)) + (1 << (memLevel+9)) (1 << (windowBits+2)) + (1 << (memLevel+9))
that is: 128K for windowBits=15 + 128K for memLevel = 8 (default values) that is: 128K for windowBits=15 + 128K for memLevel = 8 (default values)
plus a few kilobytes for small objects. For example, if you want to reduce plus a few kilobytes for small objects. For example, if you want to reduce
the default memory requirements from 256K to 128K, compile with the default memory requirements from 256K to 128K, compile with
make CFLAGS="-O -DMAX_WBITS=14 -DMAX_MEM_LEVEL=7" make CFLAGS="-O -DMAX_WBITS=14 -DMAX_MEM_LEVEL=7"
Of course this will generally degrade compression (there's no free lunch). Of course this will generally degrade compression (there's no free lunch).
The memory requirements for inflate are (in bytes) 1 << windowBits The memory requirements for inflate are (in bytes) 1 << windowBits
that is, 32K for windowBits=15 (default value) plus a few kilobytes that is, 32K for windowBits=15 (default value) plus a few kilobytes
for small objects. for small objects.
*/ */
/* Type declarations */ /* Type declarations */
#ifndef OF /* function prototypes */ #ifndef OF /* function prototypes */
# ifdef STDC # ifdef STDC
# define OF(args) args # define OF(args) args
# else # else
# define OF(args) () # define OF(args) ()
# endif # endif
#endif #endif
/* The following definitions for FAR are needed only for MSDOS mixed /* The following definitions for FAR are needed only for MSDOS mixed
* model programming (small or medium model with some far allocations). * model programming (small or medium model with some far allocations).
* This was tested only with MSC; for other MSDOS compilers you may have * This was tested only with MSC; for other MSDOS compilers you may have
* to define NO_MEMCPY in zutil.h. If you don't need the mixed model, * to define NO_MEMCPY in zutil.h. If you don't need the mixed model,
* just define FAR to be empty. * just define FAR to be empty.
*/ */
#ifdef SYS16BIT #ifdef SYS16BIT
# if defined(M_I86SM) || defined(M_I86MM) # if defined(M_I86SM) || defined(M_I86MM)
/* MSC small or medium model */ /* MSC small or medium model */
# define SMALL_MEDIUM # define SMALL_MEDIUM
# ifdef _MSC_VER # ifdef _MSC_VER
# define FAR _far # define FAR _far
# else # else
# define FAR far # define FAR far
# endif # endif
# endif # endif
# if (defined(__SMALL__) || defined(__MEDIUM__)) # if (defined(__SMALL__) || defined(__MEDIUM__))
/* Turbo C small or medium model */ /* Turbo C small or medium model */
# define SMALL_MEDIUM # define SMALL_MEDIUM
# ifdef __BORLANDC__ # ifdef __BORLANDC__
# define FAR _far # define FAR _far
# else # else
# define FAR far # define FAR far
# endif # endif
# endif # endif
#endif #endif
#if defined(WINDOWS) || defined(WIN32) #if defined(WINDOWS) || defined(WIN32)
/* If building or using zlib as a DLL, define ZLIB_DLL. /* If building or using zlib as a DLL, define ZLIB_DLL.
* This is not mandatory, but it offers a little performance increase. * This is not mandatory, but it offers a little performance increase.
*/ */
# ifdef ZLIB_DLL # ifdef ZLIB_DLL
# if defined(WIN32) && (!defined(__BORLANDC__) || (__BORLANDC__ >= 0x500)) # if defined(WIN32) && (!defined(__BORLANDC__) || (__BORLANDC__ >= 0x500))
# ifdef ZLIB_INTERNAL # ifdef ZLIB_INTERNAL
# define ZEXTERN extern __declspec(dllexport) # define ZEXTERN extern __declspec(dllexport)
# else # else
# define ZEXTERN extern __declspec(dllimport) # define ZEXTERN extern __declspec(dllimport)
# endif # endif
# endif # endif
# endif /* ZLIB_DLL */ # endif /* ZLIB_DLL */
/* If building or using zlib with the WINAPI/WINAPIV calling convention, /* If building or using zlib with the WINAPI/WINAPIV calling convention,
* define ZLIB_WINAPI. * define ZLIB_WINAPI.
* Caution: the standard ZLIB1.DLL is NOT compiled using ZLIB_WINAPI. * Caution: the standard ZLIB1.DLL is NOT compiled using ZLIB_WINAPI.
*/ */
# ifdef ZLIB_WINAPI # ifdef ZLIB_WINAPI
# ifdef FAR # ifdef FAR
# undef FAR # undef FAR
# endif # endif
# include <windows.h> # include <windows.h>
/* No need for _export, use ZLIB.DEF instead. */ /* No need for _export, use ZLIB.DEF instead. */
/* For complete Windows compatibility, use WINAPI, not __stdcall. */ /* For complete Windows compatibility, use WINAPI, not __stdcall. */
# define ZEXPORT WINAPI # define ZEXPORT WINAPI
# ifdef WIN32 # ifdef WIN32
# define ZEXPORTVA WINAPIV # define ZEXPORTVA WINAPIV
# else # else
# define ZEXPORTVA FAR CDECL # define ZEXPORTVA FAR CDECL
# endif # endif
# endif # endif
#endif #endif
#if defined (__BEOS__) #if defined (__BEOS__)
# ifdef ZLIB_DLL # ifdef ZLIB_DLL
# ifdef ZLIB_INTERNAL # ifdef ZLIB_INTERNAL
# define ZEXPORT __declspec(dllexport) # define ZEXPORT __declspec(dllexport)
# define ZEXPORTVA __declspec(dllexport) # define ZEXPORTVA __declspec(dllexport)
# else # else
# define ZEXPORT __declspec(dllimport) # define ZEXPORT __declspec(dllimport)
# define ZEXPORTVA __declspec(dllimport) # define ZEXPORTVA __declspec(dllimport)
# endif # endif
# endif # endif
#endif #endif
#ifndef ZEXTERN #ifndef ZEXTERN
# define ZEXTERN extern # define ZEXTERN extern
#endif #endif
#ifndef ZEXPORT #ifndef ZEXPORT
# define ZEXPORT # define ZEXPORT
#endif #endif
#ifndef ZEXPORTVA #ifndef ZEXPORTVA
# define ZEXPORTVA # define ZEXPORTVA
#endif #endif
#ifndef FAR #ifndef FAR
# define FAR # define FAR
#endif #endif
#if !defined(__MACTYPES__) #if !defined(__MACTYPES__)
typedef unsigned char Byte; /* 8 bits */ typedef unsigned char Byte; /* 8 bits */
#endif #endif
typedef unsigned int uInt; /* 16 bits or more */ typedef unsigned int uInt; /* 16 bits or more */
typedef unsigned long uLong; /* 32 bits or more */ typedef unsigned long uLong; /* 32 bits or more */
#ifdef SMALL_MEDIUM #ifdef SMALL_MEDIUM
/* Borland C/C++ and some old MSC versions ignore FAR inside typedef */ /* Borland C/C++ and some old MSC versions ignore FAR inside typedef */
# define Bytef Byte FAR # define Bytef Byte FAR
#else #else
typedef Byte FAR Bytef; typedef Byte FAR Bytef;
#endif #endif
typedef char FAR charf; typedef char FAR charf;
typedef int FAR intf; typedef int FAR intf;
typedef uInt FAR uIntf; typedef uInt FAR uIntf;
typedef uLong FAR uLongf; typedef uLong FAR uLongf;
#ifdef STDC #ifdef STDC
typedef void const *voidpc; typedef void const *voidpc;
typedef void FAR *voidpf; typedef void FAR *voidpf;
typedef void *voidp; typedef void *voidp;
#else #else
typedef Byte const *voidpc; typedef Byte const *voidpc;
typedef Byte FAR *voidpf; typedef Byte FAR *voidpf;
typedef Byte *voidp; typedef Byte *voidp;
#endif #endif
#if defined(HAVE_UNISTD_H) /* HAVE_UNISTD_H -- this line is updated by ./configure */ #if 0 /* HAVE_UNISTD_H -- this line is updated by ./configure */
# include <sys/types.h> /* for off_t */ # include <sys/types.h> /* for off_t */
# include <unistd.h> /* for SEEK_* and off_t */ # include <unistd.h> /* for SEEK_* and off_t */
# ifdef VMS # ifdef VMS
# include <unixio.h> /* for off_t */ # include <unixio.h> /* for off_t */
# endif # endif
# define z_off_t off_t # define z_off_t off_t
#endif #endif
#ifndef SEEK_SET #ifndef SEEK_SET
# define SEEK_SET 0 /* Seek from beginning of file. */ # define SEEK_SET 0 /* Seek from beginning of file. */
# define SEEK_CUR 1 /* Seek from current position. */ # define SEEK_CUR 1 /* Seek from current position. */
# define SEEK_END 2 /* Set file pointer to EOF plus "offset" */ # define SEEK_END 2 /* Set file pointer to EOF plus "offset" */
#endif #endif
#ifndef z_off_t #ifndef z_off_t
# define z_off_t long # define z_off_t long
#endif #endif
#if defined(__OS400__) #if defined(__OS400__)
# define NO_vsnprintf # define NO_vsnprintf
#endif #endif
#if defined(__MVS__) #if defined(__MVS__)
# define NO_vsnprintf # define NO_vsnprintf
# ifdef FAR # ifdef FAR
# undef FAR # undef FAR
# endif # endif
#endif #endif
/* MVS linker does not support external names larger than 8 bytes */ /* MVS linker does not support external names larger than 8 bytes */
#if defined(__MVS__) #if defined(__MVS__)
# pragma map(deflateInit_,"DEIN") # pragma map(deflateInit_,"DEIN")
# pragma map(deflateInit2_,"DEIN2") # pragma map(deflateInit2_,"DEIN2")
# pragma map(deflateEnd,"DEEND") # pragma map(deflateEnd,"DEEND")
# pragma map(deflateBound,"DEBND") # pragma map(deflateBound,"DEBND")
# pragma map(inflateInit_,"ININ") # pragma map(inflateInit_,"ININ")
# pragma map(inflateInit2_,"ININ2") # pragma map(inflateInit2_,"ININ2")
# pragma map(inflateEnd,"INEND") # pragma map(inflateEnd,"INEND")
# pragma map(inflateSync,"INSY") # pragma map(inflateSync,"INSY")
# pragma map(inflateSetDictionary,"INSEDI") # pragma map(inflateSetDictionary,"INSEDI")
# pragma map(compressBound,"CMBND") # pragma map(compressBound,"CMBND")
# pragma map(inflate_table,"INTABL") # pragma map(inflate_table,"INTABL")
# pragma map(inflate_fast,"INFA") # pragma map(inflate_fast,"INFA")
# pragma map(inflate_copyright,"INCOPY") # pragma map(inflate_copyright,"INCOPY")
#endif #endif
#endif /* ZCONF_H */ #endif /* ZCONF_H */

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@ -1,103 +1,103 @@
; h:\mingw\3.3.1\bin\dlltool.exe --output-def=jpeg.def jcapimin.o jcapistd.o jctrans.o jcparam.o jdatadst.o jcinit.o jcmaster.o jcmarker.o jcmainct.o jcprepct.o jccoefct.o jccolor.o jcsample.o jchuff.o jcphuff.o jcdctmgr.o jfdctfst.o jfdctflt.o jfdctint.o jdapimin.o jdapistd.o jdtrans.o jdatasrc.o jdmaster.o jdinput.o jdmarker.o jdhuff.o jdphuff.o jdmainct.o jdcoefct.o jdpostct.o jddctmgr.o jidctfst.o jidctflt.o jidctint.o jidctred.o jdsample.o jdcolor.o jquant1.o jquant2.o jdmerge.o jcomapi.o jutils.o jerror.o jmemmgr.o jmemnobs.o jpeg-dllversion.o jpeg-dll-res.o ; h:\mingw\3.3.1\bin\dlltool.exe --output-def=jpeg.def jcapimin.o jcapistd.o jctrans.o jcparam.o jdatadst.o jcinit.o jcmaster.o jcmarker.o jcmainct.o jcprepct.o jccoefct.o jccolor.o jcsample.o jchuff.o jcphuff.o jcdctmgr.o jfdctfst.o jfdctflt.o jfdctint.o jdapimin.o jdapistd.o jdtrans.o jdatasrc.o jdmaster.o jdinput.o jdmarker.o jdhuff.o jdphuff.o jdmainct.o jdcoefct.o jdpostct.o jddctmgr.o jidctfst.o jidctflt.o jidctint.o jidctred.o jdsample.o jdcolor.o jquant1.o jquant2.o jdmerge.o jcomapi.o jutils.o jerror.o jmemmgr.o jmemnobs.o jpeg-dllversion.o jpeg-dll-res.o
EXPORTS EXPORTS
jcopy_block_row @ 1 ; jcopy_block_row @ 1 ;
jcopy_sample_rows @ 2 ; jcopy_sample_rows @ 2 ;
jdiv_round_up @ 3 ; jdiv_round_up @ 3 ;
jinit_1pass_quantizer @ 4 ; jinit_1pass_quantizer @ 4 ;
jinit_2pass_quantizer @ 5 ; jinit_2pass_quantizer @ 5 ;
jinit_c_coef_controller @ 6 ; jinit_c_coef_controller @ 6 ;
jinit_c_main_controller @ 7 ; jinit_c_main_controller @ 7 ;
jinit_c_master_control @ 8 ; jinit_c_master_control @ 8 ;
jinit_c_prep_controller @ 9 ; jinit_c_prep_controller @ 9 ;
jinit_color_converter @ 10 ; jinit_color_converter @ 10 ;
jinit_color_deconverter @ 11 ; jinit_color_deconverter @ 11 ;
jinit_compress_master @ 12 ; jinit_compress_master @ 12 ;
jinit_d_coef_controller @ 13 ; jinit_d_coef_controller @ 13 ;
jinit_d_main_controller @ 14 ; jinit_d_main_controller @ 14 ;
jinit_d_post_controller @ 15 ; jinit_d_post_controller @ 15 ;
jinit_downsampler @ 16 ; jinit_downsampler @ 16 ;
jinit_forward_dct @ 17 ; jinit_forward_dct @ 17 ;
jinit_huff_decoder @ 18 ; jinit_huff_decoder @ 18 ;
jinit_huff_encoder @ 19 ; jinit_huff_encoder @ 19 ;
jinit_input_controller @ 20 ; jinit_input_controller @ 20 ;
jinit_inverse_dct @ 21 ; jinit_inverse_dct @ 21 ;
jinit_marker_reader @ 22 ; jinit_marker_reader @ 22 ;
jinit_marker_writer @ 23 ; jinit_marker_writer @ 23 ;
jinit_master_decompress @ 24 ; jinit_master_decompress @ 24 ;
jinit_memory_mgr @ 25 ; jinit_memory_mgr @ 25 ;
jinit_merged_upsampler @ 26 ; jinit_merged_upsampler @ 26 ;
jinit_phuff_decoder @ 27 ; jinit_phuff_decoder @ 27 ;
jinit_phuff_encoder @ 28 ; jinit_phuff_encoder @ 28 ;
jinit_upsampler @ 29 ; jinit_upsampler @ 29 ;
jpeg_CreateCompress @ 30 ; jpeg_CreateCompress @ 30 ;
jpeg_CreateDecompress @ 31 ; jpeg_CreateDecompress @ 31 ;
jpeg_abort @ 32 ; jpeg_abort @ 32 ;
jpeg_abort_compress @ 33 ; jpeg_abort_compress @ 33 ;
jpeg_abort_decompress @ 34 ; jpeg_abort_decompress @ 34 ;
jpeg_add_quant_table @ 35 ; jpeg_add_quant_table @ 35 ;
jpeg_alloc_huff_table @ 36 ; jpeg_alloc_huff_table @ 36 ;
jpeg_alloc_quant_table @ 37 ; jpeg_alloc_quant_table @ 37 ;
jpeg_calc_output_dimensions @ 38 ; jpeg_calc_output_dimensions @ 38 ;
jpeg_consume_input @ 39 ; jpeg_consume_input @ 39 ;
jpeg_copy_critical_parameters @ 40 ; jpeg_copy_critical_parameters @ 40 ;
jpeg_default_colorspace @ 41 ; jpeg_default_colorspace @ 41 ;
jpeg_destroy @ 42 ; jpeg_destroy @ 42 ;
jpeg_destroy_compress @ 43 ; jpeg_destroy_compress @ 43 ;
jpeg_destroy_decompress @ 44 ; jpeg_destroy_decompress @ 44 ;
jpeg_fdct_float @ 45 ; jpeg_fdct_float @ 45 ;
jpeg_fdct_ifast @ 46 ; jpeg_fdct_ifast @ 46 ;
jpeg_fdct_islow @ 47 ; jpeg_fdct_islow @ 47 ;
jpeg_fill_bit_buffer @ 48 ; jpeg_fill_bit_buffer @ 48 ;
jpeg_finish_compress @ 49 ; jpeg_finish_compress @ 49 ;
jpeg_finish_decompress @ 50 ; jpeg_finish_decompress @ 50 ;
jpeg_finish_output @ 51 ; jpeg_finish_output @ 51 ;
jpeg_free_large @ 52 ; jpeg_free_large @ 52 ;
jpeg_free_small @ 53 ; jpeg_free_small @ 53 ;
jpeg_gen_optimal_table @ 54 ; jpeg_gen_optimal_table @ 54 ;
jpeg_get_large @ 55 ; jpeg_get_large @ 55 ;
jpeg_get_small @ 56 ; jpeg_get_small @ 56 ;
jpeg_has_multiple_scans @ 57 ; jpeg_has_multiple_scans @ 57 ;
jpeg_huff_decode @ 58 ; jpeg_huff_decode @ 58 ;
jpeg_idct_1x1 @ 59 ; jpeg_idct_1x1 @ 59 ;
jpeg_idct_2x2 @ 60 ; jpeg_idct_2x2 @ 60 ;
jpeg_idct_4x4 @ 61 ; jpeg_idct_4x4 @ 61 ;
jpeg_idct_float @ 62 ; jpeg_idct_float @ 62 ;
jpeg_idct_ifast @ 63 ; jpeg_idct_ifast @ 63 ;
jpeg_idct_islow @ 64 ; jpeg_idct_islow @ 64 ;
jpeg_input_complete @ 65 ; jpeg_input_complete @ 65 ;
jpeg_make_c_derived_tbl @ 66 ; jpeg_make_c_derived_tbl @ 66 ;
jpeg_make_d_derived_tbl @ 67 ; jpeg_make_d_derived_tbl @ 67 ;
jpeg_mem_available @ 68 ; jpeg_mem_available @ 68 ;
jpeg_mem_init @ 69 ; jpeg_mem_init @ 69 ;
jpeg_mem_term @ 70 ; jpeg_mem_term @ 70 ;
jpeg_new_colormap @ 71 ; jpeg_new_colormap @ 71 ;
jpeg_open_backing_store @ 72 ; jpeg_open_backing_store @ 72 ;
jpeg_quality_scaling @ 73 ; jpeg_quality_scaling @ 73 ;
jpeg_read_coefficients @ 74 ; jpeg_read_coefficients @ 74 ;
jpeg_read_header @ 75 ; jpeg_read_header @ 75 ;
jpeg_read_raw_data @ 76 ; jpeg_read_raw_data @ 76 ;
jpeg_read_scanlines @ 77 ; jpeg_read_scanlines @ 77 ;
jpeg_resync_to_restart @ 78 ; jpeg_resync_to_restart @ 78 ;
jpeg_save_markers @ 79 ; jpeg_save_markers @ 79 ;
jpeg_set_colorspace @ 80 ; jpeg_set_colorspace @ 80 ;
jpeg_set_defaults @ 81 ; jpeg_set_defaults @ 81 ;
jpeg_set_linear_quality @ 82 ; jpeg_set_linear_quality @ 82 ;
jpeg_set_marker_processor @ 83 ; jpeg_set_marker_processor @ 83 ;
jpeg_set_quality @ 84 ; jpeg_set_quality @ 84 ;
jpeg_simple_progression @ 85 ; jpeg_simple_progression @ 85 ;
jpeg_start_compress @ 86 ; jpeg_start_compress @ 86 ;
jpeg_start_decompress @ 87 ; jpeg_start_decompress @ 87 ;
jpeg_start_output @ 88 ; jpeg_start_output @ 88 ;
jpeg_std_error @ 89 ; jpeg_std_error @ 89 ;
jpeg_stdio_dest @ 90 ; jpeg_stdio_dest @ 90 ;
jpeg_stdio_src @ 91 ; jpeg_stdio_src @ 91 ;
jpeg_suppress_tables @ 92 ; jpeg_suppress_tables @ 92 ;
jpeg_write_coefficients @ 93 ; jpeg_write_coefficients @ 93 ;
jpeg_write_m_byte @ 94 ; jpeg_write_m_byte @ 94 ;
jpeg_write_m_header @ 95 ; jpeg_write_m_header @ 95 ;
jpeg_write_marker @ 96 ; jpeg_write_marker @ 96 ;
jpeg_write_raw_data @ 97 ; jpeg_write_raw_data @ 97 ;
jpeg_write_scanlines @ 98 ; jpeg_write_scanlines @ 98 ;
jpeg_write_tables @ 99 ; jpeg_write_tables @ 99 ;
jround_up @ 100 ; jround_up @ 100 ;
jzero_far @ 101 ; jzero_far @ 101 ;

Binary file not shown.

Binary file not shown.

View File

@ -1,372 +1,372 @@
; h:\mingw\3.3.1\bin\dlltool.exe --export-all-symbols --output-def=libpng.def png.dll.o pngset.dll.o pngget.dll.o pngrutil.dll.o pngtrans.dll.o pngwutil.dll.o pngread.dll.o pngrio.dll.o pngwio.dll.o pngwrite.dll.o pngrtran.dll.o pngwtran.dll.o pngmem.dll.o pngerror.dll.o pngpread.dll.o pnggccrd.dll.o libpng-dllversion.dll.o libpng-dll-res.o ; h:\mingw\3.3.1\bin\dlltool.exe --export-all-symbols --output-def=libpng.def png.dll.o pngset.dll.o pngget.dll.o pngrutil.dll.o pngtrans.dll.o pngwutil.dll.o pngread.dll.o pngrio.dll.o pngwio.dll.o pngwrite.dll.o pngrtran.dll.o pngwtran.dll.o pngmem.dll.o pngerror.dll.o pngpread.dll.o pnggccrd.dll.o libpng-dllversion.dll.o libpng-dll-res.o
EXPORTS EXPORTS
ActiveMask @ 1 DATA ; ActiveMask @ 1 DATA ;
ActiveMask2 @ 2 DATA ; ActiveMask2 @ 2 DATA ;
ActiveMaskEnd @ 3 DATA ; ActiveMaskEnd @ 3 DATA ;
DllGetVersion @ 4 ; DllGetVersion @ 4 ;
HBClearMask @ 5 DATA ; HBClearMask @ 5 DATA ;
LBCarryMask @ 6 DATA ; LBCarryMask @ 6 DATA ;
ShiftBpp @ 7 DATA ; ShiftBpp @ 7 DATA ;
ShiftRem @ 8 DATA ; ShiftRem @ 8 DATA ;
png_IDAT @ 9 DATA ; png_IDAT @ 9 DATA ;
png_IEND @ 10 DATA ; png_IEND @ 10 DATA ;
png_IHDR @ 11 DATA ; png_IHDR @ 11 DATA ;
png_PLTE @ 12 DATA ; png_PLTE @ 12 DATA ;
png_access_version_number @ 13 ; png_access_version_number @ 13 ;
png_bKGD @ 14 DATA ; png_bKGD @ 14 DATA ;
png_build_gamma_table @ 15 ; png_build_gamma_table @ 15 ;
png_build_grayscale_palette @ 16 ; png_build_grayscale_palette @ 16 ;
png_cHRM @ 17 DATA ; png_cHRM @ 17 DATA ;
png_calculate_crc @ 18 ; png_calculate_crc @ 18 ;
png_check_chunk_name @ 19 ; png_check_chunk_name @ 19 ;
png_check_keyword @ 20 ; png_check_keyword @ 20 ;
png_check_sig @ 21 ; png_check_sig @ 21 ;
png_chunk_error @ 22 ; png_chunk_error @ 22 ;
png_chunk_warning @ 23 ; png_chunk_warning @ 23 ;
png_combine_row @ 24 ; png_combine_row @ 24 ;
png_convert_from_struct_tm @ 25 ; png_convert_from_struct_tm @ 25 ;
png_convert_from_time_t @ 26 ; png_convert_from_time_t @ 26 ;
png_convert_to_rfc1123 @ 27 ; png_convert_to_rfc1123 @ 27 ;
png_crc_error @ 28 ; png_crc_error @ 28 ;
png_crc_finish @ 29 ; png_crc_finish @ 29 ;
png_crc_read @ 30 ; png_crc_read @ 30 ;
png_create_info_struct @ 31 ; png_create_info_struct @ 31 ;
png_create_read_struct @ 32 ; png_create_read_struct @ 32 ;
png_create_read_struct_2 @ 33 ; png_create_read_struct_2 @ 33 ;
png_create_struct @ 34 ; png_create_struct @ 34 ;
png_create_struct_2 @ 35 ; png_create_struct_2 @ 35 ;
png_create_write_struct @ 36 ; png_create_write_struct @ 36 ;
png_create_write_struct_2 @ 37 ; png_create_write_struct_2 @ 37 ;
png_data_freer @ 38 ; png_data_freer @ 38 ;
png_decompress_chunk @ 39 ; png_decompress_chunk @ 39 ;
png_default_flush @ 40 ; png_default_flush @ 40 ;
png_default_read_data @ 41 ; png_default_read_data @ 41 ;
png_default_write_data @ 42 ; png_default_write_data @ 42 ;
png_destroy_info_struct @ 43 ; png_destroy_info_struct @ 43 ;
png_destroy_read_struct @ 44 ; png_destroy_read_struct @ 44 ;
png_destroy_struct @ 45 ; png_destroy_struct @ 45 ;
png_destroy_struct_2 @ 46 ; png_destroy_struct_2 @ 46 ;
png_destroy_write_struct @ 47 ; png_destroy_write_struct @ 47 ;
png_do_background @ 48 ; png_do_background @ 48 ;
png_do_bgr @ 49 ; png_do_bgr @ 49 ;
png_do_chop @ 50 ; png_do_chop @ 50 ;
png_do_dither @ 51 ; png_do_dither @ 51 ;
png_do_expand @ 52 ; png_do_expand @ 52 ;
png_do_expand_palette @ 53 ; png_do_expand_palette @ 53 ;
png_do_gamma @ 54 ; png_do_gamma @ 54 ;
png_do_gray_to_rgb @ 55 ; png_do_gray_to_rgb @ 55 ;
png_do_invert @ 56 ; png_do_invert @ 56 ;
png_do_pack @ 57 ; png_do_pack @ 57 ;
png_do_packswap @ 58 ; png_do_packswap @ 58 ;
png_do_read_filler @ 59 ; png_do_read_filler @ 59 ;
png_do_read_interlace @ 60 ; png_do_read_interlace @ 60 ;
png_do_read_intrapixel @ 61 ; png_do_read_intrapixel @ 61 ;
png_do_read_invert_alpha @ 62 ; png_do_read_invert_alpha @ 62 ;
png_do_read_swap_alpha @ 63 ; png_do_read_swap_alpha @ 63 ;
png_do_read_transformations @ 64 ; png_do_read_transformations @ 64 ;
png_do_rgb_to_gray @ 65 ; png_do_rgb_to_gray @ 65 ;
png_do_shift @ 66 ; png_do_shift @ 66 ;
png_do_strip_filler @ 67 ; png_do_strip_filler @ 67 ;
png_do_swap @ 68 ; png_do_swap @ 68 ;
png_do_unpack @ 69 ; png_do_unpack @ 69 ;
png_do_unshift @ 70 ; png_do_unshift @ 70 ;
png_do_write_interlace @ 71 ; png_do_write_interlace @ 71 ;
png_do_write_intrapixel @ 72 ; png_do_write_intrapixel @ 72 ;
png_do_write_invert_alpha @ 73 ; png_do_write_invert_alpha @ 73 ;
png_do_write_swap_alpha @ 74 ; png_do_write_swap_alpha @ 74 ;
png_do_write_transformations @ 75 ; png_do_write_transformations @ 75 ;
png_error @ 76 ; png_error @ 76 ;
png_flush @ 77 ; png_flush @ 77 ;
png_free @ 78 ; png_free @ 78 ;
png_free_data @ 79 ; png_free_data @ 79 ;
png_free_default @ 80 ; png_free_default @ 80 ;
png_gAMA @ 81 DATA ; png_gAMA @ 81 DATA ;
png_get_IHDR @ 82 ; png_get_IHDR @ 82 ;
png_get_PLTE @ 83 ; png_get_PLTE @ 83 ;
png_get_asm_flagmask @ 84 ; png_get_asm_flagmask @ 84 ;
png_get_asm_flags @ 85 ; png_get_asm_flags @ 85 ;
png_get_bKGD @ 86 ; png_get_bKGD @ 86 ;
png_get_bit_depth @ 87 ; png_get_bit_depth @ 87 ;
png_get_cHRM @ 88 ; png_get_cHRM @ 88 ;
png_get_cHRM_fixed @ 89 ; png_get_cHRM_fixed @ 89 ;
png_get_channels @ 90 ; png_get_channels @ 90 ;
png_get_color_type @ 91 ; png_get_color_type @ 91 ;
png_get_compression_buffer_size @ 92 ; png_get_compression_buffer_size @ 92 ;
png_get_compression_type @ 93 ; png_get_compression_type @ 93 ;
png_get_copyright @ 94 ; png_get_copyright @ 94 ;
png_get_error_ptr @ 95 ; png_get_error_ptr @ 95 ;
png_get_filter_type @ 96 ; png_get_filter_type @ 96 ;
png_get_gAMA @ 97 ; png_get_gAMA @ 97 ;
png_get_gAMA_fixed @ 98 ; png_get_gAMA_fixed @ 98 ;
png_get_hIST @ 99 ; png_get_hIST @ 99 ;
png_get_header_ver @ 100 ; png_get_header_ver @ 100 ;
png_get_header_version @ 101 ; png_get_header_version @ 101 ;
png_get_iCCP @ 102 ; png_get_iCCP @ 102 ;
png_get_image_height @ 103 ; png_get_image_height @ 103 ;
png_get_image_width @ 104 ; png_get_image_width @ 104 ;
png_get_int_32 @ 105 ; png_get_int_32 @ 105 ;
png_get_interlace_type @ 106 ; png_get_interlace_type @ 106 ;
png_get_io_ptr @ 107 ; png_get_io_ptr @ 107 ;
png_get_libpng_ver @ 108 ; png_get_libpng_ver @ 108 ;
png_get_mem_ptr @ 109 ; png_get_mem_ptr @ 109 ;
png_get_mmx_bitdepth_threshold @ 110 ; png_get_mmx_bitdepth_threshold @ 110 ;
png_get_mmx_flagmask @ 111 ; png_get_mmx_flagmask @ 111 ;
png_get_mmx_rowbytes_threshold @ 112 ; png_get_mmx_rowbytes_threshold @ 112 ;
png_get_oFFs @ 113 ; png_get_oFFs @ 113 ;
png_get_pCAL @ 114 ; png_get_pCAL @ 114 ;
png_get_pHYs @ 115 ; png_get_pHYs @ 115 ;
png_get_pixel_aspect_ratio @ 116 ; png_get_pixel_aspect_ratio @ 116 ;
png_get_pixels_per_meter @ 117 ; png_get_pixels_per_meter @ 117 ;
png_get_progressive_ptr @ 118 ; png_get_progressive_ptr @ 118 ;
png_get_rgb_to_gray_status @ 119 ; png_get_rgb_to_gray_status @ 119 ;
png_get_rowbytes @ 120 ; png_get_rowbytes @ 120 ;
png_get_rows @ 121 ; png_get_rows @ 121 ;
png_get_sBIT @ 122 ; png_get_sBIT @ 122 ;
png_get_sCAL @ 123 ; png_get_sCAL @ 123 ;
png_get_sPLT @ 124 ; png_get_sPLT @ 124 ;
png_get_sRGB @ 125 ; png_get_sRGB @ 125 ;
png_get_signature @ 126 ; png_get_signature @ 126 ;
png_get_tIME @ 127 ; png_get_tIME @ 127 ;
png_get_tRNS @ 128 ; png_get_tRNS @ 128 ;
png_get_text @ 129 ; png_get_text @ 129 ;
png_get_uint_16 @ 130 ; png_get_uint_16 @ 130 ;
png_get_uint_31 @ 131 ; png_get_uint_31 @ 131 ;
png_get_uint_32 @ 132 ; png_get_uint_32 @ 132 ;
png_get_unknown_chunks @ 133 ; png_get_unknown_chunks @ 133 ;
png_get_user_chunk_ptr @ 134 ; png_get_user_chunk_ptr @ 134 ;
png_get_user_height_max @ 135 ; png_get_user_height_max @ 135 ;
png_get_user_transform_ptr @ 136 ; png_get_user_transform_ptr @ 136 ;
png_get_user_width_max @ 137 ; png_get_user_width_max @ 137 ;
png_get_valid @ 138 ; png_get_valid @ 138 ;
png_get_x_offset_microns @ 139 ; png_get_x_offset_microns @ 139 ;
png_get_x_offset_pixels @ 140 ; png_get_x_offset_pixels @ 140 ;
png_get_x_pixels_per_meter @ 141 ; png_get_x_pixels_per_meter @ 141 ;
png_get_y_offset_microns @ 142 ; png_get_y_offset_microns @ 142 ;
png_get_y_offset_pixels @ 143 ; png_get_y_offset_pixels @ 143 ;
png_get_y_pixels_per_meter @ 144 ; png_get_y_pixels_per_meter @ 144 ;
png_hIST @ 145 DATA ; png_hIST @ 145 DATA ;
png_handle_IEND @ 146 ; png_handle_IEND @ 146 ;
png_handle_IHDR @ 147 ; png_handle_IHDR @ 147 ;
png_handle_PLTE @ 148 ; png_handle_PLTE @ 148 ;
png_handle_as_unknown @ 149 ; png_handle_as_unknown @ 149 ;
png_handle_bKGD @ 150 ; png_handle_bKGD @ 150 ;
png_handle_cHRM @ 151 ; png_handle_cHRM @ 151 ;
png_handle_gAMA @ 152 ; png_handle_gAMA @ 152 ;
png_handle_hIST @ 153 ; png_handle_hIST @ 153 ;
png_handle_iCCP @ 154 ; png_handle_iCCP @ 154 ;
png_handle_oFFs @ 155 ; png_handle_oFFs @ 155 ;
png_handle_pCAL @ 156 ; png_handle_pCAL @ 156 ;
png_handle_pHYs @ 157 ; png_handle_pHYs @ 157 ;
png_handle_sBIT @ 158 ; png_handle_sBIT @ 158 ;
png_handle_sCAL @ 159 ; png_handle_sCAL @ 159 ;
png_handle_sPLT @ 160 ; png_handle_sPLT @ 160 ;
png_handle_sRGB @ 161 ; png_handle_sRGB @ 161 ;
png_handle_tEXt @ 162 ; png_handle_tEXt @ 162 ;
png_handle_tIME @ 163 ; png_handle_tIME @ 163 ;
png_handle_tRNS @ 164 ; png_handle_tRNS @ 164 ;
png_handle_unknown @ 165 ; png_handle_unknown @ 165 ;
png_handle_zTXt @ 166 ; png_handle_zTXt @ 166 ;
png_iCCP @ 167 DATA ; png_iCCP @ 167 DATA ;
png_iTXt @ 168 DATA ; png_iTXt @ 168 DATA ;
png_info_destroy @ 169 ; png_info_destroy @ 169 ;
png_info_init @ 170 ; png_info_init @ 170 ;
png_info_init_3 @ 171 ; png_info_init_3 @ 171 ;
png_init_io @ 172 ; png_init_io @ 172 ;
png_init_mmx_flags @ 173 ; png_init_mmx_flags @ 173 ;
png_init_read_transformations @ 174 ; png_init_read_transformations @ 174 ;
png_libpng_ver @ 175 DATA ; png_libpng_ver @ 175 DATA ;
png_malloc @ 176 ; png_malloc @ 176 ;
png_malloc_default @ 177 ; png_malloc_default @ 177 ;
png_malloc_warn @ 178 ; png_malloc_warn @ 178 ;
png_memcpy_check @ 179 ; png_memcpy_check @ 179 ;
png_memset_check @ 180 ; png_memset_check @ 180 ;
png_mmx_support @ 181 ; png_mmx_support @ 181 ;
png_oFFs @ 182 DATA ; png_oFFs @ 182 DATA ;
png_pCAL @ 183 DATA ; png_pCAL @ 183 DATA ;
png_pHYs @ 184 DATA ; png_pHYs @ 184 DATA ;
png_pass_dsp_mask @ 185 DATA ; png_pass_dsp_mask @ 185 DATA ;
png_pass_inc @ 186 DATA ; png_pass_inc @ 186 DATA ;
png_pass_mask @ 187 DATA ; png_pass_mask @ 187 DATA ;
png_pass_start @ 188 DATA ; png_pass_start @ 188 DATA ;
png_pass_width @ 189 DATA ; png_pass_width @ 189 DATA ;
png_pass_yinc @ 190 DATA ; png_pass_yinc @ 190 DATA ;
png_pass_ystart @ 191 DATA ; png_pass_ystart @ 191 DATA ;
png_permit_empty_plte @ 192 ; png_permit_empty_plte @ 192 ;
png_permit_mng_features @ 193 ; png_permit_mng_features @ 193 ;
png_process_IDAT_data @ 194 ; png_process_IDAT_data @ 194 ;
png_process_data @ 195 ; png_process_data @ 195 ;
png_process_some_data @ 196 ; png_process_some_data @ 196 ;
png_progressive_combine_row @ 197 ; png_progressive_combine_row @ 197 ;
png_push_crc_finish @ 198 ; png_push_crc_finish @ 198 ;
png_push_crc_skip @ 199 ; png_push_crc_skip @ 199 ;
png_push_fill_buffer @ 200 ; png_push_fill_buffer @ 200 ;
png_push_handle_tEXt @ 201 ; png_push_handle_tEXt @ 201 ;
png_push_handle_unknown @ 202 ; png_push_handle_unknown @ 202 ;
png_push_handle_zTXt @ 203 ; png_push_handle_zTXt @ 203 ;
png_push_have_end @ 204 ; png_push_have_end @ 204 ;
png_push_have_info @ 205 ; png_push_have_info @ 205 ;
png_push_have_row @ 206 ; png_push_have_row @ 206 ;
png_push_process_row @ 207 ; png_push_process_row @ 207 ;
png_push_read_IDAT @ 208 ; png_push_read_IDAT @ 208 ;
png_push_read_chunk @ 209 ; png_push_read_chunk @ 209 ;
png_push_read_sig @ 210 ; png_push_read_sig @ 210 ;
png_push_read_tEXt @ 211 ; png_push_read_tEXt @ 211 ;
png_push_read_zTXt @ 212 ; png_push_read_zTXt @ 212 ;
png_push_restore_buffer @ 213 ; png_push_restore_buffer @ 213 ;
png_push_save_buffer @ 214 ; png_push_save_buffer @ 214 ;
png_read_data @ 215 ; png_read_data @ 215 ;
png_read_destroy @ 216 ; png_read_destroy @ 216 ;
png_read_end @ 217 ; png_read_end @ 217 ;
png_read_filter_row @ 218 ; png_read_filter_row @ 218 ;
png_read_finish_row @ 219 ; png_read_finish_row @ 219 ;
png_read_image @ 220 ; png_read_image @ 220 ;
png_read_info @ 221 ; png_read_info @ 221 ;
png_read_init @ 222 ; png_read_init @ 222 ;
png_read_init_2 @ 223 ; png_read_init_2 @ 223 ;
png_read_init_3 @ 224 ; png_read_init_3 @ 224 ;
png_read_png @ 225 ; png_read_png @ 225 ;
png_read_push_finish_row @ 226 ; png_read_push_finish_row @ 226 ;
png_read_row @ 227 ; png_read_row @ 227 ;
png_read_rows @ 228 ; png_read_rows @ 228 ;
png_read_start_row @ 229 ; png_read_start_row @ 229 ;
png_read_transform_info @ 230 ; png_read_transform_info @ 230 ;
png_read_update_info @ 231 ; png_read_update_info @ 231 ;
png_reset_crc @ 232 ; png_reset_crc @ 232 ;
png_reset_zstream @ 233 ; png_reset_zstream @ 233 ;
png_sBIT @ 234 DATA ; png_sBIT @ 234 DATA ;
png_sCAL @ 235 DATA ; png_sCAL @ 235 DATA ;
png_sPLT @ 236 DATA ; png_sPLT @ 236 DATA ;
png_sRGB @ 237 DATA ; png_sRGB @ 237 DATA ;
png_save_int_32 @ 238 ; png_save_int_32 @ 238 ;
png_save_uint_16 @ 239 ; png_save_uint_16 @ 239 ;
png_save_uint_32 @ 240 ; png_save_uint_32 @ 240 ;
png_set_IHDR @ 241 ; png_set_IHDR @ 241 ;
png_set_PLTE @ 242 ; png_set_PLTE @ 242 ;
png_set_add_alpha @ 243 ; png_set_add_alpha @ 243 ;
png_set_asm_flags @ 244 ; png_set_asm_flags @ 244 ;
png_set_bKGD @ 245 ; png_set_bKGD @ 245 ;
png_set_background @ 246 ; png_set_background @ 246 ;
png_set_bgr @ 247 ; png_set_bgr @ 247 ;
png_set_cHRM @ 248 ; png_set_cHRM @ 248 ;
png_set_cHRM_fixed @ 249 ; png_set_cHRM_fixed @ 249 ;
png_set_compression_buffer_size @ 250 ; png_set_compression_buffer_size @ 250 ;
png_set_compression_level @ 251 ; png_set_compression_level @ 251 ;
png_set_compression_mem_level @ 252 ; png_set_compression_mem_level @ 252 ;
png_set_compression_method @ 253 ; png_set_compression_method @ 253 ;
png_set_compression_strategy @ 254 ; png_set_compression_strategy @ 254 ;
png_set_compression_window_bits @ 255 ; png_set_compression_window_bits @ 255 ;
png_set_crc_action @ 256 ; png_set_crc_action @ 256 ;
png_set_dither @ 257 ; png_set_dither @ 257 ;
png_set_error_fn @ 258 ; png_set_error_fn @ 258 ;
png_set_expand @ 259 ; png_set_expand @ 259 ;
png_set_filler @ 260 ; png_set_filler @ 260 ;
png_set_filter @ 261 ; png_set_filter @ 261 ;
png_set_filter_heuristics @ 262 ; png_set_filter_heuristics @ 262 ;
png_set_flush @ 263 ; png_set_flush @ 263 ;
png_set_gAMA @ 264 ; png_set_gAMA @ 264 ;
png_set_gAMA_fixed @ 265 ; png_set_gAMA_fixed @ 265 ;
png_set_gamma @ 266 ; png_set_gamma @ 266 ;
png_set_gray_1_2_4_to_8 @ 267 ; png_set_gray_1_2_4_to_8 @ 267 ;
png_set_gray_to_rgb @ 268 ; png_set_gray_to_rgb @ 268 ;
png_set_hIST @ 269 ; png_set_hIST @ 269 ;
png_set_iCCP @ 270 ; png_set_iCCP @ 270 ;
png_set_interlace_handling @ 271 ; png_set_interlace_handling @ 271 ;
png_set_invalid @ 272 ; png_set_invalid @ 272 ;
png_set_invert_alpha @ 273 ; png_set_invert_alpha @ 273 ;
png_set_invert_mono @ 274 ; png_set_invert_mono @ 274 ;
png_set_keep_unknown_chunks @ 275 ; png_set_keep_unknown_chunks @ 275 ;
png_set_mem_fn @ 276 ; png_set_mem_fn @ 276 ;
png_set_mmx_thresholds @ 277 ; png_set_mmx_thresholds @ 277 ;
png_set_oFFs @ 278 ; png_set_oFFs @ 278 ;
png_set_pCAL @ 279 ; png_set_pCAL @ 279 ;
png_set_pHYs @ 280 ; png_set_pHYs @ 280 ;
png_set_packing @ 281 ; png_set_packing @ 281 ;
png_set_packswap @ 282 ; png_set_packswap @ 282 ;
png_set_palette_to_rgb @ 283 ; png_set_palette_to_rgb @ 283 ;
png_set_progressive_read_fn @ 284 ; png_set_progressive_read_fn @ 284 ;
png_set_read_fn @ 285 ; png_set_read_fn @ 285 ;
png_set_read_status_fn @ 286 ; png_set_read_status_fn @ 286 ;
png_set_read_user_chunk_fn @ 287 ; png_set_read_user_chunk_fn @ 287 ;
png_set_read_user_transform_fn @ 288 ; png_set_read_user_transform_fn @ 288 ;
png_set_rgb_to_gray @ 289 ; png_set_rgb_to_gray @ 289 ;
png_set_rgb_to_gray_fixed @ 290 ; png_set_rgb_to_gray_fixed @ 290 ;
png_set_rows @ 291 ; png_set_rows @ 291 ;
png_set_sBIT @ 292 ; png_set_sBIT @ 292 ;
png_set_sCAL @ 293 ; png_set_sCAL @ 293 ;
png_set_sPLT @ 294 ; png_set_sPLT @ 294 ;
png_set_sRGB @ 295 ; png_set_sRGB @ 295 ;
png_set_sRGB_gAMA_and_cHRM @ 296 ; png_set_sRGB_gAMA_and_cHRM @ 296 ;
png_set_shift @ 297 ; png_set_shift @ 297 ;
png_set_sig_bytes @ 298 ; png_set_sig_bytes @ 298 ;
png_set_strip_16 @ 299 ; png_set_strip_16 @ 299 ;
png_set_strip_alpha @ 300 ; png_set_strip_alpha @ 300 ;
png_set_strip_error_numbers @ 301 ; png_set_strip_error_numbers @ 301 ;
png_set_swap @ 302 ; png_set_swap @ 302 ;
png_set_swap_alpha @ 303 ; png_set_swap_alpha @ 303 ;
png_set_tIME @ 304 ; png_set_tIME @ 304 ;
png_set_tRNS @ 305 ; png_set_tRNS @ 305 ;
png_set_tRNS_to_alpha @ 306 ; png_set_tRNS_to_alpha @ 306 ;
png_set_text @ 307 ; png_set_text @ 307 ;
png_set_text_2 @ 308 ; png_set_text_2 @ 308 ;
png_set_unknown_chunk_location @ 309 ; png_set_unknown_chunk_location @ 309 ;
png_set_unknown_chunks @ 310 ; png_set_unknown_chunks @ 310 ;
png_set_user_limits @ 311 ; png_set_user_limits @ 311 ;
png_set_user_transform_info @ 312 ; png_set_user_transform_info @ 312 ;
png_set_write_fn @ 313 ; png_set_write_fn @ 313 ;
png_set_write_status_fn @ 314 ; png_set_write_status_fn @ 314 ;
png_set_write_user_transform_fn @ 315 ; png_set_write_user_transform_fn @ 315 ;
png_sig @ 316 DATA ; png_sig @ 316 DATA ;
png_sig_cmp @ 317 ; png_sig_cmp @ 317 ;
png_squelch_warnings @ 318 ; png_squelch_warnings @ 318 ;
png_start_read_image @ 319 ; png_start_read_image @ 319 ;
png_tEXt @ 320 DATA ; png_tEXt @ 320 DATA ;
png_tIME @ 321 DATA ; png_tIME @ 321 DATA ;
png_tRNS @ 322 DATA ; png_tRNS @ 322 DATA ;
png_warning @ 323 ; png_warning @ 323 ;
png_write_IDAT @ 324 ; png_write_IDAT @ 324 ;
png_write_IEND @ 325 ; png_write_IEND @ 325 ;
png_write_IHDR @ 326 ; png_write_IHDR @ 326 ;
png_write_PLTE @ 327 ; png_write_PLTE @ 327 ;
png_write_bKGD @ 328 ; png_write_bKGD @ 328 ;
png_write_cHRM @ 329 ; png_write_cHRM @ 329 ;
png_write_cHRM_fixed @ 330 ; png_write_cHRM_fixed @ 330 ;
png_write_chunk @ 331 ; png_write_chunk @ 331 ;
png_write_chunk_data @ 332 ; png_write_chunk_data @ 332 ;
png_write_chunk_end @ 333 ; png_write_chunk_end @ 333 ;
png_write_chunk_start @ 334 ; png_write_chunk_start @ 334 ;
png_write_data @ 335 ; png_write_data @ 335 ;
png_write_destroy @ 336 ; png_write_destroy @ 336 ;
png_write_end @ 337 ; png_write_end @ 337 ;
png_write_filtered_row @ 338 ; png_write_filtered_row @ 338 ;
png_write_find_filter @ 339 ; png_write_find_filter @ 339 ;
png_write_finish_row @ 340 ; png_write_finish_row @ 340 ;
png_write_flush @ 341 ; png_write_flush @ 341 ;
png_write_gAMA @ 342 ; png_write_gAMA @ 342 ;
png_write_gAMA_fixed @ 343 ; png_write_gAMA_fixed @ 343 ;
png_write_hIST @ 344 ; png_write_hIST @ 344 ;
png_write_iCCP @ 345 ; png_write_iCCP @ 345 ;
png_write_image @ 346 ; png_write_image @ 346 ;
png_write_info @ 347 ; png_write_info @ 347 ;
png_write_info_before_PLTE @ 348 ; png_write_info_before_PLTE @ 348 ;
png_write_init @ 349 ; png_write_init @ 349 ;
png_write_init_2 @ 350 ; png_write_init_2 @ 350 ;
png_write_init_3 @ 351 ; png_write_init_3 @ 351 ;
png_write_oFFs @ 352 ; png_write_oFFs @ 352 ;
png_write_pCAL @ 353 ; png_write_pCAL @ 353 ;
png_write_pHYs @ 354 ; png_write_pHYs @ 354 ;
png_write_png @ 355 ; png_write_png @ 355 ;
png_write_row @ 356 ; png_write_row @ 356 ;
png_write_rows @ 357 ; png_write_rows @ 357 ;
png_write_sBIT @ 358 ; png_write_sBIT @ 358 ;
png_write_sCAL @ 359 ; png_write_sCAL @ 359 ;
png_write_sPLT @ 360 ; png_write_sPLT @ 360 ;
png_write_sRGB @ 361 ; png_write_sRGB @ 361 ;
png_write_sig @ 362 ; png_write_sig @ 362 ;
png_write_start_row @ 363 ; png_write_start_row @ 363 ;
png_write_tEXt @ 364 ; png_write_tEXt @ 364 ;
png_write_tIME @ 365 ; png_write_tIME @ 365 ;
png_write_tRNS @ 366 ; png_write_tRNS @ 366 ;
png_write_zTXt @ 367 ; png_write_zTXt @ 367 ;
png_zTXt @ 368 DATA ; png_zTXt @ 368 DATA ;
png_zalloc @ 369 ; png_zalloc @ 369 ;
png_zfree @ 370 ; png_zfree @ 370 ;

Binary file not shown.

Binary file not shown.

239
gnuwin32/lib/libpng12.def Normal file
View File

@ -0,0 +1,239 @@
LIBRARY libpng12.dll
EXPORTS
DllGetVersion
png_IDAT DATA
png_IEND DATA
png_IHDR DATA
png_PLTE DATA
png_access_version_number
png_bKGD DATA
png_build_grayscale_palette
png_cHRM DATA
png_check_sig
png_chunk_error
png_chunk_warning
png_convert_from_struct_tm
png_convert_from_time_t
png_convert_to_rfc1123
png_create_info_struct
png_create_read_struct
png_create_read_struct_2
png_create_write_struct
png_create_write_struct_2
png_data_freer
png_destroy_info_struct
png_destroy_read_struct
png_destroy_write_struct
png_error
png_free
png_free_data
png_free_default
png_gAMA DATA
png_get_IHDR
png_get_PLTE
png_get_asm_flagmask
png_get_asm_flags
png_get_bKGD
png_get_bit_depth
png_get_cHRM
png_get_cHRM_fixed
png_get_channels
png_get_color_type
png_get_compression_buffer_size
png_get_compression_type
png_get_copyright
png_get_error_ptr
png_get_filter_type
png_get_gAMA
png_get_gAMA_fixed
png_get_hIST
png_get_header_ver
png_get_header_version
png_get_iCCP
png_get_image_height
png_get_image_width
png_get_int_32
png_get_interlace_type
png_get_io_ptr
png_get_libpng_ver
png_get_mem_ptr
png_get_mmx_bitdepth_threshold
png_get_mmx_flagmask
png_get_mmx_rowbytes_threshold
png_get_oFFs
png_get_pCAL
png_get_pHYs
png_get_pixel_aspect_ratio
png_get_pixels_per_meter
png_get_progressive_ptr
png_get_rgb_to_gray_status
png_get_rowbytes
png_get_rows
png_get_sBIT
png_get_sCAL
png_get_sPLT
png_get_sRGB
png_get_signature
png_get_tIME
png_get_tRNS
png_get_text
png_get_uint_16
png_get_uint_31
png_get_uint_32
png_get_unknown_chunks
png_get_user_chunk_ptr
png_get_user_height_max
png_get_user_transform_ptr
png_get_user_width_max
png_get_valid
png_get_x_offset_microns
png_get_x_offset_pixels
png_get_x_pixels_per_meter
png_get_y_offset_microns
png_get_y_offset_pixels
png_get_y_pixels_per_meter
png_hIST DATA
png_handle_as_unknown
png_iCCP DATA
png_iTXt DATA
png_info_init
png_info_init_3
png_init_io
png_libpng_ver DATA
png_malloc
png_malloc_default
png_malloc_warn
png_memcpy_check
png_memset_check
png_mmx_support
png_oFFs DATA
png_pCAL DATA
png_pHYs DATA
png_pass_dsp_mask DATA
png_pass_inc DATA
png_pass_mask DATA
png_pass_start DATA
png_pass_yinc DATA
png_pass_ystart DATA
png_permit_empty_plte
png_permit_mng_features
png_process_data
png_progressive_combine_row
png_read_destroy
png_read_end
png_read_image
png_read_info
png_read_init
png_read_init_2
png_read_init_3
png_read_png
png_read_row
png_read_rows
png_read_update_info
png_reset_zstream
png_sBIT DATA
png_sCAL DATA
png_sPLT DATA
png_sRGB DATA
png_save_int_32
png_save_uint_16
png_save_uint_32
png_set_IHDR
png_set_PLTE
png_set_add_alpha
png_set_asm_flags
png_set_bKGD
png_set_background
png_set_bgr
png_set_cHRM
png_set_cHRM_fixed
png_set_compression_buffer_size
png_set_compression_level
png_set_compression_mem_level
png_set_compression_method
png_set_compression_strategy
png_set_compression_window_bits
png_set_crc_action
png_set_dither
png_set_error_fn
png_set_expand
png_set_expand_gray_1_2_4_to_8
png_set_filler
png_set_filter
png_set_filter_heuristics
png_set_flush
png_set_gAMA
png_set_gAMA_fixed
png_set_gamma
png_set_gray_1_2_4_to_8
png_set_gray_to_rgb
png_set_hIST
png_set_iCCP
png_set_interlace_handling
png_set_invalid
png_set_invert_alpha
png_set_invert_mono
png_set_keep_unknown_chunks
png_set_mem_fn
png_set_mmx_thresholds
png_set_oFFs
png_set_pCAL
png_set_pHYs
png_set_packing
png_set_packswap
png_set_palette_to_rgb
png_set_progressive_read_fn
png_set_read_fn
png_set_read_status_fn
png_set_read_user_chunk_fn
png_set_read_user_transform_fn
png_set_rgb_to_gray
png_set_rgb_to_gray_fixed
png_set_rows
png_set_sBIT
png_set_sCAL
png_set_sPLT
png_set_sRGB
png_set_sRGB_gAMA_and_cHRM
png_set_shift
png_set_sig_bytes
png_set_strip_16
png_set_strip_alpha
png_set_strip_error_numbers
png_set_swap
png_set_swap_alpha
png_set_tIME
png_set_tRNS
png_set_tRNS_to_alpha
png_set_text
png_set_unknown_chunk_location
png_set_unknown_chunks
png_set_user_limits
png_set_user_transform_info
png_set_write_fn
png_set_write_status_fn
png_set_write_user_transform_fn
png_sig DATA
png_sig_cmp
png_start_read_image
png_tEXt DATA
png_tIME DATA
png_tRNS DATA
png_warning
png_write_chunk
png_write_chunk_data
png_write_chunk_end
png_write_chunk_start
png_write_destroy
png_write_end
png_write_flush
png_write_image
png_write_info
png_write_info_before_PLTE
png_write_init
png_write_init_2
png_write_init_3
png_write_png
png_write_row
png_write_rows
png_zTXt DATA

BIN
gnuwin32/lib/libpng12.dll.a Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,75 +1,75 @@
; h:\mingw\3.3.1\bin\dlltool.exe --export-all-symbols --output-def=zlib.def adler32.pic.o compress.pic.o crc32.pic.o gzio.pic.o uncompr.pic.o deflate.pic.o trees.pic.o zutil.pic.o inflate.pic.o infback.pic.o inftrees.pic.o inffast.pic.o zlib-dllversion.o zlib-dll-res.o ; h:\mingw\3.3.1\bin\dlltool.exe --export-all-symbols --output-def=zlib.def adler32.pic.o compress.pic.o crc32.pic.o gzio.pic.o uncompr.pic.o deflate.pic.o trees.pic.o zutil.pic.o inflate.pic.o infback.pic.o inftrees.pic.o inffast.pic.o zlib-dllversion.o zlib-dll-res.o
EXPORTS EXPORTS
DllGetVersion @ 1 ; DllGetVersion @ 1 ;
_dist_code @ 2 DATA ; _dist_code @ 2 DATA ;
_length_code @ 3 DATA ; _length_code @ 3 DATA ;
_tr_align @ 4 ; _tr_align @ 4 ;
_tr_flush_block @ 5 ; _tr_flush_block @ 5 ;
_tr_init @ 6 ; _tr_init @ 6 ;
_tr_stored_block @ 7 ; _tr_stored_block @ 7 ;
_tr_tally @ 8 ; _tr_tally @ 8 ;
adler32 @ 9 ; adler32 @ 9 ;
adler32_combine @ 10 ; adler32_combine @ 10 ;
compress @ 11 ; compress @ 11 ;
compress2 @ 12 ; compress2 @ 12 ;
compressBound @ 13 ; compressBound @ 13 ;
crc32 @ 14 ; crc32 @ 14 ;
crc32_combine @ 15 ; crc32_combine @ 15 ;
deflate @ 16 ; deflate @ 16 ;
deflateBound @ 17 ; deflateBound @ 17 ;
deflateCopy @ 18 ; deflateCopy @ 18 ;
deflateEnd @ 19 ; deflateEnd @ 19 ;
deflateInit2_ @ 20 ; deflateInit2_ @ 20 ;
deflateInit_ @ 21 ; deflateInit_ @ 21 ;
deflateParams @ 22 ; deflateParams @ 22 ;
deflatePrime @ 23 ; deflatePrime @ 23 ;
deflateReset @ 24 ; deflateReset @ 24 ;
deflateSetDictionary @ 25 ; deflateSetDictionary @ 25 ;
deflateSetHeader @ 26 ; deflateSetHeader @ 26 ;
deflateTune @ 27 ; deflateTune @ 27 ;
deflate_copyright @ 28 DATA ; deflate_copyright @ 28 DATA ;
get_crc_table @ 29 ; get_crc_table @ 29 ;
gzclearerr @ 30 ; gzclearerr @ 30 ;
gzclose @ 31 ; gzclose @ 31 ;
gzdirect @ 32 ; gzdirect @ 32 ;
gzdopen @ 33 ; gzdopen @ 33 ;
gzeof @ 34 ; gzeof @ 34 ;
gzerror @ 35 ; gzerror @ 35 ;
gzflush @ 36 ; gzflush @ 36 ;
gzgetc @ 37 ; gzgetc @ 37 ;
gzgets @ 38 ; gzgets @ 38 ;
gzopen @ 39 ; gzopen @ 39 ;
gzprintf @ 40 ; gzprintf @ 40 ;
gzputc @ 41 ; gzputc @ 41 ;
gzputs @ 42 ; gzputs @ 42 ;
gzread @ 43 ; gzread @ 43 ;
gzrewind @ 44 ; gzrewind @ 44 ;
gzseek @ 45 ; gzseek @ 45 ;
gzsetparams @ 46 ; gzsetparams @ 46 ;
gztell @ 47 ; gztell @ 47 ;
gzungetc @ 48 ; gzungetc @ 48 ;
gzwrite @ 49 ; gzwrite @ 49 ;
inflate @ 50 ; inflate @ 50 ;
inflateBack @ 51 ; inflateBack @ 51 ;
inflateBackEnd @ 52 ; inflateBackEnd @ 52 ;
inflateBackInit_ @ 53 ; inflateBackInit_ @ 53 ;
inflateCopy @ 54 ; inflateCopy @ 54 ;
inflateEnd @ 55 ; inflateEnd @ 55 ;
inflateGetHeader @ 56 ; inflateGetHeader @ 56 ;
inflateInit2_ @ 57 ; inflateInit2_ @ 57 ;
inflateInit_ @ 58 ; inflateInit_ @ 58 ;
inflatePrime @ 59 ; inflatePrime @ 59 ;
inflateReset @ 60 ; inflateReset @ 60 ;
inflateSetDictionary @ 61 ; inflateSetDictionary @ 61 ;
inflateSync @ 62 ; inflateSync @ 62 ;
inflateSyncPoint @ 63 ; inflateSyncPoint @ 63 ;
inflate_copyright @ 64 DATA ; inflate_copyright @ 64 DATA ;
inflate_fast @ 65 ; inflate_fast @ 65 ;
inflate_table @ 66 ; inflate_table @ 66 ;
uncompress @ 67 ; uncompress @ 67 ;
zError @ 68 ; zError @ 68 ;
z_errmsg @ 69 DATA ; z_errmsg @ 69 DATA ;
zcalloc @ 70 ; zcalloc @ 70 ;
zcfree @ 71 ; zcfree @ 71 ;
zlibCompileFlags @ 72 ; zlibCompileFlags @ 72 ;
zlibVersion @ 73 ; zlibVersion @ 73 ;