mirror of
https://bitbucket.org/CPMADevs/cnq3
synced 2024-11-10 14:41:48 +00:00
fc9465caab
aside from the speed improvements, this also makes for nicer code in the renderer interaction with libjpeg, thanks to mem_dest support etc
51 lines
1.7 KiB
C
51 lines
1.7 KiB
C
/* jconfig.vc --- jconfig.h for Microsoft Visual C++ on Windows 95 or NT. */
|
|
/* see jconfig.txt for explanations */
|
|
|
|
#define JPEG_LIB_VERSION 62
|
|
#define LIBJPEG_TURBO_VERSION 1.5.1
|
|
#define LIBJPEG_TURBO_VERSION_NUMBER 1005001
|
|
/* #undef C_ARITH_CODING_SUPPORTED */
|
|
/* #undef D_ARITH_CODING_SUPPORTED */
|
|
#define MEM_SRCDST_SUPPORTED
|
|
|
|
/*
|
|
* Define BITS_IN_JSAMPLE as either
|
|
* 8 for 8-bit sample values (the usual setting)
|
|
* 12 for 12-bit sample values
|
|
* 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!
|
|
* We do not support run-time selection of data precision, sorry.
|
|
*/
|
|
|
|
#define BITS_IN_JSAMPLE 8 /* use 8 or 12 */
|
|
|
|
#define HAVE_UNSIGNED_CHAR
|
|
#define HAVE_UNSIGNED_SHORT
|
|
/* #define void char */
|
|
/* #define const */
|
|
#undef __CHAR_UNSIGNED__
|
|
#define HAVE_STDDEF_H
|
|
#define HAVE_STDLIB_H
|
|
#undef NEED_BSD_STRINGS
|
|
#undef NEED_SYS_TYPES_H
|
|
#undef NEED_FAR_POINTERS /* we presume a 32-bit flat memory model */
|
|
#undef INCOMPLETE_TYPES_BROKEN
|
|
|
|
/* Define "boolean" as unsigned char, not int, per Windows custom */
|
|
#ifndef __RPCNDR_H__ /* don't conflict if rpcndr.h already read */
|
|
typedef unsigned char boolean;
|
|
#endif
|
|
#define HAVE_BOOLEAN /* prevent jmorecfg.h from redefining it */
|
|
|
|
/* Define "INT32" as int, not long, per Windows custom */
|
|
#if !(defined(_BASETSD_H_) || defined(_BASETSD_H)) /* don't conflict if basetsd.h already read */
|
|
typedef short INT16;
|
|
typedef signed int INT32;
|
|
#endif
|
|
#define XMD_H /* prevent jmorecfg.h from redefining it */
|
|
|
|
#ifdef JPEG_INTERNALS
|
|
|
|
#undef RIGHT_SHIFT_IS_UNSIGNED
|
|
|
|
#endif /* JPEG_INTERNALS */
|