Skip to content

Commit 2745551

Browse files
tnikkelmoz-wptsync-bot
authored andcommitted
Adjust fuzz for jxl-rs 0.6.0 upgrade.
jxl-rs 0.6.0 changed the dithering algorithm that is used for u8 output so that basically every pixel gets a +-1 adjustment. This is the same dither algorithm that libjxl adopted. jxl-rs made this change in libjxl/jxl-rs@f694be5. libjxl changed the dithering in libjxl/libjxl@2a4f12b with further fixes/tweaks in libjxl/libjxl@a5ee1a6. Differential Revision: https://phabricator.services.mozilla.com/D319668 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=2064595 gecko-commit: 6f172116de56f55725297ba3aafbff4f4002a891 gecko-commit-git: d12d8165951ae4152e6b9a7d6e418f7f269626d5 gecko-reviewers: saschanaz
1 parent ebd7f41 commit 2745551

8 files changed

Lines changed: 8 additions & 6 deletions

jpegxl/basic-decode-reftest.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<!DOCTYPE html>
22
<link rel="help" href="https://github.com/web-platform-tests/interop-jpegxl">
33
<link rel="match" href="basic-decode-reftest-ref.html">
4+
<meta name="fuzzy" content="maxDifference=0-1; totalPixels=0-1">
45
<meta name="assert" content="Minimal 1x1 JPEG XL decode should match PNG reference output.">
56
<link rel="stylesheet" href="resources/jpegxl-reftest.css">
67

jpegxl/cmyk-basic-conversion-reftest.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<link rel="help" href="https://github.com/web-platform-tests/interop-jpegxl">
33
<link rel="match" href="cmyk-basic-conversion-reftest-ref.html">
44
<meta name="assert" content="CMYK JPEG XL conversion/rendering should match PNG reference output.">
5-
<meta name="fuzzy" content="maxDifference=0-3; totalPixels=0-3000">
5+
<meta name="fuzzy" content="maxDifference=0-9; totalPixels=0-3000">
66
<link rel="stylesheet" href="resources/jpegxl-reftest.css">
77

88
<img src="resources/conformance_cmyk_layers.jxl">

jpegxl/layers-basic-reftest.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<!DOCTYPE html>
22
<link rel="help" href="https://github.com/web-platform-tests/interop-jpegxl">
33
<link rel="match" href="layers-basic-reftest-ref.html">
4+
<meta name="fuzzy" content="maxDifference=0-1; totalPixels=0-426">
45
<meta name="assert" content="Layered JXL codestream decode should match PNG reference output.">
56
<link rel="stylesheet" href="resources/jpegxl-reftest.css">
67

jpegxl/patches-reftest.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<link rel="help" href="https://github.com/web-platform-tests/interop-jpegxl">
33
<link rel="match" href="patches-reftest-ref.html">
4-
<meta name="fuzzy" content="maxDifference=0-1; totalPixels=0-480000">
4+
<meta name="fuzzy" content="maxDifference=0-3; totalPixels=0-480000">
55
<meta name="assert" content="JXL patches conformance testcase decode should match reference PNG.">
66
<link rel="stylesheet" href="resources/jpegxl-reftest.css">
77

jpegxl/progressive-1.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<link rel="help" href="https://github.com/web-platform-tests/interop-jpegxl">
33
<link rel="match" href="progressive-1-ref.html">
4-
<meta name="fuzzy" content="maxDifference=0-1; totalPixels=0-875">
4+
<meta name="fuzzy" content="maxDifference=0-2; totalPixels=0-127845">
55
<meta name="assert" content="A truncated progressive JXL codestream renders the partial-decode state the decoder produced for that prefix.">
66
<link rel="stylesheet" href="resources/jpegxl-reftest.css">
77

jpegxl/progressive-2.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<link rel="help" href="https://github.com/web-platform-tests/interop-jpegxl">
33
<link rel="match" href="progressive-2-ref.html">
4-
<meta name="fuzzy" content="maxDifference=0-2; totalPixels=0-1102">
4+
<meta name="fuzzy" content="maxDifference=0-2; totalPixels=0-126051">
55
<meta name="assert" content="A truncated progressive JXL codestream renders the partial-decode state the decoder produced for that prefix.">
66
<link rel="stylesheet" href="resources/jpegxl-reftest.css">
77

jpegxl/progressive-3.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<link rel="help" href="https://github.com/web-platform-tests/interop-jpegxl">
33
<link rel="match" href="progressive-3-ref.html">
4-
<meta name="fuzzy" content="maxDifference=0-1; totalPixels=0-2552">
4+
<meta name="fuzzy" content="maxDifference=0-2; totalPixels=0-141191">
55
<meta name="assert" content="A truncated progressive JXL codestream renders the partial-decode state the decoder produced for that prefix.">
66
<link rel="stylesheet" href="resources/jpegxl-reftest.css">
77

jpegxl/sdr-alpha-reftest.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<link rel="help" href="https://github.com/web-platform-tests/interop-jpegxl">
33
<link rel="match" href="sdr-alpha-reftest-ref.html">
4-
<meta name="fuzzy" content="maxDifference=0-3; totalPixels=0-1266">
4+
<meta name="fuzzy" content="maxDifference=0-3; totalPixels=0-1567">
55
<meta name="assert" content="64x64 sRGB JPEG XL with alpha channel decode should match PNG reference output.">
66
<link rel="stylesheet" href="resources/jpegxl-reftest.css">
77

0 commit comments

Comments
 (0)