Lines Matching refs:c2max
364 int c2min, c2max; member
423 int c0min, c0max, c1min, c1max, c2min, c2max; in update_box() local
432 c2max = boxp->c2max; in update_box()
439 for (c2 = c2min; c2 <= c2max; c2++) in update_box()
452 for (c2 = c2min; c2 <= c2max; c2++) in update_box()
465 for (c2 = c2min; c2 <= c2max; c2++) 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()
499 if (c2max > c2min) in update_box()
500 for (c2 = c2max; c2 >= c2min; c2--) in update_box()
507 boxp->c2max = c2max = c2; in update_box()
523 dist2 = ((c2max - c2min) << C2_SHIFT) * C2_SCALE; in update_box()
532 for (c2 = c2min; c2 <= c2max; c2++, histp++) in update_box()
570 b2->c2max = b1->c2max; 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()
629 b1->c2max = lb; in median_cut()
652 int c0min, c0max, c1min, c1max, c2min, c2max; in compute_color() local
664 c2max = boxp->c2max; in compute_color()
670 for (c2 = c2min; c2 <= c2max; c2++) in compute_color()
719 boxlist[0].c2max = MAXJSAMPLE >> C2_SHIFT; in select_colors()