/external/tensorflow/tensorflow/python/kernel_tests/ |
D | decode_image_op_test.py | 43 image1 = image_ops.decode_bmp(bmp0) 44 bmp0, image0, image1 = self.evaluate([bmp0, image0, image1]) 46 self.assertAllEqual(image0, image1) 60 image1 = image_ops.decode_gif(gif0) 61 gif0, image0, image1 = self.evaluate([gif0, image0, image1]) 64 self.assertAllEqual(image0, image1) 90 image1 = image_ops.decode_jpeg(jpeg0) 91 jpeg0, image0, image1 = self.evaluate([jpeg0, image0, image1]) 94 self.assertAllEqual(image0, image1) 109 image1 = image_ops.decode_png(png0, channels=channels) [all …]
|
/external/brotli/research/ |
D | draw_diff.cc | 39 void CalculateDiff(int** diff, Image image1, Image image2, in CalculateDiff() argument 43 diff[i][j] = static_cast<int>(image1[i][j]) - image2[i][j]; in CalculateDiff() 48 void DrawDiff(int** diff, Image image1, Image image2, in DrawDiff() argument 56 int img_min = std::min(255 - image1[i][j], 255 - image2[i][j]); in DrawDiff() 69 int min_val = std::min(255 - image1[i][j], 255 - image2[i][j]); in DrawDiff() 92 Image image1, image2; in main() local 96 ReadPGM(fimage1, &image1, &h1, &w1); in main() 110 CalculateDiff(diff, image1, image2, h1, w1); in main() 113 DrawDiff(diff, image1, image2, h1, w1, fdiff); in main()
|
/external/vboot_reference/tests/bitmaps/ |
D | case_order2.yaml | 6 image1: Word.bmp 22 - [45, 45, image1 ] 25 - [45, 400, image1 ] 28 - [400, 400, image1 ] 31 - [400, 45, image1 ]
|
D | case_order1.yaml | 6 image1: Word.bmp 22 - [45, 45, image1 ] 25 - [45, 400, image1 ] 28 - [400, 400, image1 ] 31 - [400, 45, image1 ]
|
D | case_reuse.yaml | 6 image1: Word.bmp 22 - [45, 45, image1 ]
|
/external/toolchain-utils/crosperf/ |
D | experiment_file_unittest.py | 20 image1 { 42 image1 { 59 image1 { 63 image1 { 76 label: image1 { 104 self.assertEqual(label_settings[0].name, 'image1')
|
D | schedv2_unittest.py | 29 image1 { 49 image1 {{ 114 elif l.name == 'image1':
|
/external/webrtc/webrtc/modules/desktop_capture/ |
D | differ_block.cc | 21 bool BlockDifference_C(const uint8_t* image1, in BlockDifference_C() argument 27 if (memcmp(image1, image2, width_bytes) != 0) in BlockDifference_C() 29 image1 += stride; in BlockDifference_C() 35 bool BlockDifference(const uint8_t* image1, in BlockDifference() argument 58 return diff_proc(image1, image2, stride); in BlockDifference()
|
D | differ_block_sse2.cc | 24 extern bool BlockDifference_SSE2_W16(const uint8_t* image1, in BlockDifference_SSE2_W16() argument 32 const __m128i* i1 = reinterpret_cast<const __m128i*>(image1); in BlockDifference_SSE2_W16() 58 image1 += stride; in BlockDifference_SSE2_W16() 64 extern bool BlockDifference_SSE2_W32(const uint8_t* image1, in BlockDifference_SSE2_W32() argument 72 const __m128i* i1 = reinterpret_cast<const __m128i*>(image1); in BlockDifference_SSE2_W32() 114 image1 += stride; in BlockDifference_SSE2_W32()
|
D | differ_block_sse2.h | 22 extern bool BlockDifference_SSE2_W16(const uint8_t* image1, 27 extern bool BlockDifference_SSE2_W32(const uint8_t* image1,
|
/external/deqp-deps/glslang/Test/baseResults/ |
D | spv.paramMemory.frag.out | 25 Name 38 "image1" 43 Decorate 38(image1) DescriptorSet 0 44 Decorate 38(image1) Binding 0 45 Decorate 38(image1) Coherent 46 Decorate 38(image1) NonWritable 74 38(image1): 37(ptr) Variable UniformConstant 98 41: 12(fvec4) FunctionCall 16(image_load(I21;vi2;) 38(image1) 39(param)
|
/external/tensorflow/tensorflow/examples/android/jni/object_tracking/ |
D | image_utils.h | 180 inline float ImageCrossCorrelation(const Image<float>& image1, in ImageCrossCorrelation() argument 183 SCHECK(image1.GetWidth() == image2.GetWidth() && in ImageCrossCorrelation() 184 image1.GetHeight() == image2.GetHeight(), in ImageCrossCorrelation() 186 image1.GetWidth(), image1.GetHeight(), in ImageCrossCorrelation() 189 const int num_pixels = image1.GetWidth() * image1.GetHeight(); in ImageCrossCorrelation() 190 const float* data1 = image1.data(); in ImageCrossCorrelation()
|
/external/ImageMagick/MagickCore/ |
D | layer.c | 153 % MagickBooleanType IsBoundsCleared(const Image *image1, 158 % o image1, image 2: the images to check for cleared pixels 165 static MagickBooleanType IsBoundsCleared(const Image *image1, in IsBoundsCleared() argument 182 p=GetVirtualPixels(image1,bounds->x,bounds->y+y,bounds->width,1,exception); in IsBoundsCleared() 188 if ((GetPixelAlpha(image1,p) >= (Quantum) (QuantumRange/2)) && in IsBoundsCleared() 191 p+=GetPixelChannels(image1); in IsBoundsCleared() 577 % const Image *image1, const Image *image2, ExceptionInfo *exception) 584 % o image1, image2: the two images to compare. 590 static RectangleInfo CompareImagesBounds(const Image *image1, in CompareImagesBounds() argument 613 GetPixelInfo(image1,&pixel1); in CompareImagesBounds() [all …]
|
/external/pdfium/testing/image_diff/ |
D | image_diff.cpp | 235 bool CreateImageDiff(const Image& image1, const Image& image2, Image* out) { in CreateImageDiff() argument 236 int w = std::min(image1.w(), image2.w()); in CreateImageDiff() 237 int h = std::min(image1.h(), image2.h()); in CreateImageDiff() 238 *out = Image(image1); in CreateImageDiff() 239 bool same = (image1.w() == image2.w()) && (image1.h() == image2.h()); in CreateImageDiff() 245 uint32_t base_pixel = image1.pixel_at(x, y); in CreateImageDiff()
|
/external/tensorflow/tensorflow/python/ops/ |
D | image_ops_test.py | 3711 def averageError(self, image0, image1): argument 3712 self.assertEqual(image0.shape, image1.shape) 3714 return np.abs(image0 - image1).sum() / np.prod(image0.shape) 3723 image1 = image_ops.decode_jpeg(image_ops.encode_jpeg(image0)) 3724 jpeg0, image0, image1 = self.evaluate([jpeg0, image0, image1]) 3727 self.assertLess(self.averageError(image0, image1), 1.4) 3758 image1 = image_ops.decode_jpeg(jpeg0) 3760 image1_crop = image_ops.crop_to_bounding_box(image1, y, x, h, w) 3797 image1 = image_ops.decode_jpeg(jpeg0, dct_method="INTEGER_ACCURATE") 3799 image_ops.encode_jpeg(image1), dct_method="INTEGER_ACCURATE") [all …]
|
/external/libxcam/modules/ocl/ |
D | cv_feature_match.cpp | 117 cv::InputArray image0, cv::InputArray image1, in calc_of_match() argument 124 XCAM_ASSERT (img0_size.height == image1.rows ()); in calc_of_match() 125 XCAM_UNUSED (image1); in calc_of_match() 130 cv::Size img1_size = image1.size (); in calc_of_match() 138 image1.copyTo (umat (cv::Rect(img0_size.width, 0, img1_size.width, img1_size.height))); in calc_of_match() 145 image1.copyTo (mat (cv::Rect(img0_size.width, 0, img1_size.width, img1_size.height))); in calc_of_match()
|
/external/libxcam/modules/soft/ |
D | cv_capi_feature_match.cpp | 130 CvArr* image0, CvArr* image1, in calc_of_match() argument 137 XCAM_ASSERT (img0_size.height == ((CvMat*)image1)->height); in calc_of_match() 138 XCAM_UNUSED (image1); in calc_of_match() 147 CvSize img1_size = cvSize(((CvMat*)image1)->width, ((CvMat*)image1)->height); in calc_of_match() 152 …cv::cvarrToMat(image1, true).copyTo (mat (cv::Rect(img0_size.width, 0, img1_size.width, img1_size.… in calc_of_match()
|
/external/noto-fonts/scripts/ |
D | color_emoji_image_diff.py | 162 image1 = font1_cbdt[glyph1] if glyph1 and glyph1 in font1_cbdt else None 165 if not similar_img(image1, image2): 167 if image1: 169 image1.save(f)
|
/external/u-boot/arch/arm/dts/ |
D | tegra-u-boot.dtsi | 12 image1 { 22 /* Same as image1 - some tools still expect the -dtb suffix */
|
/external/deqp-deps/glslang/Test/ |
D | spv.paramMemory.frag | 3 readonly coherent uniform layout(set = 0, binding = 0, rgba32f) highp image2D image1; 23 highp vec4 read1 = image_load(image1, in_coords);
|
/external/toolchain-utils/ |
D | chromiumos_image_diff.py | 8 chromiumos_image_diff.py --image1 image-path-1 --image2 image-path-2 290 '--image1', 291 dest='image1', 312 for i, image_path in enumerate([options.image1, options.image2], start=1):
|
/external/skqp/tests/ |
D | EGLImageTest.cpp | 28 GrEGLImage image1) { in cleanup() argument 37 if (GR_EGL_NO_IMAGE != image1) { in cleanup() 38 glctx1->destroyEGLImage(image1); in cleanup()
|
D | SurfaceTest.cpp | 344 sk_sp<SkImage> image1(surface->makeImageSnapshot()); in test_backend_unique_id() local 346 REPORTER_ASSERT(reporter, image0->uniqueID() == image1->uniqueID()); in test_backend_unique_id() 476 sk_sp<SkImage> image1(surface1->makeImageSnapshot()); in test_crbug263329() local 493 REPORTER_ASSERT(reporter, as_IB(image4)->getTexture() != as_IB(image1)->getTexture()); in test_crbug263329() 495 REPORTER_ASSERT(reporter, as_IB(image3)->getTexture() != as_IB(image1)->getTexture()); in test_crbug263329() 496 REPORTER_ASSERT(reporter, as_IB(image2)->getTexture() != as_IB(image1)->getTexture()); in test_crbug263329() 578 sk_sp<SkImage> image1 = surface->makeImageSnapshot(); in test_no_canvas2() local 579 sk_sp<SkImage> aur_image1(image1); in test_no_canvas2() 583 REPORTER_ASSERT(reporter, image1 != image2); in test_no_canvas2()
|
/external/skia/tests/ |
D | EGLImageTest.cpp | 28 GrEGLImage image1) { in cleanup() argument 37 if (GR_EGL_NO_IMAGE != image1) { in cleanup() 38 glctx1->destroyEGLImage(image1); in cleanup()
|
/external/spirv-llvm/test/SPIRV/ |
D | image.ll | 15 define spir_kernel void @image_copy(%opencl.image2d_t addrspace(1)* readnone %image1, %opencl.image… 23 …d_imagef11ocl_image2d11ocl_samplerDv2_i(%opencl.image2d_t addrspace(1)* %image1, i32 20, <2 x i32>…
|