Home
last modified time | relevance | path

Searched refs:testImage (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/lite/java/ovic/src/test/java/org/tensorflow/ovic/
DOvicClassifierTest.java44 private ByteBuffer testImage = null; field in OvicClassifierTest
71 testImage = toByteBuffer(img); in setUp()
97 testResult = classifier.classifyByteBuffer(testImage); in ovicClassifier_quantizedModelClassifySuccess()
104 testResult = classifier.classifyByteBuffer(testImage); in ovicClassifier_floatModelClassifySuccess()
118 testResult = classifier.classifyByteBuffer(testImage); in ovicClassifier_latencyNotNull()
129 testResult = classifier.classifyByteBuffer(testImage); in ovicClassifier_mismatchedInputResolutionFails()
DOvicDetectorTest.java41 private ByteBuffer testImage = null; field in OvicDetectorTest
72 testImage = toByteBuffer(img); in setUp()
105 assertThat(detector.detectByteBuffer(testImage, 1)).isTrue(); in ovicDetector_detectSuccess()
113 assertThat(detector.detectByteBuffer(testImage, 1)).isTrue(); in ovicDetector_simpleBatchTest()
/external/deqp/modules/gles2/functional/
Des2fPolygonOffsetTests.cpp158 …tCtx, glu::RenderContext& renderCtx, const tcu::ConstPixelBufferAccess& testImage, const tcu::Cons… in verifyImages() argument
165 tcu::Surface diffMask (testImage.getWidth(), testImage.getHeight()); in verifyImages()
167 …faultyPixels = compareImages(log, renderCtx, referenceImage, testImage, diffMask.getAccess(), kern… in verifyImages()
172 log << TestLog::Image("Test image", "Test image", testImage); in verifyImages()
362 tcu::Surface testImage (m_targetSize, m_targetSize); in testPolygonOffset() local
414 glu::readPixels(m_context.getRenderContext(), 0, 0, testImage.getAccess()); in testPolygonOffset()
451 …verifyImages(log, m_testCtx, m_context.getRenderContext(), testImage.getAccess(), referenceImage.g… in testPolygonOffset()
493 tcu::Surface testImage (m_targetSize, m_targetSize); in testPolygonOffset() local
568 glu::readPixels(m_context.getRenderContext(), 0, 0, testImage.getAccess()); in testPolygonOffset()
576 …verifyImages(log, m_testCtx, m_context.getRenderContext(), testImage.getAccess(), referenceImage.g… in testPolygonOffset()
[all …]
/external/deqp/modules/gles3/functional/
Des3fPolygonOffsetTests.cpp161 …tCtx, glu::RenderContext& renderCtx, const tcu::ConstPixelBufferAccess& testImage, const tcu::Cons… in verifyImages() argument
168 tcu::Surface diffMask (testImage.getWidth(), testImage.getHeight()); in verifyImages()
170 …faultyPixels = compareImages(log, renderCtx, referenceImage, testImage, diffMask.getAccess(), kern… in verifyImages()
175 log << TestLog::Image("Test image", "Test image", testImage); in verifyImages()
365 tcu::Surface testImage (m_targetSize, m_targetSize); in testPolygonOffset() local
417 glu::readPixels(m_context.getRenderContext(), 0, 0, testImage.getAccess()); in testPolygonOffset()
454 …verifyImages(log, m_testCtx, m_context.getRenderContext(), testImage.getAccess(), referenceImage.g… in testPolygonOffset()
496 tcu::Surface testImage (m_targetSize, m_targetSize); in testPolygonOffset() local
571 glu::readPixels(m_context.getRenderContext(), 0, 0, testImage.getAccess()); in testPolygonOffset()
579 …verifyImages(log, m_testCtx, m_context.getRenderContext(), testImage.getAccess(), referenceImage.g… in testPolygonOffset()
[all …]
/external/OpenCL-CTS/test_conformance/api/
Dtest_mem_objects.cpp96 clMemWrapper testBuffer, testImage; in test_mem_object_destructor_callback() local
113 testImage = create_image_2d(context, CL_MEM_READ_ONLY, &imageFormat, 16, in test_mem_object_destructor_callback()
117 if (test_mem_object_destructor_callback_single(testImage) != TEST_PASS) in test_mem_object_destructor_callback()
/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/
DAndroidVideoDecoderInstrumentationTest.java94 public void assertFrameDecoded(EncodedImage testImage, VideoFrame.I420Buffer testBuffer) { in assertFrameDecoded() argument
97 assertEquals(testImage.encodedWidth, decodedBuffer.getWidth()); in assertFrameDecoded()
98 assertEquals(testImage.encodedHeight, decodedBuffer.getHeight()); in assertFrameDecoded()
101 assertEquals(testImage.captureTimeNs / 1000, decodedFrame.getTimestampNs() / 1000); in assertFrameDecoded()
102 assertEquals(testImage.rotation, decodedFrame.getRotation()); in assertFrameDecoded()
/external/skqp/gm/
Dimage_shader.cpp100 void testImage(SkCanvas* canvas, SkImage* image) { in testImage() function in ImageShaderGM
122 this->testImage(canvas, image.get()); in onDraw()
/external/skia/gm/
Dimage_shader.cpp125 void testImage(SkCanvas* canvas, SkImage* image) { in testImage() function in ImageShaderGM
147 this->testImage(canvas, image.get()); in onDraw()
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/
DvktFragmentOperationsEarlyFragmentTests.cpp345 …const Unique<VkImage> testImage (makeImage(vk, device, makeImageCreateInfo(renderSize, testFo… in iterate() local
346 …const UniquePtr<Allocation> testImageAlloc (bindImage(vk, device, allocator, *testImage, Memory… in iterate()
347 …const Unique<VkImageView> testImageView (makeImageView(vk, device, *testImage, VK_IMAGE_VIEW_TY… in iterate()
442 *testImage, testSubresourceRange), in iterate()
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrFilteringTests.cpp328 const Unique<VkImage> testImage (createImage(imageSize.x(), imageSize.y())); in iterate() local
329 …ateAndBindImageMemory(m_vkd, m_device, m_context.getDefaultAllocator(), *testImage, m_format, 0u)); in iterate()
330 const Unique<VkImageView> imageView (createImageView(samplerConvInfo, *testImage)); in iterate()
339 *testImage, in iterate()
/external/deqp/external/openglcts/modules/gl/
Dgl4cShaderSubroutineTests.hpp722 bool testImage();
Dgl4cShaderSubroutineTests.cpp5894 if (false == testImage()) in iterate()
6142 bool FunctionalTest12::testImage() in testImage() function in gl4cts::ShaderSubroutine::FunctionalTest12