jconfig.h 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. /* jconfig.h. Generated from jconfig.h.in by configure. */
  2. /* Version ID for the JPEG library.
  3. * Might be useful for tests like "#if JPEG_LIB_VERSION >= 60".
  4. */
  5. #define JPEG_LIB_VERSION 62
  6. /* libjpeg-turbo version */
  7. #define LIBJPEG_TURBO_VERSION 2.0.0
  8. /*
  9. * Add support for arithmetic encoding (C_) and decoding (D_).
  10. * This matches Android. Note that such JPEGs are likely rare, given lack of
  11. * support by major browsers.
  12. */
  13. /* Support arithmetic encoding */
  14. #define C_ARITH_CODING_SUPPORTED 1
  15. /* Support arithmetic decoding */
  16. #define D_ARITH_CODING_SUPPORTED 1
  17. /*
  18. * Define BITS_IN_JSAMPLE as either
  19. * 8 for 8-bit sample values (the usual setting)
  20. * 12 for 12-bit sample values
  21. * Only 8 and 12 are legal data precisions for lossy JPEG according to the
  22. * JPEG standard, and the IJG code does not support anything else!
  23. * We do not support run-time selection of data precision, sorry.
  24. */
  25. #define BITS_IN_JSAMPLE 8 /* use 8 or 12 */
  26. /* Define to 1 if you have the <locale.h> header file. */
  27. #define HAVE_LOCALE_H 1
  28. /* Define to 1 if you have the <stddef.h> header file. */
  29. #define HAVE_STDDEF_H 1
  30. /* Define to 1 if you have the <stdlib.h> header file. */
  31. #define HAVE_STDLIB_H 1
  32. /* Define to 1 if the system has the type `unsigned char'. */
  33. #define HAVE_UNSIGNED_CHAR 1
  34. /* Define to 1 if the system has the type `unsigned short'. */
  35. #define HAVE_UNSIGNED_SHORT 1
  36. /* Compiler does not support pointers to undefined structures. */
  37. /* #undef INCOMPLETE_TYPES_BROKEN */
  38. /* Support in-memory source/destination managers */
  39. #define MEM_SRCDST_SUPPORTED 1
  40. /* Define if you have BSD-like bzero and bcopy in <strings.h> rather than
  41. memset/memcpy in <string.h>. */
  42. /* #undef NEED_BSD_STRINGS */
  43. /* Define if you need to include <sys/types.h> to get size_t. */
  44. /* #undef NEED_SYS_TYPES_H 1 */
  45. /* Define if your (broken) compiler shifts signed values as if they were
  46. unsigned. */
  47. /* #undef RIGHT_SHIFT_IS_UNSIGNED */
  48. /* Use accelerated SIMD routines. */
  49. #define WITH_SIMD 1
  50. /* Define to 1 if type `char' is unsigned and you are not using gcc. */
  51. #ifndef __CHAR_UNSIGNED__
  52. /* # undef __CHAR_UNSIGNED__ */
  53. #endif
  54. /* Define to empty if `const' does not conform to ANSI C. */
  55. /* #undef const */
  56. /* Define to `unsigned int' if <sys/types.h> does not define. */
  57. /* #undef size_t */