mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-20 00:47:28 +01:00
base: add ETC__DST_PIXEL_FORMAT__ENABLE_ALLOWLIST
Binary size, before: 412128 gen/bin/example-convert-to-nia 50680 gen/bin/example-gifplayer 449680 gen/bin/example-imageviewer 439000 gen/bin/example-sdl-imageviewer 151848 gen/bin/example-toy-aux-image After: 302232 gen/bin/example-convert-to-nia 46144 gen/bin/example-gifplayer 352112 gen/bin/example-imageviewer 329168 gen/bin/example-sdl-imageviewer 138656 gen/bin/example-toy-aux-image For further data points, if you hard-code define'ing WUFFS_CONFIG__DST_PIXEL_FORMAT__ENABLE_ALLOWLIST and WUFFS_CONFIG__DST_PIXEL_FORMAT__ALLOW_BGRA_PREMUL: Binary size, before: 121368 gen/lib/c/clang-dynamic/wuffs-base-pixconv.lo 121368 gen/lib/c/clang-static/wuffs-base-pixconv.o 181088 gen/lib/c/gcc-dynamic/wuffs-base-pixconv.lo 181136 gen/lib/c/gcc-static/wuffs-base-pixconv.o After: 54784 gen/lib/c/clang-dynamic/wuffs-base-pixconv.lo 54784 gen/lib/c/clang-static/wuffs-base-pixconv.o 72144 gen/lib/c/gcc-dynamic/wuffs-base-pixconv.lo 72272 gen/lib/c/gcc-static/wuffs-base-pixconv.o
This commit is contained in:
1 parent
b2c7c69227
commit
f5bb519320
10 files changed
+255
No files matched your search
@@ -24,6 +24,7 @@ The LICENSE has changed from a single license (Apache 2) to a dual license
|
||||
- Added `std/xxhash32`.
|
||||
- Added `std/xxhash64`.
|
||||
- Added `std/xz`.
|
||||
- Added `WUFFS_CONFIG__DST_PIXEL_FORMAT__ENABLE_ALLOWLIST`.
|
||||
- Added `wuffs_base__status__is_truncated_input_error`.
|
||||
- Changed `lzw.set_literal_width` to `lzw.set_quirk`.
|
||||
- Changed `set_quirk_enabled!(quirk: u32, enabled: bool)` to `set_quirk!(key:
|
||||
|
||||
Reference in new issue
Block a user