Lines Matching refs:C0_SHIFT
142 #define C0_SHIFT (BITS_IN_JSAMPLE-HIST_C0_BITS) macro
239 histp = & histogram[GETJSAMPLE(ptr[0]) >> C0_SHIFT] in prescan_quantize()
404 dist0 = ((c0max - c0min) << C0_SHIFT) * C0_SCALE; in update_box()
451 c0 = ((b1->c0max - b1->c0min) << C0_SHIFT) * C0_SCALE; in median_cut()
525 c0total += ((c0 << C0_SHIFT) + ((1<<C0_SHIFT)>>1)) * count; in compute_color()
552 boxlist[0].c0max = MAXJSAMPLE >> C0_SHIFT; in select_colors()
632 #define BOX_C0_SHIFT (C0_SHIFT + BOX_C0_LOG)
670 maxc0 = minc0 + ((1 << BOX_C0_SHIFT) - (1 << C0_SHIFT)); in find_nearby_colors()
807 #define STEP_C0 ((1 << C0_SHIFT) * C0_SCALE) in find_best_colors()
881 minc0 = (c0 << BOX_C0_SHIFT) + ((1 << C0_SHIFT) >> 1); in fill_inverse_cmap()
933 c0 = GETJSAMPLE(*inptr++) >> C0_SHIFT; in pass2_no_dither()
1027 cachep = & histogram[cur0>>C0_SHIFT][cur1>>C1_SHIFT][cur2>>C2_SHIFT]; in pass2_fs_dither()
1031 fill_inverse_cmap(cinfo, cur0>>C0_SHIFT,cur1>>C1_SHIFT,cur2>>C2_SHIFT); in pass2_fs_dither()