Nigel Tao
|
d7d2d9708e
|
Remove some obsolete limit/mark I/O methods
|
2019-07-06 11:43:31 +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
|
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
|
4a85e39d87
|
Rename s/packed/interleaved/ for pixel formats
|
2019-06-16 11:44:29 +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
|
5cdf3197bd
|
Add frame_config.background_color
|
2019-05-26 16:54:37 +10:00 |
|
Nigel Tao
|
31a2bc918e
|
Let GIF decode an opaque but non-black background
|
2019-05-21 08:53:35 +10:00 |
|
Nigel Tao
|
9cf5857283
|
Add some built-in statuses
|
2019-04-20 13:14:56 +10:00 |
|
Nigel Tao
|
7416111b9e
|
Add FourCC constants
|
2019-04-20 11:44:49 +10:00 |
|
Nigel Tao
|
f8d02cfb16
|
Change the warning message prefix from "~" to "@"
|
2019-03-02 14:42:50 +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
|
4f76d2f893
|
Rename some check_wuffs_version status messages
|
2019-02-09 14:56:27 +11:00 |
|
Nigel Tao
|
c9830ceb9a
|
Add a workbuf argument to decode_io_writer
|
2019-02-02 15:35:05 +11:00 |
|
Nigel Tao
|
65c2f4971f
|
Rename some initialize methods to prepare or set
|
2019-01-26 15:46:42 +11:00 |
|
Nigel Tao
|
ecccafab09
|
Add check for interleaved coroutines
It's not an optimization per se, but it seems to help:
name old speed new speed delta
wuffs_deflate_decode_1k/clang5 138MB/s ± 1% 150MB/s ± 1% +8.96% (p=0.008 n=5+5)
wuffs_deflate_decode_10k/clang5 223MB/s ± 0% 243MB/s ± 0% +9.25% (p=0.008 n=5+5)
wuffs_deflate_decode_100k_just_one_read/clang5 263MB/s ± 2% 289MB/s ± 0% +10.19% (p=0.008 n=5+5)
wuffs_deflate_decode_100k_many_big_reads/clang5 220MB/s ± 1% 243MB/s ± 0% +10.42% (p=0.008 n=5+5)
wuffs_deflate_decode_1k/gcc7 158MB/s ± 0% 157MB/s ± 0% ~ (p=0.056 n=5+5)
wuffs_deflate_decode_10k/gcc7 268MB/s ± 0% 268MB/s ± 0% ~ (p=1.000 n=5+5)
wuffs_deflate_decode_100k_just_one_read/gcc7 312MB/s ± 0% 320MB/s ± 0% +2.62% (p=0.008 n=5+5)
wuffs_deflate_decode_100k_many_big_reads/gcc7 254MB/s ± 0% 253MB/s ± 0% -0.48% (p=0.016 n=5+5)
|
2019-01-26 15:33:43 +11:00 |
|
Nigel Tao
|
dec519d9b4
|
Remove image_config.workbuf_len
|
2019-01-19 14:49:27 +11:00 |
|
Nigel Tao
|
093268e179
|
Rename the !?? effect to ?
|
2018-12-29 13:57:57 +11:00 |
|
Nigel Tao
|
247232091d
|
Delete an obsolete io_bind in std/gif
|
2018-12-16 10:12:43 +11:00 |
|
Nigel Tao
|
33a4557d98
|
Collect GIF's LZW data into larger batches
name old speed new speed delta
wuffs_gif_decode_1k_bw/clang 224MB/s ± 1% 227MB/s ± 0% +0.98% (p=0.000 n=10+9)
wuffs_gif_decode_1k_color/clang 116MB/s ± 1% 118MB/s ± 1% +2.26% (p=0.000 n=10+10)
wuffs_gif_decode_10k_bgra/clang 541MB/s ± 0% 568MB/s ± 1% +4.97% (p=0.000 n=9+10)
wuffs_gif_decode_10k_indexed/clang 144MB/s ± 0% 152MB/s ± 0% +5.61% (p=0.000 n=9+10)
wuffs_gif_decode_100k_artificial/clang 438MB/s ± 1% 454MB/s ± 1% +3.56% (p=0.000 n=9+10)
wuffs_gif_decode_100k_realistic/clang 171MB/s ± 0% 179MB/s ± 0% +4.64% (p=0.000 n=8+10)
wuffs_gif_decode_1000k/clang 174MB/s ± 0% 180MB/s ± 0% +3.90% (p=0.000 n=9+10)
wuffs_gif_decode_anim_screencap/clang 897MB/s ± 1% 943MB/s ± 0% +5.10% (p=0.000 n=9+9)
wuffs_gif_decode_1k_bw/gcc 250MB/s ± 1% 241MB/s ± 1% -3.26% (p=0.000 n=10+10)
wuffs_gif_decode_1k_color/gcc 132MB/s ± 1% 130MB/s ± 1% -2.15% (p=0.000 n=10+10)
wuffs_gif_decode_10k_bgra/gcc 534MB/s ± 1% 535MB/s ± 1% ~ (p=0.211 n=9+10)
wuffs_gif_decode_10k_indexed/gcc 162MB/s ± 1% 163MB/s ± 0% ~ (p=0.105 n=10+10)
wuffs_gif_decode_100k_artificial/gcc 460MB/s ± 0% 456MB/s ± 0% -0.80% (p=0.000 n=10+10)
wuffs_gif_decode_100k_realistic/gcc 186MB/s ± 0% 186MB/s ± 1% -0.33% (p=0.001 n=9+10)
wuffs_gif_decode_1000k/gcc 189MB/s ± 1% 188MB/s ± 1% ~ (p=0.053 n=9+10)
wuffs_gif_decode_anim_screencap/gcc 981MB/s ± 1% 971MB/s ± 1% -0.95% (p=0.000 n=10+10)
|
2018-12-15 14:10:10 +11:00 |
|
Nigel Tao
|
6d2bb77bb7
|
Add a data:etc argument to io_bind
|
2018-12-09 09:53:46 +11:00 |
|
Nigel Tao
|
e992921dce
|
Add an io_limit keyword
|
2018-12-09 09:03:21 +11:00 |
|
Nigel Tao
|
90193cb6e2
|
Add palette arguments to the pixel swizzler
|
2018-12-08 13:58:52 +11:00 |
|
Nigel Tao
|
6c9dca47ee
|
Add a base.pixel_swizzler type
|
2018-12-08 13:25:53 +11:00 |
|
Nigel Tao
|
c986536230
|
Rename some read_uxx methods as read_uxx_as_uyy
|
2018-11-25 12:15:05 +11:00 |
|
Nigel Tao
|
c84732f3d3
|
Quote built-in statuses
|
2018-11-24 13:42:18 +11:00 |
|
Nigel Tao
|
9e5aec5d25
|
Change "$foo" to base."$foo"
|
2018-11-24 13:36:09 +11:00 |
|
Nigel Tao
|
e84a716313
|
Add comment to consider status.is_complete
|
2018-11-24 10:10:39 +11:00 |
|
Nigel Tao
|
4023294ba2
|
Add a gif.decoder.frame_dirty_rect method
|
2018-11-17 21:26:53 +11:00 |
|
Nigel Tao
|
7be9c39283
|
Move num_loops out of the image_config
For the GIF format, it isn't necessarily before the first frame.
|
2018-10-13 17:00:45 +11:00 |
|
Nigel Tao
|
73ed2eece1
|
Change warning string's prefix from "!" to "~"
|
2018-09-15 08:59:37 +10:00 |
|
Nigel Tao
|
ead965c61f
|
Add a ! effect to copy_from_slice
|
2018-09-08 11:14:37 +10:00 |
|
Nigel Tao
|
724b136bf8
|
Remove the obsolete set_palette method
|
2018-09-08 11:11:36 +10:00 |
|
Nigel Tao
|
fbbdc412d1
|
Rename work_buffer_size to workbuf_len
|
2018-09-08 09:06:56 +10:00 |
|
Nigel Tao
|
5bf7c5c051
|
Add image_config.first_frame_io_position
Also fix a type typo for image_config.first_frame_is_opaque.
|
2018-09-08 08:40:45 +10:00 |
|
Nigel Tao
|
555a72d7a9
|
Add a decode_frame_options type
|
2018-09-02 15:08:00 +10:00 |
|
Nigel Tao
|
8b1e023e6a
|
Add image_config.work_buffer_size
|
2018-09-02 14:56:53 +10:00 |
|
Nigel Tao
|
a3269e160e
|
Tweak gif restart_frame args
|
2018-09-02 14:12:51 +10:00 |
|
Nigel Tao
|
a34cc5311e
|
Place the frame_config's pos before it not after
|
2018-08-26 23:58:03 +10:00 |
|
Nigel Tao
|
9c04249bfe
|
Add warnings as another status code category
|
2018-08-26 23:22:45 +10:00 |
|
Nigel Tao
|
d4f7c263e3
|
Rename s/invalid/bad/ in "invalid call sequence"
|
2018-08-26 21:20:25 +10:00 |
|
Nigel Tao
|
814507e848
|
First sketch of reset_for_decode_frame
|
2018-08-26 21:18:08 +10:00 |
|
Nigel Tao
|
132b54378c
|
Remove frame_config.palette_changed
|
2018-08-26 17:22:29 +10:00 |
|
Nigel Tao
|
7798beaa8c
|
Add I/O positions
|
2018-08-26 16:31:19 +10:00 |
|
Nigel Tao
|
f836d3b743
|
Rename "check_wuffs_version called twice"
|
2018-08-19 17:08:36 +10:00 |
|
Nigel Tao
|
fbb8bd44b8
|
Make blend an enum, not just a bool
|
2018-08-19 17:00:00 +10:00 |
|
Nigel Tao
|
9367cd800b
|
Remove the (pointer-typed) private_impl.status
|
2018-08-19 11:32:31 +10:00 |
|
Nigel Tao
|
82a19afd4a
|
Sort built-in status messages
|
2018-08-12 21:32:41 +10:00 |
|