Home
last modified time | relevance | path

Searched refs:referenceFrame (Results 1 – 24 of 24) sorted by relevance

/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateVPTests.cpp115 tcu::Texture2D referenceFrame = buildReferenceFrame(); in iterate() local
122 referenceFrame.getLevel(0), renderedFrame, 0.05f, in iterate()
155 …tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(… in buildReferenceFrame() local
156 referenceFrame.allocLevel(0); in buildReferenceFrame()
158 const deInt32 frameWidth = referenceFrame.getWidth(); in buildReferenceFrame()
159 const deInt32 frameHeight = referenceFrame.getHeight(); in buildReferenceFrame()
161 tcu::clear(referenceFrame.getLevel(0), tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)); in buildReferenceFrame()
172 referenceFrame.getLevel(0).setPixel(tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), x, y); in buildReferenceFrame()
176 return referenceFrame; in buildReferenceFrame()
202 …tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(… in buildReferenceFrame() local
[all …]
DvktDynamicStateGeneralTests.cpp120 …tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(… in iterate() local
121 referenceFrame.allocLevel(0); in iterate()
123 const deInt32 frameWidth = referenceFrame.getWidth(); in iterate()
124 const deInt32 frameHeight = referenceFrame.getHeight(); in iterate()
126 tcu::clear(referenceFrame.getLevel(0), tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)); in iterate()
138 referenceFrame.getLevel(0).setPixel(tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), x, y); in iterate()
148 referenceFrame.getLevel(0), renderedFrame, 0.05f, in iterate()
230 …tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(… in iterate() local
231 referenceFrame.allocLevel(0); in iterate()
233 const deInt32 frameWidth = referenceFrame.getWidth(); in iterate()
[all …]
DvktDynamicStateRSTests.cpp455 …tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(… in iterate() local
456 referenceFrame.allocLevel(0); in iterate()
458 const deInt32 frameWidth = referenceFrame.getWidth(); in iterate()
459 const deInt32 frameHeight = referenceFrame.getHeight(); in iterate()
461 tcu::clear(referenceFrame.getLevel(0), tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)); in iterate()
472 referenceFrame.getLevel(0).setPixel(tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), x, y); in iterate()
474 referenceFrame.getLevel(0).setPixel(tcu::Vec4(0.0f, 0.0f, 1.0f, 1.0f), x, y); in iterate()
483 referenceFrame.getLevel(0), renderedFrame, 0.05f, in iterate()
561 …tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(… in iterate() local
562 referenceFrame.allocLevel(0); in iterate()
[all …]
DvktDynamicStateCBTests.cpp129 …tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(… in iterate() local
130 referenceFrame.allocLevel(0); in iterate()
132 const deInt32 frameWidth = referenceFrame.getWidth(); in iterate()
133 const deInt32 frameHeight = referenceFrame.getHeight(); in iterate()
135 tcu::clear(referenceFrame.getLevel(0), tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)); in iterate()
146 referenceFrame.getLevel(0).setPixel(tcu::Vec4(0.33f, 1.0f, 0.66f, 1.0f), x, y); in iterate()
155 referenceFrame.getLevel(0), renderedFrame, 0.05f, in iterate()
DvktDynamicStateDSTests.cpp493 …tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(… in iterate() local
494 referenceFrame.allocLevel(0); in iterate()
496 const deInt32 frameWidth = referenceFrame.getWidth(); in iterate()
497 const deInt32 frameHeight = referenceFrame.getHeight(); in iterate()
499 tcu::clear(referenceFrame.getLevel(0), tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)); in iterate()
510 referenceFrame.getLevel(0).setPixel(tcu::Vec4(0.0f, 0.0f, 1.0f, 1.0f), x, y); in iterate()
512 referenceFrame.getLevel(0).setPixel(tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), x, y); in iterate()
521 referenceFrame.getLevel(0), renderedFrame, 0.05f, in iterate()
645 …tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(… in iterate() local
646 referenceFrame.allocLevel(0); in iterate()
[all …]
/external/deqp/modules/gles2/functional/
Des2fDepthRangeTests.cpp150 tcu::Surface referenceFrame (viewportW, viewportH); in iterate() local
229 for (int y = 0; y < referenceFrame.getHeight(); y++) in iterate()
231 float yf = ((float)y + 0.5f) / (float)referenceFrame.getHeight(); in iterate()
232 …int half = de::clamp((int)((float)referenceFrame.getWidth()*0.5f + 0.5f), 0, referenceFrame.getWi… in iterate()
237 float xf = ((float)x + 0.5f) / (float)referenceFrame.getWidth(); in iterate()
241 referenceFrame.setPixel(x, y, dpass ? tcu::RGBA::green() : tcu::RGBA::blue()); in iterate()
245 for (int x = half; x < referenceFrame.getWidth(); x++) in iterate()
247 float xf = ((float)x + 0.5f) / (float)referenceFrame.getWidth(); in iterate()
248 float xh = ((float)(x - half) + 0.5f) / (float)(referenceFrame.getWidth()-half); in iterate()
253 referenceFrame.setPixel(x, y, dpass ? tcu::RGBA::green() : tcu::RGBA::blue()); in iterate()
[all …]
Des2fTextureFormatTests.cpp144 tcu::Surface referenceFrame (viewport.width, viewport.height); in iterate() local
193 …sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), … in iterate()
196 bool isOk = compareImages(log, referenceFrame, renderedFrame, threshold); in iterate()
320 tcu::Surface referenceFrame (viewport.width, viewport.height); in testFace() local
361 …sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), … in testFace()
364 return compareImages(log, referenceFrame, renderedFrame, threshold); in testFace()
454 tcu::Surface referenceFrame (viewport.width, viewport.height); in iterate() local
483 …sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), … in iterate()
486 bool isOk = compareImages(log, referenceFrame, renderedFrame, threshold); in iterate()
565 tcu::Surface referenceFrame (viewport.width, viewport.height); in testFace() local
[all …]
Des2fTextureSizeTests.cpp124 tcu::Surface referenceFrame (viewport.width, viewport.height); in iterate() local
155 …sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), … in iterate()
158 bool isOk = compareImages(log, referenceFrame, renderedFrame, threshold); in iterate()
267 tcu::Surface referenceFrame (viewport.width, viewport.height); in testFace() local
299 …sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), … in testFace()
302 return compareImages(log, referenceFrame, renderedFrame, threshold); in testFace()
Des2fTextureWrapTests.cpp166 tcu::Surface referenceFrame (viewport.width, viewport.height); in iterate() local
200 …sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), 0… in iterate()
213 …sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), l… in iterate()
218 bool isOk = compareImages(log, referenceFrame, renderedFrame, threshold); in iterate()
Des2fTextureMipmapTests.cpp350 tcu::Surface referenceFrame (viewport.width, viewport.height); in iterate() local
390 sampleTexture(tcu::SurfaceAccess(referenceFrame, pixelFormat, curX, curY, curW, curH), in iterate()
395 tcu::getSubregion(referenceFrame.getAccess(), curX, curY, curW, curH), in iterate()
410 m_testCtx.getLog() << TestLog::Image("Reference", "Ideal reference", referenceFrame) in iterate()
668 tcu::Surface referenceFrame (viewport.width, viewport.height); in iterate() local
713 …tcu::SurfaceAccess idealDst(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), curX, … in iterate()
719 tcu::getSubregion(referenceFrame.getAccess(), curX, curY, curW, curH), in iterate()
733 m_testCtx.getLog() << TestLog::Image("Reference", "Ideal reference", referenceFrame) in iterate()
/external/deqp/modules/gles3/functional/
Des3fFragDepthTests.cpp134 tcu::Surface referenceFrame (viewportW, viewportH); in iterate() local
236 for (int y = 0; y < referenceFrame.getHeight(); y++) in iterate()
238 float yf = ((float)y + 0.5f) / (float)referenceFrame.getHeight(); in iterate()
239 …int half = de::clamp((int)((float)referenceFrame.getWidth()*0.5f + 0.5f), 0, referenceFrame.getWi… in iterate()
244 float xf = ((float)x + 0.5f) / (float)referenceFrame.getWidth(); in iterate()
248 referenceFrame.setPixel(x, y, dpass ? tcu::RGBA::green() : tcu::RGBA::blue()); in iterate()
252 for (int x = half; x < referenceFrame.getWidth(); x++) in iterate()
254 float xf = ((float)x + 0.5f) / (float)referenceFrame.getWidth(); in iterate()
255 float xh = ((float)(x - half) + 0.5f) / (float)(referenceFrame.getWidth()-half); in iterate()
260 referenceFrame.setPixel(x, y, dpass ? tcu::RGBA::green() : tcu::RGBA::blue()); in iterate()
[all …]
Des3fTextureSwizzleTests.cpp151 tcu::Surface referenceFrame (viewport.width, viewport.height); in iterate() local
197 …sampleTexture(tcu::SurfaceAccess(referenceFrame, tcu::PixelFormat(8,8,8,8)), m_texture->getRefText… in iterate()
200 swizzle(referenceFrame, m_swizzleR, m_swizzleG, m_swizzleB, m_swizzleA); in iterate()
205 for (int y = 0; y < referenceFrame.getHeight(); y++) in iterate()
207 for (int x = 0; x < referenceFrame.getWidth(); x++) in iterate()
209 tcu::RGBA p = referenceFrame.getPixel(x, y); in iterate()
210 referenceFrame.setPixel(x, y, pixelFormat.convertColor(p)); in iterate()
217 bool isOk = compareImages(log, referenceFrame, renderedFrame, threshold); in iterate()
Des3fTextureFormatTests.cpp160 tcu::Surface referenceFrame (viewport.width, viewport.height); in iterate() local
209 …sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), … in iterate()
212 bool isOk = compareImages(log, referenceFrame, renderedFrame, threshold); in iterate()
350 tcu::Surface referenceFrame (viewport.width, viewport.height); in testFace() local
391 …sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), … in testFace()
394 return compareImages(log, referenceFrame, renderedFrame, threshold); in testFace()
512 tcu::Surface referenceFrame (viewport.width, viewport.height); in testLayer() local
548 …sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), … in testLayer()
551 …Ndx))).c_str(), (string("Layer " + de::toString(layerNdx))).c_str(), referenceFrame, renderedFrame… in testLayer()
664 tcu::Surface referenceFrame (viewport.width, viewport.height); in testSlice() local
[all …]
Des3fTextureSizeTests.cpp125 tcu::Surface referenceFrame (viewport.width, viewport.height); in iterate() local
156 …sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), … in iterate()
159 bool isOk = compareImages(log, referenceFrame, renderedFrame, threshold); in iterate()
268 tcu::Surface referenceFrame (viewport.width, viewport.height); in testFace() local
300 …sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), … in testFace()
303 return compareImages(log, referenceFrame, renderedFrame, threshold); in testFace()
Des3fASTCDecompressionCases.cpp453 Surface referenceFrame (imageWidth, imageHeight); in iterate() local
455 …m_renderer->render(referenceFrame, renderedFrame, texture, getUncompressedFormat(compressed.getFor… in iterate()
464 …const bool compareOk = compareBlockImages(referenceFrame, renderedFrame, threshold, blockSize, cur… in iterate()
483 << TestLog::Image("Reference", "Reference", referenceFrame) in iterate()
575 Surface referenceFrame (imageWidth, imageHeight); in iterate() local
578 …m_renderer->render(referenceFrame, renderedFrame, texture, getUncompressedFormat(compressed.getFor… in iterate()
594 …Compare(m_testCtx.getLog(), "ComparisonResult", "Comparison Result", referenceFrame, renderedFrame… in iterate()
Des3fTextureMipmapTests.cpp394 tcu::Surface referenceFrame (viewport.width, viewport.height); in iterate() local
434 sampleTexture(tcu::SurfaceAccess(referenceFrame, pixelFormat, curX, curY, curW, curH), in iterate()
439 tcu::getSubregion(referenceFrame.getAccess(), curX, curY, curW, curH), in iterate()
454 m_testCtx.getLog() << TestLog::Image("Reference", "Ideal reference", referenceFrame) in iterate()
707 tcu::Surface referenceFrame (viewport.width, viewport.height); in iterate() local
752 …tcu::SurfaceAccess idealDst(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), curX, … in iterate()
758 tcu::getSubregion(referenceFrame.getAccess(), curX, curY, curW, curH), in iterate()
772 m_testCtx.getLog() << TestLog::Image("Reference", "Ideal reference", referenceFrame) in iterate()
1341 tcu::Surface referenceFrame (viewport.width, viewport.height); in iterate() local
1380 sampleTexture(tcu::SurfaceAccess(referenceFrame, pixelFormat, curX, curY, curW, curH), in iterate()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawSimpleTest.cpp167 …tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(… in iterate() local
169 referenceFrame.allocLevel(0); in iterate()
171 const deInt32 frameWidth = referenceFrame.getWidth(); in iterate()
172 const deInt32 frameHeight = referenceFrame.getHeight(); in iterate()
174 tcu::clear(referenceFrame.getLevel(0), tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)); in iterate()
190 referenceFrame.getLevel(0).setPixel(tcu::Vec4(0.0f, 0.0f, 1.0f, 1.0f), x, y); in iterate()
201 referenceFrame.getLevel(0), renderedFrame, 0.05f, in iterate()
275 …tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(… in iterate() local
277 referenceFrame.allocLevel(0); in iterate()
279 const deInt32 frameWidth = referenceFrame.getWidth(); in iterate()
[all …]
DvktDrawIndexedTest.cpp189 …tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(… in iterate() local
190 referenceFrame.allocLevel(0); in iterate()
192 const deInt32 frameWidth = referenceFrame.getWidth(); in iterate()
193 const deInt32 frameHeight = referenceFrame.getHeight(); in iterate()
195 tcu::clear(referenceFrame.getLevel(0), tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)); in iterate()
211 referenceFrame.getLevel(0).setPixel(tcu::Vec4(0.0f, 0.0f, 1.0f, 1.0f), x, y); in iterate()
222 referenceFrame.getLevel(0), renderedFrame, 0.05f, in iterate()
312 …tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(… in iterate() local
313 referenceFrame.allocLevel(0); in iterate()
315 const deInt32 frameWidth = referenceFrame.getWidth(); in iterate()
[all …]
DvktDrawIndirectTest.cpp427 …tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(… in iterate() local
428 referenceFrame.allocLevel(0); in iterate()
430 const deInt32 frameWidth = referenceFrame.getWidth(); in iterate()
431 const deInt32 frameHeight = referenceFrame.getHeight(); in iterate()
433 tcu::clear(referenceFrame.getLevel(0), tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)); in iterate()
449 referenceFrame.getLevel(0).setPixel(tcu::Vec4(0.0f, 0.0f, 1.0f, 1.0f), x, y); in iterate()
460 referenceFrame.getLevel(0), renderedFrame, 0.05f, in iterate()
694 …tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(… in iterate() local
696 referenceFrame.allocLevel(0); in iterate()
698 const deInt32 frameWidth = referenceFrame.getWidth(); in iterate()
[all …]
DvktDrawShaderDrawParametersTests.cpp321 …tcu::TextureLevel referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), static_cast<int>(0.5f +… in iterate()
323 drawReferenceImage(referenceFrame.getAccess()); in iterate()
329 …text.getTestContext().getLog(), "Result", "Image comparison result", referenceFrame.getAccess(), r… in iterate()
/external/deqp/modules/gles2/accuracy/
Des2aTextureFilteringTests.cpp202 tcu::Surface referenceFrame (viewport.width, viewport.height); in iterate() local
244 …sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), 0… in iterate()
255 …sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), l… in iterate()
284 …sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), 0… in iterate()
295 …sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), l… in iterate()
309 int score = measureAccuracy(log, referenceFrame, renderedFrame, bestScoreDiff, worstScoreDiff); in iterate()
526 tcu::Surface referenceFrame (viewport.width, viewport.height); in iterate() local
563 …tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), 0, 0, leftWidth… in iterate()
573 …tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), leftWidth, 0, r… in iterate()
594 …tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), 0, bottomHeight… in iterate()
[all …]
/external/deqp/modules/gles3/accuracy/
Des3aTextureFilteringTests.cpp192 tcu::Surface referenceFrame (viewport.width, viewport.height); in iterate() local
234 …sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), 0… in iterate()
245 …sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), l… in iterate()
274 …sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), 0… in iterate()
285 …sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), l… in iterate()
297 int score = measureAccuracy(log, referenceFrame, renderedFrame, bestScoreDiff, worstScoreDiff); in iterate()
535 tcu::Surface referenceFrame (viewport.width, viewport.height); in iterate() local
572 …tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), 0, 0, leftWidth… in iterate()
582 …tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), leftWidth, 0, r… in iterate()
603 …tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), 0, bottomHeight… in iterate()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureMipmapTests.cpp335 tcu::Surface referenceFrame (viewportWidth, viewportHeight); in iterate() local
375 sampleTexture(tcu::SurfaceAccess(referenceFrame, pixelFormat, curX, curY, curW, curH), in iterate()
380 tcu::getSubregion(referenceFrame.getAccess(), curX, curY, curW, curH), in iterate()
395 …context.getTestContext().getLog() << TestLog::Image("Reference", "Ideal reference", referenceFrame) in iterate()
568 tcu::Surface referenceFrame (viewportWidth, viewportHeight); in iterate() local
612 tcu::SurfaceAccess idealDst(referenceFrame, pixelFormat, curX, curY, curW, curH); in iterate()
618 tcu::getSubregion(referenceFrame.getAccess(), curX, curY, curW, curH), in iterate()
634 …context.getTestContext().getLog() << TestLog::Image("Reference", "Ideal reference", referenceFrame) in iterate()
849 tcu::Surface referenceFrame (viewportWidth, viewportHeight); in iterate() local
888 sampleTexture(tcu::SurfaceAccess(referenceFrame, pixelFormat, curX, curY, curW, curH), in iterate()
[all …]
/external/deqp/modules/gles31/functional/
Des31fTextureFormatTests.cpp180 tcu::Surface referenceFrame (viewport.width, viewport.height); in testLayerFace() local
221 …sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), … in testLayerFace()
224 …str(), (string("Layer-face " + de::toString(layerFaceNdx))).c_str(), referenceFrame, renderedFrame… in testLayerFace()
328 tcu::Surface referenceFrame (viewport.width, viewport.height); in iterate() local
365 …fetchTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), e… in iterate()
368 bool isOk = compareImages(log, referenceFrame, renderedFrame, threshold); in iterate()