Searched refs:gmax (Results 1 – 2 of 2) sorted by relevance
75 boxlist[0].gmax = (1 << HIST_GREEN_BITS) - 1; in CreatePaletteForPixelmaps()156 int gmin, gmax; in UpdateBox() local162 gmax = 0; in UpdateBox()173 for (g = boxp->gmin; g <= boxp->gmax; g++) in UpdateBox()199 if (g > gmax) in UpdateBox()201 gmax = g; in UpdateBox()222 boxp->gmax = gmax; in UpdateBox()227 int gdist = ((gmax - gmin) << HIST_GREEN_SHIFT) * GREEN_SCALE; in UpdateBox()345 int gdist = ((b1->gmax - b1->gmin) << HIST_GREEN_SHIFT) * GREEN_SCALE; in median_cut()358 b1->gmax = (b1->gmax + b1->gmin) / 2; in median_cut()[all …]
20 int gmax; member