Lines Matching refs:C1_SHIFT
125 #define C1_SHIFT (BITS_IN_JSAMPLE-HIST_C1_BITS) macro
219 [GETJSAMPLE(ptr[1]) >> C1_SHIFT] in prescan_quantize()
384 dist1 = ((c1max - c1min) << C1_SHIFT) * C1_SCALE; in update_box()
431 c1 = ((b1->c1max - b1->c1min) << C1_SHIFT) * C1_SCALE; in median_cut()
506 c1total += ((c1 << C1_SHIFT) + ((1<<C1_SHIFT)>>1)) * count; in compute_color()
534 boxlist[0].c1max = MAXJSAMPLE >> C1_SHIFT; in select_colors()
613 #define BOX_C1_SHIFT (C1_SHIFT + BOX_C1_LOG)
652 maxc1 = minc1 + ((1 << BOX_C1_SHIFT) - (1 << C1_SHIFT)); in find_nearby_colors()
788 #define STEP_C1 ((1 << C1_SHIFT) * C1_SCALE) in find_best_colors()
862 minc1 = (c1 << BOX_C1_SHIFT) + ((1 << C1_SHIFT) >> 1); in fill_inverse_cmap()
914 c1 = GETJSAMPLE(*inptr++) >> C1_SHIFT; in pass2_no_dither()
1007 cachep = & histogram[cur0>>C0_SHIFT][cur1>>C1_SHIFT][cur2>>C2_SHIFT]; in pass2_fs_dither()
1011 fill_inverse_cmap(cinfo, cur0>>C0_SHIFT,cur1>>C1_SHIFT,cur2>>C2_SHIFT); in pass2_fs_dither()