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
|
11c8917a4c
|
Clip a frame's bounds to the image bounds
|
2018-09-08 08:02:47 +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
|
695d731fb9
|
Put the GIF frame_config I/O position back 1 byte
We'll need that flags byte (for the interlace bit and palette size) when
decoding frames in a random-access manner.
|
2018-08-26 17:48:43 +10:00 |
|
Nigel Tao
|
0066d6ac9b
|
Re-org gif's which_palette determination
|
2018-08-26 17:30:36 +10:00 |
|
Nigel Tao
|
826b3e6c48
|
Remove gif's previous_use_global_palette
|
2018-08-26 17:25:34 +10:00 |
|
Nigel Tao
|
132b54378c
|
Remove frame_config.palette_changed
|
2018-08-26 17:22:29 +10:00 |
|
Nigel Tao
|
75195af7db
|
Re-org GIF Image Descriptor parsing
|
2018-08-26 17:18:20 +10:00 |
|
Nigel Tao
|
87ee928448
|
Prepare to re-org GIF Image Descriptor parsing
|
2018-08-26 16:48:09 +10:00 |
|
Nigel Tao
|
7798beaa8c
|
Add I/O positions
|
2018-08-26 16:31:19 +10:00 |
|
Nigel Tao
|
ece4eea1af
|
Make implicit palette entries opaque black
|
2018-08-25 14:54:27 +10:00 |
|
Nigel Tao
|
fbb8bd44b8
|
Make blend an enum, not just a bool
|
2018-08-19 17:00:00 +10:00 |
|
Nigel Tao
|
c1af1e2c82
|
Rename $(etc) to [etc]
|
2018-08-18 10:11:43 +10:00 |
|
Nigel Tao
|
6236e7205f
|
Remove packageid
|
2018-08-12 21:44:49 +10:00 |
|
Nigel Tao
|
eec0fce647
|
Change error "?foo" to status "?foo"
|
2018-08-12 21:31:56 +10:00 |
|
Nigel Tao
|
203b45e869
|
Remove status values
|
2018-08-12 19:36:29 +10:00 |
|
Nigel Tao
|
b385c30b4f
|
Add a "?" prefix to non-built-in status messages
|
2018-08-12 14:07:40 +10:00 |
|
Nigel Tao
|
73b104dfb8
|
Merge pull request #17 from jimmycasey/master
Fixed Spelling.
|
2018-08-04 09:56:44 +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
|
ca06083f8a
|
Rename the implicit in variable to args
|
2018-07-29 10:26:22 +10:00 |
|
Nigel Tao
|
9919d78245
|
Change func out-type from struct to bare type
|
2018-07-29 10:02:06 +10:00 |
|
Jimmy Casey
|
3c50ada2c6
|
Fixed Spelling.
|
2018-07-26 17:12:19 +00:00 |
|
Nigel Tao
|
951d79fa00
|
Reorder decode_frame args
|
2018-07-22 17:27:29 +10:00 |
|
Nigel Tao
|
adba763a02
|
Fix decode_frame_config without decode_frame
|
2018-07-22 17:22:34 +10:00 |
|
Nigel Tao
|
9514b12c7f
|
Spin decode_frame_config out of decode_frame
|
2018-07-21 21:45:33 +10:00 |
|
Nigel Tao
|
1c75f7b748
|
Redo {frame,image,pixel}_config and pixel_buffer
|
2018-07-21 09:15:33 +10:00 |
|
Nigel Tao
|
dcda30b96a
|
Rename decode_config to decode_image_config
|
2018-07-15 19:48:30 +10:00 |
|
Nigel Tao
|
7e4b244208
|
Delete an obsolete TODO
|
2018-07-15 17:46:33 +10:00 |
|
Nigel Tao
|
3df168ed9d
|
Have std/gif's decode_frame call decode_config
|
2018-07-15 17:40:28 +10:00 |
|
Nigel Tao
|
29eb64a0a4
|
Add a nptr T type
|
2018-07-15 17:10:03 +10:00 |
|
Nigel Tao
|
15f2f42b77
|
Add a nullptr literal
|
2018-07-15 16:41:23 +10:00 |
|
Nigel Tao
|
e49d464432
|
Make _fast explicit in copy_n_from_history_fast
|
2018-07-08 21:39:18 +10:00 |
|
Nigel Tao
|
9e300fc4f8
|
Rename unread_u8? to undo_byte!; add can_undo_byte
|
2018-07-08 21:02:29 +10:00 |
|
Nigel Tao
|
5aa16ef671
|
Use the peek, skip_fast and write_fast methods
No change in the benchmark numbers.
|
2018-07-08 14:17:16 +10:00 |
|
Nigel Tao
|
a32683e5ea
|
Drop the 32 in the skip32 and skip32_fast names
|
2018-07-08 14:02:32 +10:00 |
|
Nigel Tao
|
26eba56f57
|
Rename some copy_from_xxx methods
|
2018-07-08 13:56:49 +10:00 |
|
Nigel Tao
|
e43aa62d1c
|
Fix some C++ (not C) compile errors
|
2018-06-30 13:31:52 +10:00 |
|
Nigel Tao
|
52e7fe0709
|
Mark std/gif's decode_up_to_id_part1 as private
|
2018-06-30 13:03:20 +10:00 |
|
Nigel Tao
|
92b566367d
|
Optimize some more more std/gif if blocks
name old speed new speed delta
wuffs_lzw_decode_20k/clang 136MB/s ± 0% 134MB/s ± 1% -1.27% (p=0.000 n=9+9)
wuffs_lzw_decode_100k/clang 175MB/s ± 0% 175MB/s ± 0% ~ (p=0.863 n=9+9)
wuffs_lzw_decode_20k/gcc 168MB/s ± 0% 177MB/s ± 1% +5.79% (p=0.000 n=9+8)
wuffs_lzw_decode_100k/gcc 242MB/s ± 0% 262MB/s ± 3% +8.27% (p=0.000 n=10+10)
wuffs_gif_decode_1k_bw/clang 280MB/s ± 1% 294MB/s ± 1% +4.88% (p=0.000 n=9+9)
wuffs_gif_decode_1k_color/clang 158MB/s ± 0% 158MB/s ± 0% ~ (p=0.724 n=8+9)
wuffs_gif_decode_10k/clang 146MB/s ± 0% 146MB/s ± 0% ~ (p=0.387 n=9+9)
wuffs_gif_decode_100k/clang 125MB/s ± 0% 125MB/s ± 1% +0.18% (p=0.040 n=9+9)
wuffs_gif_decode_1000k/clang 128MB/s ± 0% 128MB/s ± 1% +0.38% (p=0.008 n=8+9)
wuffs_gif_decode_1k_bw/gcc 323MB/s ± 1% 306MB/s ± 2% -5.20% (p=0.000 n=10+10)
wuffs_gif_decode_1k_color/gcc 167MB/s ± 2% 164MB/s ± 1% -1.71% (p=0.002 n=10+10)
wuffs_gif_decode_10k/gcc 151MB/s ± 0% 152MB/s ± 0% +0.67% (p=0.000 n=9+10)
wuffs_gif_decode_100k/gcc 134MB/s ± 0% 136MB/s ± 1% +1.16% (p=0.001 n=9+9)
wuffs_gif_decode_1000k/gcc 138MB/s ± 0% 140MB/s ± 1% +1.18% (p=0.000 n=9+9)
|
2018-06-30 08:49:23 +10:00 |
|
Nigel Tao
|
9cd37adfe8
|
Optimize some more std/gif if blocks
name old speed new speed delta
wuffs_lzw_decode_20k/clang 124MB/s ± 0% 136MB/s ± 0% +9.77% (p=0.000 n=9+9)
wuffs_lzw_decode_100k/clang 164MB/s ± 1% 175MB/s ± 0% +6.66% (p=0.000 n=10+9)
wuffs_lzw_decode_20k/gcc 167MB/s ± 0% 168MB/s ± 0% +0.38% (p=0.000 n=8+9)
wuffs_lzw_decode_100k/gcc 247MB/s ± 0% 242MB/s ± 0% -2.16% (p=0.000 n=9+10)
wuffs_gif_decode_1k_bw/clang 266MB/s ± 1% 280MB/s ± 1% +5.36% (p=0.000 n=10+9)
wuffs_gif_decode_1k_color/clang 122MB/s ± 0% 158MB/s ± 0% +29.46% (p=0.000 n=10+8)
wuffs_gif_decode_10k/clang 115MB/s ± 1% 146MB/s ± 0% +27.00% (p=0.000 n=10+9)
wuffs_gif_decode_100k/clang 113MB/s ± 0% 125MB/s ± 0% +10.46% (p=0.000 n=9+9)
wuffs_gif_decode_1000k/clang 115MB/s ± 1% 128MB/s ± 0% +11.24% (p=0.000 n=9+8)
wuffs_gif_decode_1k_bw/gcc 298MB/s ± 1% 323MB/s ± 1% +8.23% (p=0.000 n=9+10)
wuffs_gif_decode_1k_color/gcc 163MB/s ± 1% 167MB/s ± 2% +2.10% (p=0.000 n=10+10)
wuffs_gif_decode_10k/gcc 152MB/s ± 0% 151MB/s ± 0% -0.55% (p=0.000 n=9+9)
wuffs_gif_decode_100k/gcc 134MB/s ± 0% 134MB/s ± 0% ~ (p=0.606 n=8+9)
wuffs_gif_decode_1000k/gcc 138MB/s ± 1% 138MB/s ± 0% ~ (p=0.422 n=9+9)
|
2018-06-30 08:40:24 +10:00 |
|
Nigel Tao
|
91bf555431
|
Optimize some std/gif if blocks
name old speed new speed delta
wuffs_lzw_decode_20k/clang 123MB/s ± 1% 124MB/s ± 0% +0.91% (p=0.000 n=46+9)
wuffs_lzw_decode_100k/clang 156MB/s ± 1% 164MB/s ± 1% +5.07% (p=0.000 n=46+10)
wuffs_lzw_decode_20k/gcc 167MB/s ± 2% 167MB/s ± 0% ~ (p=0.933 n=46+8)
wuffs_lzw_decode_100k/gcc 243MB/s ± 3% 247MB/s ± 0% +1.56% (p=0.000 n=47+9)
wuffs_gif_decode_1k_bw/clang 263MB/s ± 1% 266MB/s ± 1% +1.02% (p=0.000 n=46+10)
wuffs_gif_decode_1k_color/clang 147MB/s ± 1% 122MB/s ± 0% -16.63% (p=0.000 n=46+10)
wuffs_gif_decode_10k/clang 134MB/s ± 2% 115MB/s ± 1% -14.02% (p=0.000 n=49+10)
wuffs_gif_decode_100k/clang 115MB/s ± 1% 113MB/s ± 0% -1.73% (p=0.000 n=44+9)
wuffs_gif_decode_1000k/clang 117MB/s ± 1% 115MB/s ± 1% -2.10% (p=0.000 n=46+9)
wuffs_gif_decode_1k_bw/gcc 291MB/s ± 1% 298MB/s ± 1% +2.46% (p=0.000 n=44+9)
wuffs_gif_decode_1k_color/gcc 138MB/s ± 1% 163MB/s ± 1% +18.50% (p=0.000 n=45+10)
wuffs_gif_decode_10k/gcc 134MB/s ± 2% 152MB/s ± 0% +13.37% (p=0.000 n=47+9)
wuffs_gif_decode_100k/gcc 121MB/s ± 1% 134MB/s ± 0% +11.18% (p=0.000 n=46+8)
wuffs_gif_decode_1000k/gcc 124MB/s ± 2% 138MB/s ± 1% +11.07% (p=0.000 n=47+9)
|
2018-06-30 08:33:23 +10:00 |
|
Nigel Tao
|
bdd335e7d9
|
Delete unused background_color_index field
|
2018-06-11 11:14:34 +10:00 |
|
Nigel Tao
|
1ee2152785
|
Add a image_config.first_frame_is_opaque method
|
2018-06-11 11:07:14 +10:00 |
|