Searched refs:CalcDist (Results 1 – 1 of 1) sorted by relevance
292 static uint32_t CalcDist(uint32_t predicted_value, uint32_t actual_value, in CalcDist() function355 uint32_t best_distance = CalcDist(predicted_value, src, palette[0]); in FindBestPaletteEntry()357 const uint32_t distance = CalcDist(predicted_value, src, palette[i]); in FindBestPaletteEntry()