mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-24 08:52:18 +01:00
std/webp: add new package (and vp8 placeholder)
This commit is contained in:
1 parent
16705a1816
commit
09f4500e19
17 files changed
+1843
No files matched your search
@@ -100,6 +100,11 @@ DecodeImageCallbacks::SelectDecoder(uint32_t fourcc,
|
||||
case WUFFS_BASE__FOURCC__WBMP:
|
||||
return wuffs_wbmp__decoder::alloc_as__wuffs_base__image_decoder();
|
||||
#endif
|
||||
|
||||
#if !defined(WUFFS_CONFIG__MODULES) || defined(WUFFS_CONFIG__MODULE__WEBP)
|
||||
case WUFFS_BASE__FOURCC__WEBP:
|
||||
return wuffs_webp__decoder::alloc_as__wuffs_base__image_decoder();
|
||||
#endif
|
||||
}
|
||||
|
||||
return wuffs_base__image_decoder::unique_ptr(nullptr);
|
||||
|
||||
@@ -91,6 +91,7 @@ class DecodeImageCallbacks {
|
||||
// - WUFFS_BASE__FOURCC__PNG
|
||||
// - WUFFS_BASE__FOURCC__TGA
|
||||
// - WUFFS_BASE__FOURCC__WBMP
|
||||
// - WUFFS_BASE__FOURCC__WEBP
|
||||
virtual wuffs_base__image_decoder::unique_ptr //
|
||||
SelectDecoder(uint32_t fourcc,
|
||||
wuffs_base__slice_u8 prefix_data,
|
||||
|
||||
Reference in new issue
Block a user