Lines Matching refs:referenceBitmap
284 SkBitmap* referenceBitmap = NULL;
300 &referenceBitmap);
302 if (!success || NULL == referenceBitmap || NULL == referenceBitmap->getPixels()) {
305 SkDELETE(referenceBitmap);
309 if (success && (bitmap->width() != referenceBitmap->width())) {
311 referenceBitmap->width(), bitmap->width());
313 SkDELETE(referenceBitmap);
316 if (success && (bitmap->height() != referenceBitmap->height())) {
318 referenceBitmap->height(), bitmap->height());
320 SkDELETE(referenceBitmap);
326 int diff = MaxByteDiff(*referenceBitmap->getAddr32(x, y),
335 *referenceBitmap->getAddr32(x, y),
338 SkDELETE(referenceBitmap);
343 SkDELETE(referenceBitmap);