Nigel Tao
c9fff5b207
std/jpeg: add and use WUFFS_BASE__QUIRK_QUALITY
2024-08-04 23:15:58 +10:00
Nigel Tao
aae5997e12
lang: remove endwhile keyword
2024-07-08 17:15:48 +10:00
Patrick Georgi
f563f32f82
Add SPDX identifier to license headers
...
SPDX is an ISO standard for describing licenses in a computer readable
format, which is useful when applying license compliance tools and the
like to source code.
In addition to ensuring that the Wuffs C distribution is properly
annotated to the benefit of projects using Wuffs and SPDX-supporting
tools, add it everywhere else where there's a license in this repo for
consistency, too.
2023-10-06 20:52:36 +02:00
Nigel Tao
74a6ea2fcd
all: relicense from Apache2 to dual Apache2/MIT
...
The LICENSE has changed from a single license (Apache2) to a dual
license (Apache2 or MIT, at your option).
If you've previously used Wuffs under the Apache2 license, you are able
to keep doing so. No further action required by you.
The two files listed below (previous releases) are exceptions, as they
are older snapshots, frozen in time. Their license has not changed:
release/c/wuffs-v0.2.c
release/c/wuffs-v0.3.c
Every name in the AUTHORS file, other than Google Inc., has signed
Google's CLA (Contributor License Agreement).
2023-10-06 10:00:59 +11:00
Nigel Tao
a00150f62f
std/jpeg: tweak decode_mcu up-front r.length check
...
name old speed new speed delta
wuffs_jpeg_decode_19k_8bpp/clang11 236MB/s ± 0% 237MB/s ± 0% +0.11% (p=0.032 n=4+5)
wuffs_jpeg_decode_30k_24bpp_progressive/clang11 210MB/s ± 0% 213MB/s ± 0% +1.20% (p=0.008 n=5+5)
wuffs_jpeg_decode_30k_24bpp_sequential/clang11 385MB/s ± 0% 384MB/s ± 0% ~ (p=0.095 n=5+5)
wuffs_jpeg_decode_77k_24bpp/clang11 338MB/s ± 0% 338MB/s ± 0% ~ (p=0.151 n=5+5)
wuffs_jpeg_decode_552k_24bpp_420/clang11 353MB/s ± 0% 353MB/s ± 0% ~ (p=0.548 n=5+5)
wuffs_jpeg_decode_552k_24bpp_444/clang11 481MB/s ± 0% 481MB/s ± 0% ~ (p=0.690 n=5+5)
wuffs_jpeg_decode_4002k_24bpp/clang11 360MB/s ± 0% 359MB/s ± 0% -0.35% (p=0.008 n=5+5)
wuffs_jpeg_decode_19k_8bpp/gcc10 244MB/s ± 0% 245MB/s ± 0% +0.44% (p=0.008 n=5+5)
wuffs_jpeg_decode_30k_24bpp_progressive/gcc10 251MB/s ± 0% 247MB/s ± 0% -1.46% (p=0.008 n=5+5)
wuffs_jpeg_decode_30k_24bpp_sequential/gcc10 509MB/s ± 0% 510MB/s ± 0% +0.13% (p=0.008 n=5+5)
wuffs_jpeg_decode_77k_24bpp/gcc10 431MB/s ± 0% 432MB/s ± 0% +0.24% (p=0.008 n=5+5)
wuffs_jpeg_decode_552k_24bpp_420/gcc10 455MB/s ± 0% 456MB/s ± 0% +0.26% (p=0.008 n=5+5)
wuffs_jpeg_decode_552k_24bpp_444/gcc10 481MB/s ± 0% 484MB/s ± 0% +0.56% (p=0.016 n=4+5)
wuffs_jpeg_decode_4002k_24bpp/gcc10 463MB/s ± 0% 465MB/s ± 0% +0.36% (p=0.008 n=5+5)
2023-06-22 11:37:40 +10:00
Nigel Tao
255516bc21
std/jpeg: comments for "read Huffman LUT earlier"
...
This commit is the second of two. It just adds comments to the code
added by the previous commit.
2023-06-21 22:51:22 +10:00
Nigel Tao
c0d7d7d046
std/jpeg: remove decode_idct block-selector arg
...
name old speed new speed delta
wuffs_jpeg_decode_19k_8bpp/clang11 210MB/s ± 0% 213MB/s ± 0% +1.54% (p=0.008 n=5+5)
wuffs_jpeg_decode_30k_24bpp_progressive/clang11 200MB/s ± 0% 197MB/s ± 0% -1.31% (p=0.008 n=5+5)
wuffs_jpeg_decode_30k_24bpp_sequential/clang11 362MB/s ± 0% 373MB/s ± 0% +3.04% (p=0.008 n=5+5)
wuffs_jpeg_decode_77k_24bpp/clang11 307MB/s ± 0% 318MB/s ± 0% +3.82% (p=0.008 n=5+5)
wuffs_jpeg_decode_552k_24bpp_420/clang11 318MB/s ± 0% 331MB/s ± 0% +4.09% (p=0.008 n=5+5)
wuffs_jpeg_decode_552k_24bpp_444/clang11 434MB/s ± 0% 440MB/s ± 0% +1.34% (p=0.016 n=4+5)
wuffs_jpeg_decode_4002k_24bpp/clang11 320MB/s ± 0% 340MB/s ± 0% +6.29% (p=0.008 n=5+5)
wuffs_jpeg_decode_19k_8bpp/gcc10 165MB/s ± 0% 172MB/s ± 0% +4.32% (p=0.008 n=5+5)
wuffs_jpeg_decode_30k_24bpp_progressive/gcc10 224MB/s ± 0% 227MB/s ± 0% +1.30% (p=0.008 n=5+5)
wuffs_jpeg_decode_30k_24bpp_sequential/gcc10 454MB/s ± 0% 465MB/s ± 0% +2.40% (p=0.008 n=5+5)
wuffs_jpeg_decode_77k_24bpp/gcc10 311MB/s ± 0% 324MB/s ± 0% +4.38% (p=0.008 n=5+5)
wuffs_jpeg_decode_552k_24bpp_420/gcc10 327MB/s ± 0% 342MB/s ± 0% +4.52% (p=0.008 n=5+5)
wuffs_jpeg_decode_552k_24bpp_444/gcc10 384MB/s ± 0% 393MB/s ± 0% +2.34% (p=0.008 n=5+5)
wuffs_jpeg_decode_4002k_24bpp/gcc10 324MB/s ± 0% 345MB/s ± 1% +6.26% (p=0.008 n=5+5)
2023-06-10 14:12:08 +10:00
Nigel Tao
d7ddc153ba
std/jpeg: decode progressive JPEGs
...
"script/confirm-matches-djpeg.sh test/data/*.jpeg" is now all matches.
2023-06-01 12:16:14 +10:00