Searched refs:pixels_different (Results 1 – 1 of 1) sorted by relevance
119 float CalculateDifferencePercentage(const Image& actual, int pixels_different) { in CalculateDifferencePercentage() argument128 return 100.0f * pixels_different / total_pixels; in CalculateDifferencePercentage()133 int* pixels_different) { in CountImageSizeMismatchAsPixelDifference() argument141 *pixels_different += (max_w - w) * h; in CountImageSizeMismatchAsPixelDifference()143 *pixels_different += (max_h - h) * max_w; in CountImageSizeMismatchAsPixelDifference()151 int pixels_different = 0; in PercentageDifferent() local155 ++pixels_different; in PercentageDifferent()159 CountImageSizeMismatchAsPixelDifference(baseline, actual, &pixels_different); in PercentageDifferent()160 return CalculateDifferencePercentage(actual, pixels_different); in PercentageDifferent()181 int pixels_different = 0; in HistogramPercentageDifferent() local[all …]