/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 | 213 SkBitmap bm0, bm1, bm2; in DEF_TEST() local 214 SkImage::MakeFromEncoded(data0)->asLegacyBitmap(&bm0); in DEF_TEST() 217 REPORTER_ASSERT(r, almost_equals(bm0, bm1, 60)); in DEF_TEST() 327 SkBitmap bm0, bm1, bm2; in DEF_TEST() local 328 SkImage::MakeFromEncoded(data0)->asLegacyBitmap(&bm0); in DEF_TEST() 331 REPORTER_ASSERT(r, almost_equals(bm0, bm1, 0)); in DEF_TEST() 332 REPORTER_ASSERT(r, almost_equals(bm0, bm2, 0)); in DEF_TEST() 426 SkBitmap bm0, bm1, bm2, bm3; in DEF_TEST() local 427 SkImage::MakeFromEncoded(data0)->asLegacyBitmap(&bm0); in DEF_TEST() 431 REPORTER_ASSERT(r, almost_equals(bm0, bm1, 0)); in DEF_TEST() [all …]
|
D | ImageTest.cpp | 1281 SkBitmap bm0; in DEF_TEST() local 1282 make_all_premul(&bm0); in DEF_TEST() 1284 auto img0 = bm0.asImage(); in DEF_TEST() 1292 REPORTER_ASSERT(reporter, equal(bm0, bm1)); in DEF_TEST() 1296 SkBitmap bm0; in DEF_TEST() local 1297 make_all_premul(&bm0); in DEF_TEST() 1301 bm0.readPixels(bm1.info(), bm1.getPixels(), bm1.rowBytes(), 0, 0); in DEF_TEST() 1307 REPORTER_ASSERT(reporter, equal(bm0, bm2)); in DEF_TEST()
|
/external/mtools/ |
D | dirCache.c | 83 addBit(cache->bm0, hash, checkOnly) && in _addHash() 155 memset( (*dcp)->bm0, 0, sizeof((*dcp)->bm0)); in allocDirCache()
|
D | dirCache.h | 34 unsigned int bm0[DC_BITMAP_SIZE]; member
|
/external/skia/tools/ |
D | ToolUtils.cpp | 460 bool equal_pixels(const SkBitmap& bm0, const SkBitmap& bm1) { in equal_pixels() argument 462 return bm0.peekPixels(&pm0) && bm1.peekPixels(&pm1) && equal_pixels(pm0, pm1); in equal_pixels()
|
/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/toolchain-utils/android_bench_suite/panorama_input/ |
D | test_003.ppm | 4597 OYJTPZ[f)bm0^h,HRMZQ^ _k4BM!%((-/4M-#��������������������������������������������������ɤ…
|