Nigel Tao
0e833f909a
Add WUFFS_BASE__PIXEL_FORMAT__BGR_565
2020-01-28 10:32:40 +11:00
Nigel Tao
3a0b3104b0
Add wuffs_base__pixel_buffer__set_color_u32_at
2020-01-25 09:42:26 +11:00
Nigel Tao
557c2b7998
Add wuffs_base__pixel_buffer__color_u32_at
2020-01-24 21:39:19 +11:00
Nigel Tao
47ce6ea296
Add wuffs_base__pixel_swizzler__func typedef
2020-01-24 12:20:06 +11:00
Nigel Tao
4a83eba3f9
Add WUFFS_BASE__PIXEL_BLEND__SRC_OVER
2020-01-24 11:32:13 +11:00
Nigel Tao
2be1f63806
Remove wuffs_base__frame_config__blend
2020-01-15 10:42:36 +11:00
Nigel Tao
1a791217de
Add wuffs_base__pixel_blend type
2020-01-14 09:27:04 +11:00
Nigel Tao
9e802a5f84
Have wuffs_base__pixel_config__set take repr args
2020-01-05 15:34:05 +11:00
Nigel Tao
b666ab06f7
Make wuffs_base__pixel_subsampling a struct
2020-01-05 15:27:11 +11:00
Nigel Tao
4f53f3101f
Make wuffs_base__pixel_format a struct
2020-01-05 14:18:48 +11:00
Nigel Tao
fabfff05d1
Have pixel_foo methods take pointer receivers
2020-01-05 13:33:52 +11:00
Nigel Tao
fb54ba452f
Add wuffs_base__make_status
2020-01-02 20:44:23 +11:00
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