Searched refs:BITS_IN_JSAMPLE (Results 1 – 22 of 22) sorted by relevance
45 #define BITS_IN_JSAMPLE 8 /* use 8 or 12 */ macro74 #if BITS_IN_JSAMPLE == 8101 #if BITS_IN_JSAMPLE == 12
33 #if BITS_IN_JSAMPLE == 839 #define PUTPPMSAMPLE(ptr,v) *ptr++ = (char) ((v) >> (BITS_IN_JSAMPLE-8))50 #define PPM_MAXVAL ((1<<BITS_IN_JSAMPLE)-1)239 if (cinfo->quantize_colors || BITS_IN_JSAMPLE != 8 || in jinit_write_ppm()
110 R << (BITS_IN_JSAMPLE-8), in read_gif_map()111 G << (BITS_IN_JSAMPLE-8), in read_gif_map()112 B << (BITS_IN_JSAMPLE-8)); in read_gif_map()
29 #if BITS_IN_JSAMPLE == 857 #if BITS_IN_JSAMPLE == 8
76 #if BITS_IN_JSAMPLE == 8128 #if BITS_IN_JSAMPLE == 8142 #if BITS_IN_JSAMPLE == 8
19 #if BITS_IN_JSAMPLE == 8
77 #if BITS_IN_JSAMPLE == 8128 #if BITS_IN_JSAMPLE == 8
42 #if BITS_IN_JSAMPLE == 897 #if BITS_IN_JSAMPLE == 8
142 #define C0_SHIFT (BITS_IN_JSAMPLE-HIST_C0_BITS)143 #define C1_SHIFT (BITS_IN_JSAMPLE-HIST_C1_BITS)144 #define C2_SHIFT (BITS_IN_JSAMPLE-HIST_C2_BITS)180 #if BITS_IN_JSAMPLE == 8
71 if (cinfo->data_precision != BITS_IN_JSAMPLE) in initial_setup()195 #if BITS_IN_JSAMPLE == 8 in validate_script()
27 #if BITS_IN_JSAMPLE != 8
32 #if BITS_IN_JSAMPLE != 8
35 #if BITS_IN_JSAMPLE != 8
53 if (cinfo->data_precision != BITS_IN_JSAMPLE) in initial_setup()
350 #if BITS_IN_JSAMPLE == 8 in h2v2_fancy_upsample()
287 cinfo->data_precision = BITS_IN_JSAMPLE; in jpeg_set_defaults()
30 #if BITS_IN_JSAMPLE != 8
328 cinfo->data_precision = BITS_IN_JSAMPLE; /* we always rescale data to this */ in start_input_ppm()
127 #if BITS_IN_JSAMPLE == 8
431 1. In jmorecfg.h, define BITS_IN_JSAMPLE as 12 rather than 8.454 read files of any maxval regardless of the BITS_IN_JSAMPLE setting; incoming459 format, maxval 4095, when compiled with BITS_IN_JSAMPLE=12. Since this
226 BITS_IN_JSAMPLE (normally 8 bits). For instance, if you choose to compress229 that has more than 8 bits/channel, compile with BITS_IN_JSAMPLE = 12.2866 BITS_IN_JSAMPLE as 12 rather than 8. Note that this causes JSAMPLE to be