Home | History | Annotate | Download | only in common

Lines Matching refs:referenceFrame

151 	tcu::Surface			 referenceFrame(viewportW, viewportH);
234 for (int y = 0; y < referenceFrame.getHeight(); y++)
236 float yf = ((float)y + 0.5f) / (float)referenceFrame.getHeight();
237 int half = de::clamp((int)((float)referenceFrame.getWidth() * 0.5f + 0.5f), 0, referenceFrame.getWidth());
242 float xf = ((float)x + 0.5f) / (float)referenceFrame.getWidth();
246 referenceFrame.setPixel(x, y, dpass ? tcu::RGBA::green() : tcu::RGBA::blue());
250 for (int x = half; x < referenceFrame.getWidth(); x++)
252 float xf = ((float)x + 0.5f) / (float)referenceFrame.getWidth();
253 float xh = ((float)x - (float)half + 0.5f) / (float)(referenceFrame.getWidth() - half);
258 referenceFrame.setPixel(x, y, dpass ? tcu::RGBA::green() : tcu::RGBA::blue());
262 bool isOk = tcu::fuzzyCompare(log, "Result", "Image comparison result", referenceFrame, renderedFrame, 0.05f,
304 tcu::Surface referenceFrame(viewportW, viewportH);
387 for (int y = 0; y < referenceFrame.getHeight(); y++)
389 for (int x = 0; x < referenceFrame.getWidth(); x++)
391 float xf = ((float)x + 0.5f) / (float)referenceFrame.getWidth();
392 float yf = ((float)y + 0.5f) / (float)referenceFrame.getHeight();
397 referenceFrame.setPixel(x, y, tcu::RGBA(col, col, col, 0xff));
401 bool isOk = tcu::fuzzyCompare(log, "Result", "Image comparison result", referenceFrame, renderedFrame, 0.05f,