Nigel Tao
|
ca9015bd2d
|
Have std/gif replicate interlaced rows
|
2019-09-14 08:35:50 +10:00 |
|
Nigel Tao
|
f379f7f905
|
Fix parsing 0 length GIF metadata
|
2019-08-31 08:20:18 +10:00 |
|
Nigel Tao
|
fbece6d53a
|
Add std/gif comment about clipping to image rect
|
2019-08-09 09:38:08 +10:00 |
|
Nigel Tao
|
392c8c544a
|
Rename null_io_buffer etc to empty_io_buffer
|
2019-07-13 10:55:51 +10:00 |
|
Nigel Tao
|
b54b40a418
|
Use history_available in decode_huffman_fast
name old speed new speed delta
wuffs_deflate_decode_1k_full_init/clang5 134MB/s ± 1% 137MB/s ± 0% +1.74% (p=0.000 n=10+10)
wuffs_deflate_decode_1k_part_init/clang5 162MB/s ± 1% 165MB/s ± 0% +1.79% (p=0.000 n=10+10)
wuffs_deflate_decode_10k_full_init/clang5 220MB/s ± 0% 226MB/s ± 0% +2.76% (p=0.000 n=10+9)
wuffs_deflate_decode_10k_part_init/clang5 225MB/s ± 0% 232MB/s ± 1% +2.77% (p=0.000 n=9+9)
wuffs_deflate_decode_100k_just_one_read/clang5 270MB/s ± 0% 265MB/s ± 0% -1.93% (p=0.000 n=10+10)
wuffs_deflate_decode_100k_many_big_reads/clang5 225MB/s ± 0% 223MB/s ± 0% -1.04% (p=0.000 n=10+9)
wuffs_deflate_decode_1k_full_init/gcc7 151MB/s ± 1% 151MB/s ± 0% ~ (p=0.277 n=9+8)
wuffs_deflate_decode_1k_part_init/gcc7 186MB/s ± 1% 186MB/s ± 0% ~ (p=0.696 n=10+8)
wuffs_deflate_decode_10k_full_init/gcc7 256MB/s ± 1% 253MB/s ± 1% -0.98% (p=0.001 n=10+9)
wuffs_deflate_decode_10k_part_init/gcc7 264MB/s ± 1% 261MB/s ± 0% -1.11% (p=0.000 n=10+9)
wuffs_deflate_decode_100k_just_one_read/gcc7 310MB/s ± 1% 312MB/s ± 0% +0.43% (p=0.013 n=10+9)
wuffs_deflate_decode_100k_many_big_reads/gcc7 247MB/s ± 0% 251MB/s ± 0% +1.47% (p=0.000 n=10+9)
|
2019-07-06 11:31:17 +10:00 |
|
Nigel Tao
|
9f7435c7b4
|
Add io_writer.history_available method
Also change copy_n_from_history to examine the buffer start instead of
the buffer mark.
name old speed new speed delta
wuffs_deflate_decode_1k_full_init/clang5 151MB/s ± 0% 134MB/s ± 1% -11.11% (p=0.000 n=10+10)
wuffs_deflate_decode_1k_part_init/clang5 187MB/s ± 0% 162MB/s ± 1% -13.11% (p=0.000 n=10+10)
wuffs_deflate_decode_10k_full_init/clang5 241MB/s ± 0% 220MB/s ± 0% -8.76% (p=0.000 n=10+10)
wuffs_deflate_decode_10k_part_init/clang5 248MB/s ± 0% 225MB/s ± 0% -9.12% (p=0.000 n=10+9)
wuffs_deflate_decode_100k_just_one_read/clang5 288MB/s ± 0% 270MB/s ± 0% -6.16% (p=0.000 n=10+10)
wuffs_deflate_decode_100k_many_big_reads/clang5 239MB/s ± 0% 225MB/s ± 0% -5.84% (p=0.000 n=10+10)
wuffs_deflate_decode_1k_full_init/gcc7 153MB/s ± 1% 151MB/s ± 1% -1.13% (p=0.000 n=10+9)
wuffs_deflate_decode_1k_part_init/gcc7 187MB/s ± 1% 186MB/s ± 1% ~ (p=0.052 n=10+10)
wuffs_deflate_decode_10k_full_init/gcc7 261MB/s ± 0% 256MB/s ± 1% -1.83% (p=0.000 n=10+10)
wuffs_deflate_decode_10k_part_init/gcc7 269MB/s ± 1% 264MB/s ± 1% -1.62% (p=0.000 n=10+10)
wuffs_deflate_decode_100k_just_one_read/gcc7 313MB/s ± 0% 310MB/s ± 1% -0.69% (p=0.000 n=9+10)
wuffs_deflate_decode_100k_many_big_reads/gcc7 247MB/s ± 0% 247MB/s ± 0% ~ (p=0.089 n=10+10)
|
2019-07-06 11:26:05 +10:00 |
|
Nigel Tao
|
4fcba3a760
|
Replace std/gif's use of since_mark
name old speed new speed delta
wuffs_gif_decode_1k_bw/clang5 380MB/s ± 1% 407MB/s ± 1% +7.09% (p=0.000 n=10+10)
wuffs_gif_decode_1k_color_full_init/clang5 137MB/s ± 0% 140MB/s ± 1% +1.87% (p=0.000 n=10+10)
wuffs_gif_decode_1k_color_part_init/clang5 182MB/s ± 1% 185MB/s ± 1% +1.50% (p=0.000 n=10+10)
wuffs_gif_decode_10k_bgra/clang5 736MB/s ± 1% 736MB/s ± 0% ~ (p=0.696 n=10+8)
wuffs_gif_decode_10k_indexed/clang5 199MB/s ± 1% 198MB/s ± 0% -0.45% (p=0.021 n=10+8)
wuffs_gif_decode_20k/clang5 246MB/s ± 0% 244MB/s ± 1% -0.61% (p=0.011 n=10+10)
wuffs_gif_decode_100k_artificial/clang5 541MB/s ± 1% 540MB/s ± 1% ~ (p=0.579 n=10+10)
wuffs_gif_decode_100k_realistic/clang5 222MB/s ± 0% 222MB/s ± 0% ~ (p=0.481 n=10+10)
wuffs_gif_decode_1000k_full_init/clang5 226MB/s ± 1% 225MB/s ± 0% -0.40% (p=0.035 n=10+10)
wuffs_gif_decode_1000k_part_init/clang5 226MB/s ± 0% 226MB/s ± 0% -0.23% (p=0.013 n=10+9)
wuffs_gif_decode_anim_screencap/clang5 1.07GB/s ± 1% 1.07GB/s ± 0% ~ (p=0.089 n=10+10)
wuffs_gif_decode_1k_bw/gcc7 438MB/s ± 1% 459MB/s ± 0% +4.67% (p=0.000 n=10+9)
wuffs_gif_decode_1k_color_full_init/gcc7 136MB/s ± 1% 139MB/s ± 0% +2.25% (p=0.000 n=10+9)
wuffs_gif_decode_1k_color_part_init/gcc7 177MB/s ± 1% 180MB/s ± 1% +1.66% (p=0.000 n=10+10)
wuffs_gif_decode_10k_bgra/gcc7 612MB/s ± 1% 615MB/s ± 1% +0.57% (p=0.022 n=10+9)
wuffs_gif_decode_10k_indexed/gcc7 192MB/s ± 0% 193MB/s ± 1% +0.38% (p=0.022 n=10+9)
wuffs_gif_decode_20k/gcc7 234MB/s ± 0% 234MB/s ± 1% ~ (p=0.631 n=10+10)
wuffs_gif_decode_100k_artificial/gcc7 499MB/s ± 1% 497MB/s ± 1% -0.48% (p=0.011 n=10+10)
wuffs_gif_decode_100k_realistic/gcc7 203MB/s ± 0% 203MB/s ± 0% ~ (p=0.489 n=9+9)
wuffs_gif_decode_1000k_full_init/gcc7 207MB/s ± 0% 206MB/s ± 0% -0.27% (p=0.010 n=8+8)
wuffs_gif_decode_1000k_part_init/gcc7 207MB/s ± 1% 207MB/s ± 1% ~ (p=0.604 n=10+9)
wuffs_gif_decode_anim_screencap/gcc7 1.03GB/s ± 1% 1.03GB/s ± 1% ~ (p=0.968 n=10+9)
|
2019-07-06 10:21:39 +10:00 |
|
Nigel Tao
|
ff1e3c9c48
|
Add mark/since/count_since methods
name old speed new speed delta
wuffs_deflate_decode_1k_full_init/clang5 149MB/s ± 0% 151MB/s ± 1% +1.46% (p=0.000 n=9+7)
wuffs_deflate_decode_1k_part_init/clang5 183MB/s ± 1% 188MB/s ± 2% +2.40% (p=0.000 n=10+10)
wuffs_deflate_decode_10k_full_init/clang5 236MB/s ± 0% 242MB/s ± 1% +2.56% (p=0.000 n=10+10)
wuffs_deflate_decode_10k_part_init/clang5 243MB/s ± 0% 249MB/s ± 0% +2.36% (p=0.000 n=9+9)
wuffs_deflate_decode_100k_just_one_read/clang5 279MB/s ± 0% 288MB/s ± 1% +3.28% (p=0.000 n=9+8)
wuffs_deflate_decode_100k_many_big_reads/clang5 232MB/s ± 0% 240MB/s ± 1% +3.76% (p=0.000 n=9+9)
wuffs_deflate_decode_1k_full_init/gcc7 152MB/s ± 1% 152MB/s ± 1% ~ (p=0.661 n=10+9)
wuffs_deflate_decode_1k_part_init/gcc7 188MB/s ± 0% 187MB/s ± 1% -0.58% (p=0.013 n=10+9)
wuffs_deflate_decode_10k_full_init/gcc7 260MB/s ± 0% 260MB/s ± 0% ~ (p=0.393 n=10+10)
wuffs_deflate_decode_10k_part_init/gcc7 268MB/s ± 0% 268MB/s ± 0% ~ (p=0.971 n=10+10)
wuffs_deflate_decode_100k_just_one_read/gcc7 312MB/s ± 1% 312MB/s ± 0% ~ (p=0.720 n=10+9)
wuffs_deflate_decode_100k_many_big_reads/gcc7 247MB/s ± 1% 247MB/s ± 0% -0.26% (p=0.022 n=10+9)
|
2019-07-06 09:58:51 +10:00 |
|
Nigel Tao
|
944b9fb008
|
Add doc/note/quirks.md
|
2019-06-29 18:44:41 +10:00 |
|
Nigel Tao
|
4a85e39d87
|
Rename s/packed/interleaved/ for pixel formats
|
2019-06-16 11:44:29 +10:00 |
|
Nigel Tao
|
0b1f43834f
|
Let GIF decode BGR/RGB, not just BGRA/RGBA
|
2019-06-09 08:42:13 +10:00 |
|
Nigel Tao
|
7e5332cadf
|
Have swizzler.prepare return unsupported option
|
2019-06-08 22:27:55 +10:00 |
|
Nigel Tao
|
abaab57cfd
|
Remove image_config.background_color
|
2019-06-01 09:07:19 +10:00 |
|
Nigel Tao
|
cf26b93f2f
|
Re-assign GIF quirk numbers
|
2019-06-01 08:40:07 +10:00 |
|
Nigel Tao
|
fd72372312
|
Add wuffs_gif__quirk_first_frame_local_palette_etc
|
2019-06-01 08:38:30 +10:00 |
|
Nigel Tao
|
bb07118422
|
Re-assign GIF quirk numbers
|
2019-05-26 17:45:06 +10:00 |
|
Nigel Tao
|
73fcd7e502
|
Rename wuffs_gif__quirk_background_is_opaque
|
2019-05-26 17:43:58 +10:00 |
|
Nigel Tao
|
5cdf3197bd
|
Add frame_config.background_color
|
2019-05-26 16:54:37 +10:00 |
|
Nigel Tao
|
08dd41aa93
|
Tweak wuffs_gif__quirk_reject_empty_frame
|
2019-05-26 16:25:01 +10:00 |
|
Nigel Tao
|
d41430c4f5
|
Allow an LZW literal width of 0
|
2019-05-26 15:52:07 +10:00 |
|
Nigel Tao
|
af4e327a8f
|
Have set_quirk_enabled check call_sequence == 0
|
2019-05-26 15:08:45 +10:00 |
|
Nigel Tao
|
143b19c564
|
Add wuffs_gif__quirk_reject_empty_frame
|
2019-05-26 13:12:22 +10:00 |
|
Nigel Tao
|
fc9c2916f5
|
Add more commentary about quirks
|
2019-05-26 09:27:17 +10:00 |
|
Nigel Tao
|
ded9ffb0c0
|
Add wuffs_gif__quirk_delay_num_decoded_frames
|
2019-05-26 09:01:20 +10:00 |
|
Nigel Tao
|
5780b406dc
|
Fix ignore_too_much_pixel_data infinite loop
|
2019-05-25 12:31:43 +10:00 |
|
Nigel Tao
|
74a591ab2b
|
Reject bad LZW widths when skipping GIF frames
|
2019-05-25 10:56:46 +10:00 |
|
Nigel Tao
|
31a2bc918e
|
Let GIF decode an opaque but non-black background
|
2019-05-21 08:53:35 +10:00 |
|
Nigel Tao
|
b1ff27fded
|
Decode multiple graphic controls in a GIF
|
2019-05-12 22:02:39 +10:00 |
|
Nigel Tao
|
5bea867f72
|
Allow an LZW literal width of 1
|
2019-05-12 21:32:30 +10:00 |
|
Nigel Tao
|
24a2f12c30
|
Add wuffs_gif__quirk_ignore_too_much_pixel_data
|
2019-05-04 14:04:28 +10:00 |
|
Nigel Tao
|
a1f777b16e
|
Clean up std/gif which_palette variable
|
2019-05-04 13:54:39 +10:00 |
|
Nigel Tao
|
746681ea68
|
Add wuffs_gif__quirk_reject_empty_palette
|
2019-05-04 13:49:22 +10:00 |
|
Nigel Tao
|
1311445408
|
Add wuffs_gif__quirk_initial_background_is_opaque
|
2019-05-04 12:35:37 +10:00 |
|
Nigel Tao
|
941cecca8c
|
Add wuffs_gif__quirk_image_bounds_are_strict
|
2019-05-04 12:19:52 +10:00 |
|
Nigel Tao
|
ed8741b384
|
Prepare to add gif quirks
|
2019-05-04 11:58:18 +10:00 |
|
Nigel Tao
|
a1a5b40178
|
Simplify std/gif decoding re warnings
|
2019-04-21 21:49:20 +10:00 |
|
Nigel Tao
|
842500d51c
|
Report ICCP metadata
|
2019-04-20 16:48:18 +10:00 |
|
Nigel Tao
|
21f2890217
|
Report image metadata such as ICCP and XMP
|
2019-04-20 16:33:11 +10:00 |
|
Nigel Tao
|
abaaee3cac
|
Re-number gif call-sequence values
|
2019-04-20 13:18:28 +10:00 |
|
Nigel Tao
|
02dc564596
|
Eliminate a branch in std/deflate decoding
name old speed new speed delta
wuffs_deflate_decode_1k_full_init/clang5 139MB/s ± 1% 151MB/s ± 1% +9.19% (p=0.000 n=28+30)
wuffs_deflate_decode_1k_part_init/clang5 169MB/s ± 1% 187MB/s ± 1% +11.15% (p=0.000 n=28+28)
wuffs_deflate_decode_10k_full_init/clang5 200MB/s ± 0% 242MB/s ± 1% +20.99% (p=0.000 n=28+28)
wuffs_deflate_decode_10k_part_init/clang5 205MB/s ± 1% 249MB/s ± 1% +21.51% (p=0.000 n=29+29)
wuffs_deflate_decode_100k_just_one_read/clang5 255MB/s ± 1% 280MB/s ± 1% +9.86% (p=0.000 n=29+30)
wuffs_deflate_decode_100k_many_big_reads/clang5 218MB/s ± 0% 241MB/s ± 1% +10.58% (p=0.000 n=27+24)
wuffs_deflate_decode_1k_full_init/gcc7 155MB/s ± 1% 155MB/s ± 2% ~ (p=0.521 n=28+29)
wuffs_deflate_decode_1k_part_init/gcc7 190MB/s ± 1% 191MB/s ± 1% +0.51% (p=0.000 n=27+28)
wuffs_deflate_decode_10k_full_init/gcc7 265MB/s ± 1% 266MB/s ± 1% +0.54% (p=0.000 n=29+30)
wuffs_deflate_decode_10k_part_init/gcc7 272MB/s ± 1% 274MB/s ± 1% +0.73% (p=0.000 n=29+30)
wuffs_deflate_decode_100k_just_one_read/gcc7 317MB/s ± 0% 318MB/s ± 0% +0.58% (p=0.000 n=28+28)
wuffs_deflate_decode_100k_many_big_reads/gcc7 252MB/s ± 1% 253MB/s ± 0% +0.64% (p=0.000 n=29+27)
|
2019-03-16 14:02:15 +11:00 |
|
Nigel Tao
|
a7e2fc86d2
|
Add commentary about the Adler-32 algorithm
|
2019-03-09 11:20:30 +11:00 |
|
Nigel Tao
|
ef7aa0d980
|
Rename "!=" to "<>"; "!" now only shows impurity
|
2019-03-02 14:51:32 +11:00 |
|
Nigel Tao
|
f8d02cfb16
|
Change the warning message prefix from "~" to "@"
|
2019-03-02 14:42:50 +11:00 |
|
Nigel Tao
|
5aeb98c701
|
Restore deflate.decoder.n_huffs_bits's refinement
|
2019-02-24 09:15:31 +11:00 |
|
Nigel Tao
|
931fdce475
|
Rename "yield foo" to "yield? foo"
|
2019-02-23 17:15:57 +11:00 |
|
Nigel Tao
|
045f180a6c
|
Rename errors from "?msg" to "#msg"
|
2019-02-23 17:06:24 +11:00 |
|
Nigel Tao
|
8b41881ba7
|
Rename gif's "too much pixel data"
|
2019-02-23 14:34:06 +11:00 |
|
Nigel Tao
|
d7f434c6e4
|
Have the GIF decoder check for "not enough data"
Fixes #20
|
2019-02-23 14:29:16 +11:00 |
|
Nigel Tao
|
6974c4d629
|
Refine the lzw.decoder.prefixes element type
name old speed new speed delta
wuffs_gif_decode_1k_bw/clang5 445MB/s ± 1% 413MB/s ± 1% -7.11% (p=0.008 n=5+5)
wuffs_gif_decode_1k_color/clang5 192MB/s ± 0% 185MB/s ± 0% -3.82% (p=0.008 n=5+5)
wuffs_gif_decode_10k_bgra/clang5 748MB/s ± 1% 742MB/s ± 0% ~ (p=0.151 n=5+5)
wuffs_gif_decode_10k_indexed/clang5 202MB/s ± 1% 198MB/s ± 1% -1.69% (p=0.008 n=5+5)
wuffs_gif_decode_20k/clang5 251MB/s ± 0% 251MB/s ± 1% ~ (p=1.000 n=4+5)
wuffs_gif_decode_100k_artificial/clang5 545MB/s ± 1% 563MB/s ± 1% +3.21% (p=0.008 n=5+5)
wuffs_gif_decode_100k_realistic/clang5 226MB/s ± 1% 228MB/s ± 0% +0.96% (p=0.016 n=5+5)
wuffs_gif_decode_1000k/clang5 230MB/s ± 1% 232MB/s ± 0% +1.25% (p=0.008 n=5+5)
wuffs_gif_decode_anim_screencap/clang5 1.07GB/s ± 1% 1.11GB/s ± 1% +3.52% (p=0.008 n=5+5)
wuffs_gif_decode_1k_bw/gcc7 467MB/s ± 0% 486MB/s ± 1% +4.11% (p=0.008 n=5+5)
wuffs_gif_decode_1k_color/gcc7 196MB/s ± 0% 186MB/s ± 1% -4.69% (p=0.008 n=5+5)
wuffs_gif_decode_10k_bgra/gcc7 639MB/s ± 1% 629MB/s ± 1% -1.69% (p=0.008 n=5+5)
wuffs_gif_decode_10k_indexed/gcc7 202MB/s ± 1% 199MB/s ± 0% -1.13% (p=0.016 n=5+5)
wuffs_gif_decode_20k/gcc7 243MB/s ± 1% 243MB/s ± 0% ~ (p=0.730 n=5+4)
wuffs_gif_decode_100k_artificial/gcc7 510MB/s ± 0% 510MB/s ± 1% ~ (p=1.000 n=5+5)
wuffs_gif_decode_100k_realistic/gcc7 211MB/s ± 0% 212MB/s ± 0% +0.55% (p=0.008 n=5+5)
wuffs_gif_decode_1000k/gcc7 214MB/s ± 0% 215MB/s ± 0% ~ (p=0.056 n=5+5)
wuffs_gif_decode_anim_screencap/gcc7 1.03GB/s ± 1% 1.05GB/s ± 3% ~ (p=0.151 n=5+5)
wuffs_lzw_decode_20k/clang5 267MB/s ± 2% 272MB/s ± 0% +1.79% (p=0.008 n=5+5)
wuffs_lzw_decode_100k/clang5 451MB/s ± 2% 469MB/s ± 1% +3.99% (p=0.008 n=5+5)
wuffs_lzw_decode_20k/gcc7 268MB/s ± 0% 269MB/s ± 0% +0.40% (p=0.032 n=5+5)
wuffs_lzw_decode_100k/gcc7 483MB/s ± 1% 483MB/s ± 0% ~ (p=1.000 n=5+5)
|
2019-02-23 13:13:26 +11:00 |
|
Nigel Tao
|
92959fb81f
|
Check that extra-field types aren't refined
|
2019-02-16 15:40:02 +11:00 |
|