Searched refs:numRedPixels (Results 1 – 2 of 2) sorted by relevance
91 int numRedPixels = 0; in verifyResultImage() local98 numRedPixels += image.getPixel(x, y) == red ? 1 : 0; in verifyResultImage()101 DE_ASSERT(numWhitePixels + numRedPixels <= totalNumPixels); in verifyResultImage()103 …log << tcu::TestLog::Message << "Note: got " << numWhitePixels << " white and " << numRedPixels <<… in verifyResultImage()106 const int otherPixels = totalNumPixels - numWhitePixels - numRedPixels; in verifyResultImage()
2796 int numRedPixels = 0; in iterate() local2801 numRedPixels += rendered.getPixel(x, y) == tcu::RGBA::red() ? 1 : 0; in iterate()2804 DE_ASSERT(numWhitePixels + numRedPixels <= totalNumPixels); in iterate()2806 …log << TestLog::Message << "Note: got " << numWhitePixels << " white and " << numRedPixels << " re… in iterate()2808 if (totalNumPixels - numWhitePixels - numRedPixels > badPixelTolerance) in iterate()2810 …log << TestLog::Message << "Failure: Got " << totalNumPixels - numWhitePixels - numRedPixels << " … in iterate()