jconfig.h 1.6 KB

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