OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:minErrThreshold
(Results
1 - 2
of
2
) sorted by null
/external/deqp/framework/common/
tcuFuzzyImageCompare.hpp
40
,
minErrThreshold
(minErrThreshold_)
46
int
minErrThreshold
;
tcuFuzzyImageCompare.cpp
108
static inline float compareColors (deUint32 pa, deUint32 pb, int
minErrThreshold
)
110
int r = de::max<int>(de::abs((int)getChannel<0>(pa) - (int)getChannel<0>(pb)) -
minErrThreshold
, 0);
111
int g = de::max<int>(de::abs((int)getChannel<1>(pa) - (int)getChannel<1>(pb)) -
minErrThreshold
, 0);
112
int b = de::max<int>(de::abs((int)getChannel<2>(pa) - (int)getChannel<2>(pb)) -
minErrThreshold
, 0);
113
int a = de::max<int>(de::abs((int)getChannel<3>(pa) - (int)getChannel<3>(pb)) -
minErrThreshold
, 0);
115
float scale = 1.0f/(255-
minErrThreshold
);
216
minErr = deFloatMin(minErr, compareColors(pixel, readUnorm8<NumChannels>(surface, x, y), params.
minErrThreshold
));
241
minErr = deFloatMin(minErr, compareColors(pixel, readUnorm8<NumChannels>(surface, dx, dy), params.
minErrThreshold
));
254
minErr = deFloatMin(minErr, compareColors(pixel, sample, params.
minErrThreshold
));
Completed in 58 milliseconds