/external/skia/tests/ |
ImageDecodingTest.cpp | 70 SkBitmap bm8888; local 86 bool success = decoder->decode(&stream, &bm8888, SkBitmap::kARGB_8888_Config, 105 bool dimensionsMatch = bm8888.width() == bm8888Unpremul.width() 106 && bm8888.height() == bm8888Unpremul.height(); 113 if (bm8888.config() != SkBitmap::kARGB_8888_Config 119 for (int i = 0; i < bm8888.width(); ++i) { 120 for (int j = 0; j < bm8888.height(); ++j) { 122 const SkPMColor c0 = *bm8888.getAddr32(i, j);
|
JpegTest.cpp | 426 SkBitmap bm8888; local 428 static_cast<void *>(goodJpegImage), len, &bm8888); 430 REPORTER_ASSERT(reporter, bm8888.width() == goodJpegImageWidth); 431 REPORTER_ASSERT(reporter, bm8888.height() == goodJpegImageHeight); 432 REPORTER_ASSERT(reporter, !(bm8888.empty())); 436 REPORTER_ASSERT(reporter, bm8888.getColor(7, 9) == 0xffffffff); 437 REPORTER_ASSERT(reporter, bm8888.getColor(28, 3) == 0xff000000); 438 REPORTER_ASSERT(reporter, bm8888.getColor(27, 34) == 0xffffffff); 439 REPORTER_ASSERT(reporter, bm8888.getColor(71, 18) == 0xff000000); 442 REPORTER_ASSERT(reporter, bm8888.getColor(127, 127) == SK_ColorWHITE) [all...] |
/external/chromium_org/third_party/skia/src/images/ |
SkDecodingImageGenerator.cpp | 184 SkBitmap bm8888; local 185 bitmap.copyTo(&bm8888, SkBitmap::kARGB_8888_Config, &allocator);
|
/external/skia/src/images/ |
SkDecodingImageGenerator.cpp | 184 SkBitmap bm8888; local 185 bitmap.copyTo(&bm8888, SkBitmap::kARGB_8888_Config, &allocator);
|
/external/skia/tools/ |
skimage_main.cpp | 174 SkBitmap bm8888; local 175 if (!bm.copyTo(&bm8888, SkBitmap::kARGB_8888_Config)) { 178 return SkImageEncoder::EncodeFile(filename.c_str(), bm8888, SkImageEncoder::kPNG_Type, 100); [all...] |
/external/skia/tools/skpdiff/ |
SkPMetric.cpp | 127 SkBitmap bm8888; 129 if (!bitmap->copyTo(&bm8888, SkBitmap::kARGB_8888_Config)) { 132 bitmap = &bm8888;
|