DRC | 36a6eec | 2010-10-08 08:05:44 +0000 | [diff] [blame] | 1 | /* Version ID for the JPEG library. |
| 2 | * Might be useful for tests like "#if JPEG_LIB_VERSION >= 60". |
| 3 | */ |
DRC | 6abd391 | 2016-11-15 08:47:43 -0600 | [diff] [blame] | 4 | #define JPEG_LIB_VERSION @JPEG_LIB_VERSION@ |
DRC | 36a6eec | 2010-10-08 08:05:44 +0000 | [diff] [blame] | 5 | |
DRC | ab64b62 | 2011-12-18 16:29:35 +0000 | [diff] [blame] | 6 | /* libjpeg-turbo version */ |
DRC | 6abd391 | 2016-11-15 08:47:43 -0600 | [diff] [blame] | 7 | #define LIBJPEG_TURBO_VERSION @VERSION@ |
DRC | ab64b62 | 2011-12-18 16:29:35 +0000 | [diff] [blame] | 8 | |
DRC | f06cc12 | 2016-05-10 19:36:34 -0500 | [diff] [blame] | 9 | /* libjpeg-turbo version in integer form */ |
DRC | 6abd391 | 2016-11-15 08:47:43 -0600 | [diff] [blame] | 10 | #define LIBJPEG_TURBO_VERSION_NUMBER @LIBJPEG_TURBO_VERSION_NUMBER@ |
DRC | f06cc12 | 2016-05-10 19:36:34 -0500 | [diff] [blame] | 11 | |
DRC | e372004 | 2010-11-23 06:50:14 +0000 | [diff] [blame] | 12 | /* Support arithmetic encoding */ |
DRC | 6abd391 | 2016-11-15 08:47:43 -0600 | [diff] [blame] | 13 | #cmakedefine C_ARITH_CODING_SUPPORTED |
DRC | e372004 | 2010-11-23 06:50:14 +0000 | [diff] [blame] | 14 | |
| 15 | /* Support arithmetic decoding */ |
DRC | 6abd391 | 2016-11-15 08:47:43 -0600 | [diff] [blame] | 16 | #cmakedefine D_ARITH_CODING_SUPPORTED |
| 17 | |
| 18 | /* Support in-memory source/destination managers */ |
| 19 | #cmakedefine MEM_SRCDST_SUPPORTED |
| 20 | |
| 21 | /* Use accelerated SIMD routines. */ |
| 22 | #cmakedefine WITH_SIMD |
DRC | e372004 | 2010-11-23 06:50:14 +0000 | [diff] [blame] | 23 | |
DRC | aee4f72 | 2014-08-09 23:06:07 +0000 | [diff] [blame] | 24 | /* |
| 25 | * Define BITS_IN_JSAMPLE as either |
| 26 | * 8 for 8-bit sample values (the usual setting) |
| 27 | * 12 for 12-bit sample values |
| 28 | * Only 8 and 12 are legal data precisions for lossy JPEG according to the |
| 29 | * JPEG standard, and the IJG code does not support anything else! |
| 30 | * We do not support run-time selection of data precision, sorry. |
| 31 | */ |
| 32 | |
DRC | 6abd391 | 2016-11-15 08:47:43 -0600 | [diff] [blame] | 33 | #define BITS_IN_JSAMPLE @BITS_IN_JSAMPLE@ /* use 8 or 12 */ |
DRC | aee4f72 | 2014-08-09 23:06:07 +0000 | [diff] [blame] | 34 | |
DRC | ff6961f | 2014-04-20 09:17:11 +0000 | [diff] [blame] | 35 | /* Define to 1 if you have the <locale.h> header file. */ |
DRC | 6abd391 | 2016-11-15 08:47:43 -0600 | [diff] [blame] | 36 | #cmakedefine HAVE_LOCALE_H |
DRC | ab70623 | 2013-01-18 23:42:31 +0000 | [diff] [blame] | 37 | |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 38 | /* Define to 1 if you have the <stddef.h> header file. */ |
DRC | 6abd391 | 2016-11-15 08:47:43 -0600 | [diff] [blame] | 39 | #cmakedefine HAVE_STDDEF_H |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 40 | |
| 41 | /* Define to 1 if you have the <stdlib.h> header file. */ |
DRC | 6abd391 | 2016-11-15 08:47:43 -0600 | [diff] [blame] | 42 | #cmakedefine HAVE_STDLIB_H |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 43 | |
DRC | 6abd391 | 2016-11-15 08:47:43 -0600 | [diff] [blame] | 44 | /* Define if you need to include <sys/types.h> to get size_t. */ |
| 45 | #cmakedefine NEED_SYS_TYPES_H |
DRC | ff6961f | 2014-04-20 09:17:11 +0000 | [diff] [blame] | 46 | |
| 47 | /* Define if you have BSD-like bzero and bcopy in <strings.h> rather than |
| 48 | memset/memcpy in <string.h>. */ |
DRC | 6abd391 | 2016-11-15 08:47:43 -0600 | [diff] [blame] | 49 | #cmakedefine NEED_BSD_STRINGS |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 50 | |
DRC | 6abd391 | 2016-11-15 08:47:43 -0600 | [diff] [blame] | 51 | /* Define to 1 if the system has the type `unsigned char'. */ |
| 52 | #cmakedefine HAVE_UNSIGNED_CHAR |
| 53 | |
| 54 | /* Define to 1 if the system has the type `unsigned short'. */ |
| 55 | #cmakedefine HAVE_UNSIGNED_SHORT |
| 56 | |
| 57 | /* Compiler does not support pointers to undefined structures. */ |
| 58 | #cmakedefine INCOMPLETE_TYPES_BROKEN |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 59 | |
DRC | ff6961f | 2014-04-20 09:17:11 +0000 | [diff] [blame] | 60 | /* Define if your (broken) compiler shifts signed values as if they were |
| 61 | unsigned. */ |
DRC | 6abd391 | 2016-11-15 08:47:43 -0600 | [diff] [blame] | 62 | #cmakedefine RIGHT_SHIFT_IS_UNSIGNED |
Pierre Ossman | 59a3938 | 2009-03-09 13:15:56 +0000 | [diff] [blame] | 63 | |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 64 | /* Define to 1 if type `char' is unsigned and you are not using gcc. */ |
| 65 | #ifndef __CHAR_UNSIGNED__ |
DRC | 6abd391 | 2016-11-15 08:47:43 -0600 | [diff] [blame] | 66 | #cmakedefine __CHAR_UNSIGNED__ |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 67 | #endif |
| 68 | |
| 69 | /* Define to empty if `const' does not conform to ANSI C. */ |
DRC | 6abd391 | 2016-11-15 08:47:43 -0600 | [diff] [blame] | 70 | /* #undef const */ |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 71 | |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 72 | /* Define to `unsigned int' if <sys/types.h> does not define. */ |
DRC | 6abd391 | 2016-11-15 08:47:43 -0600 | [diff] [blame] | 73 | /* #undef size_t */ |