mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 00:32:11 +01:00
base: add magic number for ETC2
This commit is contained in:
1 parent
4423a0cbbe
commit
5a8f636a66
3 files changed
+6
No files matched your search
@@ -154,6 +154,7 @@ wuffs_base__magic_number_guess_fourcc(wuffs_base__slice_u8 prefix_data,
|
||||
{+0x54494646, "\x03\x49\x49\x2A\x00"}, // TIFF (little-endian)
|
||||
{+0x4C5A4950, "\x04\x4C\x5A\x49\x50\x01"}, // LZIP
|
||||
{+0x54494646, "\x03\x4D\x4D\x00\x2A"}, // TIFF (big-endian)
|
||||
{+0x45544332, "\x03\x50\x4B\x4D\x20"}, // ETC2 (*.pkm)
|
||||
{+0x4E50424D, "\x02\x50\x35\x0A"}, // NPBM (P5; *.pgm)
|
||||
{+0x4E50424D, "\x02\x50\x36\x0A"}, // NPBM (P6; *.ppm)
|
||||
{-0x52494646, "\x03\x52\x49\x46\x46"}, // RIFF
|
||||
|
||||
@@ -32,6 +32,7 @@ var FourCCs = [...][2]string{
|
||||
{"CHRM", "Primary Chromaticities and White Point"},
|
||||
{"CSS ", "Cascading Style Sheets"},
|
||||
{"EPS ", "Encapsulated PostScript"},
|
||||
{"ETC2", "Ericsson Texture Compression 2 (iPACKMAN)"},
|
||||
{"EXIF", "Exchangeable Image File Format"},
|
||||
{"FLAC", "Free Lossless Audio Codec"},
|
||||
{"GAMA", "Gamma Correction"},
|
||||
|
||||
@@ -778,6 +778,9 @@ typedef struct wuffs_base__transform__output__struct {
|
||||
// Encapsulated PostScript.
|
||||
#define WUFFS_BASE__FOURCC__EPS 0x45505320
|
||||
|
||||
// Ericsson Texture Compression 2 (iPACKMAN).
|
||||
#define WUFFS_BASE__FOURCC__ETC2 0x45544332
|
||||
|
||||
// Exchangeable Image File Format.
|
||||
#define WUFFS_BASE__FOURCC__EXIF 0x45584946
|
||||
|
||||
@@ -22001,6 +22004,7 @@ wuffs_base__magic_number_guess_fourcc(wuffs_base__slice_u8 prefix_data,
|
||||
{+0x54494646, "\x03\x49\x49\x2A\x00"}, // TIFF (little-endian)
|
||||
{+0x4C5A4950, "\x04\x4C\x5A\x49\x50\x01"}, // LZIP
|
||||
{+0x54494646, "\x03\x4D\x4D\x00\x2A"}, // TIFF (big-endian)
|
||||
{+0x45544332, "\x03\x50\x4B\x4D\x20"}, // ETC2 (*.pkm)
|
||||
{+0x4E50424D, "\x02\x50\x35\x0A"}, // NPBM (P5; *.pgm)
|
||||
{+0x4E50424D, "\x02\x50\x36\x0A"}, // NPBM (P6; *.ppm)
|
||||
{-0x52494646, "\x03\x52\x49\x46\x46"}, // RIFF
|
||||
|
||||
Reference in new issue
Block a user