mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-19 16:47:28 +01:00
std/jpeg: decode RGB (not just YCbCr) JPEGs
The benchmarks don't exercise the RGB code paths per se, but it does affect the numbers. Especially for gcc, this essentially undoes the performance impact of the previous (trivial) commit. This is all presumably another code alignment coincidence per https://news.ycombinator.com/item?id=23633583 name old speed new speed delta wuffs_jpeg_decode_19k_8bpp/clang11 376MB/s ± 0% 376MB/s ± 0% ~ (p=1.000 n=5+5) wuffs_jpeg_decode_30k_24bpp_progressive/clang11 338MB/s ± 0% 341MB/s ± 0% +0.98% (p=0.008 n=5+5) wuffs_jpeg_decode_30k_24bpp_sequential/clang11 1.01GB/s ± 0% 1.01GB/s ± 0% +0.35% (p=0.008 n=5+5) wuffs_jpeg_decode_77k_24bpp/clang11 841MB/s ± 0% 836MB/s ± 1% -0.65% (p=0.008 n=5+5) wuffs_jpeg_decode_552k_24bpp_420/clang11 913MB/s ± 0% 912MB/s ± 0% -0.18% (p=0.016 n=5+5) wuffs_jpeg_decode_552k_24bpp_444/clang11 1.11GB/s ± 0% 1.10GB/s ± 0% -0.34% (p=0.008 n=5+5) wuffs_jpeg_decode_4002k_24bpp/clang11 920MB/s ± 0% 916MB/s ± 0% -0.42% (p=0.008 n=5+5) wuffs_jpeg_decode_19k_8bpp/gcc10 349MB/s ± 0% 368MB/s ± 0% +5.60% (p=0.008 n=5+5) wuffs_jpeg_decode_30k_24bpp_progressive/gcc10 328MB/s ± 0% 279MB/s ± 0% -14.82% (p=0.008 n=5+5) wuffs_jpeg_decode_30k_24bpp_sequential/gcc10 925MB/s ± 0% 947MB/s ± 1% +2.33% (p=0.008 n=5+5) wuffs_jpeg_decode_77k_24bpp/gcc10 732MB/s ± 0% 770MB/s ± 0% +5.23% (p=0.008 n=5+5) wuffs_jpeg_decode_552k_24bpp_420/gcc10 798MB/s ± 0% 838MB/s ± 0% +4.99% (p=0.008 n=5+5) wuffs_jpeg_decode_552k_24bpp_444/gcc10 962MB/s ± 0% 996MB/s ± 0% +3.54% (p=0.008 n=5+5) wuffs_jpeg_decode_4002k_24bpp/gcc10 806MB/s ± 0% 847MB/s ± 0% +5.19% (p=0.008 n=5+5)
This commit is contained in:
1 parent
748e44fe71
commit
72b9c23120
7 files changed
+429
-54
No files matched your search
@@ -51,9 +51,9 @@ e00ca328 test/3pdata/blinksuite/cs-uma-cmyk-no-jfif-or-adobe-markers.jpg
|
||||
e00ca328 test/3pdata/blinksuite/cs-uma-cmyk-unknown-transform.jpg
|
||||
e00ca328 test/3pdata/blinksuite/cs-uma-cmyk.jpg
|
||||
1ec303fd test/3pdata/blinksuite/cs-uma-grayscale.jpg
|
||||
76f23a42 test/3pdata/blinksuite/cs-uma-rgb-non-interleaved.jpg
|
||||
c9eafb54 test/3pdata/blinksuite/cs-uma-rgb-non-interleaved.jpg
|
||||
528a67f1 test/3pdata/blinksuite/cs-uma-rgb-unknown-transform.jpg
|
||||
528a67f1 test/3pdata/blinksuite/cs-uma-rgb.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
|
||||
@@ -158,7 +158,7 @@ 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
|
||||
a89ddd73 test/3pdata/blinksuite/rgb-jpeg-with-adobe-marker-only.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
|
||||
|
||||
@@ -24,7 +24,7 @@ d8657741 test/3pdata/golangsuite/video-001.q50.422.progressive.jpeg
|
||||
2fdb8a91 test/3pdata/golangsuite/video-001.q50.440.progressive.jpeg
|
||||
efee4983 test/3pdata/golangsuite/video-001.q50.444.jpeg
|
||||
efee4983 test/3pdata/golangsuite/video-001.q50.444.progressive.jpeg
|
||||
253a7c64 test/3pdata/golangsuite/video-001.rgb.jpeg
|
||||
27869749 test/3pdata/golangsuite/video-001.rgb.jpeg
|
||||
67b4d82f test/3pdata/golangsuite/video-001.rgb.png
|
||||
f295069f test/3pdata/golangsuite/video-001.separate.dc.progression.jpeg
|
||||
f295069f test/3pdata/golangsuite/video-001.separate.dc.progression.progressive.jpeg
|
||||
|
||||
Reference in new issue
Block a user