Home
last modified time | relevance | path

Searched refs:premulBm (Results 1 – 3 of 3) sorted by relevance

/external/skia/tests/
DWebpTest.cpp27 SkBitmap premulBm, changeBm; in DEF_TEST() local
28 premulBm.allocPixels(premulInfo); in DEF_TEST()
34 auto result = codec->getPixels(premulBm.pixmap(), &options); in DEF_TEST()
57 REPORTER_ASSERT(r, ToolUtils::equal_pixels(premulBm, changeBm), "%s frame %i does not match" in DEF_TEST()
/external/skqp/gm/
Dencode-platform.cpp85 SkBitmap opaqueBm, premulBm, unpremulBm; in onDraw() local
94 tmp.extractSubset(&premulBm, SkIRect::MakeWH(256, 256)); in onDraw()
96 unpremulBm.allocPixels(premulBm.info().makeAlphaType(kUnpremul_SkAlphaType)); in onDraw()
97 SkAssertResult(premulBm.readPixels(unpremulBm.pixmap())); in onDraw()
101 auto premulImage = SkImage::MakeFromEncoded(encode_data(type, premulBm)); in onDraw()
/external/skia/gm/
Dencode_platform.cpp111 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()