/external/brotli/research/ |
D | draw_diff.cc | 34 void CalculateDiff(int** diff, uint8_t** image1, uint8_t** image2, in CalculateDiff() argument 38 diff[i][j] = static_cast<int>(image1[i][j]) - image2[i][j]; in CalculateDiff() 43 void DrawDiff(int** diff, uint8_t** image1, uint8_t** image2, in DrawDiff() argument 51 int img_min = std::min(255 - image1[i][j], 255 - image2[i][j]); in DrawDiff() 64 int min_val = std::min(255 - image1[i][j], 255 - image2[i][j]); in DrawDiff() 87 uint8_t **image1, **image2; in main() local 91 ReadPGM(fimage1, &image1, &h1, &w1); in main() 105 CalculateDiff(diff, image1, image2, h1, w1); in main() 108 DrawDiff(diff, image1, image2, h1, w1, fdiff); in main()
|
D | README.md | 33 draw_diff image1.pgm image2.pgm diff.ppm
|
/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 | 21 image1 { 43 image1 { 60 image1 { 64 image1 { 77 label: image1 { 104 self.assertEqual(label_settings[0].name, 'image1')
|
D | schedv2_unittest.py | 29 image1 { 49 image1 {{ 115 elif l.name == 'image1':
|
D | experiment_runner_unittest.py | 42 image1 { 299 ': image1 vs. image2', 329 'john.smith@google.com'], ': image1 vs. image2', 356 (['john.smith@google.com'], ': image1 vs. image2',
|
D | crosperf_test.py | 22 image1 {
|
D | crosperf_unittest.py | 25 image1 {
|
D | mock_instance.py | 14 'image1',
|
D | benchmark_run_unittest.py | 51 'image1', 73 'image1',
|
D | experiment_factory_unittest.py | 32 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,
|
D | differ_block.h | 27 bool BlockDifference(const uint8_t* image1,
|
/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/samples/ |
D | image_diff.cc | 253 bool CreateImageDiff(const Image& image1, const Image& image2, Image* out) { in CreateImageDiff() argument 254 int w = std::min(image1.w(), image2.w()); in CreateImageDiff() 255 int h = std::min(image1.h(), image2.h()); in CreateImageDiff() 256 *out = Image(image1); in CreateImageDiff() 257 bool same = (image1.w() == image2.w()) && (image1.h() == image2.h()); in CreateImageDiff() 263 uint32_t base_pixel = image1.pixel_at(x, y); in CreateImageDiff()
|
/external/skia/tests/ |
D | SurfaceTest.cpp | 235 sk_sp<SkImage> image1(surface->makeImageSnapshot()); in test_backend_handle_unique_id() local 237 REPORTER_ASSERT(reporter, image0->uniqueID() == image1->uniqueID()); in test_backend_handle_unique_id() 386 sk_sp<SkImage> image1(surface1->makeImageSnapshot()); in test_crbug263329() local 403 REPORTER_ASSERT(reporter, as_IB(image4)->getTexture() != as_IB(image1)->getTexture()); in test_crbug263329() 405 REPORTER_ASSERT(reporter, as_IB(image3)->getTexture() != as_IB(image1)->getTexture()); in test_crbug263329() 406 REPORTER_ASSERT(reporter, as_IB(image2)->getTexture() != as_IB(image1)->getTexture()); in test_crbug263329() 498 sk_sp<SkImage> image1 = surface->makeImageSnapshot(); in test_no_canvas2() local 499 sk_sp<SkImage> aur_image1(image1); in test_no_canvas2() 500 SkDEBUGCODE(image1->validate();) in test_no_canvas2() 503 SkDEBUGCODE(image1->validate();) in test_no_canvas2() [all …]
|
D | EGLImageTest.cpp | 24 const GrGLTextureInfo* grbackendtex1, GrEGLImage image1) { in cleanup() argument 35 if (GR_EGL_NO_IMAGE != image1) { in cleanup() 36 glctx1->destroyEGLImage(image1); in cleanup()
|
/external/toolchain-utils/ |
D | chromiumos_image_diff.py | 8 chromiumos_image_diff.py --image1 image-path-1 --image2 image-path-2 269 parser.add_argument('--image1', dest='image1', default=None, 284 for i, image_path in enumerate([options.image1, options.image2], start=1):
|
/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>…
|
/external/pdfium/testing/tools/ |
D | gold.py | 129 open(os.path.join(testDir, "image1.png"), 'wb').close() 143 gr.AddTestResult("test-1", "hash-1", os.path.join(testDir, "image1.png"))
|
/external/python/cpython2/Lib/lib-tk/test/test_ttk/ |
D | test_widgets.py | 162 image = tkinter.PhotoImage(master=self.root, name='image1') 164 self.checkParam(widget, name, image, expected=('image1',)) 165 self.checkParam(widget, name, 'image1', expected=('image1',)) 166 self.checkParam(widget, name, (image,), expected=('image1',)) 168 expected=('image1', 'active', 'image2')) 169 self.checkParam(widget, name, 'image1 active image2', 170 expected=('image1', 'active', 'image2'))
|