Lines Matching full:dr
325 DiffRecord dr; in main() local
327 &dr); in main()
329 if (DiffResource::isStatusFailed(dr.fBase.fStatus)) { in main()
330 printf("Base %s.\n", DiffResource::getStatusDescription(dr.fBase.fStatus)); in main()
332 if (DiffResource::isStatusFailed(dr.fComparison.fStatus)) { in main()
333 printf("Comparison %s.\n", DiffResource::getStatusDescription(dr.fComparison.fStatus)); in main()
335 printf("Base and Comparison %s.\n", DiffRecord::getResultDescription(dr.fResult)); in main()
337 if (DiffRecord::kDifferentPixels_Result == dr.fResult) { in main()
338 printf("%.4f%% of pixels differ", 100 * dr.fFractionDifference); in main()
339 printf(" (%.4f%% weighted)", 100 * dr.fWeightedFraction); in main()
340 if (dr.fFractionDifference < 0.01) { in main()
341 printf(" %d pixels", static_cast<int>(dr.fFractionDifference * in main()
342 dr.fBase.fBitmap.width() * in main()
343 dr.fBase.fBitmap.height())); in main()
347 printf("%d", static_cast<int>(MAX3(dr.fAverageMismatchR, in main()
348 dr.fAverageMismatchG, in main()
349 dr.fAverageMismatchB))); in main()
351 printf("%d", MAX3(dr.fMaxMismatchR, in main()
352 dr.fMaxMismatchG, in main()
353 dr.fMaxMismatchB)); in main()
359 if (failOnResultType[dr.fResult]) { in main()
362 if (failOnStatusType[dr.fBase.fStatus][dr.fComparison.fStatus]) { in main()