Lines Matching refs:C2_SHIFT
239 #define C2_SHIFT (BITS_IN_JSAMPLE-HIST_C2_BITS) macro
333 int b = gdTrueColorGetBlue (*ptr) >> C2_SHIFT; in prescan_quantize()
523 dist2 = ((c2max - c2min) << C2_SHIFT) * C2_SCALE; in update_box()
580 c2 = ((b1->c2max - b1->c2min) << C2_SHIFT) * C2_SCALE; in median_cut()
680 ((c2 << C2_SHIFT) + ((1 << C2_SHIFT) >> 1)) * count; in compute_color()
719 boxlist[0].c2max = MAXJSAMPLE >> C2_SHIFT; in select_colors()
812 #define BOX_C2_SHIFT (C2_SHIFT + BOX_C2_LOG)
853 maxc2 = minc2 + ((1 << BOX_C2_SHIFT) - (1 << C2_SHIFT)); in find_nearby_colors()
1016 #define STEP_C2 ((1 << C2_SHIFT) * C2_SCALE) in find_best_colors()
1101 minc2 = (c2 << BOX_C2_SHIFT) + ((1 << C2_SHIFT) >> 1); in fill_inverse_cmap()
1176 c2 = b >> C2_SHIFT; in pass2_no_dither()
1286 &histogram[cur0 >> C0_SHIFT][cur1 >> C1_SHIFT][cur2 >> C2_SHIFT]; in pass2_fs_dither()
1291 cur1 >> C1_SHIFT, cur2 >> C2_SHIFT); in pass2_fs_dither()