Home | History | Annotate | Download | only in common

Lines Matching refs:threshold

106 bool comparePixelRGBA8 (const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& result, const RGBA threshold, int x, int y)
119 if (compareThreshold(resPix, readRGBA8(reference, x1, y1), threshold) ||
120 compareThreshold(resPix, readRGBA8(reference, x0, y1), threshold) ||
121 compareThreshold(resPix, readRGBA8(reference, x2, y1), threshold) ||
122 compareThreshold(resPix, readRGBA8(reference, x0, y0), threshold) ||
123 compareThreshold(resPix, readRGBA8(reference, x1, y0), threshold) ||
124 compareThreshold(resPix, readRGBA8(reference, x2, y0), threshold) ||
125 compareThreshold(resPix, readRGBA8(reference, x0, y2), threshold) ||
126 compareThreshold(resPix, readRGBA8(reference, x1, y2), threshold) ||
127 compareThreshold(resPix, readRGBA8(reference, x2, y2), threshold))
175 if (compareThreshold(resPix, bilinearSampleRGBA8(reference, (deUint32)u, (deUint32)v), threshold))
183 bool bilinearCompareRGBA8 (const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& result, const PixelBufferAccess& errorMask, const RGBA threshold)
197 if (!comparePixelRGBA8(reference, result, threshold, x, y) &&
198 !comparePixelRGBA8(result, reference, threshold, x, y))
211 bool bilinearCompare (const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& result, const PixelBufferAccess& errorMask, const RGBA threshold)
222 return bilinearCompareRGBA8(reference, result, errorMask, threshold);