Lines Matching refs:pm
93 SkPixmap pm(SkImageInfo::MakeN32Premul(img->width(), img->height()),
95 if (!img->readPixels(nullptr, pm, 0, 0)) {
108 auto total = pm.info().bytesPerPixel() * pm.width() * pm.height();
109 SkDebugf("Writing %d (%d x %d) bytes\n", total, pm.width(), pm.height());
112 uint32_t w = pm.width();
114 uint32_t h = pm.height();
116 sk_fwrite(pm.addr(), total, file);