Lines Matching refs:c2max
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()
333 for (c2 = c2min; c2 <= c2max; c2++) in update_box()
344 for (c2 = c2min; c2 <= c2max; c2++) in update_box()
355 for (c2 = c2min; c2 <= c2max; c2++) 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()
384 if (c2max > c2min) in update_box()
385 for (c2 = c2max; c2 >= c2min; c2--) in update_box()
390 boxp->c2max = c2max = c2; in update_box()
406 dist2 = ((c2max - c2min) << C2_SHIFT) * C2_SCALE; in update_box()
414 for (c2 = c2min; c2 <= c2max; c2++, histp++) in update_box()
445 b2->c0max = b1->c0max; b2->c1max = b1->c1max; b2->c2max = b1->c2max; 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()
485 b1->c2max = lb; 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()
522 for (c2 = c2min; c2 <= c2max; c2++) { in compute_color()
556 boxlist[0].c2max = MAXJSAMPLE >> C2_SHIFT; in select_colors()