Searched refs:distance_sqr (Results 1 – 1 of 1) sorted by relevance
302 uint32_t distance_sqr = cluster->GetDistanceSqr(r, g, b); in CalculateKMeanColorOfBuffer() local304 if (distance_sqr < distance_sqr_to_closest_cluster) { in CalculateKMeanColorOfBuffer()305 distance_sqr_to_closest_cluster = distance_sqr; in CalculateKMeanColorOfBuffer()