/external/skqp/tests/ |
D | EncodeTest.cpp | 167 SkBitmap bm0, bm1, bm2; in DEF_TEST() local 168 SkImage::MakeFromEncoded(data0)->asLegacyBitmap(&bm0); in DEF_TEST() 171 REPORTER_ASSERT(r, almost_equals(bm0, bm1, 60)); in DEF_TEST() 281 SkBitmap bm0, bm1, bm2; in DEF_TEST() local 282 SkImage::MakeFromEncoded(data0)->asLegacyBitmap(&bm0); in DEF_TEST() 285 REPORTER_ASSERT(r, almost_equals(bm0, bm1, 0)); in DEF_TEST() 286 REPORTER_ASSERT(r, almost_equals(bm0, bm2, 0)); in DEF_TEST() 332 SkBitmap bm0, bm1, bm2, bm3; in DEF_TEST() local 333 SkImage::MakeFromEncoded(data0)->asLegacyBitmap(&bm0); in DEF_TEST() 337 REPORTER_ASSERT(r, almost_equals(bm0, bm1, 0)); in DEF_TEST() [all …]
|
D | ImageTest.cpp | 1257 SkBitmap bm0; in DEF_TEST() local 1258 make_all_premul(&bm0); in DEF_TEST() 1260 auto img0 = SkImage::MakeFromBitmap(bm0); in DEF_TEST() 1268 REPORTER_ASSERT(reporter, equal(bm0, bm1)); in DEF_TEST() 1272 SkBitmap bm0; in DEF_TEST() local 1273 make_all_premul(&bm0); in DEF_TEST() 1277 bm0.readPixels(bm1.info(), bm1.getPixels(), bm1.rowBytes(), 0, 0); in DEF_TEST() 1283 REPORTER_ASSERT(reporter, equal(bm0, bm2)); in DEF_TEST()
|
/external/skia/tests/ |
D | EncodeTest.cpp | 172 SkBitmap bm0, bm1, bm2; in DEF_TEST() local 173 SkImage::MakeFromEncoded(data0)->asLegacyBitmap(&bm0); in DEF_TEST() 176 REPORTER_ASSERT(r, almost_equals(bm0, bm1, 60)); in DEF_TEST() 286 SkBitmap bm0, bm1, bm2; in DEF_TEST() local 287 SkImage::MakeFromEncoded(data0)->asLegacyBitmap(&bm0); in DEF_TEST() 290 REPORTER_ASSERT(r, almost_equals(bm0, bm1, 0)); in DEF_TEST() 291 REPORTER_ASSERT(r, almost_equals(bm0, bm2, 0)); in DEF_TEST() 385 SkBitmap bm0, bm1, bm2, bm3; in DEF_TEST() local 386 SkImage::MakeFromEncoded(data0)->asLegacyBitmap(&bm0); in DEF_TEST() 390 REPORTER_ASSERT(r, almost_equals(bm0, bm1, 0)); in DEF_TEST() [all …]
|
D | ImageTest.cpp | 1257 SkBitmap bm0; in DEF_TEST() local 1258 make_all_premul(&bm0); in DEF_TEST() 1260 auto img0 = SkImage::MakeFromBitmap(bm0); in DEF_TEST() 1268 REPORTER_ASSERT(reporter, equal(bm0, bm1)); in DEF_TEST() 1272 SkBitmap bm0; in DEF_TEST() local 1273 make_all_premul(&bm0); in DEF_TEST() 1277 bm0.readPixels(bm1.info(), bm1.getPixels(), bm1.rowBytes(), 0, 0); in DEF_TEST() 1283 REPORTER_ASSERT(reporter, equal(bm0, bm2)); in DEF_TEST()
|
/external/skqp/tools/ |
D | sk_tool_utils.cpp | 392 bool equal_pixels(const SkBitmap& bm0, const SkBitmap& bm1) { in equal_pixels() argument 394 return bm0.peekPixels(&pm0) && bm1.peekPixels(&pm1) && equal_pixels(pm0, pm1); in equal_pixels()
|
/external/skia/tools/ |
D | sk_tool_utils.cpp | 393 bool equal_pixels(const SkBitmap& bm0, const SkBitmap& bm1) { in equal_pixels() argument 395 return bm0.peekPixels(&pm0) && bm1.peekPixels(&pm1) && equal_pixels(pm0, pm1); in equal_pixels()
|
/external/toolchain-utils/android_bench_suite/panorama_input/ |
D | test_003.ppm | 4597 OYJTPZ[f)bm0^h,HRMZQ^ _k4BM!%((-/4M-#��������������������������������������������������ɤ…
|