23 #define BITS_IN_JSAMPLE 8
35 #define MAX_COMPONENTS 10
52 #if BITS_IN_JSAMPLE == 8
57 #ifdef HAVE_UNSIGNED_CHAR
60 #define GETJSAMPLE(value) ((int) (value))
65 #ifdef CHAR_IS_UNSIGNED
66 #define GETJSAMPLE(value) ((int) (value))
68 #define GETJSAMPLE(value) ((int) (value) & 0xFF)
73 #define MAXJSAMPLE 255
74 #define CENTERJSAMPLE 128
79 #if BITS_IN_JSAMPLE == 12
85 #define GETJSAMPLE(value) ((int) (value))
87 #define MAXJSAMPLE 4095
88 #define CENTERJSAMPLE 2048
108 #ifdef HAVE_UNSIGNED_CHAR
110 typedef unsigned char JOCTET;
111 #define GETJOCTET(value) (value)
116 #ifdef CHAR_IS_UNSIGNED
117 #define GETJOCTET(value) (value)
119 #define GETJOCTET(value) ((value) & 0xFF)
134 #ifdef HAVE_UNSIGNED_CHAR
135 typedef unsigned char UINT8;
137 #ifdef CHAR_IS_UNSIGNED
146 #ifdef HAVE_UNSIGNED_SHORT
147 typedef unsigned short UINT16;
173 #define JPEG_MAX_DIMENSION 65500L
184 #define METHODDEF(type) static type
186 #define LOCAL(type) static type
188 #define GLOBAL(type) type
190 #define EXTERN(type) extern type
199 #ifdef HAVE_PROTOTYPES
200 #define JMETHOD(type,methodname,arglist) type (*methodname) arglist
202 #define JMETHOD(type,methodname,arglist) type (*methodname) ()
212 #ifdef NEED_FAR_POINTERS
244 #ifdef JPEG_INTERNALS
245 #define JPEG_INTERNAL_OPTIONS
248 #ifdef JPEG_INTERNAL_OPTIONS
263 #define DCT_ISLOW_SUPPORTED
264 #define DCT_IFAST_SUPPORTED
265 #define DCT_FLOAT_SUPPORTED
269 #undef C_ARITH_CODING_SUPPORTED
270 #define C_MULTISCAN_FILES_SUPPORTED
271 #define C_PROGRESSIVE_SUPPORTED
272 #define ENTROPY_OPT_SUPPORTED
281 #define INPUT_SMOOTHING_SUPPORTED
285 #undef D_ARITH_CODING_SUPPORTED
286 #define D_MULTISCAN_FILES_SUPPORTED
287 #define D_PROGRESSIVE_SUPPORTED
288 #define SAVE_MARKERS_SUPPORTED
289 #define BLOCK_SMOOTHING_SUPPORTED
290 #define IDCT_SCALING_SUPPORTED
291 #undef UPSAMPLE_SCALING_SUPPORTED
292 #define UPSAMPLE_MERGING_SUPPORTED
293 #define QUANT_1PASS_SUPPORTED
294 #define QUANT_2PASS_SUPPORTED
317 #define RGB_PIXELSIZE 3
329 #define INLINE __inline__
343 #define MULTIPLIER int
356 #ifdef HAVE_PROTOTYPES
357 #define FAST_FLOAT float
359 #define FAST_FLOAT double
char JSAMPLE
Definition: jmorecfg.h:64
short INT16
Definition: jmorecfg.h:155
short JCOEF
Definition: jmorecfg.h:99
long INT32
Definition: jmorecfg.h:161
int boolean
Definition: jmorecfg.h:227
short UINT8
Definition: jmorecfg.h:140
unsigned int UINT16
Definition: jmorecfg.h:149
unsigned int JDIMENSION
Definition: jmorecfg.h:171
char JOCTET
Definition: jmorecfg.h:115