Searched refs:distanceAtIndex (Results 1 - 1 of 1) sorted by relevance

/haiku-fatelf/src/add-ons/translators/gif/
H A DSavePalette.cpp391 int distanceAtIndex = rd * rd + gd * gd + bd * bd; local
392 if (distanceAtIndex < closestDistance) {
393 closestDistance = distanceAtIndex;
401 int distanceAtIndex = rd * rd + gd * gd + bd * bd; local
402 if (distanceAtIndex < closestDistance) {
403 closestDistance = distanceAtIndex;
412 int distanceAtIndex = rd * rd + gd * gd + bd * bd; local
413 if (distanceAtIndex < closestDistance) {
414 closestDistance = distanceAtIndex;

Completed in 36 milliseconds