Lines Matching refs:c2min
364 int c2min, c2max; member
423 int c0min, c0max, c1min, c1max, c2min, c2max; in update_box() local
431 c2min = boxp->c2min; in update_box()
438 histp = &histogram[c0][c1][c2min]; in update_box()
439 for (c2 = c2min; c2 <= c2max; c2++) in update_box()
451 histp = &histogram[c0][c1][c2min]; in update_box()
452 for (c2 = c2min; c2 <= c2max; c2++) in update_box()
464 histp = &histogram[c0][c1][c2min]; in update_box()
465 for (c2 = c2min; c2 <= c2max; c2++) in update_box()
477 histp = &histogram[c0][c1][c2min]; in update_box()
478 for (c2 = c2min; c2 <= c2max; c2++) in update_box()
486 if (c2max > c2min) in update_box()
487 for (c2 = c2min; c2 <= c2max; c2++) in update_box()
494 boxp->c2min = c2min = c2; in update_box()
499 if (c2max > c2min) in update_box()
500 for (c2 = c2max; c2 >= c2min; c2--) in update_box()
523 dist2 = ((c2max - c2min) << C2_SHIFT) * C2_SCALE; in update_box()
531 histp = &histogram[c0][c1][c2min]; in update_box()
532 for (c2 = c2min; c2 <= c2max; c2++, histp++) in update_box()
573 b2->c2min = b1->c2min; in median_cut()
580 c2 = ((b1->c2max - b1->c2min) << C2_SHIFT) * C2_SCALE; in median_cut()
628 lb = (b1->c2max + b1->c2min) / 2; in median_cut()
630 b2->c2min = lb + 1; in median_cut()
652 int c0min, c0max, c1min, c1max, c2min, c2max; in compute_color() local
663 c2min = boxp->c2min; in compute_color()
669 histp = &histogram[c0][c1][c2min]; in compute_color()
670 for (c2 = c2min; c2 <= c2max; c2++) in compute_color()
718 boxlist[0].c2min = 0; in select_colors()