Searched refs:numRedPixels (Results 1 – 4 of 4) sorted by relevance
223 int numRedPixels = 0; in iterate() local228 numRedPixels += rendered.getPixel(x, y) == tcu::RGBA::red() ? 1 : 0; in iterate()231 DE_ASSERT(numWhitePixels + numRedPixels <= totalNumPixels); in iterate()234 << numRedPixels << " red pixels" << tcu::TestLog::EndMessage; in iterate()236 if (totalNumPixels - numWhitePixels - numRedPixels > badPixelTolerance) in iterate()239 << totalNumPixels - numWhitePixels - numRedPixels in iterate()
96 int numRedPixels = 0; in verifyResultImage() local103 numRedPixels += image.getPixel(x, y) == red ? 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()
2892 int numRedPixels = 0; in iterate() local2897 numRedPixels += rendered.getPixel(x, y) == tcu::RGBA::red() ? 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()