Home
last modified time | relevance | path

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

/third_party/vk-gl-cts/framework/common/
H A DtcuFuzzyImageCompare.cpp37 MIN_ERR_THRESHOLD = 4 // Magic to make small differences go away enumerator
115 const int r = de::max<int>(de::abs((int)getChannel<0>(pa) - (int)getChannel<0>(pb)) - MIN_ERR_THRESHOLD, 0); in colorDistSquared()
116 const int g = de::max<int>(de::abs((int)getChannel<1>(pa) - (int)getChannel<1>(pb)) - MIN_ERR_THRESHOLD, 0); in colorDistSquared()
117 const int b = de::max<int>(de::abs((int)getChannel<2>(pa) - (int)getChannel<2>(pb)) - MIN_ERR_THRESHOLD, 0); in colorDistSquared()
118 const int 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()

Completed in 2 milliseconds