Nigel Tao
|
5d5d01a189
|
cgen: add "¡ INSERT patch_pixconv" mechanism
|
2023-06-08 23:26:37 +10:00 |
|
Nigel Tao
|
f43246e3bb
|
std/cbor: fix BEGIN/END comment typo
|
2023-06-08 22:47:22 +10:00 |
|
Nigel Tao
|
d6cc525059
|
std/jpeg: optimize IDCT when AC terms are zero
name old speed new speed delta
wuffs_jpeg_decode_19k_8bpp/clang11 199MB/s ± 0% 211MB/s ± 0% +5.69% (p=0.008 n=5+5)
wuffs_jpeg_decode_30k_24bpp_progressive/clang11 169MB/s ± 1% 176MB/s ± 0% +4.32% (p=0.008 n=5+5)
wuffs_jpeg_decode_30k_24bpp_sequential/clang11 269MB/s ± 0% 291MB/s ± 0% +7.89% (p=0.008 n=5+5)
wuffs_jpeg_decode_77k_24bpp/clang11 250MB/s ± 0% 254MB/s ± 0% +1.90% (p=0.008 n=5+5)
wuffs_jpeg_decode_552k_24bpp_420/clang11 258MB/s ± 0% 262MB/s ± 0% +1.51% (p=0.008 n=5+5)
wuffs_jpeg_decode_552k_24bpp_444/clang11 275MB/s ± 0% 356MB/s ± 0% +29.59% (p=0.016 n=5+4)
wuffs_jpeg_decode_4002k_24bpp/clang11 261MB/s ± 0% 263MB/s ± 1% +0.61% (p=0.008 n=5+5)
wuffs_jpeg_decode_19k_8bpp/gcc10 153MB/s ± 0% 165MB/s ± 0% +8.09% (p=0.008 n=5+5)
wuffs_jpeg_decode_30k_24bpp_progressive/gcc10 180MB/s ± 0% 197MB/s ± 0% +9.56% (p=0.008 n=5+5)
wuffs_jpeg_decode_30k_24bpp_sequential/gcc10 288MB/s ± 0% 337MB/s ± 0% +16.81% (p=0.008 n=5+5)
wuffs_jpeg_decode_77k_24bpp/gcc10 237MB/s ± 0% 245MB/s ± 0% +3.47% (p=0.008 n=5+5)
wuffs_jpeg_decode_552k_24bpp_420/gcc10 247MB/s ± 0% 256MB/s ± 0% +3.71% (p=0.016 n=4+5)
wuffs_jpeg_decode_552k_24bpp_444/gcc10 249MB/s ± 0% 348MB/s ± 0% +39.88% (p=0.008 n=5+5)
wuffs_jpeg_decode_4002k_24bpp/gcc10 247MB/s ± 0% 254MB/s ± 0% +2.81% (p=0.008 n=5+5)
|
2023-06-08 22:03:46 +10:00 |
|
Nigel Tao
|
ca2909b6d7
|
cgen: optimize etc__swizzle_ycck for 444 bgrx/rgbx
name old speed new speed delta
wuffs_jpeg_decode_552k_24bpp_444/clang11 227MB/s ± 0% 275MB/s ± 0% +20.76% (p=0.008 n=5+5)
wuffs_jpeg_decode_552k_24bpp_444/gcc10 223MB/s ± 0% 249MB/s ± 0% +11.51% (p=0.008 n=5+5)
|
2023-06-07 22:25:02 +10:00 |
|
Nigel Tao
|
a3e8531ecb
|
std/jpeg: add swizzle_ycck_scratch_buffer_2k
|
2023-06-06 22:25:30 +10:00 |
|
Nigel Tao
|
dcb5b0e1c7
|
test: add 4:4:4 (not just 4:2:0) JPEG test+bench
|
2023-06-05 22:25:22 +10:00 |
|
Nigel Tao
|
e930d66897
|
lang: reject 0-length arrays
|
2023-06-05 13:33:15 +10:00 |
|
Nigel Tao
|
4a2f570d56
|
cgen: simplify bulk_etc method's generated code
|
2023-06-05 13:28:16 +10:00 |
|
Nigel Tao
|
2865c5bfbd
|
std/jpeg: call slice.bulk_{load,save}_host_endian
Updates https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=59540
name old speed new speed delta
wuffs_jpeg_decode_30k_24bpp_progressive/clang11 131MB/s ± 0% 168MB/s ± 0% +28.44% (p=0.008 n=5+5)
wuffs_jpeg_decode_30k_24bpp_progressive/gcc10 167MB/s ± 0% 175MB/s ± 0% +4.80% (p=0.008 n=5+5)
|
2023-06-05 12:51:50 +10:00 |
|
Nigel Tao
|
4a164cda64
|
std/jpeg: tweak apply_progressive_idct
|
2023-06-05 09:29:30 +10:00 |
|
Nigel Tao
|
9c3ca6257d
|
cgen: generate 123u (instead of 123) even more
|
2023-06-04 22:09:19 +10:00 |
|
Nigel Tao
|
677a1c5b8e
|
cgen: builtin generates unsigned values more often
|
2023-06-04 22:01:54 +10:00 |
|
Nigel Tao
|
238aadd8eb
|
std/jpeg: factor out calculate_multiple_competc
|
2023-06-04 21:27:23 +10:00 |
|
Nigel Tao
|
2f18dc61d0
|
std/jpeg: call slice.bulk_memset
|
2023-06-04 21:22:14 +10:00 |
|
Nigel Tao
|
5edfe45e15
|
std/jpeg: add "#unsupported scan count"
Updates https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=59540
|
2023-06-04 15:46:18 +10:00 |
|
Nigel Tao
|
0b18d43e4f
|
std/jpeg: avoid unnecessary IDCT applications
Updates https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=59540
name old speed new speed delta
wuffs_jpeg_decode_30k_24bpp_progressive/clang11 84.6MB/s ± 0% 136.4MB/s ± 0% +61.33% (p=0.008 n=5+5)
wuffs_jpeg_decode_30k_24bpp_progressive/gcc10 93.8MB/s ± 0% 166.5MB/s ± 0% +77.49% (p=0.008 n=5+5)
|
2023-06-04 15:30:20 +10:00 |
|
Nigel Tao
|
442533f08c
|
std/jpeg: avoid unnecessary swizzles
Updates https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=59540
name old speed new speed delta
wuffs_jpeg_decode_30k_24bpp_progressive/clang11 32.4MB/s ± 0% 84.6MB/s ± 0% +160.78% (p=0.008 n=5+5)
wuffs_jpeg_decode_30k_24bpp_progressive/gcc10 38.6MB/s ± 0% 93.8MB/s ± 0% +142.75% (p=0.008 n=5+5)
|
2023-06-04 13:24:39 +10:00 |
|
Nigel Tao
|
e5c92a0ce3
|
script: add bench-go-jpeg
|
2023-06-04 12:58:27 +10:00 |
|
Nigel Tao
|
4751ef4de5
|
test: add std/jpeg mimic tests and benches
|
2023-06-04 12:44:17 +10:00 |
|
Nigel Tao
|
0904751e2d
|
example: add toy-aux-image
|
2023-06-04 10:47:22 +10:00 |
|
Nigel Tao
|
27a3197727
|
script: add truncate-progressive-jpeg.go
"script/confirm-matches-djpeg.sh test/data/*.jpeg" shows differences on
"test/data/peacock.progressive.scan00[0-8].jpeg".
|
2023-06-01 22:32:37 +10:00 |
|
Nigel Tao
|
50d765839c
|
cgen: generate 123u (instead of 123) more often
|
2023-06-01 19:58:50 +10:00 |
|
Nigel Tao
|
805e37915f
|
root: add BUILD.md
|
2023-06-01 13:20:47 +10:00 |
|
Nigel Tao
|
da95945d65
|
example: remove #include <linux/prctl.h>
These don't work with musl-libc. They're also unnecessary with gnu-libc.
Updates #124
|
2023-06-01 12:18:30 +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 |
|
Nigel Tao
|
1cd3604351
|
std/jpeg: prepare to decode progressive JPEGs
|
2023-05-30 15:36:50 +10:00 |
|
Nigel Tao
|
0aad753137
|
test/data: add peacock.*
"script/confirm-matches-djpeg.sh test/data/*.jpeg" shows a difference on
"test/data/peacock.progressive.jpeg".
|
2023-05-22 16:11:12 +10:00 |
|
Nigel Tao
|
02a6a13236
|
cgen: drop redundant "& mask" in "(x & mask) as T"
|
2023-05-22 16:03:24 +10:00 |
|
Nigel Tao
|
145ff0ce64
|
std/jpeg: have fill_bitstream call copy_from_slice
|
2023-05-22 14:23:16 +10:00 |
|
Nigel Tao
|
ac3bd9cdba
|
std/jpeg: reject 2 (not 1, 3 or 4) components
|
2023-05-22 14:11:46 +10:00 |
|
Nigel Tao
|
7d73f3cfa4
|
pixconv: fix ycck implicit promotion to signed int
Updates https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=59182
|
2023-05-22 14:00:17 +10:00 |
|
Nigel Tao
|
06ffee27a2
|
std/jpeg: allow DQT markers after SOF marker
Fixes #120
|
2023-05-21 22:28:59 +10:00 |
|
Nigel Tao
|
a41149e73c
|
std/jpeg: implement triangle-filter upsampling
"script/confirm-matches-djpeg.sh test/data/*.jpeg" is now all matches.
|
2023-05-21 22:05:38 +10:00 |
|
Nigel Tao
|
94df43c530
|
std/jpeg: prepare for triangle-filter upsampling
|
2023-05-21 22:04:45 +10:00 |
|
Nigel Tao
|
56fae16567
|
script: add confirm-matches-djpeg.sh
|
2023-05-18 10:17:08 +10:00 |
|
Nigel Tao
|
9ffc41d16d
|
std/jpeg: tighten decoder workbuf_len worst case
|
2023-05-17 22:45:23 +10:00 |
|
Nigel Tao
|
de5dc68b40
|
std/jpeg: remove components_{w,h}_in_blocks fields
|
2023-05-17 22:10:42 +10:00 |
|
Nigel Tao
|
917aeb1748
|
gitignore: add /usr/bin/perf output files
|
2023-05-17 17:12:18 +10:00 |
|
Nigel Tao
|
5ab65d0923
|
cgen: generate 123u instead of 123 (for std/jpeg)
Updates https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=59018
|
2023-05-16 22:19:43 +10:00 |
|
Nigel Tao
|
85b244aa49
|
std/netpbm: add new package
|
2023-05-16 16:29:58 +10:00 |
|
Nigel Tao
|
382303a99d
|
fuzz: add jpeg_fuzzer.c
Updates #42
|
2023-05-15 12:22:26 +10:00 |
|
Nigel Tao
|
7514dede23
|
std/jpeg: decode color images, not just gray
Updates #42
|
2023-05-14 23:03:33 +10:00 |
|
Nigel Tao
|
3bd83e3ebb
|
std/jpeg: apply Inverse DCT
Updates #42
|
2023-05-11 21:29:07 +10:00 |
|
Nigel Tao
|
8cfe304f3c
|
std/jpeg: implement Inverse DCT
Updates #42
|
2023-05-08 21:51:47 +10:00 |
|
Nigel Tao
|
cac4df3bde
|
std/tga: re-type a field from slice to roslice
|
2023-05-06 10:03:15 +10:00 |
|
Nigel Tao
|
65924cd44d
|
std/lzw: have flush return a roslice
|
2023-05-06 10:00:02 +10:00 |
|
Nigel Tao
|
c914f66a6c
|
std/jpeg: decode Huffman entropy coded data
Updates #42
|
2023-05-06 09:47:10 +10:00 |
|
Nigel Tao
|
6fd9767b5d
|
std/jpeg: calculate number of MCUs and blocks
Updates #42
|
2023-04-30 14:17:27 +10:00 |
|
Nigel Tao
|
e9b537b516
|
std/jpeg: decode SOS (up to entropy coded data)
Updates #42
|
2023-04-29 14:30:34 +10:00 |
|
Nigel Tao
|
a95f39e2d1
|
std/png: delete old comment re APNG is unsupported
|
2023-04-29 12:00:24 +10:00 |
|