Lines Matching defs:bitmap
235 static void setup_bitmap(SkBitmap* bitmap, int width, int height, SkColor color = SK_ColorWHITE) {
236 bitmap->allocN32Pixels(width, height);
237 bitmap->eraseColor(color);
377 SkBitmap* bitmap = new SkBitmap();
383 // Is there a faster way to load the uncompressed stream into a bitmap?
402 bitmap->installPixels(info, uncompressedStreamArgb, info.minRowBytes());
419 bitmap->installPixels(info, uncompressedStreamA8, info.minRowBytes(),
425 return bitmap;
515 SkBitmap* bitmap = new SkBitmap();
516 SkImageDecoder::DecodeMemory(uncompressedStream, uncompressedStreamLength, bitmap);
517 return bitmap;
522 SkBitmap* bitmap = new SkBitmap();
526 bitmap->installPixels(info, (void*)uncompressedStream, info.minRowBytes(), colorTable,
528 return bitmap;
538 SkBitmap* bitmap = transferImageStreamToBitmap(
544 return bitmap;
551 SkBitmap* bitmap = getImageFromObjectCore(pdfContext, image, transparencyMask);
552 image->setData(bitmap, SkPdfNativeObject::kBitmap_Data);