Searched refs:numWhitePixels (Results 1 – 4 of 4) sorted by relevance
222 int numWhitePixels = 0; in iterate() local227 numWhitePixels += rendered.getPixel(x, y) == tcu::RGBA::white() ? 1 : 0; in iterate()231 DE_ASSERT(numWhitePixels + numRedPixels <= totalNumPixels); in iterate()233 m_testCtx.getLog() << tcu::TestLog::Message << "Note: got " << numWhitePixels << " white and " in iterate()236 if (totalNumPixels - numWhitePixels - numRedPixels > badPixelTolerance) in iterate()239 << totalNumPixels - numWhitePixels - numRedPixels in iterate()251 if (de::abs(numWhitePixels - totalNumPixels / 2) > badPixelTolerance) in iterate()262 if (numWhitePixels != totalNumPixels) in iterate()274 if (numWhitePixels != 0) in iterate()
95 int numWhitePixels = 0; in verifyResultImage() local102 numWhitePixels += image.getPixel(x, y) == white ? 1 : 0; in verifyResultImage()106 DE_ASSERT(numWhitePixels + numRedPixels <= totalNumPixels); in verifyResultImage()108 …log << tcu::TestLog::Message << "Note: got " << numWhitePixels << " white and " << numRedPixels <<… in verifyResultImage()111 const int otherPixels = totalNumPixels - numWhitePixels - numRedPixels; in verifyResultImage()127 if (de::abs(numWhitePixels - totalNumPixels/2) > badPixelTolerance) in verifyResultImage()170 if (numWhitePixels != totalNumPixels) in verifyResultImage()181 if (numWhitePixels != 0) in verifyResultImage()
2891 int numWhitePixels = 0; in iterate() local2896 numWhitePixels += rendered.getPixel(x, y) == tcu::RGBA::white() ? 1 : 0; in iterate()2900 DE_ASSERT(numWhitePixels + numRedPixels <= totalNumPixels); in iterate()2902 …log << TestLog::Message << "Note: got " << numWhitePixels << " white and " << numRedPixels << " re… in iterate()2904 if (totalNumPixels - numWhitePixels - numRedPixels > badPixelTolerance) in iterate()2906 …log << TestLog::Message << "Failure: Got " << totalNumPixels - numWhitePixels - numRedPixels << " … in iterate()2915 if (de::abs(numWhitePixels - totalNumPixels/2) > badPixelTolerance) in iterate()2924 if (numWhitePixels != totalNumPixels) in iterate()2936 if (numWhitePixels != 0) in iterate()