Home
last modified time | relevance | path

Searched refs:image2 (Results 1 – 25 of 40) sorted by relevance

12

/external/ImageMagick/coders/
Dmat.c478 Image *image2; in decompress_block() local
572 if( (image2 = AcquireImage(clone_info,exception))==NULL ) goto EraseFile; in decompress_block()
573 status = OpenBlob(clone_info,image2,ReadBinaryBlobMode,exception); in decompress_block()
576 DeleteImageFromList(&image2); in decompress_block()
585 return image2; in decompress_block()
866 Image *image, *image2=NULL, in ReadMATImage() local
902 image2 = (Image *) NULL; in ReadMATImage()
922 if ((image != image2) && (image2 != (Image *) NULL)) in ReadMATImage()
923 image2=DestroyImage(image2); in ReadMATImage()
956 if ((image != image2) && (image2 != (Image *) NULL)) in ReadMATImage()
[all …]
Dwpg.c770 *image2; in ExtractPostscript() local
849 image2=ReadImage(clone_info,exception); in ExtractPostscript()
851 if (!image2) in ExtractPostscript()
855 CloseBlob(image2); in ExtractPostscript()
856 DestroyImageList(image2); in ExtractPostscript()
867 p=image2; in ExtractPostscript()
879 image2=(Image *) NULL; in ExtractPostscript()
898 AppendImageToList(&image,image2); in ExtractPostscript()
/external/python/cpython2/Lib/lib-tk/test/test_tkinter/
Dtest_images.py241 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/
Dtest_images.py240 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/
Ddraw_diff.cc39 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/webrtc/webrtc/modules/desktop_capture/
Ddiffer_block.cc22 const uint8_t* image2, in BlockDifference_C() argument
27 if (memcmp(image1, image2, width_bytes) != 0) in BlockDifference_C()
30 image2 += stride; in BlockDifference_C()
36 const uint8_t* image2, in BlockDifference() argument
58 return diff_proc(image1, image2, stride); in BlockDifference()
Ddiffer_block_sse2.cc25 const uint8_t* image2, in BlockDifference_SSE2_W16() argument
33 const __m128i* i2 = reinterpret_cast<const __m128i*>(image2); in BlockDifference_SSE2_W16()
59 image2 += stride; in BlockDifference_SSE2_W16()
65 const uint8_t* image2, in BlockDifference_SSE2_W32() argument
73 const __m128i* i2 = reinterpret_cast<const __m128i*>(image2); in BlockDifference_SSE2_W32()
115 image2 += stride; in BlockDifference_SSE2_W32()
Ddiffer_block_sse2.h23 const uint8_t* image2,
28 const uint8_t* image2,
Ddiffer_block.h28 const uint8_t* image2,
/external/deqp-deps/glslang/Test/baseResults/
Dspv.paramMemory.frag.out28 Name 45 "image2"
47 Decorate 45(image2) DescriptorSet 0
48 Decorate 45(image2) Binding 2
49 Decorate 45(image2) NonWritable
77 45(image2): 44(ptr) Variable UniformConstant
102 48: 12(fvec4) FunctionCall 16(image_load(I21;vi2;) 45(image2) 46(param)
/external/tensorflow/tensorflow/examples/android/jni/object_tracking/
Dimage_utils.h181 const Image<float>& image2, in ImageCrossCorrelation() argument
183 SCHECK(image1.GetWidth() == image2.GetWidth() && in ImageCrossCorrelation()
184 image1.GetHeight() == image2.GetHeight(), in ImageCrossCorrelation()
187 image2.GetWidth(), image2.GetHeight()); in ImageCrossCorrelation()
191 const float* data2 = image2.data(); in ImageCrossCorrelation()
/external/pdfium/testing/image_diff/
Dimage_diff.cpp235 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()
239 bool same = (image1.w() == image2.w()) && (image1.h() == image2.h()); in CreateImageDiff()
246 if (base_pixel != image2.pixel_at(x, y)) { in CreateImageDiff()
/external/ImageMagick/MagickCore/
Dlayer.c166 const Image *image2,RectangleInfo *bounds,ExceptionInfo *exception) in IsBoundsCleared() argument
183 q=GetVirtualPixels(image2,bounds->x,bounds->y+y,bounds->width,1,exception); in IsBoundsCleared()
189 (GetPixelAlpha(image2,q) < (Quantum) (QuantumRange/2))) in IsBoundsCleared()
192 q+=GetPixelChannels(image2); in IsBoundsCleared()
591 const Image *image2,const LayerMethod method,ExceptionInfo *exception) in CompareImagesBounds() argument
614 GetPixelInfo(image2,&pixel2); in CompareImagesBounds()
618 q=GetVirtualPixels(image2,x,0,1,image2->rows,exception); in CompareImagesBounds()
624 GetPixelInfoPixel(image2,q,&pixel2); in CompareImagesBounds()
628 q+=GetPixelChannels(image2); in CompareImagesBounds()
648 q=GetVirtualPixels(image2,x,0,1,image2->rows,exception); in CompareImagesBounds()
[all …]
/external/noto-fonts/scripts/
Dcolor_emoji_image_diff.py163 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/deqp-deps/glslang/Test/
Dspv.paramMemory.frag4 readonly uniform layout(set = 0, binding = 2, rgba16f) highp image2D image2;
24 highp vec4 read2 = image_load(image2, in_coords);
/external/skqp/tests/
DSurfaceTest.cpp350 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/
DSurfaceTest.cpp350 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/spirv-llvm/test/SPIRV/
Dimage.ll15 …opy(%opencl.image2d_t addrspace(1)* readnone %image1, %opencl.image2d_t addrspace(1)* %image2) #0 {
24 …_Z12write_imagef11ocl_image2dDv2_iDv4_f(%opencl.image2d_t addrspace(1)* %image2, <2 x i32> %vecini…
/external/u-boot/tools/binman/test/
D06_dual_image.dts14 image2 {
D22_image_name.dts15 image2 {
/external/u-boot/arch/arm/dts/
Dtegra-u-boot.dtsi23 image2 {
/external/skqp/gm/
Dsurface.cpp139 sk_sp<SkImage> image2(surf2->makeImageSnapshot()); in onDraw() local
140 canvas->drawImage(image2.get(), 10 + SkIntToScalar(image->width()) + 10, 10, nullptr); in onDraw()
/external/skia/gm/
Dsurface.cpp139 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/
Dimage_ops_test.py3763 image2 = image_ops.decode_and_crop_jpeg(jpeg0, crop_window)
3767 image2.get_shape().as_list())
3770 image1_crop, image2 = self.evaluate([image1_crop, image2])
3771 self.assertAllEqual(image1_crop, image2)
3798 image2 = image_ops.decode_jpeg(
3800 jpeg0, image0, image1, image2 = self.evaluate(
3801 [jpeg0, image0, image1, image2])
3807 self.assertLess(self.averageError(image1, image2), 0.02)
3819 image2 = image_ops.decode_jpeg(
3821 jpeg0, image0, image1, image2 = self.evaluate(
[all …]
/external/deqp-deps/SPIRV-Tools/test/opt/
Dtypes_test.cpp144 auto* image2 = types.back().get(); in GenerateAllTypes() local
151 types.emplace_back(new SampledImage(image2)); in GenerateAllTypes()

12