Searched refs:premulBm (Results 1 – 2 of 2) sorted by relevance
/external/skia/tests/ |
D | WebpTest.cpp | 31 SkBitmap premulBm, changeBm; in DEF_TEST() local 32 premulBm.allocPixels(premulInfo); in DEF_TEST() 38 auto result = codec->getPixels(premulBm.pixmap(), &options); in DEF_TEST() 61 REPORTER_ASSERT(r, ToolUtils::equal_pixels(premulBm, changeBm), "%s frame %i does not match" in DEF_TEST()
|
/external/skia/gm/ |
D | encode_platform.cpp | 111 SkBitmap opaqueBm, premulBm, unpremulBm; in onDraw() local 124 tmp.extractSubset(&premulBm, SkIRect::MakeWH(256, 256)); in onDraw() 126 unpremulBm.allocPixels(premulBm.info().makeAlphaType(kUnpremul_SkAlphaType)); in onDraw() 127 SkAssertResult(premulBm.readPixels(unpremulBm.pixmap())); in onDraw() 132 auto premulImage = SkImage::MakeFromEncoded(encode_data(fmt, premulBm, q)); in onDraw()
|