Home
last modified time | relevance | path

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

/PHP-5.6/ext/gd/libgd/
H A Dgd.c276 long mindist = 0; in gdImageColorClosestAlpha() local
292 if (first || (dist < mindist)) { in gdImageColorClosestAlpha()
293 mindist = dist; in gdImageColorClosestAlpha()
442 float mindist = 0; in gdImageColorClosestHWB() local
452 if (first || (dist < mindist)) { in gdImageColorClosestHWB()
453 mindist = dist; in gdImageColorClosestHWB()
539 long mindist = 4 * 255 * 255; /* init to max poss dist */ in gdImageColorResolveAlpha() local
563 if (dist < mindist) in gdImageColorResolveAlpha()
569 mindist = dist; in gdImageColorResolveAlpha()
H A Dgd_topal.c948 INT32 mindist[MAXNUMCOLORS]; /* min distance to colormap entry i */ local
1079 mindist[i] = min_dist; /* save away the results */
1091 if (mindist[i] <= minmaxdist)

Completed in 18 milliseconds