Searched refs:gdist (Results 1 – 1 of 1) sorted by relevance
227 int gdist = ((gmax - gmin) << HIST_GREEN_SHIFT) * GREEN_SCALE; in UpdateBox() local230 boxp->volume = rdist * rdist + gdist * gdist + bdist * bdist; in UpdateBox()345 int gdist = ((b1->gmax - b1->gmin) << HIST_GREEN_SHIFT) * GREEN_SCALE; in median_cut() local349 if ((rdist >= gdist) && (rdist >= bdist)) in median_cut()355 else if ((gdist >= rdist) && (gdist >= bdist)) in median_cut()