Home | History | Annotate | Download | only in tools

Lines Matching defs:referenceBitmap

275         SkBitmap* referenceBitmap = NULL;
291 &referenceBitmap);
293 if (!success || NULL == referenceBitmap || NULL == referenceBitmap->getPixels()) {
296 SkDELETE(referenceBitmap);
300 if (success && (bitmap->width() != referenceBitmap->width())) {
302 referenceBitmap->width(), bitmap->width());
304 SkDELETE(referenceBitmap);
307 if (success && (bitmap->height() != referenceBitmap->height())) {
309 referenceBitmap->height(), bitmap->height());
311 SkDELETE(referenceBitmap);
317 int diff = MaxByteDiff(*referenceBitmap->getAddr32(x, y),
326 *referenceBitmap->getAddr32(x, y),
329 SkDELETE(referenceBitmap);
334 SkDELETE(referenceBitmap);