gsjmorec.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /* Copyright (C) 1994, 1995 Aladdin Enterprises. All rights reserved.
  2. This software is provided AS-IS with no warranty, either express or
  3. implied.
  4. This software is distributed under license and may not be copied,
  5. modified or distributed except as expressly authorized under the terms
  6. of the license contained in the file LICENSE in this distribution.
  7. For more information about licensing, please refer to
  8. http://www.ghostscript.com/licensing/. For information on
  9. commercial licensing, go to http://www.artifex.com/licensing/ or
  10. contact Artifex Software, Inc., 101 Lucas Valley Road #110,
  11. San Rafael, CA 94903, U.S.A., +1(415)492-9861.
  12. */
  13. /* $Id: gsjmorec.h,v 1.5 2002/02/21 22:24:52 giles Exp $ */
  14. /* "Wrapper" for Independent JPEG Group code jmorecfg.h */
  15. #ifndef gsjmorec_INCLUDED
  16. # define gsjmorec_INCLUDED
  17. #include "jmcorig.h"
  18. /* Remove unwanted / unneeded features. */
  19. #undef DCT_IFAST_SUPPORTED
  20. #if FPU_TYPE <= 0
  21. # undef DCT_FLOAT_SUPPORTED
  22. #endif
  23. #undef C_MULTISCAN_FILES_SUPPORTED
  24. #undef C_PROGRESSIVE_SUPPORTED
  25. #undef ENTROPY_OPT_SUPPORTED
  26. #undef INPUT_SMOOTHING_SUPPORTED
  27. /* Progressive JPEG is required for PDF 1.3.
  28. * Don't undefine D_MULTISCAN_FILES_SUPPORTED and D_PROGRESSIVE_SUPPORTED
  29. */
  30. #undef BLOCK_SMOOTHING_SUPPORTED
  31. #undef IDCT_SCALING_SUPPORTED
  32. #undef UPSAMPLE_SCALING_SUPPORTED
  33. #undef UPSAMPLE_MERGING_SUPPORTED
  34. #undef QUANT_1PASS_SUPPORTED
  35. #undef QUANT_2PASS_SUPPORTED
  36. /*
  37. * Read "JPEG" files with up to 64 blocks/MCU for Adobe compatibility.
  38. * Note that this #define will have no effect in pre-v6 IJG versions.
  39. */
  40. #define D_MAX_BLOCKS_IN_MCU 64
  41. #endif /* gsjmorec_INCLUDED */