Home
last modified time | relevance | path

Searched refs:image0 (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/python/kernel_tests/
Ddecode_image_op_test.py42 image0 = image_ops.decode_image(bmp0)
44 bmp0, image0, image1 = self.evaluate([bmp0, image0, image1])
46 self.assertAllEqual(image0, image1)
58 image0 = image_ops.decode_image(gif0)
60 gif0, image0, image1 = self.evaluate([gif0, image0, image1])
62 self.assertEqual(image0.shape, shape)
63 self.assertAllEqual(image0, image1)
65 for frame_idx, frame in enumerate(image0):
87 image0 = image_ops.decode_image(jpeg0)
89 jpeg0, image0, image1 = self.evaluate([jpeg0, image0, image1])
[all …]
/external/skia/gm/
Dlocalmatriximagefilter.cpp52 sk_sp<SkImage> image0(make_image(canvas));
67 const SkScalar spacer = image0->width() * 3.0f / 2;
74 show_image(canvas, image0.get(), filter);
78 show_image(canvas, image0.get(), std::move(localFilter));
/external/skqp/gm/
Dlocalmatriximagefilter.cpp50 sk_sp<SkImage> image0(make_image(canvas));
65 const SkScalar spacer = image0->width() * 3.0f / 2;
72 show_image(canvas, image0.get(), filter);
76 show_image(canvas, image0.get(), std::move(localFilter));
/external/tensorflow/tensorflow/python/ops/
Dimage_ops_test.py4185 def averageError(self, image0, image1): argument
4186 self.assertEqual(image0.shape, image1.shape)
4187 image0 = image0.astype(int) # Avoid overflow
4188 return np.abs(image0 - image1).sum() / np.prod(image0.shape)
4196 image0 = image_ops.decode_jpeg(jpeg0)
4197 image1 = image_ops.decode_jpeg(image_ops.encode_jpeg(image0))
4198 jpeg0, image0, image1 = self.evaluate([jpeg0, image0, image1])
4200 self.assertEqual(image0.shape, (256, 128, 3))
4201 self.assertLess(self.averageError(image0, image1), 1.4)
4268 image0 = constant_op.constant(simple_color_ramp())
[all …]
/external/deqp/external/vulkancts/modules/vulkan/binding_model/
DvktBindingDescriptorCopyTests.cpp2688 SampledImageDescriptor* image0 (new SampledImageDescriptor()); in addSampledImageCopyTests() local
2690 image0->addSampler(sampler); in addSampledImageCopyTests()
2693 commands->addDescriptor(DescriptorSp(image0), 0u); in addSampledImageCopyTests()
2709 SampledImageDescriptor* image0 (new SampledImageDescriptor(3u, 0u, 3u)); in addSampledImageCopyTests() local
2711 image0->addSampler(sampler, 3u); in addSampledImageCopyTests()
2715 commands->addDescriptor(DescriptorSp(image0), 0u); in addSampledImageCopyTests()
2737 SampledImageDescriptor* image0 (new SampledImageDescriptor()); in addMixedDescriptorCopyTests() local
2742 sampler0->addImage(image0); in addMixedDescriptorCopyTests()
2747 commands->addDescriptor(DescriptorSp(image0), 0u); // Set 0, binding 2 in addMixedDescriptorCopyTests()
/external/deqp/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationGeometryPassthroughTests.cpp595 …tcu::ConstPixelBufferAccess image0 = getPixelBufferAccess(vk, device, *colorBuffer[0], colorFormat… in iterate() local
610 …log, "ImageCompare", "Image comparison", image0, image1, colorThreshold, positionDeviation, ignore… in iterate()
/external/skqp/tests/
DSurfaceTest.cpp340 sk_sp<SkImage> image0(surface->makeImageSnapshot()); in test_backend_unique_id() local
346 REPORTER_ASSERT(reporter, image0->uniqueID() == image1->uniqueID()); in test_backend_unique_id()
352 REPORTER_ASSERT(reporter, image0->uniqueID() != image2->uniqueID()); in test_backend_unique_id()
358 REPORTER_ASSERT(reporter, image0->uniqueID() != image3->uniqueID()); in test_backend_unique_id()
/external/skia/tests/
DSurfaceTest.cpp335 sk_sp<SkImage> image0(surface->makeImageSnapshot()); in test_backend_unique_id() local
341 REPORTER_ASSERT(reporter, image0->uniqueID() == image1->uniqueID()); in test_backend_unique_id()
347 REPORTER_ASSERT(reporter, image0->uniqueID() != image2->uniqueID()); in test_backend_unique_id()
353 REPORTER_ASSERT(reporter, image0->uniqueID() != image3->uniqueID()); in test_backend_unique_id()