Lines Matching full:baseline
25 int SkDifferentPixelsMetric::queueDiff(SkBitmap* baseline, SkBitmap* test) {
36 if (baseline->width() != test->width() || baseline->height() != test->height() ||
37 baseline->width() <= 0 || baseline->height() <= 0 ||
38 baseline->config() != test->config()) {
43 int width = baseline->width();
44 int height = baseline->height();
48 baseline->lockPixels();
52 unsigned char* baselineRow = (unsigned char*)baseline->getAddr(0, y);
63 baseline->unlockPixels();