Lines Matching full:actual
147 float PercentageDifferent(const Image& baseline, const Image& actual) {
148 int w = std::min(baseline.w(), actual.w());
149 int h = std::min(baseline.h(), actual.h());
155 if (baseline.pixel_at(x, y) != actual.pixel_at(x, y))
161 int max_w = std::max(baseline.w(), actual.w());
162 int max_h = std::max(baseline.h(), actual.h());
169 // of the size of the 'actual' bitmap.
170 float total_pixels = static_cast<float>(actual.w()) *
171 static_cast<float>(actual.h());
181 float HistogramPercentageDifferent(const Image& baseline, const Image& actual) {
186 int w = std::min(baseline.w(), actual.w());
187 int h = std::min(baseline.h(), actual.h());
202 uint32 actual_rgba = actual.pixel_at(x, y);
212 int max_w = std::max(baseline.w(), actual.w());
213 int max_h = std::max(baseline.h(), actual.h());
220 // of the size of the 'actual' bitmap.
221 float total_pixels = static_cast<float>(actual.w()) *
222 static_cast<float>(actual.h());