Home
last modified time | relevance | path

Searched refs:image0 (Results 1 – 15 of 15) 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)
59 image0 = image_ops.decode_image(gif0)
61 gif0, image0, image1 = self.evaluate([gif0, image0, image1])
63 self.assertEqual(image0.shape, shape)
64 self.assertAllEqual(image0, image1)
66 for frame_idx, frame in enumerate(image0):
89 image0 = image_ops.decode_image(jpeg0)
91 jpeg0, image0, image1 = self.evaluate([jpeg0, image0, image1])
[all …]
/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/skia/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.py3711 def averageError(self, image0, image1): argument
3712 self.assertEqual(image0.shape, image1.shape)
3713 image0 = image0.astype(int) # Avoid overflow
3714 return np.abs(image0 - image1).sum() / np.prod(image0.shape)
3722 image0 = image_ops.decode_jpeg(jpeg0)
3723 image1 = image_ops.decode_jpeg(image_ops.encode_jpeg(image0))
3724 jpeg0, image0, image1 = self.evaluate([jpeg0, image0, image1])
3726 self.assertEqual(image0.shape, (256, 128, 3))
3727 self.assertLess(self.averageError(image0, image1), 1.4)
3795 image0 = constant_op.constant(_SimpleColorRamp())
[all …]
/external/libxcam/modules/ocl/
Dcv_feature_match.cpp117 cv::InputArray image0, cv::InputArray image1, in calc_of_match() argument
123 cv::Size img0_size = image0.size (); in calc_of_match()
133 if (image0.isUMat ()) { in calc_of_match()
134 umat.create (size, image0.type ()); in calc_of_match()
137 image0.copyTo (umat (cv::Rect(0, 0, img0_size.width, img0_size.height))); in calc_of_match()
141 mat.create (size, image0.type ()); in calc_of_match()
144 image0.copyTo (mat (cv::Rect(0, 0, img0_size.width, img0_size.height))); in calc_of_match()
Dcv_feature_match.h64 void calc_of_match (cv::InputArray image0, cv::InputArray image1,
Dcl_pyramid_blender.cpp978 SmartPtr<CLImage> image0 = layer0.gauss_image[CLBlenderPlaneY][0]; in prepare_arguments() local
989 args.push_back (new CLMemArgument (image0)); in prepare_arguments()
/external/libxcam/modules/soft/
Dcv_capi_feature_match.cpp130 CvArr* image0, CvArr* image1, in calc_of_match() argument
136 CvSize img0_size = cvSize(((CvMat*)image0)->width, ((CvMat*)image0)->height); in calc_of_match()
149 mat.create (img0_size.height, img0_size.width + img1_size.width, ((CvMat*)image0)->type); in calc_of_match()
150 …debug_image = cvMat (img0_size.height, img0_size.width + img1_size.width, ((CvMat*)image0)->type, … in calc_of_match()
151 cv::cvarrToMat(image0, true).copyTo (mat (cv::Rect(0, 0, img0_size.width, img0_size.height))); in calc_of_match()
Dcv_capi_feature_match.h65 void calc_of_match (CvArr* image0, CvArr* image1,
/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.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/deqp/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationGeometryPassthroughTests.cpp580 …tcu::ConstPixelBufferAccess image0 = getPixelBufferAccess(vk, device, *colorBuffer[0], colorFormat… in iterate() local
595 …log, "ImageCompare", "Image comparison", image0, image1, colorThreshold, positionDeviation, ignore… in iterate()
/external/honggfuzz/examples/apache-httpd/corpus_http1/
Dc7f0aaa891af06e66febbe3fa0b2c0da.00003d38.honggfuzz.cov6 …=��ŸY���Z)�`v��e: text/html,apolication/xtQWxhZGRpbjpvcGVuIHNlc2FtZQ==9,image0: text���l,apolica…
D18b5d0a8c80c42db63ddd85b7e02ae8e.00005af7.honggfuzz.cov6 …=��ŸY���Z)�`v��e: text/html,apolication/xtQWxhZGRpbjpvcGVuIHNlc2FtZQ==9,image0: text���l,apolica…
/external/honggfuzz/examples/apache-httpd/corpus_http2/
D18b5d0a8c80c42db63ddd85b7e02ae8e.00005af7.honggfuzz.cov6 …=��ŸY���Z)�`v��e: text/html,apolication/xtQWxhZGRpbjpvcGVuIHNlc2FtZQ==9,image0: text���l,apolica…