Lines Matching defs:minc0
779 find_nearby_colors (j_decompress_ptr cinfo, int minc0, int minc1, int minc2,
803 maxc0 = minc0 + ((1 << BOX_C0_SHIFT) - (1 << C0_SHIFT));
804 centerc0 = (minc0 + maxc0) >> 1;
823 if (x < minc0) {
824 tdist = (x - minc0) * C0_SCALE;
831 tdist = (x - minc0) * C0_SCALE;
840 tdist = (x - minc0) * C0_SCALE;
908 find_best_colors (j_decompress_ptr cinfo, int minc0, int minc1, int minc2,
946 /* Compute (square of) distance from minc0/c1/c2 to this color */
947 inc0 = (minc0 - GETJSAMPLE(cinfo->colormap[0][icolor])) * C0_SCALE;
995 int minc0, minc1, minc2; /* lower left corner of update box */
1014 minc0 = (c0 << BOX_C0_SHIFT) + ((1 << C0_SHIFT) >> 1);
1021 numcolors = find_nearby_colors(cinfo, minc0, minc1, minc2, colorlist);
1024 find_best_colors(cinfo, minc0, minc1, minc2, numcolors, colorlist,