Searched refs:C2_SHIFT (Results 1 – 1 of 1) sorted by relevance
239 #define C2_SHIFT (BITS_IN_JSAMPLE-HIST_C2_BITS) macro333 int b = gdTrueColorGetBlue (*ptr) >> C2_SHIFT; in prescan_quantize()523 dist2 = ((c2max - c2min) << C2_SHIFT) * C2_SCALE; in update_box()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()[all …]
Completed in 20 milliseconds