Lines Matching refs:c1

422   int c0, c1, c2;  in update_box()  local
436 for (c1 = c1min; c1 <= c1max; c1++) in update_box()
438 histp = &histogram[c0][c1][c2min]; in update_box()
449 for (c1 = c1min; c1 <= c1max; c1++) in update_box()
451 histp = &histogram[c0][c1][c2min]; in update_box()
461 for (c1 = c1min; c1 <= c1max; c1++) in update_box()
464 histp = &histogram[c0][c1][c2min]; in update_box()
468 boxp->c1min = c1min = c1; in update_box()
474 for (c1 = c1max; c1 >= c1min; c1--) in update_box()
477 histp = &histogram[c0][c1][c2min]; in update_box()
481 boxp->c1max = c1max = c1; in update_box()
491 for (c1 = c1min; c1 <= c1max; c1++, histp += HIST_C2_ELEMS) in update_box()
504 for (c1 = c1min; c1 <= c1max; c1++, histp += HIST_C2_ELEMS) in update_box()
529 for (c1 = c1min; c1 <= c1max; c1++) in update_box()
531 histp = &histogram[c0][c1][c2min]; in update_box()
548 int c0, c1, c2, cmax; in median_cut() local
579 c1 = ((b1->c1max - b1->c1min) << C1_SHIFT) * C1_SCALE; in median_cut()
585 cmax = c1; in median_cut()
597 cmax = c1; in median_cut()
651 int c0, c1, c2; in compute_color() local
667 for (c1 = c1min; c1 <= c1max; c1++) in compute_color()
669 histp = &histogram[c0][c1][c2min]; in compute_color()
678 ((c1 << C1_SHIFT) + ((1 << C1_SHIFT) >> 1)) * count; in compute_color()
1074 int c0, int c1, int c2) in fill_inverse_cmap() argument
1092 c1 >>= BOX_C1_LOG; in fill_inverse_cmap()
1100 minc1 = (c1 << BOX_C1_SHIFT) + ((1 << C1_SHIFT) >> 1); in fill_inverse_cmap()
1113 c1 <<= BOX_C1_LOG; in fill_inverse_cmap()
1120 cachep = &histogram[c0 + ic0][c1 + ic1][c2]; in fill_inverse_cmap()
1142 register int c0, c1, c2; in pass2_no_dither() local
1175 c1 = g >> C1_SHIFT; in pass2_no_dither()
1177 cachep = &histogram[c0][c1][c2]; in pass2_no_dither()
1181 fill_inverse_cmap (oim, nim, cquantize, c0, c1, c2); in pass2_no_dither()