Searched refs:max_allowed_diff (Results 1 – 1 of 1) sorted by relevance
355 int length, int max_allowed_diff) { in ComparePixelsLossless() argument356 (void)max_allowed_diff; in ComparePixelsLossless()371 int max_allowed_diff) { in PixelsAreSimilar() argument382 (abs(src_r - dst_r) * dst_a <= (max_allowed_diff * 255)) && in PixelsAreSimilar()383 (abs(src_g - dst_g) * dst_a <= (max_allowed_diff * 255)) && in PixelsAreSimilar()384 (abs(src_b - dst_b) * dst_a <= (max_allowed_diff * 255)); in PixelsAreSimilar()391 int length, int max_allowed_diff) { in ComparePixelsLossy() argument394 if (!PixelsAreSimilar(*src, *dst, max_allowed_diff)) { in ComparePixelsLossy()422 const int max_allowed_diff = is_lossless ? 0 : max_allowed_diff_lossy; in MinimizeChangeRectangle() local436 rect->height_, max_allowed_diff)) { in MinimizeChangeRectangle()[all …]