Lines Matching refs:C0_SCALE
85 #define C0_SCALE R_SCALE macro
88 #define C0_SCALE B_SCALE macro
404 dist0 = ((c0max - c0min) << C0_SHIFT) * C0_SCALE; in update_box()
451 c0 = ((b1->c0max - b1->c0min) << C0_SHIFT) * C0_SCALE; in median_cut()
691 tdist = (x - minc0) * C0_SCALE; in find_nearby_colors()
693 tdist = (x - maxc0) * C0_SCALE; in find_nearby_colors()
696 tdist = (x - maxc0) * C0_SCALE; in find_nearby_colors()
698 tdist = (x - minc0) * C0_SCALE; in find_nearby_colors()
704 tdist = (x - maxc0) * C0_SCALE; in find_nearby_colors()
707 tdist = (x - minc0) * C0_SCALE; in find_nearby_colors()
807 #define STEP_C0 ((1 << C0_SHIFT) * C0_SCALE) in find_best_colors()
814 inc0 = (minc0 - GETJSAMPLE(cinfo->colormap[0][icolor])) * C0_SCALE; in find_best_colors()