Searched refs:pixels_different (Results 1 – 1 of 1) sorted by relevance
109 float CalculateDifferencePercentage(const Image& actual, int pixels_different) { in CalculateDifferencePercentage() argument118 return 100.0f * pixels_different / total_pixels; in CalculateDifferencePercentage()123 int* pixels_different) { in CountImageSizeMismatchAsPixelDifference() argument131 *pixels_different += (max_w - w) * h; in CountImageSizeMismatchAsPixelDifference()133 *pixels_different += (max_h - h) * max_w; in CountImageSizeMismatchAsPixelDifference()141 int pixels_different = 0; in PercentageDifferent() local145 ++pixels_different; in PercentageDifferent()149 CountImageSizeMismatchAsPixelDifference(baseline, actual, &pixels_different); in PercentageDifferent()150 return CalculateDifferencePercentage(actual, pixels_different); in PercentageDifferent()171 int pixels_different = 0; in HistogramPercentageDifferent() local[all …]