Searched refs:totalNumPixels (Results 1 – 3 of 3) sorted by relevance
220 const int totalNumPixels = rendered.getWidth() * rendered.getHeight(); in iterate() local231 DE_ASSERT(numWhitePixels + numRedPixels <= totalNumPixels); 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()255 << totalNumPixels / 2 << tcu::TestLog::EndMessage; in iterate()262 if (numWhitePixels != totalNumPixels) in iterate()
88 const int totalNumPixels = image.getWidth()*image.getHeight(); in verifyResultImage() local104 DE_ASSERT(numWhitePixels + numRedPixels <= totalNumPixels); in verifyResultImage()109 const int otherPixels = totalNumPixels - numWhitePixels - numRedPixels; in verifyResultImage()125 if (de::abs(numWhitePixels - totalNumPixels/2) > badPixelTolerance) in verifyResultImage()127 … "Failure: wrong number of white pixels; expected approximately " << totalNumPixels/2 << tcu::Test… in verifyResultImage()168 if (numWhitePixels != totalNumPixels) in verifyResultImage()
2888 const int totalNumPixels = rendered.getWidth()*rendered.getHeight(); in iterate() local2900 DE_ASSERT(numWhitePixels + numRedPixels <= totalNumPixels); 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()2917 … "Failure: wrong number of white pixels; expected approximately " << totalNumPixels/2 << TestLog::… in iterate()2924 if (numWhitePixels != totalNumPixels) in iterate()