Lines Matching refs:c0max
362 int c0min, c0max; member
423 int c0min, c0max, c1min, c1max, c2min, c2max; in update_box() local
428 c0max = boxp->c0max; in update_box()
434 if (c0max > c0min) in update_box()
435 for (c0 = c0min; c0 <= c0max; c0++) in update_box()
447 if (c0max > c0min) in update_box()
448 for (c0 = c0max; c0 >= c0min; c0--) in update_box()
455 boxp->c0max = c0max = c0; in update_box()
462 for (c0 = c0min; c0 <= c0max; c0++) in update_box()
475 for (c0 = c0min; c0 <= c0max; c0++) in update_box()
488 for (c0 = c0min; c0 <= c0max; c0++) in update_box()
501 for (c0 = c0min; c0 <= c0max; c0++) in update_box()
521 dist0 = ((c0max - c0min) << C0_SHIFT) * C0_SCALE; in update_box()
528 for (c0 = c0min; c0 <= c0max; c0++) in update_box()
568 b2->c0max = b1->c0max; in median_cut()
578 c0 = ((b1->c0max - b1->c0min) << C0_SHIFT) * C0_SCALE; in median_cut()
618 lb = (b1->c0max + b1->c0min) / 2; in median_cut()
619 b1->c0max = lb; in median_cut()
652 int c0min, c0max, c1min, c1max, c2min, c2max; in compute_color() local
660 c0max = boxp->c0max; in compute_color()
666 for (c0 = c0min; c0 <= c0max; c0++) in compute_color()
715 boxlist[0].c0max = MAXJSAMPLE >> C0_SHIFT; in select_colors()