Lines Matching refs:dr
329 DiffRecord dr; in tool_main() local
331 &dr); in tool_main()
333 if (DiffResource::isStatusFailed(dr.fBase.fStatus)) { in tool_main()
334 printf("Base %s.\n", DiffResource::getStatusDescription(dr.fBase.fStatus)); in tool_main()
336 if (DiffResource::isStatusFailed(dr.fComparison.fStatus)) { in tool_main()
337 printf("Comparison %s.\n", DiffResource::getStatusDescription(dr.fComparison.fStatus)); in tool_main()
339 printf("Base and Comparison %s.\n", DiffRecord::getResultDescription(dr.fResult)); in tool_main()
341 if (DiffRecord::kDifferentPixels_Result == dr.fResult) { in tool_main()
342 printf("%.4f%% of pixels differ", 100 * dr.fFractionDifference); in tool_main()
343 printf(" (%.4f%% weighted)", 100 * dr.fWeightedFraction); in tool_main()
344 if (dr.fFractionDifference < 0.01) { in tool_main()
345 printf(" %d pixels", static_cast<int>(dr.fFractionDifference * in tool_main()
346 dr.fBase.fBitmap.width() * in tool_main()
347 dr.fBase.fBitmap.height())); in tool_main()
351 printf("%d", static_cast<int>(MAX3(dr.fAverageMismatchR, in tool_main()
352 dr.fAverageMismatchG, in tool_main()
353 dr.fAverageMismatchB))); in tool_main()
355 printf("%d", MAX3(dr.fMaxMismatchR, in tool_main()
356 dr.fMaxMismatchG, in tool_main()
357 dr.fMaxMismatchB)); in tool_main()
363 if (failOnResultType[dr.fResult]) { in tool_main()
366 if (failOnStatusType[dr.fBase.fStatus][dr.fComparison.fStatus]) { in tool_main()