mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-19 08:38:14 +01:00
Swizzler support dst_pixfmt = RGBA_{NON,}PREMUL
Binary size, before: 37856 gen/lib/c/clang-9-dynamic/wuffs-base-pixconv.lo 39552 gen/lib/c/clang-9-static/wuffs-base-pixconv.o 64536 gen/lib/c/gcc-dynamic/wuffs-base-pixconv.lo 64488 gen/lib/c/gcc-static/wuffs-base-pixconv.o After: 41496 gen/lib/c/clang-9-dynamic/wuffs-base-pixconv.lo 43104 gen/lib/c/clang-9-static/wuffs-base-pixconv.o 72344 gen/lib/c/gcc-dynamic/wuffs-base-pixconv.lo 72328 gen/lib/c/gcc-static/wuffs-base-pixconv.o
This commit is contained in:
1 parent
f49c382029
commit
3b6b5ad486
6 files changed
+705
-113
No files matched your search
@@ -288,6 +288,14 @@ test_wuffs_pixel_swizzler_swizzle() {
|
||||
.color = 0x80000040,
|
||||
.pixfmt_repr = WUFFS_BASE__PIXEL_FORMAT__BGRA_PREMUL,
|
||||
},
|
||||
{
|
||||
.color = 0x33002233,
|
||||
.pixfmt_repr = WUFFS_BASE__PIXEL_FORMAT__RGBA_NONPREMUL,
|
||||
},
|
||||
{
|
||||
.color = 0x33002233,
|
||||
.pixfmt_repr = WUFFS_BASE__PIXEL_FORMAT__RGBA_PREMUL,
|
||||
},
|
||||
};
|
||||
|
||||
const wuffs_base__pixel_blend blends[] = {
|
||||
|
||||
Reference in new issue
Block a user