/external/ImageMagick/coders/ |
D | mat.c | 484 Image *image2; in decompress_block() local 578 if( (image2 = AcquireImage(clone_info,exception))==NULL ) goto EraseFile; in decompress_block() 579 status = OpenBlob(clone_info,image2,ReadBinaryBlobMode,exception); in decompress_block() 582 DeleteImageFromList(&image2); in decompress_block() 591 return image2; in decompress_block() 875 Image *image, *image2=NULL, in ReadMATImage() local 911 image2 = (Image *) NULL; in ReadMATImage() 931 if ((image != image2) && (image2 != (Image *) NULL)) in ReadMATImage() 932 image2=DestroyImage(image2); in ReadMATImage() 965 if ((image != image2) && (image2 != (Image *) NULL)) in ReadMATImage() [all …]
|
D | wpg.c | 776 *image2; in ExtractPostscript() local 855 image2=ReadImage(clone_info,exception); in ExtractPostscript() 857 if (!image2) in ExtractPostscript() 861 CloseBlob(image2); in ExtractPostscript() 862 DestroyImageList(image2); in ExtractPostscript() 873 p=image2; in ExtractPostscript() 885 image2=(Image *) NULL; in ExtractPostscript() 904 AppendImageToList(&image,image2); in ExtractPostscript()
|
/external/webrtc/modules/desktop_capture/ |
D | differ_block.cc | 23 bool VectorDifference_C(const uint8_t* image1, const uint8_t* image2) { in VectorDifference_C() argument 24 return memcmp(image1, image2, kBlockSize * kBytesPerPixel) != 0; in VectorDifference_C() 29 bool VectorDifference(const uint8_t* image1, const uint8_t* image2) { in VectorDifference() argument 50 return diff_proc(image1, image2); in VectorDifference() 54 const uint8_t* image2, in BlockDifference() argument 58 if (VectorDifference(image1, image2)) { in BlockDifference() 62 image2 += stride; in BlockDifference() 67 bool BlockDifference(const uint8_t* image1, const uint8_t* image2, int stride) { in BlockDifference() argument 68 return BlockDifference(image1, image2, kBlockSize, stride); in BlockDifference()
|
D | differ_block.h | 27 bool VectorDifference(const uint8_t* image1, const uint8_t* image2); 32 const uint8_t* image2, 38 bool BlockDifference(const uint8_t* image1, const uint8_t* image2, int stride);
|
D | differ_vector_sse2.cc | 23 const uint8_t* image2) { in VectorDifference_SSE2_W16() argument 29 const __m128i* i2 = reinterpret_cast<const __m128i*>(image2); in VectorDifference_SSE2_W16() 55 const uint8_t* image2) { in VectorDifference_SSE2_W32() argument 61 const __m128i* i2 = reinterpret_cast<const __m128i*>(image2); in VectorDifference_SSE2_W32()
|
D | differ_vector_sse2.h | 23 const uint8_t* image2); 27 const uint8_t* image2);
|
/external/python/cpython2/Lib/lib-tk/test/test_tkinter/ |
D | test_images.py | 241 image2 = image.copy() 242 self.assertEqual(image2.width(), 16) 243 self.assertEqual(image2.height(), 16) 248 image2 = image.subsample(2, 3) 249 self.assertEqual(image2.width(), 8) 250 self.assertEqual(image2.height(), 6) 251 self.assertEqual(image2.get(2, 2), image.get(4, 6)) 253 image2 = image.subsample(2) 254 self.assertEqual(image2.width(), 8) 255 self.assertEqual(image2.height(), 8) [all …]
|
/external/python/cpython3/Lib/tkinter/test/test_tkinter/ |
D | test_images.py | 240 image2 = image.copy() 241 self.assertEqual(image2.width(), 16) 242 self.assertEqual(image2.height(), 16) 247 image2 = image.subsample(2, 3) 248 self.assertEqual(image2.width(), 8) 249 self.assertEqual(image2.height(), 6) 250 self.assertEqual(image2.get(2, 2), image.get(4, 6)) 252 image2 = image.subsample(2) 253 self.assertEqual(image2.width(), 8) 254 self.assertEqual(image2.height(), 8) [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 100 ReadPGM(fimage2, &image2, &h2, &w2); in main() 110 CalculateDiff(diff, image1, image2, h1, w1); in main() 113 DrawDiff(diff, image1, image2, h1, w1, fdiff); in main()
|
/external/angle/third_party/vulkan-deps/glslang/src/Test/baseResults/ |
D | spv.paramMemory.420.frag.out | 29 Name 41 "image2" 48 Decorate 41(image2) DescriptorSet 0 49 Decorate 41(image2) Binding 2 50 Decorate 41(image2) NonWritable 74 41(image2): 8(ptr) Variable UniformConstant 103 44: 12(fvec4) FunctionCall 16(image_load(I21;vi2;) 41(image2) 42(param)
|
/external/deqp-deps/glslang/Test/baseResults/ |
D | spv.paramMemory.420.frag.out | 29 Name 41 "image2" 48 Decorate 41(image2) DescriptorSet 0 49 Decorate 41(image2) Binding 2 50 Decorate 41(image2) NonWritable 74 41(image2): 8(ptr) Variable UniformConstant 103 44: 12(fvec4) FunctionCall 16(image_load(I21;vi2;) 41(image2) 42(param)
|
/external/tensorflow/tensorflow/tools/android/test/jni/object_tracking/ |
D | image_utils.h | 180 const Image<float>& image2, in ImageCrossCorrelation() argument 182 SCHECK(image1.GetWidth() == image2.GetWidth() && in ImageCrossCorrelation() 183 image1.GetHeight() == image2.GetHeight(), in ImageCrossCorrelation() 186 image2.GetWidth(), image2.GetHeight()); in ImageCrossCorrelation() 190 const float* data2 = image2.data(); in ImageCrossCorrelation()
|
/external/skia/docs/examples/ |
D | Image_MakeFromBitmap.cpp | 18 sk_sp<SkImage> image2 = bitmap.asImage(); in draw() local 22 canvas->drawImage(image2, 10, 0); in draw()
|
/external/pdfium/testing/image_diff/ |
D | image_diff.cpp | 256 bool CreateImageDiff(const Image& image1, const Image& image2, Image* out) { in CreateImageDiff() argument 257 int w = std::min(image1.w(), image2.w()); in CreateImageDiff() 258 int h = std::min(image1.h(), image2.h()); in CreateImageDiff() 260 bool same = (image1.w() == image2.w()) && (image1.h() == image2.h()); in CreateImageDiff() 267 if (base_pixel != image2.pixel_at(x, y)) { in CreateImageDiff()
|
/external/ImageMagick/MagickCore/ |
D | layer.c | 167 const Image *image2,RectangleInfo *bounds,ExceptionInfo *exception) in IsBoundsCleared() argument 184 q=GetVirtualPixels(image2,bounds->x,bounds->y+y,bounds->width,1,exception); in IsBoundsCleared() 190 (GetPixelAlpha(image2,q) < (Quantum) (QuantumRange/2))) in IsBoundsCleared() 193 q+=GetPixelChannels(image2); in IsBoundsCleared() 614 const Image *image2,const LayerMethod method,ExceptionInfo *exception) in CompareImagesBounds() argument 637 GetPixelInfo(image2,&pixel2); in CompareImagesBounds() 641 q=GetVirtualPixels(image2,x,0,1,image2->rows,exception); in CompareImagesBounds() 647 GetPixelInfoPixel(image2,q,&pixel2); in CompareImagesBounds() 651 q+=GetPixelChannels(image2); in CompareImagesBounds() 671 q=GetVirtualPixels(image2,x,0,1,image2->rows,exception); in CompareImagesBounds() [all …]
|
/external/noto-fonts/scripts/ |
D | color_emoji_image_diff.py | 163 image2 = font2_cbdt[glyph2] if glyph2 and glyph2 in font2_cbdt else None 165 if not similar_img(image1, image2): 170 if image2: 172 image2.save(f)
|
/external/angle/third_party/vulkan-deps/glslang/src/Test/ |
D | spv.paramMemory.420.frag | 7 readonly uniform layout(set = 0, binding = 2) image2D image2; 27 vec4 read2 = image_load(image2, in_coords);
|
D | spv.paramMemory.frag | 4 // readonly uniform layout(set = 0, binding = 2) highp image2D image2; 24 highp vec4 read2 = vec4(0.5); // = image_load(image2, in_coords);
|
/external/deqp-deps/glslang/Test/ |
D | spv.paramMemory.frag | 4 // readonly uniform layout(set = 0, binding = 2) highp image2D image2; 24 highp vec4 read2 = vec4(0.5); // = image_load(image2, in_coords);
|
D | spv.paramMemory.420.frag | 7 readonly uniform layout(set = 0, binding = 2) image2D image2; 27 vec4 read2 = image_load(image2, in_coords);
|
/external/skqp/tests/ |
D | SurfaceTest.cpp | 350 sk_sp<SkImage> image2(surface->makeImageSnapshot()); in test_backend_unique_id() local 352 REPORTER_ASSERT(reporter, image0->uniqueID() != image2->uniqueID()); in test_backend_unique_id() 359 REPORTER_ASSERT(reporter, image2->uniqueID() != image3->uniqueID()); in test_backend_unique_id() 479 sk_sp<SkImage> image2(surface1->makeImageSnapshot()); in test_crbug263329() local 492 REPORTER_ASSERT(reporter, as_IB(image4)->getTexture() != as_IB(image2)->getTexture()); in test_crbug263329() 494 REPORTER_ASSERT(reporter, as_IB(image3)->getTexture() != as_IB(image2)->getTexture()); in test_crbug263329() 496 REPORTER_ASSERT(reporter, as_IB(image2)->getTexture() != as_IB(image1)->getTexture()); in test_crbug263329() 581 sk_sp<SkImage> image2 = surface->makeImageSnapshot(); in test_no_canvas2() local 582 sk_sp<SkImage> aur_image2(image2); in test_no_canvas2() 583 REPORTER_ASSERT(reporter, image1 != image2); in test_no_canvas2() [all …]
|
/external/skia/tests/ |
D | SurfaceTest.cpp | 345 sk_sp<SkImage> image2(surface->makeImageSnapshot()); in test_backend_unique_id() local 347 REPORTER_ASSERT(reporter, image0->uniqueID() != image2->uniqueID()); in test_backend_unique_id() 354 REPORTER_ASSERT(reporter, image2->uniqueID() != image3->uniqueID()); in test_backend_unique_id() 513 sk_sp<SkImage> image2(surface1->makeImageSnapshot()); in test_crbug263329() local 533 REPORTER_ASSERT(reporter, imageProxy(image4.get()) != imageProxy(image2.get())); in test_crbug263329() 535 REPORTER_ASSERT(reporter, imageProxy(image3.get()) != imageProxy(image2.get())); in test_crbug263329() 537 REPORTER_ASSERT(reporter, imageProxy(image2.get()) != imageProxy(image1.get())); in test_crbug263329() 618 sk_sp<SkImage> image2 = surface->makeImageSnapshot(); in test_no_canvas2() local 619 sk_sp<SkImage> aur_image2(image2); // NOLINT(performance-unnecessary-copy-initialization) in test_no_canvas2() 620 REPORTER_ASSERT(reporter, image1 != image2); in test_no_canvas2() [all …]
|
/external/skqp/gm/ |
D | surface.cpp | 139 sk_sp<SkImage> image2(surf2->makeImageSnapshot()); in onDraw() local 140 canvas->drawImage(image2.get(), 10 + SkIntToScalar(image->width()) + 10, 10, nullptr); in onDraw()
|
/external/tensorflow/tensorflow/python/ops/ |
D | image_ops_test.py | 4237 image2 = image_ops.decode_and_crop_jpeg(jpeg0, crop_window) 4241 image2.get_shape().as_list()) 4244 image1_crop, image2 = self.evaluate([image1_crop, image2]) 4245 self.assertAllEqual(image1_crop, image2) 4271 image2 = image_ops.decode_jpeg( 4273 jpeg0, image0, image1, image2 = self.evaluate( 4274 [jpeg0, image0, image1, image2]) 4280 self.assertLess(self.averageError(image1, image2), 0.02) 4292 image2 = image_ops.decode_jpeg( 4294 jpeg0, image0, image1, image2 = self.evaluate( [all …]
|
/external/skia/gm/ |
D | surface.cpp | 162 sk_sp<SkImage> image2(surf2->makeImageSnapshot()); in onDraw() local 163 canvas->drawImage(image2.get(), 10 + SkIntToScalar(image->width()) + 10, 10); in onDraw()
|