mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-24 16:52:18 +01:00
base: fix PIXEL_FORMAT__YA_{NON,}PREMUL values
These pixel formats have two channels (gray, alpha), not one. Updates #143
This commit is contained in:
1 parent
a6676851e3
commit
0c9b700df0
4 files changed
+11
-10
No files matched your search
@@ -115,8 +115,8 @@ var Consts = [...]struct {
|
||||
{t.IDU32, "0x20000008", "PIXEL_FORMAT__Y"},
|
||||
{t.IDU32, "0x2000000B", "PIXEL_FORMAT__Y_16LE"},
|
||||
{t.IDU32, "0x2010000B", "PIXEL_FORMAT__Y_16BE"},
|
||||
{t.IDU32, "0x21000008", "PIXEL_FORMAT__YA_NONPREMUL"},
|
||||
{t.IDU32, "0x22000008", "PIXEL_FORMAT__YA_PREMUL"},
|
||||
{t.IDU32, "0x21000088", "PIXEL_FORMAT__YA_NONPREMUL"},
|
||||
{t.IDU32, "0x22000088", "PIXEL_FORMAT__YA_PREMUL"},
|
||||
|
||||
{t.IDU32, "0x40020888", "PIXEL_FORMAT__YCBCR"},
|
||||
{t.IDU32, "0x41038888", "PIXEL_FORMAT__YCBCRA_NONPREMUL"},
|
||||
|
||||
Reference in new issue
Block a user