Lines Matching refs:C2_SHIFT
126 #define C2_SHIFT (BITS_IN_JSAMPLE - HIST_C2_BITS) macro
220 [GETJSAMPLE(ptr[2]) >> C2_SHIFT]; in prescan_quantize()
385 dist2 = ((c2max - c2min) << C2_SHIFT) * C2_SCALE; in update_box()
432 c2 = ((b1->c2max - b1->c2min) << C2_SHIFT) * C2_SCALE; in median_cut()
506 c2total += ((c2 << C2_SHIFT) + ((1 << C2_SHIFT) >> 1)) * count; in compute_color()
535 boxlist[0].c2max = MAXJSAMPLE >> C2_SHIFT; in select_colors()
613 #define BOX_C2_SHIFT (C2_SHIFT + BOX_C2_LOG)
653 maxc2 = minc2 + ((1 << BOX_C2_SHIFT) - (1 << C2_SHIFT)); in find_nearby_colors()
788 #define STEP_C2 ((1 << C2_SHIFT) * C2_SCALE) in find_best_colors()
862 minc2 = (c2 << BOX_C2_SHIFT) + ((1 << C2_SHIFT) >> 1); in fill_inverse_cmap()
914 c2 = GETJSAMPLE(*inptr++) >> C2_SHIFT; in pass2_no_dither()
1007 &histogram[cur0 >> C0_SHIFT][cur1 >> C1_SHIFT][cur2 >> C2_SHIFT]; in pass2_fs_dither()
1012 cur2 >> C2_SHIFT); in pass2_fs_dither()