OLD | NEW |
1 /* $Id: tif_jpeg.c,v 1.111 2012-07-06 18:48:04 bfriesen Exp $ */ | 1 /* $Id: tif_jpeg.c,v 1.111 2012-07-06 18:48:04 bfriesen Exp $ */ |
2 | 2 |
3 /* | 3 /* |
4 * Copyright (c) 1994-1997 Sam Leffler | 4 * Copyright (c) 1994-1997 Sam Leffler |
5 * Copyright (c) 1994-1997 Silicon Graphics, Inc. | 5 * Copyright (c) 1994-1997 Silicon Graphics, Inc. |
6 * | 6 * |
7 * Permission to use, copy, modify, distribute, and sell this software and | 7 * Permission to use, copy, modify, distribute, and sell this software and |
8 * its documentation for any purpose is hereby granted without fee, provided | 8 * its documentation for any purpose is hereby granted without fee, provided |
9 * that (i) the above copyright notices and this permission notice appear in | 9 * that (i) the above copyright notices and this permission notice appear in |
10 * all copies of the software and related documentation, and (ii) the names of | 10 * all copies of the software and related documentation, and (ii) the names of |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 | 78 |
79 /* Define "boolean" as unsigned char, not int, per Windows custom. */ | 79 /* Define "boolean" as unsigned char, not int, per Windows custom. */ |
80 #if defined(WIN32) && !defined(__MINGW32__) | 80 #if defined(WIN32) && !defined(__MINGW32__) |
81 # ifndef __RPCNDR_H__ /* don't conflict if rpcndr.h already read */ | 81 # ifndef __RPCNDR_H__ /* don't conflict if rpcndr.h already read */ |
82 typedef unsigned char boolean; | 82 typedef unsigned char boolean; |
83 # endif | 83 # endif |
84 # define HAVE_BOOLEAN /* prevent jmorecfg.h from redefining it */ | 84 # define HAVE_BOOLEAN /* prevent jmorecfg.h from redefining it */ |
85 #endif | 85 #endif |
86 | 86 |
87 #ifndef _FX_JPEG_TURBO_ | 87 #ifndef _FX_JPEG_TURBO_ |
88 » #include "../../libjpeg/jpeglib.h" | 88 » #include "../libjpeg/jpeglib.h" |
89 » #include "../../libjpeg/jerror.h" | 89 » #include "../libjpeg/jerror.h" |
90 #else | 90 #else |
91 » #include "../../libjpeg-turbo/jpeglib.h" | 91 » #include "../libjpeg-turbo/jpeglib.h" |
92 » #include "../../libjpeg-turbo/jerror.h" | 92 » #include "../libjpeg-turbo/jerror.h" |
93 #endif//_FX_JPEG_TURBO_ | 93 #endif//_FX_JPEG_TURBO_ |
94 | 94 |
95 /* | 95 /* |
96 * Do we want to do special processing suitable for when JSAMPLE is a | 96 * Do we want to do special processing suitable for when JSAMPLE is a |
97 * 16bit value? | 97 * 16bit value? |
98 */ | 98 */ |
99 | 99 |
100 #if defined(JPEG_LIB_MK1) | 100 #if defined(JPEG_LIB_MK1) |
101 # define JPEG_LIB_MK1_OR_12BIT 1 | 101 # define JPEG_LIB_MK1_OR_12BIT 1 |
102 #elif BITS_IN_JSAMPLE == 12 | 102 #elif BITS_IN_JSAMPLE == 12 |
(...skipping 2197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2300 /* vim: set ts=8 sts=8 sw=8 noet: */ | 2300 /* vim: set ts=8 sts=8 sw=8 noet: */ |
2301 | 2301 |
2302 /* | 2302 /* |
2303 * Local Variables: | 2303 * Local Variables: |
2304 * mode: c | 2304 * mode: c |
2305 * c-basic-offset: 8 | 2305 * c-basic-offset: 8 |
2306 * fill-column: 78 | 2306 * fill-column: 78 |
2307 * End: | 2307 * End: |
2308 */ | 2308 */ |
2309 | 2309 |
OLD | NEW |