Home
last modified time | relevance | path

Searched refs:bm0 (Results 1 – 7 of 7) sorted by relevance

/external/skqp/tests/
DEncodeTest.cpp167 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 …]
DImageTest.cpp1257 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/
DEncodeTest.cpp211 SkBitmap bm0, bm1, bm2; in DEF_TEST() local
212 SkImage::MakeFromEncoded(data0)->asLegacyBitmap(&bm0); in DEF_TEST()
215 REPORTER_ASSERT(r, almost_equals(bm0, bm1, 60)); in DEF_TEST()
325 SkBitmap bm0, bm1, bm2; in DEF_TEST() local
326 SkImage::MakeFromEncoded(data0)->asLegacyBitmap(&bm0); in DEF_TEST()
329 REPORTER_ASSERT(r, almost_equals(bm0, bm1, 0)); in DEF_TEST()
330 REPORTER_ASSERT(r, almost_equals(bm0, bm2, 0)); in DEF_TEST()
424 SkBitmap bm0, bm1, bm2, bm3; in DEF_TEST() local
425 SkImage::MakeFromEncoded(data0)->asLegacyBitmap(&bm0); in DEF_TEST()
429 REPORTER_ASSERT(r, almost_equals(bm0, bm1, 0)); in DEF_TEST()
[all …]
DImageTest.cpp1237 SkBitmap bm0; in DEF_TEST() local
1238 make_all_premul(&bm0); in DEF_TEST()
1240 auto img0 = SkImage::MakeFromBitmap(bm0); in DEF_TEST()
1248 REPORTER_ASSERT(reporter, equal(bm0, bm1)); in DEF_TEST()
1252 SkBitmap bm0; in DEF_TEST() local
1253 make_all_premul(&bm0); in DEF_TEST()
1257 bm0.readPixels(bm1.info(), bm1.getPixels(), bm1.rowBytes(), 0, 0); in DEF_TEST()
1263 REPORTER_ASSERT(reporter, equal(bm0, bm2)); in DEF_TEST()
/external/skqp/tools/
Dsk_tool_utils.cpp392 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/
DToolUtils.cpp519 bool equal_pixels(const SkBitmap& bm0, const SkBitmap& bm1) { in equal_pixels() argument
521 return bm0.peekPixels(&pm0) && bm1.peekPixels(&pm1) && equal_pixels(pm0, pm1); in equal_pixels()
/external/toolchain-utils/android_bench_suite/panorama_input/
Dtest_003.ppm4597 OYJTPZ[f)bm0^h,HRMZQ^ _k4BM!%((-/4M-#��������������������������������������������������ɤ…