Home
last modified time | relevance | path

Searched refs:max_allowed_diff (Results 1 – 1 of 1) sorted by relevance

/external/webp/src/mux/
Danim_encode.c355 int length, int max_allowed_diff) { in ComparePixelsLossless() argument
356 (void)max_allowed_diff; in ComparePixelsLossless()
371 int max_allowed_diff) { in PixelsAreSimilar() argument
382 (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() argument
394 if (!PixelsAreSimilar(*src, *dst, max_allowed_diff)) { in ComparePixelsLossy()
422 const int max_allowed_diff = is_lossless ? 0 : max_allowed_diff_lossy; in MinimizeChangeRectangle() local
436 rect->height_, max_allowed_diff)) { in MinimizeChangeRectangle()
[all …]