Home
last modified time | relevance | path

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

123

/third_party/python/Lib/tkinter/test/test_tkinter/
Dtest_images.py286 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/
Dimage_unittest.cc82 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/
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()
/third_party/glslang/Test/baseResults/
Dspv.paramMemory.420.frag.out29 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/
Dlarge_functions_large_diffs_autogen.cpp54 OpName %128 "image2"
274 OpName %63 "image2"
509 OpName %128 "image2" in TEST()
Dlarge_functions_small_diffs_autogen.cpp279 OpName %128 "image2"
517 +OpName %138 "image2" in TEST()
Dlarge_functions_large_diffs_dst.spvasm19 OpName %63 "image2"
Dlarge_functions_small_diffs_dst.spvasm28 OpName %128 "image2"
Dlarge_functions_large_diffs_src.spvasm29 OpName %128 "image2"
/third_party/skia/docs/examples/
DImage_MakeFromBitmap.cpp18 sk_sp<SkImage> image2 = bitmap.asImage(); in draw() local
22 canvas->drawImage(image2, 10, 0); in draw()
/third_party/flutter/skia/docs/examples/
DImage_MakeFromBitmap.cpp18 sk_sp<SkImage> image2 = SkImage::MakeFromBitmap(bitmap); in draw() local
22 canvas->drawImage(image2, 10, 0); in draw()
/third_party/glslang/Test/
Dspv.paramMemory.420.frag7 readonly uniform layout(set = 0, binding = 2) image2D image2;
27 vec4 read2 = image_load(image2, in_coords);
Dspv.paramMemory.frag4 // 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/
DSurfaceTest.cpp343 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/
DSurfaceTest.cpp356 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/
Dfate-run.sh311 …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/
Dgstttmlrender.c195 (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/
Dobscured_animated_image_test.dart33 final ui.Image image2 = renderImage.image;
34 expect(image1, isNot(same(image2)));
/third_party/flutter/skia/gm/
Dsurface.cpp159 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/
Dtypes_test.cpp139 auto* image2 = types.back().get(); in TEST() local
146 types.emplace_back(new SampledImage(image2)); in TEST()
/third_party/skia/gm/
Dsurface.cpp162 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/
Dtypes_test.cpp167 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/
Dtypes_test.cpp167 auto* image2 = types.back().get(); local
174 types.emplace_back(new SampledImage(image2));
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcCompressedFormatTests.cpp1536 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/
Dtypes_test.cpp167 auto* image2 = types.back().get(); local
174 types.emplace_back(new SampledImage(image2));

123