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 |
|
Nigel Tao
|
eec0fce647
|
Change error "?foo" to status "?foo"
|
2018-08-12 21:31:56 +10:00 |
|
Nigel Tao
|
c499f03bc7
|
Delete obsolete wuffs_foo__status__string funcs
|
2018-08-12 19:10:24 +10:00 |
|
Nigel Tao
|
b385c30b4f
|
Add a "?" prefix to non-built-in status messages
|
2018-08-12 14:07:40 +10:00 |
|
Nigel Tao
|
fd43e777bc
|
Have check_wuffs_version return a status code
|
2018-08-05 22:29:54 +10:00 |
|
Nigel Tao
|
eca5565821
|
Removed closed-for-read/write status codes
|
2018-08-04 09:34:39 +10:00 |
|
Nigel Tao
|
2100a9f837
|
Use !?? to denote coroutines
|
2018-07-29 13:57:13 +10:00 |
|
Nigel Tao
|
9919d78245
|
Change func out-type from struct to bare type
|
2018-07-29 10:02:06 +10:00 |
|
Nigel Tao
|
1c75f7b748
|
Redo {frame,image,pixel}_config and pixel_buffer
|
2018-07-21 09:15:33 +10:00 |
|
Nigel Tao
|
e49d464432
|
Make _fast explicit in copy_n_from_history_fast
|
2018-07-08 21:39:18 +10:00 |
|
Nigel Tao
|
8a449fa92e
|
Rename __bco to _fast
|
2018-07-08 21:10:40 +10:00 |
|
Nigel Tao
|
13284015cb
|
Remove unused error "invalid I/O operation"
|
2018-07-08 21:04:15 +10:00 |
|