jconfig.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /* jconfig.vc --- jconfig.h for Microsoft Visual C++ on Windows 95 or NT. */
  2. /* see jconfig.txt for explanations */
  3. #define JPEG_LIB_VERSION 80
  4. #define LIBJPEG_TURBO_VERSION 1.5.1
  5. #define LIBJPEG_TURBO_VERSION_NUMBER 1005001
  6. #define C_ARITH_CODING_SUPPORTED
  7. #define D_ARITH_CODING_SUPPORTED
  8. #define MEM_SRCDST_SUPPORTED
  9. /*
  10. * Define BITS_IN_JSAMPLE as either
  11. * 8 for 8-bit sample values (the usual setting)
  12. * 12 for 12-bit sample values
  13. * Only 8 and 12 are legal data precisions for lossy JPEG according to the
  14. * JPEG standard, and the IJG code does not support anything else!
  15. * We do not support run-time selection of data precision, sorry.
  16. */
  17. #define BITS_IN_JSAMPLE 8 /* use 8 or 12 */
  18. #define HAVE_UNSIGNED_CHAR
  19. #define HAVE_UNSIGNED_SHORT
  20. /* #define void char */
  21. /* #define const */
  22. #undef __CHAR_UNSIGNED__
  23. #define HAVE_STDDEF_H
  24. #define HAVE_STDLIB_H
  25. #undef NEED_BSD_STRINGS
  26. #undef NEED_SYS_TYPES_H
  27. #undef NEED_FAR_POINTERS /* we presume a 32-bit flat memory model */
  28. #undef INCOMPLETE_TYPES_BROKEN
  29. /* Define "boolean" as unsigned char, not int, per Windows custom */
  30. #ifndef __RPCNDR_H__ /* don't conflict if rpcndr.h already read */
  31. typedef unsigned char boolean;
  32. #endif
  33. #define HAVE_BOOLEAN /* prevent jmorecfg.h from redefining it */
  34. /* Define "INT32" as int, not long, per Windows custom */
  35. #if !(defined(_BASETSD_H_) || defined(_BASETSD_H)) /* don't conflict if basetsd.h already read */
  36. typedef short INT16;
  37. typedef signed int INT32;
  38. #endif
  39. #define XMD_H /* prevent jmorecfg.h from redefining it */
  40. #ifdef JPEG_INTERNALS
  41. #undef RIGHT_SHIFT_IS_UNSIGNED
  42. #endif /* JPEG_INTERNALS */