mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-26 09:01:35 +01:00
base: re-format ETC__PIXEL_FORMAT__ETC defines
This commit is contained in:
1 parent
b4cd9b8d3c
commit
da40cdf29f
2 files changed
+8
No files matched your search
@@ -365,6 +365,8 @@ wuffs_base__make_pixel_format(uint32_t repr) {
|
||||
// Common 8-bit-depth pixel formats. This list is not exhaustive; not all valid
|
||||
// wuffs_base__pixel_format values are present.
|
||||
|
||||
// clang-format off
|
||||
|
||||
#define WUFFS_BASE__PIXEL_FORMAT__INVALID 0x00000000
|
||||
|
||||
#define WUFFS_BASE__PIXEL_FORMAT__A 0x02000008
|
||||
@@ -407,6 +409,8 @@ wuffs_base__make_pixel_format(uint32_t repr) {
|
||||
#define WUFFS_BASE__PIXEL_FORMAT__CMY 0xC0020888
|
||||
#define WUFFS_BASE__PIXEL_FORMAT__CMYK 0xD0038888
|
||||
|
||||
// clang-format on
|
||||
|
||||
extern const uint32_t wuffs_private_impl__pixel_format__bits_per_channel[16];
|
||||
|
||||
static inline bool //
|
||||
|
||||
@@ -4313,6 +4313,8 @@ wuffs_base__make_pixel_format(uint32_t repr) {
|
||||
// Common 8-bit-depth pixel formats. This list is not exhaustive; not all valid
|
||||
// wuffs_base__pixel_format values are present.
|
||||
|
||||
// clang-format off
|
||||
|
||||
#define WUFFS_BASE__PIXEL_FORMAT__INVALID 0x00000000
|
||||
|
||||
#define WUFFS_BASE__PIXEL_FORMAT__A 0x02000008
|
||||
@@ -4355,6 +4357,8 @@ wuffs_base__make_pixel_format(uint32_t repr) {
|
||||
#define WUFFS_BASE__PIXEL_FORMAT__CMY 0xC0020888
|
||||
#define WUFFS_BASE__PIXEL_FORMAT__CMYK 0xD0038888
|
||||
|
||||
// clang-format on
|
||||
|
||||
extern const uint32_t wuffs_private_impl__pixel_format__bits_per_channel[16];
|
||||
|
||||
static inline bool //
|
||||
|
||||
Reference in new issue
Block a user