Searched refs:rdist (Results 1 – 1 of 1) sorted by relevance
226 int rdist = ((rmax - rmin) << HIST_RED_SHIFT) * RED_SCALE; in UpdateBox() local230 boxp->volume = rdist * rdist + gdist * gdist + bdist * bdist; in UpdateBox()344 int rdist = ((b1->rmax - b1->rmin) << HIST_RED_SHIFT) * RED_SCALE; in median_cut() local349 if ((rdist >= gdist) && (rdist >= bdist)) in median_cut()355 else if ((gdist >= rdist) && (gdist >= bdist)) in median_cut()