Home | History | Annotate | Download | only in tests

Lines Matching defs:bitmap

129             // "c0" is the color of the premultiplied bitmap at (i, j).
132 // bitmap at (i, j).
340 // expected output for 8x8 bitmap
424 static SkPixelRef* install_pixel_ref(SkBitmap* bitmap,
427 SkASSERT(bitmap != NULL);
430 SkColorType colorType = bitmap->colorType();
433 SkDecodingImageGenerator::Create(stream, opts), bitmap)) {
434 return bitmap->pixelRef();
597 * client of the generator set sample size, dithering, and bitmap
671 SkBitmap bitmap;
674 encoded, SkDecodingImageGenerator::Options()), &bitmap)) {
680 if (kIndex_8_SkColorType != bitmap.colorType()) {
684 SkAutoLockPixels alp(bitmap);
685 REPORTER_ASSERT(r, bitmap.getColorTable() && "first pass");
688 SkAutoLockPixels alp(bitmap);
689 REPORTER_ASSERT(r, bitmap.getColorTable() && "second pass");
749 SkBitmap bitmap;
750 bool success = decoder->decode(stream, &bitmap, kRGB_565_SkColorType,