Lines Matching refs:DiffRecord
14 /*static*/ char const * const DiffRecord::ResultNames[DiffRecord::kResultCount] = {
23 DiffRecord::Result DiffRecord::getResultByName(const char *name) { in getResultByName()
24 for (int result = 0; result < DiffRecord::kResultCount; ++result) { in getResultByName()
25 if (0 == strcmp(DiffRecord::ResultNames[result], name)) { in getResultByName()
26 return static_cast<DiffRecord::Result>(result); in getResultByName()
29 return DiffRecord::kResultCount; in getResultByName()
32 static char const * const ResultDescriptions[DiffRecord::kResultCount] = {
41 const char* DiffRecord::getResultDescription(DiffRecord::Result result) { in getResultDescription()
158 void compute_diff(DiffRecord* dr, DiffMetricProc diffFunction, const int colorThreshold) { in compute_diff()
162 dr->fResult = DiffRecord::kDifferentSizes_Result; in compute_diff()
216 dr->fResult = DiffRecord::kEqualPixels_Result; in compute_diff()
219 dr->fResult = DiffRecord::kDifferentPixels_Result; in compute_diff()