• Home
  • Raw
  • Download

Lines Matching refs:c0

320   int c0,c1,c2;  in update_box()  local
330 for (c0 = c0min; c0 <= c0max; c0++) in update_box()
332 histp = & histogram[c0][c1][c2min]; in update_box()
335 boxp->c0min = c0min = c0; in update_box()
341 for (c0 = c0max; c0 >= c0min; c0--) in update_box()
343 histp = & histogram[c0][c1][c2min]; in update_box()
346 boxp->c0max = c0max = c0; in update_box()
353 for (c0 = c0min; c0 <= c0max; c0++) { in update_box()
354 histp = & histogram[c0][c1][c2min]; in update_box()
364 for (c0 = c0min; c0 <= c0max; c0++) { in update_box()
365 histp = & histogram[c0][c1][c2min]; in update_box()
375 for (c0 = c0min; c0 <= c0max; c0++) { in update_box()
376 histp = & histogram[c0][c1min][c2]; in update_box()
386 for (c0 = c0min; c0 <= c0max; c0++) { in update_box()
387 histp = & histogram[c0][c1min][c2]; in update_box()
411 for (c0 = c0min; c0 <= c0max; c0++) in update_box()
413 histp = & histogram[c0][c1][c2min]; in update_box()
429 int c0,c1,c2,cmax; in median_cut() local
451 c0 = ((b1->c0max - b1->c0min) << C0_SHIFT) * C0_SCALE; in median_cut()
459 if (c0 > cmax) { cmax = c0; n = 0; } in median_cut()
464 if (c0 > cmax) { n = 0; } in median_cut()
507 int c0,c1,c2; in compute_color() local
519 for (c0 = c0min; c0 <= c0max; c0++) in compute_color()
521 histp = & histogram[c0][c1][c2min]; in compute_color()
525 c0total += ((c0 << C0_SHIFT) + ((1<<C0_SHIFT)>>1)) * count; in compute_color()
855 fill_inverse_cmap (j_decompress_ptr cinfo, int c0, int c1, int c2) in fill_inverse_cmap() argument
873 c0 >>= BOX_C0_LOG; in fill_inverse_cmap()
881 minc0 = (c0 << BOX_C0_SHIFT) + ((1 << C0_SHIFT) >> 1); in fill_inverse_cmap()
895 c0 <<= BOX_C0_LOG; /* convert ID back to base cell indexes */ in fill_inverse_cmap()
901 cachep = & histogram[c0+ic0][c1+ic1][c2]; in fill_inverse_cmap()
923 register int c0, c1, c2; in pass2_no_dither() local
933 c0 = GETJSAMPLE(*inptr++) >> C0_SHIFT; in pass2_no_dither()
936 cachep = & histogram[c0][c1][c2]; in pass2_no_dither()
940 fill_inverse_cmap(cinfo, c0,c1,c2); in pass2_no_dither()