Lines Matching refs:lhs
162 const DiffRecord* lhs = reinterpret_cast<DiffRecord const *>(untyped_lhs);
167 if (lhs->fResult != rhs->fResult) {
168 return (lhs->fResult < rhs->fResult) ? 1 : -1;
172 int result = T::comparePixels(lhs, rhs);
179 return strcmp(lhs->fBase.fFilename.c_str(), rhs->fBase.fFilename.c_str());
186 static int comparePixels(const DiffRecord* lhs, const DiffRecord* rhs) {
187 if (lhs->fFractionDifference < rhs->fFractionDifference) {
190 if (rhs->fFractionDifference < lhs->fFractionDifference) {
199 static int comparePixels(const DiffRecord* lhs, const DiffRecord* rhs) {
200 if (lhs->fWeightedFraction < rhs->fWeightedFraction) {
203 if (lhs->fWeightedFraction > rhs->fWeightedFraction) {
214 static int comparePixels(const DiffRecord* lhs, const DiffRecord* rhs) {
215 float leftValue = MAX3(lhs->fAverageMismatchR,
216 lhs->fAverageMismatchG,
217 lhs->fAverageMismatchB);
235 static int comparePixels(const DiffRecord* lhs, const DiffRecord* rhs) {
236 uint32_t leftValue = MAX3(lhs->fMaxMismatchR,
237 lhs->fMaxMismatchG,
238 lhs->fMaxMismatchB);
249 return CompareDiffMeanMismatches::comparePixels(lhs, rhs);