Searched refs:MIN_ERR_THRESHOLD (Results 1 – 1 of 1) sorted by relevance
37 MIN_ERR_THRESHOLD = 4 // Magic to make small differences go away enumerator115 … r = de::max<int>(de::abs((int)getChannel<0>(pa) - (int)getChannel<0>(pb)) - MIN_ERR_THRESHOLD, 0); in colorDistSquared()116 … g = de::max<int>(de::abs((int)getChannel<1>(pa) - (int)getChannel<1>(pb)) - MIN_ERR_THRESHOLD, 0); in colorDistSquared()117 … b = de::max<int>(de::abs((int)getChannel<2>(pa) - (int)getChannel<2>(pb)) - MIN_ERR_THRESHOLD, 0); in colorDistSquared()118 … a = de::max<int>(de::abs((int)getChannel<3>(pa) - (int)getChannel<3>(pb)) - MIN_ERR_THRESHOLD, 0); in colorDistSquared()333 const int scale = 255-MIN_ERR_THRESHOLD; in fuzzyCompare()348 const deUint64 colScale = deUint64(255-MIN_ERR_THRESHOLD); in fuzzyCompare()