Nigel Tao
3923bb9637
Change pixel_subsampling from shift to divide
2019-12-10 20:39:37 +11:00
Nigel Tao
721678ed75
Add doc/note/pixel-subsampling.md
2019-12-10 09:40:44 +11:00
Nigel Tao
3325f73041
Let set_from_{slice,table}'s pixcfg arg be const
2019-12-03 11:30:04 +11:00
Nigel Tao
5362ca7573
Add doc/note/pixel-formats.md
2019-12-02 20:34:55 +11:00
Nigel Tao
392c8c544a
Rename null_io_buffer etc to empty_io_buffer
2019-07-13 10:55:51 +10:00
Nigel Tao
4a85e39d87
Rename s/packed/interleaved/ for pixel formats
2019-06-16 11:44:29 +10:00
Nigel Tao
6159143f01
Add wuffs_base__pixel_buffer__set_from_table
2019-06-09 10:30:18 +10:00
Nigel Tao
07ba8a28ca
Have pixbuf.set_etc return unsupported option
2019-06-09 08:46:07 +10:00
Nigel Tao
1055b8ce0d
Remove obsolete TODO re swizzler.prepare
2019-06-09 08:43:46 +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
3ff7c707af
Have some base types' methods accept const this
2019-04-20 07:50:09 +10:00
Nigel Tao
ed52fdecb9
Rework how we avoid clang's -Wunused-function
...
The previous technique to avoid this was to have explicit
(void)(wuffs_foo__bar_baz);
no-op lines of code. However, on MSVC, this triggers warning C4551
"function call missing argument list".
https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-1-c4551
says that "A function call must include the open and close parentheses".
But this is not a function call, it is casting the function pointer.
This false positive is a bug in MSVC, but we work around it for Wuffs.
2019-04-07 14:36:09 +10:00
Nigel Tao
5a98f06cab
Add some make_foo and null_foo constructors
2019-03-09 14:50:32 +11:00
Nigel Tao
6826f2f748
Move internal/cgen up a couple of directories
2019-03-09 13:28:59 +11:00