mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-26 17:01:35 +01:00
This only affects truncated (malformed) JPEGs. It moves Wuffs' std/jpeg decoder closer to libjpeg-turbo, as seen by the "hash of the decoded output" for test/data/peacock.default.truncated.jpeg now matching test/data/peacock.default.truncated.decoded-by-djpeg.png instead of test/data/peacock.default.truncated.decoded-by-wuffs.png The decoding of test/data/peacock.progressive.truncated.jpeg is not yet affected, requiring further investigation, but a future commit could similarly make that match djpeg. The two libraries don't use exactly the same algorithm because, for performance, Wuffs' decoder reads from the bitstream 8 bytes at a time where libjpeg-turbo reads only 1 byte at a time. While this change moves Wuffs' output closer to libjpeg-turbo (to repeat, only for truncated JPEGs; well-formed JPEGs are unaffected), the benchmarks below show a negative performance impact, and visual inspection of test/data/peacock.*.truncated.decoded-by-*.png shows that matching libjpeg-turbo *exactly* on truncated JPEGs doesn't actually always look better. On balance, it doesn't seem worth it to keep this change (and spend more time on that further investigation). This commit will soon be followed by a rollback, but it is committed anyway so that we can refer to these numbers in the git log. name old speed new speed delta wuffs_jpeg_decode_19k_8bpp/clang11 378MB/s ± 0% 364MB/s ± 0% -3.53% (p=0.008 n=5+5) wuffs_jpeg_decode_30k_24bpp_progressive/clang11 325MB/s ± 0% 340MB/s ± 0% +4.62% (p=0.016 n=5+4) wuffs_jpeg_decode_30k_24bpp_sequential/clang11 1.02GB/s ± 0% 0.99GB/s ± 0% -2.64% (p=0.008 n=5+5) wuffs_jpeg_decode_77k_24bpp/clang11 842MB/s ± 0% 815MB/s ± 0% -3.16% (p=0.008 n=5+5) wuffs_jpeg_decode_552k_24bpp_420/clang11 916MB/s ± 0% 887MB/s ± 0% -3.08% (p=0.008 n=5+5) wuffs_jpeg_decode_552k_24bpp_444/clang11 1.10GB/s ± 0% 1.07GB/s ± 2% -3.39% (p=0.008 n=5+5) wuffs_jpeg_decode_4002k_24bpp/clang11 919MB/s ± 0% 892MB/s ± 0% -2.95% (p=0.008 n=5+5) wuffs_jpeg_decode_19k_8bpp/gcc10 360MB/s ± 0% 348MB/s ± 0% -3.34% (p=0.008 n=5+5) wuffs_jpeg_decode_30k_24bpp_progressive/gcc10 290MB/s ± 0% 283MB/s ± 0% -2.46% (p=0.008 n=5+5) wuffs_jpeg_decode_30k_24bpp_sequential/gcc10 925MB/s ± 0% 909MB/s ± 0% -1.70% (p=0.008 n=5+5) wuffs_jpeg_decode_77k_24bpp/gcc10 758MB/s ± 0% 732MB/s ± 0% -3.43% (p=0.008 n=5+5) wuffs_jpeg_decode_552k_24bpp_420/gcc10 829MB/s ± 0% 799MB/s ± 0% -3.54% (p=0.008 n=5+5) wuffs_jpeg_decode_552k_24bpp_444/gcc10 981MB/s ± 0% 964MB/s ± 0% -1.72% (p=0.008 n=5+5) wuffs_jpeg_decode_4002k_24bpp/gcc10 835MB/s ± 0% 811MB/s ± 0% -2.89% (p=0.008 n=5+5)
190 lines
11 KiB
Plaintext
190 lines
11 KiB
Plaintext
# Generated by script/print-nia-checksums.sh
|
|
912861f4 test/3pdata/blinksuite/0x0.bmp
|
|
1283a492 test/3pdata/blinksuite/12-55.jpg
|
|
69fc7dee test/3pdata/blinksuite/182.jpg
|
|
09d06f47 test/3pdata/blinksuite/2-comp.jpg
|
|
1f0a869f test/3pdata/blinksuite/2-dht.jpg
|
|
d7865c25 test/3pdata/blinksuite/23-55.jpg
|
|
361f7557 test/3pdata/blinksuite/5000x5000.png
|
|
4920fb2a test/3pdata/blinksuite/55.jpg
|
|
e2c0805a test/3pdata/blinksuite/57.jpg
|
|
1542e2e1 test/3pdata/blinksuite/58.jpg
|
|
da174c34 test/3pdata/blinksuite/59.jpg
|
|
89f95c0f test/3pdata/blinksuite/animated-10color-fast.gif
|
|
824e8906 test/3pdata/blinksuite/animated-10color.gif
|
|
3332edad test/3pdata/blinksuite/animated-gif-with-offsets.gif
|
|
c5ed1e55 test/3pdata/blinksuite/animated.gif
|
|
8a0e1335 test/3pdata/blinksuite/animated2.gif
|
|
10f62511 test/3pdata/blinksuite/apng00.png
|
|
3c2e7f59 test/3pdata/blinksuite/apng01.png
|
|
a6174a21 test/3pdata/blinksuite/apng08-ref.png
|
|
eb5d9458 test/3pdata/blinksuite/apng18.png
|
|
41fbee02 test/3pdata/blinksuite/apng24-ref.png
|
|
f868aa62 test/3pdata/blinksuite/apng24.png
|
|
e9f8e40c test/3pdata/blinksuite/apng26-ref.png
|
|
689d3f62 test/3pdata/blinksuite/apng26.png
|
|
045c6c9d test/3pdata/blinksuite/avif/red.png
|
|
3ef592d6 test/3pdata/blinksuite/avif/silver.png
|
|
1a9bf966 test/3pdata/blinksuite/base-test-resources/success.png
|
|
d9f8441c test/3pdata/blinksuite/blue-10.png
|
|
267741e0 test/3pdata/blinksuite/blue-100.png
|
|
89449c01 test/3pdata/blinksuite/blue-wheel-srgb-color-profile.jpg
|
|
8fce70a9 test/3pdata/blinksuite/blue-wheel-srgb-color-profile.png
|
|
2d7bad9f test/3pdata/blinksuite/border-image-srgb-color-profile.png
|
|
9ca73f21 test/3pdata/blinksuite/border-image.png
|
|
277600f9 test/3pdata/blinksuite/boston.gif
|
|
ffc8a627 test/3pdata/blinksuite/bug106024.jpg
|
|
18cee321 test/3pdata/blinksuite/cHRM_color_spin.png
|
|
3e460fe4 test/3pdata/blinksuite/cat.jpg
|
|
e9151f0e test/3pdata/blinksuite/cicp_pq.png
|
|
ab6d7d2e test/3pdata/blinksuite/cmyk-jpeg.jpg
|
|
5ec78d7c test/3pdata/blinksuite/color-checker-adobe-color-profile.png
|
|
b3389858 test/3pdata/blinksuite/color-checker-srgb-color-profile.png
|
|
10721531 test/3pdata/blinksuite/count-down-color-test.gif
|
|
1abc4dc6 test/3pdata/blinksuite/count-down-color-test.png
|
|
24ab1efd test/3pdata/blinksuite/crbug779261.gif
|
|
ae034abe test/3pdata/blinksuite/crbug807324.png
|
|
4f50fdb0 test/3pdata/blinksuite/crbug827754.png
|
|
42e5598b test/3pdata/blinksuite/cropped_mandrill.jpg
|
|
fe2877fe test/3pdata/blinksuite/cs-uma-cmyk-jfif-marker.jpg
|
|
fe2877fe test/3pdata/blinksuite/cs-uma-cmyk-no-jfif-or-adobe-markers.jpg
|
|
f8341b72 test/3pdata/blinksuite/cs-uma-cmyk-unknown-transform.jpg
|
|
fe2877fe test/3pdata/blinksuite/cs-uma-cmyk.jpg
|
|
1ec303fd test/3pdata/blinksuite/cs-uma-grayscale.jpg
|
|
c9eafb54 test/3pdata/blinksuite/cs-uma-rgb-non-interleaved.jpg
|
|
528a67f1 test/3pdata/blinksuite/cs-uma-rgb-unknown-transform.jpg
|
|
ebd487c5 test/3pdata/blinksuite/cs-uma-rgb.jpg
|
|
984d8cc3 test/3pdata/blinksuite/cs-uma-ycbcr-410.jpg
|
|
e43a491e test/3pdata/blinksuite/cs-uma-ycbcr-411.jpg
|
|
358209c4 test/3pdata/blinksuite/cs-uma-ycbcr-420-both-jfif-adobe.jpg
|
|
a027c965 test/3pdata/blinksuite/cs-uma-ycbcr-420-non-interleaved.jpg
|
|
358209c4 test/3pdata/blinksuite/cs-uma-ycbcr-420.jpg
|
|
3f7bc70f test/3pdata/blinksuite/cs-uma-ycbcr-422.jpg
|
|
8bd535aa test/3pdata/blinksuite/cs-uma-ycbcr-440.jpg
|
|
1bc16d1a test/3pdata/blinksuite/cs-uma-ycbcr-444.jpg
|
|
d97ce4e8 test/3pdata/blinksuite/cs-uma-ycbcr-other.jpg
|
|
a2a940bc test/3pdata/blinksuite/cs-uma-ycck.jpg
|
|
b6000be6 test/3pdata/blinksuite/dice.png
|
|
1023c20a test/3pdata/blinksuite/empty-frame.png
|
|
eff36075 test/3pdata/blinksuite/flowchart.jpg
|
|
20ff1df8 test/3pdata/blinksuite/full2loop.gif
|
|
dc814e29 test/3pdata/blinksuite/gif-loop-count.gif
|
|
7306cefe test/3pdata/blinksuite/gif-loop-count.png
|
|
1193bca0 test/3pdata/blinksuite/gracehopper.bmp
|
|
e3410898 test/3pdata/blinksuite/gracehopper.jpg
|
|
1193bca0 test/3pdata/blinksuite/gracehopper.png
|
|
39b58168 test/3pdata/blinksuite/green-10.png
|
|
1a9bf966 test/3pdata/blinksuite/green-100.png
|
|
4d7673fc test/3pdata/blinksuite/green-24x24.jpg
|
|
ea1fe5de test/3pdata/blinksuite/green-256x256.jpg
|
|
2396f649 test/3pdata/blinksuite/green-half-stripe.png
|
|
cecaf4f1 test/3pdata/blinksuite/green.jpg
|
|
985f6273 test/3pdata/blinksuite/green.png
|
|
2dca380d test/3pdata/blinksuite/grid-large.png
|
|
7fda6289 test/3pdata/blinksuite/grid-small.png
|
|
a4d4402b test/3pdata/blinksuite/grid-transparent.png
|
|
da797012 test/3pdata/blinksuite/half_scan-2.jpg
|
|
85261e16 test/3pdata/blinksuite/half_scan.jpg
|
|
95641cb9 test/3pdata/blinksuite/icc-v2-gbr-420-height-not-whole-mcu.jpg
|
|
93f21c2a test/3pdata/blinksuite/icc-v2-gbr-420-width-not-whole-mcu.jpg
|
|
f37cea44 test/3pdata/blinksuite/icc-v2-gbr-422-whole-mcus.jpg
|
|
1de5a906 test/3pdata/blinksuite/icc-v2-gbr.jpg
|
|
0da5f37e test/3pdata/blinksuite/jpeg-height-exif-orientation.jpg
|
|
4409dca6 test/3pdata/blinksuite/large-gif-checkerboard.gif
|
|
2f310e57 test/3pdata/blinksuite/missing-eoi.jpg
|
|
72bbe2b6 test/3pdata/blinksuite/motion-jpeg-single-frame.jpg
|
|
0268284a test/3pdata/blinksuite/mu.png
|
|
3a8f4a53 test/3pdata/blinksuite/non-interleaved_progressive-1.jpg
|
|
595c9d21 test/3pdata/blinksuite/non-interleaved_progressive.jpg
|
|
96a8bcfd test/3pdata/blinksuite/oval.png
|
|
918aa35f test/3pdata/blinksuite/palatted-color-png-gamma-one-color-profile.png
|
|
f5e09699 test/3pdata/blinksuite/pixel-crack-image-background-webkit-transform-scale.png
|
|
4db38353 test/3pdata/blinksuite/pixelated-hdpi.png
|
|
0605ee44 test/3pdata/blinksuite/png-16bit/2x2_16bit_AdobeRGB_opaque.png
|
|
33697cc4 test/3pdata/blinksuite/png-16bit/2x2_16bit_AdobeRGB_transparent.png
|
|
118c5a6b test/3pdata/blinksuite/png-16bit/2x2_16bit_DisplayP3_opaque.png
|
|
ec899bcb test/3pdata/blinksuite/png-16bit/2x2_16bit_DisplayP3_transparent.png
|
|
a3b7d5d8 test/3pdata/blinksuite/png-16bit/2x2_16bit_ProPhoto_opaque.png
|
|
4eed7588 test/3pdata/blinksuite/png-16bit/2x2_16bit_ProPhoto_transparent.png
|
|
2fa7c392 test/3pdata/blinksuite/png-16bit/2x2_16bit_Rec2020_opaque.png
|
|
50738d00 test/3pdata/blinksuite/png-16bit/2x2_16bit_Rec2020_transparent.png
|
|
190ed790 test/3pdata/blinksuite/png-16bit/2x2_16bit_e-sRGB_opaque.png
|
|
8d240970 test/3pdata/blinksuite/png-16bit/2x2_16bit_e-sRGB_transparent.png
|
|
0605ee44 test/3pdata/blinksuite/png-16bit/2x2_16bit_interlaced_AdobeRGB_opaque.png
|
|
33697cc4 test/3pdata/blinksuite/png-16bit/2x2_16bit_interlaced_AdobeRGB_transparent.png
|
|
118c5a6b test/3pdata/blinksuite/png-16bit/2x2_16bit_interlaced_DisplayP3_opaque.png
|
|
ec899bcb test/3pdata/blinksuite/png-16bit/2x2_16bit_interlaced_DisplayP3_transparent.png
|
|
a3b7d5d8 test/3pdata/blinksuite/png-16bit/2x2_16bit_interlaced_ProPhoto_opaque.png
|
|
4eed7588 test/3pdata/blinksuite/png-16bit/2x2_16bit_interlaced_ProPhoto_transparent.png
|
|
2fa7c392 test/3pdata/blinksuite/png-16bit/2x2_16bit_interlaced_Rec2020_opaque.png
|
|
50738d00 test/3pdata/blinksuite/png-16bit/2x2_16bit_interlaced_Rec2020_transparent.png
|
|
190ed790 test/3pdata/blinksuite/png-16bit/2x2_16bit_interlaced_e-sRGB_opaque.png
|
|
8d240970 test/3pdata/blinksuite/png-16bit/2x2_16bit_interlaced_e-sRGB_transparent.png
|
|
ff64600d test/3pdata/blinksuite/png-16bit/2x2_16bit_interlaced_sRGB_opaque.png
|
|
9e5a54ad test/3pdata/blinksuite/png-16bit/2x2_16bit_interlaced_sRGB_transparent.png
|
|
ff64600d test/3pdata/blinksuite/png-16bit/2x2_16bit_sRGB_opaque.png
|
|
9e5a54ad test/3pdata/blinksuite/png-16bit/2x2_16bit_sRGB_transparent.png
|
|
f54babfe test/3pdata/blinksuite/png-16bit/2x2_8bit_AdobeRGB_opaque.png
|
|
0989c97e test/3pdata/blinksuite/png-16bit/2x2_8bit_AdobeRGB_transparent.png
|
|
24418795 test/3pdata/blinksuite/png-16bit/2x2_8bit_DisplayP3_opaque.png
|
|
0da16665 test/3pdata/blinksuite/png-16bit/2x2_8bit_DisplayP3_transparent.png
|
|
02b4b122 test/3pdata/blinksuite/png-16bit/2x2_8bit_ProPhoto_opaque.png
|
|
f715e2c9 test/3pdata/blinksuite/png-16bit/2x2_8bit_ProPhoto_transparent.png
|
|
8388786d test/3pdata/blinksuite/png-16bit/2x2_8bit_Rec2020_opaque.png
|
|
13ec1bce test/3pdata/blinksuite/png-16bit/2x2_8bit_Rec2020_transparent.png
|
|
6c64ba21 test/3pdata/blinksuite/png-16bit/2x2_8bit_e-sRGB_opaque.png
|
|
3ae20cd5 test/3pdata/blinksuite/png-16bit/2x2_8bit_e-sRGB_transparent.png
|
|
79c50526 test/3pdata/blinksuite/png-16bit/2x2_8bit_sRGB_opaque.png
|
|
cf95aec4 test/3pdata/blinksuite/png-16bit/2x2_8bit_sRGB_transparent.png
|
|
e4a2a51c test/3pdata/blinksuite/png-animated-idat-not-part-of-animation.png
|
|
ea2c8a89 test/3pdata/blinksuite/png-animated-idat-part-of-animation.png
|
|
2bbe7571 test/3pdata/blinksuite/png-animated-three-independent-frames.png
|
|
03ae8c06 test/3pdata/blinksuite/png-color-profile-and-gamma-chunk.png
|
|
ffa30c78 test/3pdata/blinksuite/png-extra-row-crash.png
|
|
5a8c950e test/3pdata/blinksuite/png-simple.png
|
|
6dfdd872 test/3pdata/blinksuite/png_per_row_alpha.png
|
|
9ca73f21 test/3pdata/blinksuite/pngfuzz/border-image.png
|
|
96a8bcfd test/3pdata/blinksuite/pngfuzz/oval.png
|
|
e4a2a51c test/3pdata/blinksuite/pngfuzz/png-animated-idat-not-part-of-animation.png
|
|
ea2c8a89 test/3pdata/blinksuite/pngfuzz/png-animated-idat-part-of-animation.png
|
|
2bbe7571 test/3pdata/blinksuite/pngfuzz/png-animated-three-independent-frames.png
|
|
5a8c950e test/3pdata/blinksuite/pngfuzz/png-simple.png
|
|
53fe9878 test/3pdata/blinksuite/quicksort.gif
|
|
a199eb62 test/3pdata/blinksuite/red-10.png
|
|
f5c7ae42 test/3pdata/blinksuite/red-100.png
|
|
07d18cef test/3pdata/blinksuite/red-at-12-oclock-with-color-profile.jpg
|
|
07d18cef test/3pdata/blinksuite/red-at-12-oclock-with-color-profile.png
|
|
e68e3ee4 test/3pdata/blinksuite/red-half-stripe.png
|
|
aa375741 test/3pdata/blinksuite/rgb-jpeg-blue.jpg
|
|
724437c7 test/3pdata/blinksuite/rgb-jpeg-green.jpg
|
|
bfebcca4 test/3pdata/blinksuite/rgb-jpeg-red.jpg
|
|
6ed3c2e7 test/3pdata/blinksuite/rgb-jpeg-with-adobe-marker-only.jpg
|
|
cfb6f39d test/3pdata/blinksuite/rgb-png-with-cmyk-color-profile.png
|
|
a3454fb7 test/3pdata/blinksuite/short-app-extension-string.gif
|
|
2398258b test/3pdata/blinksuite/size-failure.gif
|
|
5c4b1a8b test/3pdata/blinksuite/small-square-with-colorspin-profile.jpg
|
|
44dc95b9 test/3pdata/blinksuite/sprite_all_fragments_same.png
|
|
9a7e5ec7 test/3pdata/blinksuite/sprite_alternate_fragments_same.png
|
|
1b1f5f96 test/3pdata/blinksuite/stripes-large.png
|
|
6b85cdb9 test/3pdata/blinksuite/stripes-small.png
|
|
16c2c0fe test/3pdata/blinksuite/test-load.jpg
|
|
ed67a9a5 test/3pdata/blinksuite/wrong-block-length.gif
|
|
577c5c4c test/3pdata/blinksuite/ycbcr-420-fast-int-progressive.jpg
|
|
bf4cd8e2 test/3pdata/blinksuite/ycbcr-420-float-progressive.jpg
|
|
bf4cd8e2 test/3pdata/blinksuite/ycbcr-420-float.jpg
|
|
35dcc57a test/3pdata/blinksuite/ycbcr-420-progressive-smooth.jpg
|
|
3eeb7739 test/3pdata/blinksuite/ycbcr-420-progressive.jpg
|
|
3eeb7739 test/3pdata/blinksuite/ycbcr-420.jpg
|
|
b9c49d8c test/3pdata/blinksuite/ycbcr-422-float.jpg
|
|
8cd1fb26 test/3pdata/blinksuite/ycbcr-422.jpg
|
|
89cabc1f test/3pdata/blinksuite/ycbcr-440-float.jpg
|
|
73cb2c2d test/3pdata/blinksuite/ycbcr-440.jpg
|
|
b74f41fa test/3pdata/blinksuite/ycbcr-444-float.jpg
|
|
eccde117 test/3pdata/blinksuite/ycbcr-444.jpg
|
|
259ef81b test/3pdata/blinksuite/ycbcr-progressive-000.jpg
|
|
134d0910 test/3pdata/blinksuite/ycbcr-progressive-001.jpg
|
|
20a7ef57 test/3pdata/blinksuite/ycbcr-progressive-002.jpg
|
|
ee45e49a test/3pdata/blinksuite/ycbcr-progressive-003.jpg
|
|
1ed5667b test/3pdata/blinksuite/ycbcr-with-cmyk-color-profile.jpg
|
|
c2ae2366 test/3pdata/blinksuite/ycbcr-with-no-color-profile.jpg
|