Lines Matching refs:c1max
363 int c1min, c1max; member
423 int c0min, c0max, c1min, c1max, c2min, c2max; in update_box() local
430 c1max = boxp->c1max; in update_box()
436 for (c1 = c1min; c1 <= c1max; c1++) in update_box()
449 for (c1 = c1min; c1 <= c1max; c1++) in update_box()
460 if (c1max > c1min) in update_box()
461 for (c1 = c1min; c1 <= c1max; c1++) in update_box()
473 if (c1max > c1min) in update_box()
474 for (c1 = c1max; c1 >= c1min; c1--) 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()
522 dist1 = ((c1max - c1min) << C1_SHIFT) * C1_SCALE; in update_box()
529 for (c1 = c1min; c1 <= c1max; c1++) in update_box()
569 b2->c1max = b1->c1max; in median_cut()
579 c1 = ((b1->c1max - b1->c1min) << C1_SHIFT) * C1_SCALE; in median_cut()
623 lb = (b1->c1max + b1->c1min) / 2; in median_cut()
624 b1->c1max = lb; in median_cut()
652 int c0min, c0max, c1min, c1max, c2min, c2max; in compute_color() local
662 c1max = boxp->c1max; in compute_color()
667 for (c1 = c1min; c1 <= c1max; c1++) in compute_color()
717 boxlist[0].c1max = MAXJSAMPLE >> C1_SHIFT; in select_colors()