Nigel Tao
|
81c6437e09
|
Add choosy
|
2021-01-04 23:20:41 +11:00 |
|
Nigel Tao
|
1b83476575
|
Add test_wuffs_png_decode_filters_round_trip
|
2021-01-03 23:24:53 +11:00 |
|
Nigel Tao
|
f0a142ff72
|
Tweak std/png.decoder.filter_4
wuffs_png_decode_19k_8bpp/clang9 91.8MB/s ± 1% 93.5MB/s ± 0% +1.86% (p=0.008 n=5+5)
wuffs_png_decode_40k_24bpp/clang9 115MB/s ± 1% 112MB/s ± 0% -2.74% (p=0.008 n=5+5)
wuffs_png_decode_77k_8bpp/clang9 345MB/s ± 0% 351MB/s ± 0% +1.83% (p=0.008 n=5+5)
wuffs_png_decode_552k_32bpp/clang9 152MB/s ± 1% 129MB/s ± 1% -15.14% (p=0.008 n=5+5)
wuffs_png_decode_4002k_24bpp/clang9 116MB/s ± 0% 115MB/s ± 0% -1.57% (p=0.008 n=5+5)
wuffs_png_decode_filter_1_sub/clang9 982MB/s ± 0% 938MB/s ± 0% -4.52% (p=0.008 n=5+5)
wuffs_png_decode_filter_2_up/clang9 12.7GB/s ± 0% 13.4GB/s ± 0% +5.28% (p=0.008 n=5+5)
wuffs_png_decode_filter_3_average/clang9 757MB/s ± 0% 759MB/s ± 0% +0.29% (p=0.032 n=5+5)
wuffs_png_decode_filter_4_paeth/clang9 82.1MB/s ± 0% 108.7MB/s ± 0% +32.41% (p=0.008 n=5+5)
wuffs_png_decode_19k_8bpp/gcc10 98.9MB/s ± 0% 99.7MB/s ± 1% +0.87% (p=0.008 n=5+5)
wuffs_png_decode_40k_24bpp/gcc10 118MB/s ± 1% 116MB/s ± 0% -1.08% (p=0.008 n=5+5)
wuffs_png_decode_77k_8bpp/gcc10 321MB/s ± 0% 322MB/s ± 0% +0.32% (p=0.016 n=4+5)
wuffs_png_decode_552k_32bpp/gcc10 144MB/s ± 0% 162MB/s ± 0% +13.03% (p=0.008 n=5+5)
wuffs_png_decode_4002k_24bpp/gcc10 118MB/s ± 1% 120MB/s ± 1% +1.32% (p=0.008 n=5+5)
wuffs_png_decode_filter_1_sub/gcc10 903MB/s ± 0% 1119MB/s ± 0% +23.96% (p=0.008 n=5+5)
wuffs_png_decode_filter_2_up/gcc10 11.0GB/s ± 0% 11.1GB/s ± 0% +0.68% (p=0.008 n=5+5)
wuffs_png_decode_filter_3_average/gcc10 749MB/s ± 0% 749MB/s ± 0% ~ (p=1.000 n=5+5)
wuffs_png_decode_filter_4_paeth/gcc10 81.8MB/s ± 0% 90.5MB/s ± 1% +10.74% (p=0.008 n=5+5)
|
2021-01-02 23:18:33 +11:00 |
|
Nigel Tao
|
e403659c05
|
Remove more branches in std/png filters
wuffs_png_decode_19k_8bpp/clang9 95.5MB/s ± 0% 91.8MB/s ± 1% -3.90% (p=0.008 n=5+5)
wuffs_png_decode_40k_24bpp/clang9 115MB/s ± 0% 115MB/s ± 1% ~ (p=0.151 n=5+5)
wuffs_png_decode_77k_8bpp/clang9 358MB/s ± 0% 345MB/s ± 0% -3.68% (p=0.008 n=5+5)
wuffs_png_decode_552k_32bpp/clang9 124MB/s ± 0% 152MB/s ± 1% +22.35% (p=0.008 n=5+5)
wuffs_png_decode_4002k_24bpp/clang9 116MB/s ± 0% 116MB/s ± 0% ~ (p=0.151 n=5+5)
wuffs_png_decode_filter_1_sub/clang9 924MB/s ± 0% 982MB/s ± 0% +6.28% (p=0.008 n=5+5)
wuffs_png_decode_filter_2_up/clang9 13.1GB/s ± 0% 12.7GB/s ± 0% -2.73% (p=0.008 n=5+5)
wuffs_png_decode_filter_3_average/clang9 640MB/s ± 0% 757MB/s ± 0% +18.31% (p=0.008 n=5+5)
wuffs_png_decode_filter_4_paeth/clang9 64.8MB/s ± 0% 82.1MB/s ± 0% +26.72% (p=0.008 n=5+5)
wuffs_png_decode_19k_8bpp/gcc10 99.0MB/s ± 0% 98.9MB/s ± 0% ~ (p=0.222 n=5+5)
wuffs_png_decode_40k_24bpp/gcc10 114MB/s ± 1% 118MB/s ± 1% +3.38% (p=0.008 n=5+5)
wuffs_png_decode_77k_8bpp/gcc10 320MB/s ± 0% 321MB/s ± 0% +0.38% (p=0.016 n=5+4)
wuffs_png_decode_552k_32bpp/gcc10 141MB/s ± 0% 144MB/s ± 0% +1.80% (p=0.008 n=5+5)
wuffs_png_decode_4002k_24bpp/gcc10 118MB/s ± 0% 118MB/s ± 1% ~ (p=0.151 n=5+5)
wuffs_png_decode_filter_1_sub/gcc10 1.11GB/s ± 0% 0.90GB/s ± 0% -18.57% (p=0.008 n=5+5)
wuffs_png_decode_filter_2_up/gcc10 11.1GB/s ± 0% 11.0GB/s ± 0% -0.33% (p=0.008 n=5+5)
wuffs_png_decode_filter_3_average/gcc10 751MB/s ± 0% 749MB/s ± 0% -0.29% (p=0.008 n=5+5)
wuffs_png_decode_filter_4_paeth/gcc10 76.9MB/s ± 0% 81.8MB/s ± 0% +6.33% (p=0.008 n=5+5)
|
2021-01-02 23:07:04 +11:00 |
|
Nigel Tao
|
be00ccf61f
|
Add "(a - b) < c: a < c; 0 <= b" axiom
wuffs_png_decode_19k_8bpp/clang9 95.7MB/s ± 1% 95.5MB/s ± 0% ~ (p=0.151 n=5+5)
wuffs_png_decode_40k_24bpp/clang9 112MB/s ± 0% 115MB/s ± 0% +2.23% (p=0.008 n=5+5)
wuffs_png_decode_77k_8bpp/clang9 357MB/s ± 0% 358MB/s ± 0% ~ (p=0.222 n=5+5)
wuffs_png_decode_552k_32bpp/clang9 119MB/s ± 1% 124MB/s ± 0% +4.89% (p=0.008 n=5+5)
wuffs_png_decode_4002k_24bpp/clang9 114MB/s ± 0% 116MB/s ± 0% +1.95% (p=0.008 n=5+5)
wuffs_png_decode_filter_1_sub/clang9 919MB/s ± 1% 924MB/s ± 0% +0.57% (p=0.008 n=5+5)
wuffs_png_decode_filter_2_up/clang9 13.3GB/s ± 1% 13.1GB/s ± 0% -2.02% (p=0.008 n=5+5)
wuffs_png_decode_filter_3_average/clang9 554MB/s ± 0% 640MB/s ± 0% +15.61% (p=0.008 n=5+5)
wuffs_png_decode_filter_4_paeth/clang9 61.9MB/s ± 1% 64.8MB/s ± 0% +4.59% (p=0.008 n=5+5)
wuffs_png_decode_19k_8bpp/gcc10 100MB/s ± 1% 99MB/s ± 0% -0.92% (p=0.008 n=5+5)
wuffs_png_decode_40k_24bpp/gcc10 114MB/s ± 0% 114MB/s ± 1% ~ (p=0.548 n=5+5)
wuffs_png_decode_77k_8bpp/gcc10 325MB/s ± 0% 320MB/s ± 0% -1.45% (p=0.016 n=4+5)
wuffs_png_decode_552k_32bpp/gcc10 160MB/s ± 0% 141MB/s ± 0% -11.59% (p=0.016 n=4+5)
wuffs_png_decode_4002k_24bpp/gcc10 117MB/s ± 0% 118MB/s ± 0% +0.91% (p=0.008 n=5+5)
wuffs_png_decode_filter_1_sub/gcc10 979MB/s ± 0% 1109MB/s ± 0% +13.30% (p=0.008 n=5+5)
wuffs_png_decode_filter_2_up/gcc10 11.5GB/s ± 1% 11.1GB/s ± 0% -3.88% (p=0.008 n=5+5)
wuffs_png_decode_filter_3_average/gcc10 644MB/s ± 0% 751MB/s ± 0% +16.69% (p=0.008 n=5+5)
wuffs_png_decode_filter_4_paeth/gcc10 84.3MB/s ± 1% 76.9MB/s ± 0% -8.74% (p=0.008 n=5+5)
|
2021-01-02 22:46:53 +11:00 |
|
Nigel Tao
|
b7b39e34d8
|
Add more facts after "x = y.max(a: z)"
wuffs_png_decode_19k_8bpp/clang9 95.8MB/s ± 1% 95.7MB/s ± 1% ~ (p=0.310 n=5+5)
wuffs_png_decode_40k_24bpp/clang9 112MB/s ± 0% 112MB/s ± 0% +0.16% (p=0.008 n=5+5)
wuffs_png_decode_77k_8bpp/clang9 358MB/s ± 0% 357MB/s ± 0% ~ (p=0.905 n=4+5)
wuffs_png_decode_552k_32bpp/clang9 143MB/s ± 0% 119MB/s ± 1% -17.27% (p=0.008 n=5+5)
wuffs_png_decode_4002k_24bpp/clang9 114MB/s ± 0% 114MB/s ± 0% +0.42% (p=0.008 n=5+5)
wuffs_png_decode_filter_1_sub/clang9 1.02GB/s ± 0% 0.92GB/s ± 1% -9.75% (p=0.008 n=5+5)
wuffs_png_decode_filter_2_up/clang9 13.5GB/s ± 0% 13.3GB/s ± 1% -1.25% (p=0.008 n=5+5)
wuffs_png_decode_filter_3_average/clang9 491MB/s ± 0% 554MB/s ± 0% +12.72% (p=0.008 n=5+5)
wuffs_png_decode_filter_4_paeth/clang9 75.5MB/s ± 0% 61.9MB/s ± 1% -17.95% (p=0.008 n=5+5)
wuffs_png_decode_19k_8bpp/gcc10 99.4MB/s ± 0% 99.9MB/s ± 1% +0.51% (p=0.032 n=5+5)
wuffs_png_decode_40k_24bpp/gcc10 116MB/s ± 0% 114MB/s ± 0% -2.27% (p=0.008 n=5+5)
wuffs_png_decode_77k_8bpp/gcc10 321MB/s ± 0% 325MB/s ± 0% +1.32% (p=0.016 n=5+4)
wuffs_png_decode_552k_32bpp/gcc10 159MB/s ± 0% 160MB/s ± 0% ~ (p=0.190 n=5+4)
wuffs_png_decode_4002k_24bpp/gcc10 117MB/s ± 0% 117MB/s ± 0% ~ (p=0.310 n=5+5)
wuffs_png_decode_filter_1_sub/gcc10 1.12GB/s ± 0% 0.98GB/s ± 0% -12.54% (p=0.008 n=5+5)
wuffs_png_decode_filter_2_up/gcc10 11.3GB/s ± 0% 11.5GB/s ± 1% +2.08% (p=0.016 n=4+5)
wuffs_png_decode_filter_3_average/gcc10 644MB/s ± 0% 644MB/s ± 0% ~ (p=0.151 n=5+5)
wuffs_png_decode_filter_4_paeth/gcc10 83.8MB/s ± 0% 84.3MB/s ± 1% ~ (p=0.095 n=5+5)
|
2021-01-02 22:35:54 +11:00 |
|
Nigel Tao
|
a98739bf90
|
Spin out std/png/decode_filter_fallback.wuffs
|
2021-01-02 21:51:19 +11:00 |
|
Nigel Tao
|
d0c028608a
|
Optimize png.decoder.filter_1
wuffs_png_decode_19k_8bpp/clang9 95.7MB/s ± 0% 95.8MB/s ± 1% ~ (p=0.151 n=5+5)
wuffs_png_decode_40k_24bpp/clang9 110MB/s ± 0% 112MB/s ± 0% +1.91% (p=0.008 n=5+5)
wuffs_png_decode_77k_8bpp/clang9 358MB/s ± 0% 358MB/s ± 0% ~ (p=0.730 n=5+4)
wuffs_png_decode_552k_32bpp/clang9 136MB/s ± 0% 143MB/s ± 0% +5.63% (p=0.008 n=5+5)
wuffs_png_decode_4002k_24bpp/clang9 111MB/s ± 0% 114MB/s ± 0% +1.99% (p=0.008 n=5+5)
wuffs_png_decode_filter_1_sub/clang9 646MB/s ± 0% 1018MB/s ± 0% +57.63% (p=0.008 n=5+5)
wuffs_png_decode_filter_2_up/clang9 13.1GB/s ± 0% 13.5GB/s ± 0% +3.38% (p=0.008 n=5+5)
wuffs_png_decode_filter_3_average/clang9 481MB/s ± 0% 491MB/s ± 0% +2.06% (p=0.008 n=5+5)
wuffs_png_decode_filter_4_paeth/clang9 65.3MB/s ± 0% 75.5MB/s ± 0% +15.65% (p=0.008 n=5+5)
wuffs_png_decode_19k_8bpp/gcc10 98.0MB/s ± 0% 99.4MB/s ± 0% +1.41% (p=0.008 n=5+5)
wuffs_png_decode_40k_24bpp/gcc10 118MB/s ± 0% 116MB/s ± 0% -1.87% (p=0.008 n=5+5)
wuffs_png_decode_77k_8bpp/gcc10 317MB/s ± 0% 321MB/s ± 0% +1.05% (p=0.008 n=5+5)
wuffs_png_decode_552k_32bpp/gcc10 159MB/s ± 0% 159MB/s ± 0% +0.55% (p=0.008 n=5+5)
wuffs_png_decode_4002k_24bpp/gcc10 118MB/s ± 0% 117MB/s ± 0% -0.92% (p=0.008 n=5+5)
wuffs_png_decode_filter_1_sub/gcc10 931MB/s ± 0% 1119MB/s ± 0% +20.20% (p=0.008 n=5+5)
wuffs_png_decode_filter_2_up/gcc10 11.4GB/s ± 0% 11.3GB/s ± 0% -0.91% (p=0.016 n=5+4)
wuffs_png_decode_filter_3_average/gcc10 643MB/s ± 0% 644MB/s ± 0% ~ (p=0.151 n=5+5)
wuffs_png_decode_filter_4_paeth/gcc10 83.6MB/s ± 0% 83.8MB/s ± 0% ~ (p=0.151 n=5+5)
|
2020-12-29 22:31:41 +11:00 |
|
Nigel Tao
|
a575ad8d2d
|
Factor out png.decoder.filter_N functions
wuffs_png_decode_19k_8bpp/clang9 92.1MB/s ± 0% 95.7MB/s ± 0% +3.89% (p=0.008 n=5+5)
wuffs_png_decode_40k_24bpp/clang9 103MB/s ± 0% 110MB/s ± 0% +6.81% (p=0.008 n=5+5)
wuffs_png_decode_77k_8bpp/clang9 348MB/s ± 0% 358MB/s ± 0% +2.90% (p=0.008 n=5+5)
wuffs_png_decode_552k_32bpp/clang9 138MB/s ± 0% 136MB/s ± 0% -1.92% (p=0.008 n=5+5)
wuffs_png_decode_4002k_24bpp/clang9 103MB/s ± 0% 111MB/s ± 0% +8.04% (p=0.008 n=5+5)
wuffs_png_decode_filter_1_sub/clang9 738MB/s ± 0% 646MB/s ± 0% -12.51% (p=0.008 n=5+5)
wuffs_png_decode_filter_2_up/clang9 13.4GB/s ± 0% 13.1GB/s ± 0% -2.51% (p=0.008 n=5+5)
wuffs_png_decode_filter_3_average/clang9 329MB/s ± 0% 481MB/s ± 0% +46.25% (p=0.008 n=5+5)
wuffs_png_decode_filter_4_paeth/clang9 70.0MB/s ± 0% 65.3MB/s ± 0% -6.80% (p=0.008 n=5+5)
wuffs_png_decode_19k_8bpp/gcc10 98.0MB/s ± 0% 98.0MB/s ± 0% ~ (p=0.690 n=5+5)
wuffs_png_decode_40k_24bpp/gcc10 118MB/s ± 0% 118MB/s ± 0% +0.43% (p=0.016 n=5+5)
wuffs_png_decode_77k_8bpp/gcc10 318MB/s ± 0% 317MB/s ± 0% -0.19% (p=0.008 n=5+5)
wuffs_png_decode_552k_32bpp/gcc10 161MB/s ± 0% 159MB/s ± 0% -1.38% (p=0.008 n=5+5)
wuffs_png_decode_4002k_24bpp/gcc10 118MB/s ± 0% 118MB/s ± 0% ~ (p=0.056 n=5+5)
wuffs_png_decode_filter_1_sub/gcc10 932MB/s ± 0% 931MB/s ± 0% ~ (p=0.151 n=5+5)
wuffs_png_decode_filter_2_up/gcc10 11.0GB/s ± 1% 11.4GB/s ± 0% +3.32% (p=0.016 n=4+5)
wuffs_png_decode_filter_3_average/gcc10 645MB/s ± 0% 643MB/s ± 0% -0.29% (p=0.008 n=5+5)
wuffs_png_decode_filter_4_paeth/gcc10 90.1MB/s ± 0% 83.6MB/s ± 0% -7.24% (p=0.008 n=5+5)
|
2020-12-29 22:04:19 +11:00 |
|
Nigel Tao
|
aa2d41e0a0
|
Add a mimiclib scratch buffer
|
2020-12-29 21:38:52 +11:00 |
|
Nigel Tao
|
10e8ee5e79
|
Roll back 0c7a8cc0 re do_bench_image_decode
Commit 0c7a8cc029 is "Have
do_bench_image_decode pass a non-NULL dst". Adding a mandatory memcpy to
do_bench_image_decode noticably slowed down the bench numbers. Removing
the memcpy speeds it back up.
wuffs_gif_decode_1k_bw/clang9 278MB/s ± 0% 373MB/s ± 0% +34.42% (p=0.008 n=5+5)
wuffs_gif_decode_1k_color_full_init/clang9 85.0MB/s ± 0% 91.1MB/s ± 0% +7.27% (p=0.008 n=5+5)
wuffs_gif_decode_1k_color_part_init/clang9 104MB/s ± 0% 114MB/s ± 0% +9.51% (p=0.008 n=5+5)
wuffs_gif_decode_10k_bgra/clang9 434MB/s ± 0% 449MB/s ± 0% +3.59% (p=0.008 n=5+5)
wuffs_gif_decode_10k_indexed/clang9 115MB/s ± 0% 120MB/s ± 0% +4.63% (p=0.008 n=5+5)
wuffs_gif_decode_20k/clang9 140MB/s ± 1% 145MB/s ± 0% +3.16% (p=0.008 n=5+5)
wuffs_gif_decode_100k_artificial/clang9 301MB/s ± 0% 312MB/s ± 0% +3.62% (p=0.016 n=5+4)
wuffs_gif_decode_100k_realistic/clang9 125MB/s ± 0% 127MB/s ± 0% +1.40% (p=0.008 n=5+5)
wuffs_gif_decode_1000k_full_init/clang9 128MB/s ± 0% 129MB/s ± 0% +0.78% (p=0.008 n=5+5)
wuffs_gif_decode_1000k_part_init/clang9 128MB/s ± 0% 128MB/s ± 1% ~ (p=0.151 n=5+5)
wuffs_gif_decode_anim_screencap/clang9 586MB/s ± 0% 671MB/s ± 0% +14.60% (p=0.016 n=5+4)
wuffs_gif_decode_1k_bw/gcc10 271MB/s ± 0% 322MB/s ± 0% +18.81% (p=0.008 n=5+5)
wuffs_gif_decode_1k_color_full_init/gcc10 94.8MB/s ± 0% 99.2MB/s ± 1% +4.64% (p=0.008 n=5+5)
wuffs_gif_decode_1k_color_part_init/gcc10 116MB/s ± 0% 123MB/s ± 0% +5.90% (p=0.008 n=5+5)
wuffs_gif_decode_10k_bgra/gcc10 374MB/s ± 0% 382MB/s ± 1% +2.12% (p=0.008 n=5+5)
wuffs_gif_decode_10k_indexed/gcc10 116MB/s ± 1% 119MB/s ± 0% +3.09% (p=0.008 n=5+5)
wuffs_gif_decode_20k/gcc10 137MB/s ± 0% 139MB/s ± 0% +1.46% (p=0.008 n=5+5)
wuffs_gif_decode_100k_artificial/gcc10 286MB/s ± 0% 293MB/s ± 0% +2.49% (p=0.008 n=5+5)
wuffs_gif_decode_100k_realistic/gcc10 118MB/s ± 0% 119MB/s ± 0% +0.80% (p=0.016 n=5+4)
wuffs_gif_decode_1000k_full_init/gcc10 121MB/s ± 0% 121MB/s ± 0% +0.33% (p=0.008 n=5+5)
wuffs_gif_decode_1000k_part_init/gcc10 121MB/s ± 0% 121MB/s ± 0% +0.28% (p=0.016 n=5+5)
wuffs_gif_decode_anim_screencap/gcc10 582MB/s ± 0% 659MB/s ± 0% +13.25% (p=0.008 n=5+5)
wuffs_png_decode_19k_8bpp/clang9 88.7MB/s ± 0% 94.2MB/s ± 0% +6.28% (p=0.008 n=5+5)
wuffs_png_decode_40k_24bpp/clang9 104MB/s ± 0% 108MB/s ± 0% +3.96% (p=0.008 n=5+5)
wuffs_png_decode_77k_8bpp/clang9 335MB/s ± 0% 352MB/s ± 0% +5.29% (p=0.008 n=5+5)
wuffs_png_decode_552k_32bpp/clang9 118MB/s ± 0% 119MB/s ± 0% +0.54% (p=0.008 n=5+5)
wuffs_png_decode_4002k_24bpp/clang9 109MB/s ± 0% 112MB/s ± 0% +2.36% (p=0.008 n=5+5)
wuffs_png_decode_19k_8bpp/gcc10 96.7MB/s ± 0% 98.0MB/s ± 0% +1.36% (p=0.029 n=4+4)
wuffs_png_decode_40k_24bpp/gcc10 114MB/s ± 0% 115MB/s ± 0% +0.79% (p=0.008 n=5+5)
wuffs_png_decode_77k_8bpp/gcc10 316MB/s ± 0% 320MB/s ± 0% +1.18% (p=0.016 n=5+4)
wuffs_png_decode_552k_32bpp/gcc10 149MB/s ± 0% 149MB/s ± 0% +0.17% (p=0.016 n=5+4)
wuffs_png_decode_4002k_24bpp/gcc10 116MB/s ± 0% 116MB/s ± 0% +0.09% (p=0.032 n=5+5)
|
2020-12-29 21:29:32 +11:00 |
|
Nigel Tao
|
0976467a32
|
Add std/png decode filter benches
|
2020-12-29 13:40:40 +11:00 |
|
Nigel Tao
|
d1c561cb19
|
Fix std/png Average filter for the top row
|
2020-12-28 22:24:03 +11:00 |
|
Nigel Tao
|
1ff74749f0
|
Add fuzz/c/std/png_fuzzer.c
|
2020-12-28 15:58:05 +11:00 |
|
Nigel Tao
|
0c7a8cc029
|
Have do_bench_image_decode pass a non-NULL dst
|
2020-12-28 15:54:15 +11:00 |
|
Nigel Tao
|
88616cc969
|
Add std/png mimic benches
Wuffs' std/png and std/zlib implementations have not been optimized yet,
but even at this early stage, they are roughly on par with their
"mimics": equivalent production-quality C libraries (libpng and zlib).
On a mid-range x86_64 laptop:
wuffs_png_decode_19k_8bpp/clang9 95.8MB/s ± 0%
wuffs_png_decode_40k_24bpp/clang9 100MB/s ± 1%
wuffs_png_decode_77k_8bpp/clang9 359MB/s ± 0%
wuffs_png_decode_552k_32bpp/clang9 119MB/s ± 0%
wuffs_png_decode_4002k_24bpp/clang9 101MB/s ± 0%
wuffs_png_decode_19k_8bpp/gcc10 97.2MB/s ± 0%
wuffs_png_decode_40k_24bpp/gcc10 111MB/s ± 0%
wuffs_png_decode_77k_8bpp/gcc10 316MB/s ± 0%
wuffs_png_decode_552k_32bpp/gcc10 132MB/s ± 0%
wuffs_png_decode_4002k_24bpp/gcc10 116MB/s ± 0%
mimic_png_decode_19k_8bpp 58.1MB/s ± 0%
mimic_png_decode_40k_24bpp 73.3MB/s ± 0%
mimic_png_decode_77k_8bpp 177MB/s ± 0%
mimic_png_decode_552k_32bpp 147MB/s ± 0%
mimic_png_decode_4002k_24bpp 104MB/s ± 0%
wuffs_zlib_decode_10k/clang9 126MB/s ± 0%
wuffs_zlib_decode_100k/clang9 136MB/s ± 0%
wuffs_zlib_decode_10k/gcc10 131MB/s ± 0%
wuffs_zlib_decode_100k/gcc10 159MB/s ± 0%
mimic_zlib_decode_10k 133MB/s ± 0%
mimic_zlib_decode_100k 160MB/s ± 0%
|
2020-12-28 15:52:46 +11:00 |
|
Nigel Tao
|
5ad6238f34
|
Fix std/png Paeth filter for the top row
|
2020-12-27 23:02:07 +11:00 |
|
Nigel Tao
|
ad311dac93
|
Add std/png support for paletted and RGBA images
|
2020-12-27 22:17:04 +11:00 |
|
Nigel Tao
|
0eca0b85c8
|
Add std/png benches
|
2020-12-26 22:14:34 +11:00 |
|
Nigel Tao
|
b4dcc4e5ed
|
Support swizzle from PIXEL_FORMAT__Y to same
|
2020-12-26 22:11:11 +11:00 |
|
Nigel Tao
|
c4ce7ae6c7
|
Add "NIE Tests" comment
|
2020-12-26 22:02:46 +11:00 |
|
Nigel Tao
|
217b9dc9dc
|
Implement std/png filters
|
2020-12-26 19:26:47 +11:00 |
|
Nigel Tao
|
4ff1429553
|
Add std/png filter_and_swizzle
|
2020-12-25 18:35:19 +11:00 |
|
Nigel Tao
|
6980e93a76
|
Have std/png decode_frame handle multiple IDATs
|
2020-12-25 15:40:24 +11:00 |
|
Nigel Tao
|
43a74d6b81
|
Apply io_limit to original not just derived vars
|
2020-12-24 22:45:31 +11:00 |
|
Nigel Tao
|
d655f51dae
|
Fix std/png decode_frame workbuf bounds checks
|
2020-12-24 22:34:25 +11:00 |
|
Nigel Tao
|
3faddde52d
|
Fix imageviewer signed/unsigned char comparison
|
2020-12-24 22:30:32 +11:00 |
|
Nigel Tao
|
b4fd57e76d
|
Have std/png call zlib.decoder.transform_io
|
2020-12-24 21:41:45 +11:00 |
|
Nigel Tao
|
4e39155715
|
Have std/png depend on std/{crc32,zlib} part 2/2
|
2020-12-24 14:29:59 +11:00 |
|
Nigel Tao
|
10783eda5a
|
Have std/png depend on std/{crc32,zlib} part 1/2
|
2020-12-24 14:29:33 +11:00 |
|
Nigel Tao
|
67a05d1e25
|
Have std/png io_bind the workbuf
|
2020-12-24 14:25:57 +11:00 |
|
Nigel Tao
|
b81999f9fc
|
Restrict an io_bind io arg to local variables only
|
2020-12-24 14:11:48 +11:00 |
|
Nigel Tao
|
78c7087eee
|
Implement io_limit
|
2020-12-24 14:01:48 +11:00 |
|
Nigel Tao
|
58c30e9d6d
|
Add std/png
|
2020-12-24 13:10:29 +11:00 |
|
Nigel Tao
|
47a231f679
|
Simplify nie.decoder.decode_image_config
|
2020-12-23 21:28:31 +11:00 |
|
Nigel Tao
|
332fb46b5c
|
Remove std/nie decoder.swizzle derived var hack
|
2020-12-23 15:34:42 +11:00 |
|
Nigel Tao
|
f6d11c78da
|
Add ast.Expr IsArgsDotFoo and IsMethodCall methods
|
2020-12-23 15:13:14 +11:00 |
|
Nigel Tao
|
1197e86616
|
Add std/nie
|
2020-12-23 14:53:56 +11:00 |
|
Nigel Tao
|
9e2beacfb7
|
Tighten the NIE spec so that sizes fit in an int32
|
2020-12-22 15:04:59 +11:00 |
|
Nigel Tao
|
5a387fe090
|
Swizzler support for src_pixfmt = RGB|A_NONPREMUL
Binary size, before:
21520 gen/lib/c/clang-9-dynamic/wuffs-base-pixconv.lo
22536 gen/lib/c/clang-9-static/wuffs-base-pixconv.o
34488 gen/lib/c/gcc-dynamic/wuffs-base-pixconv.lo
34408 gen/lib/c/gcc-static/wuffs-base-pixconv.o
After:
25712 gen/lib/c/clang-9-dynamic/wuffs-base-pixconv.lo
26800 gen/lib/c/clang-9-static/wuffs-base-pixconv.o
42816 gen/lib/c/gcc-dynamic/wuffs-base-pixconv.lo
42768 gen/lib/c/gcc-static/wuffs-base-pixconv.o
|
2020-12-20 21:50:37 +11:00 |
|
Nigel Tao
|
38827d87f3
|
Have restart_frame require decode_image_config
|
2020-12-19 22:45:41 +11:00 |
|
Nigel Tao
|
68fb70f9d5
|
Harmonize image decoders' call_sequence states
|
2020-12-19 22:42:49 +11:00 |
|
Nigel Tao
|
9399c82409
|
Have non-animated image decoders give EOD earlier
|
2020-12-19 22:03:22 +11:00 |
|
Nigel Tao
|
4a8acf968b
|
Tighten valid const/func/struct names
|
2020-12-19 20:56:03 +11:00 |
|
Nigel Tao
|
f473ffa050
|
Deprecate script/preprocess-wuffs.go
|
2020-12-18 22:10:16 +11:00 |
|
Nigel Tao
|
695a6815b1
|
Remove gif.config_decoder
The original motivation (having a low-featured low-memory decoder just
for counting GIF frames) is obsolete: https://crbug.com/1132828
Binary size, before:
42264 gen/lib/c/clang-9-dynamic/wuffs-std-gif.lo
42392 gen/lib/c/clang-9-static/wuffs-std-gif.o
44824 gen/lib/c/gcc-dynamic/wuffs-std-gif.lo
45624 gen/lib/c/gcc-static/wuffs-std-gif.o
After:
26736 gen/lib/c/clang-9-dynamic/wuffs-std-gif.lo
26712 gen/lib/c/clang-9-static/wuffs-std-gif.o
27976 gen/lib/c/gcc-dynamic/wuffs-std-gif.lo
28392 gen/lib/c/gcc-static/wuffs-std-gif.o
|
2020-12-18 22:06:08 +11:00 |
|
Nigel Tao
|
1c8f9280fd
|
Add fuzz/c/std/bmp_fuzzer.c
|
2020-12-15 22:25:21 +11:00 |
|
Nigel Tao
|
4346028a23
|
Factor out fuzz/c/fuzzlib/fuzzlib_image_decoder.c
|
2020-12-15 22:21:55 +11:00 |
|
Nigel Tao
|
bb7390261a
|
Have gif_fuzzer sometimes use a BGRA_PREMUL dst
|
2020-12-15 22:07:31 +11:00 |
|
Nigel Tao
|
0f807639c1
|
wuffs gen -version=0.3.0-alpha.18
|
2020-12-15 16:23:24 +11:00 |
|
Nigel Tao
|
c79129a853
|
Restore deprecated {reader,writer}_io_position
|
2020-12-15 16:23:02 +11:00 |
|
Nigel Tao
|
688de33f2a
|
Have std/bmp skip_frame handle RLE compression
|
2020-12-15 16:19:18 +11:00 |
|
Nigel Tao
|
290adc9069
|
Have std/bmp consume the final per-row padding
|
2020-12-15 11:43:04 +11:00 |
|
Nigel Tao
|
59799ddcc5
|
Remove std/bmp redundant dst_y_end field
|
2020-12-14 23:17:31 +11:00 |
|
Nigel Tao
|
47b114e948
|
Have std/bmp reject RLE EOL if y out of bounds
|
2020-12-14 23:12:27 +11:00 |
|
Nigel Tao
|
267134df94
|
wuffs gen -version=0.3.0-alpha.17
|
2020-12-14 09:53:25 +11:00 |
|
Nigel Tao
|
1878dc9037
|
Have std/bmp detect bad RLE compression
|
2020-12-14 09:49:16 +11:00 |
|
Nigel Tao
|
f880d644fa
|
Have std/bmp decode OS/2 BMP files
|
2020-12-14 09:24:40 +11:00 |
|
Nigel Tao
|
7c2f36509b
|
Have std/bmp decode 1, 2 or 4 bits per pixel
|
2020-12-13 22:37:40 +11:00 |
|
Nigel Tao
|
8a12a64754
|
Add limited_swizzle_u32_interleaved_from_reader
|
2020-12-12 00:28:16 +11:00 |
|
Nigel Tao
|
8ee76df4f5
|
Add swizzle_interleaved_transparent_black decl
|
2020-12-11 14:22:53 +11:00 |
|
Nigel Tao
|
977ed8f0d9
|
Have std/bmp decode COMPRESSION_RLE8
|
2020-12-11 10:24:25 +11:00 |
|
Nigel Tao
|
49b5b3c03c
|
Remove redundant loop condition in std/bmp
|
2020-12-05 23:11:41 +11:00 |
|
Nigel Tao
|
f67d83cc07
|
Add std/bmp COMPRESSION_ETC constants
|
2020-12-05 22:49:28 +11:00 |
|
Nigel Tao
|
6695e4aae8
|
Fix std/bmp checking bits_per_pixel too early
|
2020-12-04 23:23:12 +11:00 |
|
Nigel Tao
|
0ccdece50a
|
Add swizzle_interleaved_transparent_black
|
2020-12-04 22:53:59 +11:00 |
|
Nigel Tao
|
fa17982be0
|
Run "wuffs gen" missed for 0c481fe7
|
2020-12-03 22:11:15 +11:00 |
|
Nigel Tao
|
0c481fe7c6
|
Improve cgen for constant-indexed slices of arrays
|
2020-12-02 22:39:34 +11:00 |
|
Nigel Tao
|
8482161c91
|
Add base.pixel_buffer.palette_or_else
|
2020-12-02 22:13:35 +11:00 |
|
Nigel Tao
|
2cf0252453
|
Have std/bmp decode 8-bit paletted images
|
2020-11-26 14:34:32 +11:00 |
|
Nigel Tao
|
50a0e767d4
|
Fix -Werror=conversion in base/image-public.h
|
2020-11-24 09:02:43 +11:00 |
|
Nigel Tao
|
960b5df3c4
|
Have std/bmp decode BITFIELDS compression
|
2020-11-24 09:00:32 +11:00 |
|
Nigel Tao
|
cda0db2f0c
|
Rename std/bmp mask_x fields
|
2020-11-23 22:40:11 +11:00 |
|
Nigel Tao
|
3811a2b839
|
Have std/bmp decode BGRX
|
2020-11-18 23:44:04 +11:00 |
|
Nigel Tao
|
ac930b801b
|
Swizzler support for src_pixfmt = BGRX
Binary size, before:
18520 gen/lib/c/clang-9-dynamic/wuffs-base-pixconv.lo
19200 gen/lib/c/clang-9-static/wuffs-base-pixconv.o
30256 gen/lib/c/gcc-dynamic/wuffs-base-pixconv.lo
30192 gen/lib/c/gcc-static/wuffs-base-pixconv.o
After:
20440 gen/lib/c/clang-9-dynamic/wuffs-base-pixconv.lo
21200 gen/lib/c/clang-9-static/wuffs-base-pixconv.o
33424 gen/lib/c/gcc-dynamic/wuffs-base-pixconv.lo
33384 gen/lib/c/gcc-static/wuffs-base-pixconv.o
|
2020-11-16 21:51:42 +11:00 |
|
Nigel Tao
|
53ec09fa9e
|
Tighten the NIE spec to always be in BGRA order
|
2020-11-16 19:02:45 +11:00 |
|
Nigel Tao
|
6b69425247
|
Don't unroll pixel_swizzler 4x8 4x16le conversion
Binary size, before:
18712 gen/lib/c/clang-9-dynamic/wuffs-base-pixconv.lo
19392 gen/lib/c/clang-9-static/wuffs-base-pixconv.o
36880 gen/lib/c/gcc-dynamic/wuffs-base-pixconv.lo
36824 gen/lib/c/gcc-static/wuffs-base-pixconv.o
After:
18520 gen/lib/c/clang-9-dynamic/wuffs-base-pixconv.lo
19200 gen/lib/c/clang-9-static/wuffs-base-pixconv.o
30256 gen/lib/c/gcc-dynamic/wuffs-base-pixconv.lo
30192 gen/lib/c/gcc-static/wuffs-base-pixconv.o
|
2020-11-16 18:59:52 +11:00 |
|
Nigel Tao
|
4a5df43aeb
|
Add PIXEL_FORMAT__BGRA_NONPREMUL_4X16LE
Binary size, before:
14272 gen/lib/c/clang-9-dynamic/wuffs-base-pixconv.lo
14760 gen/lib/c/clang-9-static/wuffs-base-pixconv.o
22336 gen/lib/c/gcc-dynamic/wuffs-base-pixconv.lo
22280 gen/lib/c/gcc-static/wuffs-base-pixconv.o
After:
18712 gen/lib/c/clang-9-dynamic/wuffs-base-pixconv.lo
19392 gen/lib/c/clang-9-static/wuffs-base-pixconv.o
36880 gen/lib/c/gcc-dynamic/wuffs-base-pixconv.lo
36824 gen/lib/c/gcc-static/wuffs-base-pixconv.o
|
2020-11-16 15:23:57 +11:00 |
|
Nigel Tao
|
904004e79a
|
Let non-strict JSON Pointer syntax allow "~t"
|
2020-11-15 20:56:04 +11:00 |
|
Nigel Tao
|
42d569f5db
|
Refactor cgen's write{Load,Save}DerivedVar
|
2020-11-13 22:42:41 +11:00 |
|
Nigel Tao
|
55caff6f95
|
Remove some hard-coded a_dst/a_src names in cgen
|
2020-11-12 23:36:37 +11:00 |
|
Nigel Tao
|
7ea23d56e3
|
Refactor cgen's writeStatementAssign
|
2020-11-11 23:20:08 +11:00 |
|
Nigel Tao
|
0566cb2a8e
|
Remove obsolete writeStatementAssign0 return value
|
2020-11-11 22:28:59 +11:00 |
|
Nigel Tao
|
feac89519f
|
Rearrange cgen temporary assignment for =?
|
2020-11-11 22:05:46 +11:00 |
|
Nigel Tao
|
b3c793eef0
|
Remove obsolete cgen of Optional effects
This if-else branch was obsoleted by commit 1ea32b37.
|
2020-11-09 22:16:00 +11:00 |
|
Nigel Tao
|
43630d14f0
|
Make lang/ast Str methods return non-empty for nil
|
2020-11-09 21:39:50 +11:00 |
|
Nigel Tao
|
2dfe222681
|
Drop args- and this-related facts after ? call
|
2020-11-05 14:49:47 +11:00 |
|
Nigel Tao
|
b3cc3c53ad
|
Tweak logo ears
|
2020-11-03 15:46:46 +11:00 |
|
Nigel Tao
|
ce685a647d
|
Fix hpd__small_rshift clobbering the negative bit
Also link to the Simple Decimal Conversion blog post.
|
2020-11-03 15:24:02 +11:00 |
|
Nigel Tao
|
e80ab7b13a
|
Add doc/logo
|
2020-10-26 15:28:37 +11:00 |
|
Nigel Tao
|
6775c05c08
|
Have etc-parse-number-f64.cc test fast_float
|
2020-10-24 17:44:06 +11:00 |
|
Nigel Tao
|
93f9550720
|
Update manual-test-parse-number-f64.cc data repo
|
2020-10-23 18:46:12 +11:00 |
|
Nigel Tao
|
abedb38844
|
Delete deprecated wuffs_base__animation_blend
|
2020-10-09 21:36:07 +11:00 |
|
Nigel Tao
|
fef7967e08
|
Delete deprecated {reader,writer}_io_position
|
2020-10-09 21:29:11 +11:00 |
|
Nigel Tao
|
1d8d18f400
|
Add link to Eisel-Lemire blog post
|
2020-10-07 22:13:51 +11:00 |
|
Nigel Tao
|
ba3818cb6b
|
Add more parse_number_f64 test cases
|
2020-09-28 12:51:45 +10:00 |
|
Nigel Tao
|
6c2fb9a2fd
|
Tweak test/data/artif*/gif-transparent-index.gif
|
2020-09-27 00:09:25 +10:00 |
|
Nigel Tao
|
344123b179
|
Add test/data/artificial/gif-transparent-index.gif
|
2020-09-25 23:01:43 +10:00 |
|
Nigel Tao
|
178c6422b7
|
Delete deprecated JSON quirks
|
2020-09-24 12:46:00 +10:00 |
|
Nigel Tao
|
3bb5af905f
|
Add more "typedef struct { ... } foo" names
|
2020-09-24 11:20:24 +10:00 |
|