2019-02-24 00:30:49 +08:00
|
|
|
/* libjpeg-turbo build number */
|
|
|
|
#define BUILD "@BUILD@"
|
|
|
|
|
2024-05-25 18:03:12 +08:00
|
|
|
/* How to hide global symbols. */
|
|
|
|
#define HIDDEN @HIDDEN@
|
|
|
|
|
2019-02-24 00:30:49 +08:00
|
|
|
/* Compiler's inline keyword */
|
|
|
|
#undef inline
|
|
|
|
|
|
|
|
/* How to obtain function inlining. */
|
2024-05-25 18:03:12 +08:00
|
|
|
#define INLINE @INLINE@
|
2019-02-24 00:30:49 +08:00
|
|
|
|
2020-06-24 14:28:16 +08:00
|
|
|
/* How to obtain thread-local storage */
|
|
|
|
#define THREAD_LOCAL @THREAD_LOCAL@
|
|
|
|
|
2019-02-24 00:30:49 +08:00
|
|
|
/* Define to the full name of this package. */
|
|
|
|
#define PACKAGE_NAME "@CMAKE_PROJECT_NAME@"
|
|
|
|
|
|
|
|
/* Version number of package */
|
|
|
|
#define VERSION "@VERSION@"
|
|
|
|
|
|
|
|
/* The size of `size_t', as computed by sizeof. */
|
2024-05-25 18:03:12 +08:00
|
|
|
#define SIZEOF_SIZE_T @SIZE_T@
|
2019-02-24 00:30:49 +08:00
|
|
|
|
|
|
|
/* Define if your compiler has __builtin_ctzl() and sizeof(unsigned long) == sizeof(size_t). */
|
|
|
|
#cmakedefine HAVE_BUILTIN_CTZL
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <intrin.h> header file. */
|
|
|
|
#cmakedefine HAVE_INTRIN_H
|
|
|
|
|
|
|
|
#if defined(_MSC_VER) && defined(HAVE_INTRIN_H)
|
|
|
|
#if (SIZEOF_SIZE_T == 8)
|
|
|
|
#define HAVE_BITSCANFORWARD64
|
|
|
|
#elif (SIZEOF_SIZE_T == 4)
|
|
|
|
#define HAVE_BITSCANFORWARD
|
2018-05-10 20:50:35 +08:00
|
|
|
#endif
|
|
|
|
#endif
|
2021-11-24 11:43:55 +08:00
|
|
|
|
|
|
|
#if defined(__has_attribute)
|
|
|
|
#if __has_attribute(fallthrough)
|
|
|
|
#define FALLTHROUGH __attribute__((fallthrough));
|
|
|
|
#else
|
|
|
|
#define FALLTHROUGH
|
|
|
|
#endif
|
|
|
|
#else
|
|
|
|
#define FALLTHROUGH
|
|
|
|
#endif
|
2024-05-25 18:03:12 +08:00
|
|
|
|
|
|
|
/*
|
|
|
|
* 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!
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef BITS_IN_JSAMPLE
|
|
|
|
#define BITS_IN_JSAMPLE 8 /* use 8 or 12 */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#undef C_ARITH_CODING_SUPPORTED
|
|
|
|
#undef D_ARITH_CODING_SUPPORTED
|
|
|
|
#undef WITH_SIMD
|
|
|
|
|
|
|
|
#if BITS_IN_JSAMPLE == 8
|
|
|
|
|
|
|
|
/* Support arithmetic encoding */
|
|
|
|
#cmakedefine C_ARITH_CODING_SUPPORTED 1
|
|
|
|
|
|
|
|
/* Support arithmetic decoding */
|
|
|
|
#cmakedefine D_ARITH_CODING_SUPPORTED 1
|
|
|
|
|
|
|
|
/* Use accelerated SIMD routines. */
|
|
|
|
#cmakedefine WITH_SIMD 1
|
|
|
|
|
|
|
|
#endif
|