Lines Matching refs:c1min
363 int c1min, c1max; member
423 int c0min, c0max, c1min, c1max, c2min, c2max; in update_box() local
429 c1min = boxp->c1min; 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()
468 boxp->c1min = c1min = c1; in update_box()
473 if (c1max > c1min) in update_box()
474 for (c1 = c1max; c1 >= c1min; c1--) in update_box()
490 histp = &histogram[c0][c1min][c2]; in update_box()
491 for (c1 = c1min; c1 <= c1max; c1++, histp += HIST_C2_ELEMS) in update_box()
503 histp = &histogram[c0][c1min][c2]; 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()
572 b2->c1min = b1->c1min; 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()
625 b2->c1min = lb + 1; in median_cut()
652 int c0min, c0max, c1min, c1max, c2min, c2max; in compute_color() local
661 c1min = boxp->c1min; in compute_color()
667 for (c1 = c1min; c1 <= c1max; c1++) in compute_color()
716 boxlist[0].c1min = 0; in select_colors()