/third_party/boost/libs/gil/test/extension/io/ |
D | tiff_subimage_test.cpp | 45 bit_aligned_image1_type< n, gray_layout_t >::type img1, img2, img3; \ 49 read_image( filename_strip, img1, settings ); \ 52 BOOST_CHECK( equal_pixels( const_view( img1 ), const_view( img2 ))); \ 53 … BOOST_CHECK( equal_pixels( const_view( img1 ), subimage_view( view( img3 ), top_left, dim ))); \ 68 gray8_image_t img1, img2, img3; in BOOST_AUTO_TEST_CASE() local 75 read_image( tiff_in_GM + "tiger-minisblack-strip-08.tif", img1, settings ); in BOOST_AUTO_TEST_CASE() 79 BOOST_CHECK( equal_pixels( const_view( img1 ), const_view( img2 ))); in BOOST_AUTO_TEST_CASE() 80 BOOST_CHECK( equal_pixels( const_view( img1 ), subimage_view( view( img3 ), top_left, dim ))); in BOOST_AUTO_TEST_CASE() 85 gray16_image_t img1, img2, img3; in BOOST_AUTO_TEST_CASE() local 92 read_image( tiff_in_GM + "tiger-minisblack-strip-16.tif", img1, settings ); in BOOST_AUTO_TEST_CASE() [all …]
|
/third_party/boost/libs/gil/test/extension/io/tiff/ |
D | tiff_subimage_test.cpp | 43 gil::bit_aligned_image1_type<n, gil::gray_layout_t>::type img1, img2, img3; \ 47 gil::read_image(filename_strip, img1, settings); \ 50 BOOST_TEST(gil::equal_pixels(gil::const_view(img1), gil::const_view(img2))); \ 52 gil::const_view(img1), gil::subimage_view(gil::view(img3), top_left, dim))); \ 65 gil::gray8_image_t img1, img2, img3; in test_subimage_test_8() local 71 gil::read_image(tiff_in_GM + "tiger-minisblack-strip-08.tif", img1, settings); in test_subimage_test_8() 75 BOOST_TEST(gil::equal_pixels(gil::const_view(img1), gil::const_view(img2))); in test_subimage_test_8() 76 …BOOST_TEST(gil::equal_pixels(gil::const_view(img1), gil::subimage_view(gil::view(img3), top_left, … in test_subimage_test_8() 81 gil::gray16_image_t img1, img2, img3; in test_subimage_test_16() local 87 gil::read_image(tiff_in_GM + "tiger-minisblack-strip-16.tif", img1, settings); in test_subimage_test_16() [all …]
|
/third_party/flutter/skia/third_party/externals/libwebp/examples/ |
D | anim_diff.c | 131 static int CompareAnimatedImagePair(const AnimatedImage* const img1, in CompareAnimatedImagePair() argument 136 const int is_multi_frame_image = (img1->num_frames > 1); in CompareAnimatedImagePair() 139 ok = CompareValues(img1->canvas_width, img2->canvas_width, in CompareAnimatedImagePair() 141 ok = CompareValues(img1->canvas_height, img2->canvas_height, in CompareAnimatedImagePair() 143 ok = CompareValues(img1->num_frames, img2->num_frames, in CompareAnimatedImagePair() 151 if ((img1->format == ANIM_GIF && img1->loop_count == 65536 && in CompareAnimatedImagePair() 153 (img1->format == ANIM_WEBP && img1->loop_count == 65535 && in CompareAnimatedImagePair() 158 CompareValues(img1->loop_count, img2->loop_count, in CompareAnimatedImagePair() 160 ok = CompareBackgroundColor(img1->bgcolor, img2->bgcolor, in CompareAnimatedImagePair() 164 for (i = 0; i < img1->num_frames; ++i) { in CompareAnimatedImagePair() [all …]
|
/third_party/skia/third_party/externals/libwebp/examples/ |
D | anim_diff.c | 131 static int CompareAnimatedImagePair(const AnimatedImage* const img1, in CompareAnimatedImagePair() argument 136 const int is_multi_frame_image = (img1->num_frames > 1); in CompareAnimatedImagePair() 139 ok = CompareValues(img1->canvas_width, img2->canvas_width, in CompareAnimatedImagePair() 141 ok = CompareValues(img1->canvas_height, img2->canvas_height, in CompareAnimatedImagePair() 143 ok = CompareValues(img1->num_frames, img2->num_frames, in CompareAnimatedImagePair() 151 if ((img1->format == ANIM_GIF && img1->loop_count == 65536 && in CompareAnimatedImagePair() 153 (img1->format == ANIM_WEBP && img1->loop_count == 65535 && in CompareAnimatedImagePair() 158 CompareValues(img1->loop_count, img2->loop_count, in CompareAnimatedImagePair() 160 ok = CompareBackgroundColor(img1->bgcolor, img2->bgcolor, in CompareAnimatedImagePair() 164 for (i = 0; i < img1->num_frames; ++i) { in CompareAnimatedImagePair() [all …]
|
/third_party/flutter/skia/gm/ |
D | encode_alpha_jpeg.cpp | 71 auto img1 = encode_pixmap_and_make_image(src, SkJpegEncoder::AlphaOption::kBlendOnBlack); in onDraw() local 73 canvas->drawImage(img1, 0.0f, 100.0f); in onDraw() 79 img1 = encode_pixmap_and_make_image(src, SkJpegEncoder::AlphaOption::kBlendOnBlack); in onDraw() 81 canvas->drawImage(img1, 100.0f, 100.0f); in onDraw() 88 img1 = encode_pixmap_and_make_image(src, SkJpegEncoder::AlphaOption::kBlendOnBlack); in onDraw() 90 canvas->drawImage(img1, 200.0f, 100.0f); in onDraw() 96 img1 = encode_pixmap_and_make_image(src, SkJpegEncoder::AlphaOption::kBlendOnBlack); in onDraw() 98 canvas->drawImage(img1, 300.0f, 100.0f); in onDraw()
|
D | cgm.c | 73 sk_image_t* img1 = sk_image_new_from_encoded(data, NULL); in sk_test_c_api() local 76 if (img1) { in sk_test_c_api() 77 sk_canvas_draw_image(canvas, img1, W/2, H/2, NULL); in sk_test_c_api() 78 sk_image_unref(img1); in sk_test_c_api()
|
/third_party/skia/gm/ |
D | encode_alpha_jpeg.cpp | 71 auto img1 = encode_pixmap_and_make_image(src, SkJpegEncoder::AlphaOption::kBlendOnBlack); in onDraw() local 73 canvas->drawImage(img1, 0.0f, 100.0f); in onDraw() 79 img1 = encode_pixmap_and_make_image(src, SkJpegEncoder::AlphaOption::kBlendOnBlack); in onDraw() 81 canvas->drawImage(img1, 100.0f, 100.0f); in onDraw() 88 img1 = encode_pixmap_and_make_image(src, SkJpegEncoder::AlphaOption::kBlendOnBlack); in onDraw() 90 canvas->drawImage(img1, 200.0f, 100.0f); in onDraw() 96 img1 = encode_pixmap_and_make_image(src, SkJpegEncoder::AlphaOption::kBlendOnBlack); in onDraw() 98 canvas->drawImage(img1, 300.0f, 100.0f); in onDraw()
|
D | cgm.c | 73 sk_image_t* img1 = sk_image_new_from_encoded(data); in sk_test_c_api() local 76 if (img1) { in sk_test_c_api() 77 sk_canvas_draw_image(canvas, img1, W/2, H/2, NULL, NULL); in sk_test_c_api() 78 sk_image_unref(img1); in sk_test_c_api()
|
/third_party/ffmpeg/libavcodec/tests/ |
D | motion.c | 42 static uint8_t img1[WIDTH * HEIGHT]; variable 77 fill_random(img1, WIDTH * HEIGHT); in test_motion() 83 d1 = test_func(NULL, img1, ptr, WIDTH, 8); in test_motion() 84 d2 = ref_func(NULL, img1, ptr, WIDTH, 8); in test_motion() 100 d1 += test_func(NULL, img1, ptr, WIDTH, 8); in test_motion()
|
/third_party/skia/docs/examples/ |
D | skbug_5648.cpp | 10 auto img1 = bitmap.asImage(); in draw() local 11 SkDebugf("%u\n%u\n", img0->uniqueID(), img1->uniqueID()); in draw()
|
/third_party/skia/tests/ |
D | MipMapTest.cpp | 233 auto img1 = img->withDefaultMipmaps(); in DEF_TEST() local 234 REPORTER_ASSERT(reporter, img.get() != img1.get()); in DEF_TEST() 235 REPORTER_ASSERT(reporter, img1->hasMipmaps()); in DEF_TEST() 242 REPORTER_ASSERT(reporter, img1.get() != img2.get()); in DEF_TEST()
|
D | CanvasStateTest.cpp | 88 static void compare(skiatest::Reporter* reporter, SkImage* img0, SkImage* img1) { in compare() argument 97 write_image(img1, name.c_str()); in compare() 103 REPORTER_ASSERT(reporter, img1->peekPixels(&pm[1])); in compare()
|
D | TextBlobTest.cpp | 426 sk_sp<SkImage> img1 = render(blob1.get()); in DEF_TEST() local 427 if (img0 && img1) { in DEF_TEST() 428 REPORTER_ASSERT(reporter, ToolUtils::equal_pixels(img0.get(), img1.get())); in DEF_TEST()
|
D | SerializationTest.cpp | 713 sk_sp<SkImage> img1 = render(*readPict); in DEF_TEST() local 714 if (img0 && img1) { in DEF_TEST() 715 REPORTER_ASSERT(reporter, ToolUtils::equal_pixels(img0.get(), img1.get())); in DEF_TEST()
|
D | ImageTest.cpp | 1286 auto img1 = SkImage::MakeFromEncoded(data); in DEF_TEST() local 1290 img1->readPixels(nullptr, bm1.info(), bm1.getPixels(), bm1.rowBytes(), 0, 0); in DEF_TEST()
|
/third_party/ffmpeg/libavfilter/ |
D | vf_vmafmotion.c | 61 static uint64_t image_sad(const uint16_t *img1, const uint16_t *img2, int w, in image_sad() argument 64 ptrdiff_t img1_stride = _img1_stride / sizeof(*img1); in image_sad() 71 sum += abs(img1[j] - img2[j]); in image_sad() 73 img1 += img1_stride; in image_sad()
|
D | vmaf_motion.h | 30 uint64_t (*sad)(const uint16_t *img1, const uint16_t *img2, int w, int h,
|
/third_party/flutter/skia/tests/ |
D | TextBlobTest.cpp | 433 sk_sp<SkImage> img1 = render(blob1.get()); in DEF_TEST() local 434 if (img0 && img1) { in DEF_TEST() 435 REPORTER_ASSERT(reporter, ToolUtils::equal_pixels(img0.get(), img1.get())); in DEF_TEST()
|
D | SerializationTest.cpp | 586 sk_sp<SkImage> img1 = render(*readPict); in DEF_TEST() local 587 if (img0 && img1) { in DEF_TEST() 588 REPORTER_ASSERT(reporter, ToolUtils::equal_pixels(img0.get(), img1.get())); in DEF_TEST()
|
D | GrSurfaceTest.cpp | 777 auto img1 = surf->makeImageSnapshot(); in DEF_GPUTEST_FOR_ALL_CONTEXTS() local 789 surf->getCanvas()->drawImage(std::move(img1), 0, 0); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
|
D | ImageTest.cpp | 1240 auto img1 = SkImage::MakeFromEncoded(data); in DEF_TEST() local 1244 img1->readPixels(bm1.info(), bm1.getPixels(), bm1.rowBytes(), 0, 0); in DEF_TEST()
|
/third_party/uboot/u-boot-2020.01/board/hisilicon/hikey/ |
D | README | 98 > sudo python ~/hikey/src/hisi-idt.py -d /dev/ttyUSB0 --img1 ~/hikey/bin/recovery.bin
|
/third_party/ffmpeg/doc/ |
D | faq.texi | 155 For example, img1.jpg, img2.jpg, img3.jpg,...
|
/third_party/openGLES/extensions/ARB/ |
D | ARB_shader_image_load_store.txt | 1486 layout(rgba32f) uniform image2D img1; 1489 funcA(img1); // OK, adding "restrict" is allowed
|
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/ |
D | ARB_shader_image_load_store.txt | 1476 layout(rgba32f) uniform image2D img1; 1479 funcA(img1); // OK, adding "restrict" is allowed
|