jconfig.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  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
  5. /* libjpeg-turbo version */
  6. #define LIBJPEG_TURBO_VERSION 2.1.4
  7. /* libjpeg-turbo version in integer form */
  8. #define LIBJPEG_TURBO_VERSION_NUMBER 2001004
  9. /* Support arithmetic encoding */
  10. #define C_ARITH_CODING_SUPPORTED 1
  11. /* Support arithmetic decoding */
  12. #define D_ARITH_CODING_SUPPORTED 1
  13. /* Support in-memory source/destination managers */
  14. #define MEM_SRCDST_SUPPORTED 1
  15. /* Use accelerated SIMD routines. */
  16. #define WITH_SIMD 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 if your (broken) compiler shifts signed values as if they were
  27. unsigned. */
  28. /* #undef RIGHT_SHIFT_IS_UNSIGNED */