Lines Matching defs:ref
1816 const tcu::Surface& ref = m_rrArrayPack->getSurface();
1823 m_isOk = tcu::fuzzyCompare(m_testCtx.getLog(), "Compare Results", "Compare Results", ref.getAccess(), screen.getAccess(), 1.5f, tcu::COMPARE_LOG_RESULT);
1828 tcu::Surface error (ref.getWidth(), ref.getHeight());
1832 for (int y = 0; y < ref.getHeight(); y++)
1834 for (int x = 0; x < ref.getWidth(); x++)
1836 tcu::RGBA refPixel = ref.getPixel(x, y);
1840 if (y == 0 || y + 1 == ref.getHeight() || x == 0 || x + 1 == ref.getWidth())
1849 bool refThin = (!tcu::compareThreshold(refPixel, ref.getPixel(x-1, y ), threshold) && !tcu::compareThreshold(refPixel, ref.getPixel(x+1, y ), threshold)) ||
1850 (!tcu::compareThreshold(refPixel, ref.getPixel(x , y-1), threshold) && !tcu::compareThreshold(refPixel, ref.getPixel(x , y+1), threshold));
1875 tcu::RGBA refCmpPixel = ref.getPixel(x+dx, y+dy);
1903 << TestLog::Image("Reference", "Reference", ref)