Nigel Tao
|
122c32cdad
|
Rename gen/h/std/*.h to gen/c/std/*.h
|
2018-07-01 20:55:46 +10:00 |
|
Nigel Tao
|
3896c1940f
|
Rename intersection / union as intersect / unite
We can't use "union" as a method name, as it is a C/C++ keyword.
|
2018-06-30 21:12:26 +10:00 |
|
Nigel Tao
|
2b40bb446b
|
Add some more C++ convenience methods
|
2018-06-30 20:53:37 +10:00 |
|
Nigel Tao
|
5e905492b3
|
Make rectangle method receivers pointers
|
2018-06-30 17:13:13 +10:00 |
|
Nigel Tao
|
39c1a3d179
|
Remove the unused wuffs_base__image_buffer__loop
|
2018-06-30 16:53:35 +10:00 |
|
Nigel Tao
|
008b83e4b4
|
Fix some more C++ (not C) compile errors
|
2018-06-30 13:41:19 +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
|
30cfaa5db7
|
Add C++ convenience methods
|
2018-06-30 13:02:16 +10:00 |
|
Nigel Tao
|
60a7b48745
|
Compile C++ example with -Wall -Werror
|
2018-06-30 10:56:04 +10:00 |
|
Nigel Tao
|
33e99792eb
|
Qualify cgen'ed "func foo.bar" with the pkgName
|
2018-06-30 09:01:03 +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
|
0a1ce533fd
|
Add a wuffs_base__image_buffer__bounds function
|
2018-06-23 08:01:25 +10:00 |
|
Nigel Tao
|
1bdfc4cda2
|
Add a wuffs_base__io_buffer__compact function
|
2018-06-23 07:50:21 +10:00 |
|
Nigel Tao
|
6670445122
|
Avoid empty C structs
|
2018-06-23 07:19:26 +10:00 |
|
Nigel Tao
|
a07aa0a683
|
Don't assume that C compilers define __WORDSIZE
|
2018-06-23 07:13:08 +10:00 |
|
Nigel Tao
|
43a5349348
|
Fix a C++ (not C) compile error
|
2018-06-17 13:35:06 +10:00 |
|
Nigel Tao
|
beed8a1c52
|
Look for WUFFS_CONFIG__MODULE__BASE
|
2018-06-16 09:07:29 +10:00 |
|
Nigel Tao
|
fdb7d7f174
|
Add !! to the magic "C HEADER ENDS HERE" string
|
2018-06-16 09:04:34 +10:00 |
|
Nigel Tao
|
c82e41c249
|
Generate some extern "C" lines
|
2018-06-16 08:22:26 +10:00 |
|
Nigel Tao
|
56491b384e
|
Add base-private.h. to base-impl.c
|
2018-06-16 08:17:20 +10:00 |
|
Nigel Tao
|
25a106903f
|
Have include guards start with WUFFS_INCLUDE_GUARD
|
2018-06-16 08:10:22 +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 |
|
Nigel Tao
|
26ce04ab64
|
have image_buffer.set_from_slice return an error
|
2018-06-11 10:42:29 +10:00 |
|
Nigel Tao
|
e05b564656
|
Add WUFFS_CONFIG__MODULES macro
|
2018-06-11 10:00:02 +10:00 |
|
Nigel Tao
|
a09e63320d
|
Add a std/gif decoder.frame_count method
|
2018-06-11 09:11:45 +10:00 |
|
Nigel Tao
|
c5b7b7097e
|
Rename inclusive and exclusive to incl and excl
|
2018-06-11 09:04:12 +10:00 |
|
Nigel Tao
|
3d035df908
|
Add a std/gif decode_frame work_buffer arg
|
2018-06-11 08:55:28 +10:00 |
|
Nigel Tao
|
156cea5a70
|
Add a std/gif work_buffer_size method
|
2018-06-11 08:52:53 +10:00 |
|
Nigel Tao
|
6401399dea
|
Rename some std/gif frame rect fields
|
2018-06-11 08:35:48 +10:00 |
|
Nigel Tao
|
0702faf836
|
Remove obsolete set_min_inclusive_x etc methods
|
2018-06-11 08:32:23 +10:00 |
|
Nigel Tao
|
52feb10ad3
|
Add a utility.make_rect_ie_u32 method
|
2018-06-11 08:28:29 +10:00 |
|
Nigel Tao
|
92a8bc4641
|
Add a base.utility type
|
2018-06-11 08:05:12 +10:00 |
|
Nigel Tao
|
3ece6e0f1d
|
Re-order built-in status codes
|
2018-06-10 22:08:44 +10:00 |
|
Nigel Tao
|
50a955317a
|
Remove the WUFFS_FOO__STATUS_ETC names
|
2018-06-10 22:05:06 +10:00 |
|
Nigel Tao
|
d770e879ab
|
Remove the wuffs_foo__status types
|
2018-06-10 21:40:43 +10:00 |
|
Nigel Tao
|
699bae15d2
|
Redo WUFFS_BASE_PRIVATE_H define guard generation
|
2018-06-10 21:25:37 +10:00 |
|
Nigel Tao
|
43bb14e886
|
Redo the encoding of error codes
|
2018-06-10 21:22:41 +10:00 |
|
Nigel Tao
|
2ac2424e77
|
Implement INSERT wuffs_base__status__string data
|
2018-06-10 20:34:34 +10:00 |
|
Nigel Tao
|
35af4c4841
|
Implement INSERT wuffs_base__status names
|
2018-06-10 20:12:04 +10:00 |
|
Nigel Tao
|
86010a17e2
|
Add a wuffs_base__status type
|
2018-06-10 15:01:22 +10:00 |
|
Nigel Tao
|
df96e48341
|
Rename some #ifndef WUFFS_BASE_HEADER_H guards
|
2018-06-10 09:37:30 +10:00 |
|
Nigel Tao
|
a1ed77cc35
|
Generate gen/c/base.c
|
2018-06-10 09:17:27 +10:00 |
|
Nigel Tao
|
a177e798f4
|
Delete some obsolete base-private comments
|
2018-06-10 08:11:38 +10:00 |
|
Nigel Tao
|
c1dbfdb4aa
|
Have gifplayer compose onto an ARGB buffer
|
2018-06-09 09:32:16 +10:00 |
|
Nigel Tao
|
27e0139500
|
Have WUFFS_VERSION encode major.minor.patch
|
2018-06-09 08:08:18 +10:00 |
|
Nigel Tao
|
2d838db184
|
Add a wuffs_base__image_config__bounds function
|
2018-06-09 07:52:40 +10:00 |
|