Lines Matching refs:bm
18 SkBitmap bm;
19 if (!bm.tryAllocPixels(codec->getInfo())) {
24 auto result = codec->startIncrementalDecode(bm.info(), bm.getPixels(), bm.rowBytes());
36 if (rowsDecoded < bm.height()) {
37 void* dst = SkTAddOffset<void>(bm.getPixels(), rowsDecoded * bm.rowBytes());
38 sk_bzero(dst, (bm.height() - rowsDecoded) * bm.rowBytes());