update credits
[LibreOffice.git] / external / libjpeg-turbo / jconfig.h
blob3855ccec9cfd425d6d57fae940c768eda026b263
1 /* Version ID for the JPEG library.
2 * Might be useful for tests like "#if JPEG_LIB_VERSION >= 60".
3 */
4 #define JPEG_LIB_VERSION 62
6 /* libjpeg-turbo version */
7 #define LIBJPEG_TURBO_VERSION 2.1.5.1
9 /* libjpeg-turbo version in integer form */
10 #define LIBJPEG_TURBO_VERSION_NUMBER 2001005
12 /* Support arithmetic encoding */
13 #define C_ARITH_CODING_SUPPORTED 1
15 /* Support arithmetic decoding */
16 #define D_ARITH_CODING_SUPPORTED 1
18 /* Support in-memory source/destination managers */
19 #define MEM_SRCDST_SUPPORTED 1
21 /* Use accelerated SIMD routines. */
22 /* #undef WITH_SIMD */
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.
33 #define BITS_IN_JSAMPLE 8 /* use 8 or 12 */
35 /* Define if your (broken) compiler shifts signed values as if they were
36 unsigned. */
37 /* #undef RIGHT_SHIFT_IS_UNSIGNED */
39 /* Extra Libreoffice config for windows */
40 #ifdef _MSC_VER
42 /* Define "boolean" as unsigned char, not int, per Windows custom */
43 #ifndef __RPCNDR_H__ /* don't conflict if rpcndr.h already read */
44 typedef unsigned char boolean;
45 #endif
46 #define HAVE_BOOLEAN /* prevent jmorecfg.h from redefining it */
48 /* Define "INT32" as int, not long, per Windows custom */
49 #if !(defined(_BASETSD_H_) || defined(_BASETSD_H)) /* don't conflict if basetsd.h already read */
50 typedef short INT16;
51 typedef signed int INT32;
52 #endif
53 #define XMD_H /* prevent jmorecfg.h from redefining it */
55 #endif /* _MSC_VER */