Home
last modified time | relevance | path

Searched refs:mindist (Results 1 – 2 of 2) sorted by relevance

/PHP-7.2/ext/gd/libgd/
H A Dgd.c312 long mindist = 0; in gdImageColorClosestAlpha() local
328 if (first || (dist < mindist)) { in gdImageColorClosestAlpha()
329 mindist = dist; in gdImageColorClosestAlpha()
478 float mindist = 0; in gdImageColorClosestHWB() local
488 if (first || (dist < mindist)) { in gdImageColorClosestHWB()
489 mindist = dist; in gdImageColorClosestHWB()
575 long mindist = 4 * 255 * 255; /* init to max poss dist */ in gdImageColorResolveAlpha() local
599 if (dist < mindist) in gdImageColorResolveAlpha()
605 mindist = dist; in gdImageColorResolveAlpha()
H A Dgd_topal.c841 INT32 mindist[MAXNUMCOLORS]; /* min distance to colormap entry i */ in find_nearby_colors() local
960 mindist[i] = min_dist; /* save away the results */ in find_nearby_colors()
972 if (mindist[i] <= minmaxdist) in find_nearby_colors()

Completed in 15 milliseconds