Lines Matching defs:bitmap
180 //Get the size of the bitmap.
187 //Exit early if we're only looking for the bitmap bounds.
213 piBitmapSourceOriginal.get() //Input bitmap to convert
230 //Copy the pixels into the bitmap.
307 const SkBitmap* bitmap;
310 bitmap = &bitmapOrig;
315 bitmap = &bitmapCopy;
319 if (!bitmap->isOpaque()) {
320 SkAutoLockPixels alp(*bitmap);
322 uint8_t* pixels = reinterpret_cast<uint8_t*>(bitmap->getPixels());
323 for (int y = 0; y < bitmap->height(); ++y) {
324 for (int x = 0; x < bitmap->width(); ++x) {
325 uint8_t* bytes = pixels + y * bitmap->rowBytes() + x * bitmap->bytesPerPixel();
399 const UINT width = bitmap->width();
400 const UINT height = bitmap->height();
418 SkAutoLockPixels alp(*bitmap);
419 const UINT stride = (UINT) bitmap->rowBytes();
424 , reinterpret_cast<BYTE*>(bitmap->getPixels()));