Lines Matching refs:c2min
262 int c2min, c2max; member
321 int c0min,c0max,c1min,c1max,c2min,c2max; in update_box() local
327 c2min = boxp->c2min; c2max = boxp->c2max; in update_box()
332 histp = & histogram[c0][c1][c2min]; in update_box()
333 for (c2 = c2min; c2 <= c2max; c2++) in update_box()
343 histp = & histogram[c0][c1][c2min]; in update_box()
344 for (c2 = c2min; c2 <= c2max; c2++) in update_box()
354 histp = & histogram[c0][c1][c2min]; in update_box()
355 for (c2 = c2min; c2 <= c2max; c2++) in update_box()
365 histp = & histogram[c0][c1][c2min]; in update_box()
366 for (c2 = c2min; c2 <= c2max; c2++) in update_box()
373 if (c2max > c2min) in update_box()
374 for (c2 = c2min; c2 <= c2max; c2++) in update_box()
379 boxp->c2min = c2min = c2; in update_box()
384 if (c2max > c2min) in update_box()
385 for (c2 = c2max; c2 >= c2min; c2--) in update_box()
406 dist2 = ((c2max - c2min) << C2_SHIFT) * C2_SCALE; in update_box()
413 histp = & histogram[c0][c1][c2min]; in update_box()
414 for (c2 = c2min; c2 <= c2max; c2++, histp++) in update_box()
446 b2->c0min = b1->c0min; b2->c1min = b1->c1min; b2->c2min = b1->c2min; in median_cut()
453 c2 = ((b1->c2max - b1->c2min) << C2_SHIFT) * C2_SCALE; in median_cut()
484 lb = (b1->c2max + b1->c2min) / 2; in median_cut()
486 b2->c2min = lb+1; in median_cut()
508 int c0min,c0max,c1min,c1max,c2min,c2max; in compute_color() local
517 c2min = boxp->c2min; c2max = boxp->c2max; in compute_color()
521 histp = & histogram[c0][c1][c2min]; in compute_color()
522 for (c2 = c2min; c2 <= c2max; c2++) { in compute_color()
555 boxlist[0].c2min = 0; in select_colors()