/third_party/python/Lib/tkinter/test/test_tkinter/ |
D | test_images.py | 286 image2 = image.copy() 287 self.assertEqual(image2.width(), 16) 288 self.assertEqual(image2.height(), 16) 293 image2 = image.subsample(2, 3) 294 self.assertEqual(image2.width(), 8) 295 self.assertEqual(image2.height(), 6) 296 self.assertEqual(image2.get(2, 2), image.get(4, 6)) 298 image2 = image.subsample(2) 299 self.assertEqual(image2.width(), 8) 300 self.assertEqual(image2.height(), 8) [all …]
|
/third_party/cef/tests/ceftests/ |
D | image_unittest.cc | 82 CefRefPtr<CefImage> image2 = CefImage::CreateImage(); in VerifySaveAsBitmap() local 83 EXPECT_TRUE(image2.get()); in VerifySaveAsBitmap() 84 EXPECT_TRUE(image2->AddBitmap(expected_scale_factor, pixel_width, in VerifySaveAsBitmap() 88 VerifyScaleExists(image2, expected_scale_factor, expected_scale_factor); in VerifySaveAsBitmap() 109 CefRefPtr<CefImage> image2 = CefImage::CreateImage(); in VerifySaveAsPNG() local 110 EXPECT_TRUE(image2.get()); in VerifySaveAsPNG() 111 EXPECT_TRUE(image2->AddPNG(expected_scale_factor, &data[0], data_size)); in VerifySaveAsPNG() 112 VerifyScaleExists(image2, expected_scale_factor, expected_scale_factor); in VerifySaveAsPNG() 133 CefRefPtr<CefImage> image2 = CefImage::CreateImage(); in VerifySaveAsJPEG() local 134 EXPECT_TRUE(image2.get()); in VerifySaveAsJPEG() [all …]
|
/third_party/skia/third_party/externals/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()
|
/third_party/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)
|
/third_party/spirv-tools/test/diff/diff_files/ |
D | large_functions_large_diffs_autogen.cpp | 54 OpName %128 "image2" 274 OpName %63 "image2" 509 OpName %128 "image2" in TEST()
|
D | large_functions_small_diffs_autogen.cpp | 279 OpName %128 "image2" 517 +OpName %138 "image2" in TEST()
|
D | large_functions_large_diffs_dst.spvasm | 19 OpName %63 "image2"
|
D | large_functions_small_diffs_dst.spvasm | 28 OpName %128 "image2"
|
D | large_functions_large_diffs_src.spvasm | 29 OpName %128 "image2"
|
/third_party/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()
|
/third_party/flutter/skia/docs/examples/ |
D | Image_MakeFromBitmap.cpp | 18 sk_sp<SkImage> image2 = SkImage::MakeFromBitmap(bitmap); in draw() local 22 canvas->drawImage(image2, 10, 0); in draw()
|
/third_party/glslang/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);
|
/third_party/skia/tests/ |
D | SurfaceTest.cpp | 343 sk_sp<SkImage> image2(surface->makeImageSnapshot()); in test_backend_unique_id() local 345 REPORTER_ASSERT(reporter, image0->uniqueID() != image2->uniqueID()); in test_backend_unique_id() 352 REPORTER_ASSERT(reporter, image2->uniqueID() != image3->uniqueID()); in test_backend_unique_id() 511 sk_sp<SkImage> image2(surface1->makeImageSnapshot()); in test_crbug263329() local 531 REPORTER_ASSERT(reporter, imageProxy(image4.get()) != imageProxy(image2.get())); in test_crbug263329() 533 REPORTER_ASSERT(reporter, imageProxy(image3.get()) != imageProxy(image2.get())); in test_crbug263329() 535 REPORTER_ASSERT(reporter, imageProxy(image2.get()) != imageProxy(image1.get())); in test_crbug263329() 616 sk_sp<SkImage> image2 = surface->makeImageSnapshot(); in test_no_canvas2() local 617 sk_sp<SkImage> aur_image2(image2); // NOLINT(performance-unnecessary-copy-initialization) in test_no_canvas2() 618 REPORTER_ASSERT(reporter, image1 != image2); in test_no_canvas2() [all …]
|
/third_party/flutter/skia/tests/ |
D | SurfaceTest.cpp | 356 sk_sp<SkImage> image2(surface->makeImageSnapshot()); in test_backend_unique_id() local 358 REPORTER_ASSERT(reporter, image0->uniqueID() != image2->uniqueID()); in test_backend_unique_id() 365 REPORTER_ASSERT(reporter, image2->uniqueID() != image3->uniqueID()); in test_backend_unique_id() 485 sk_sp<SkImage> image2(surface1->makeImageSnapshot()); in test_crbug263329() local 498 REPORTER_ASSERT(reporter, as_IB(image4)->getTexture() != as_IB(image2)->getTexture()); in test_crbug263329() 500 REPORTER_ASSERT(reporter, as_IB(image3)->getTexture() != as_IB(image2)->getTexture()); in test_crbug263329() 502 REPORTER_ASSERT(reporter, as_IB(image2)->getTexture() != as_IB(image1)->getTexture()); in test_crbug263329() 587 sk_sp<SkImage> image2 = surface->makeImageSnapshot(); in test_no_canvas2() local 588 sk_sp<SkImage> aur_image2(image2); in test_no_canvas2() 589 REPORTER_ASSERT(reporter, image1 != image2); in test_no_canvas2() [all …]
|
/third_party/ffmpeg/tests/ |
D | fate-run.sh | 311 …do_avconv $file -auto_conversion_filters $DEC_OPTS -f image2 -c:v pgmyuv -i $raw_src $DEC_OPTS -ar… 342 …run_avconv $DEC_OPTS -f image2 -c:v pgmyuv -i $raw_src $1 "$ENC_OPTS -metadata title=lavftest" -vf… 353 …do_avconv $file -auto_conversion_filters $DEC_OPTS -f image2 -c:v pgmyuv -i $raw_src -f image2pipe… 361 …do_avconv $file -auto_conversion_filters $DEC_OPTS -f image2 -c:v pgmyuv -i $raw_src "$ENC_OPTS -m… 379 run_avconv $DEC_OPTS -r 1 -f image2 -c:v pgmyuv -i $raw_src \ 391 ffmpeg $DEC_OPTS -f image2 -vcodec pgmyuv -i $raw_src \
|
/third_party/gstreamer/gstplugins_bad/ext/ttml/ |
D | gstttmlrender.c | 195 (GstTtmlRenderRenderedImage * image1, GstTtmlRenderRenderedImage * image2); 2332 GstTtmlRenderRenderedImage * image2) in gst_ttml_render_rendered_image_combine() argument 2339 if (!image1 && !image2) in gst_ttml_render_rendered_image_combine() 2341 if (image1 && !image2) in gst_ttml_render_rendered_image_combine() 2343 if (image2 && !image1) in gst_ttml_render_rendered_image_combine() 2344 return gst_ttml_render_rendered_image_copy (image2); in gst_ttml_render_rendered_image_combine() 2349 ret->x = MIN (image1->x, image2->x); in gst_ttml_render_rendered_image_combine() 2350 ret->y = MIN (image1->y, image2->y); in gst_ttml_render_rendered_image_combine() 2351 ret->width = MAX (image1->x + image1->width, image2->x + image2->width) in gst_ttml_render_rendered_image_combine() 2353 ret->height = MAX (image1->y + image1->height, image2->y + image2->height) in gst_ttml_render_rendered_image_combine() [all …]
|
/third_party/flutter/flutter/packages/flutter/test/widgets/ |
D | obscured_animated_image_test.dart | 33 final ui.Image image2 = renderImage.image; 34 expect(image1, isNot(same(image2)));
|
/third_party/flutter/skia/gm/ |
D | surface.cpp | 159 sk_sp<SkImage> image2(surf2->makeImageSnapshot()); in onDraw() local 160 canvas->drawImage(image2.get(), 10 + SkIntToScalar(image->width()) + 10, 10, nullptr); in onDraw()
|
/third_party/flutter/skia/third_party/externals/spirv-tools/test/opt/ |
D | types_test.cpp | 139 auto* image2 = types.back().get(); in TEST() local 146 types.emplace_back(new SampledImage(image2)); in TEST()
|
/third_party/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()
|
/third_party/skia/third_party/externals/spirv-tools/test/opt/ |
D | types_test.cpp | 167 auto* image2 = types.back().get(); local 174 types.emplace_back(new SampledImage(image2));
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/ |
D | types_test.cpp | 167 auto* image2 = types.back().get(); local 174 types.emplace_back(new SampledImage(image2));
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcCompressedFormatTests.cpp | 1536 const auto image2 = loadImage(archive, formatInfo.internalFormat, 2); in iterate() local 1542 image0.width == image2.width && in iterate() 1543 image0.height == image2.height); in iterate() 1597 …TEXTURE_2D, 0, formatInfo.sizedFormat, image2.width, image2.height, 0, formatInfo.format, GL_UNSIG… in iterate()
|
/third_party/spirv-tools/test/opt/ |
D | types_test.cpp | 167 auto* image2 = types.back().get(); local 174 types.emplace_back(new SampledImage(image2));
|