mirror of
https://github.com/webmproject/libwebp.git
synced 2025-08-28 23:03:20 +02:00
Merge changes I25c30a9e,I0a192fc6,I4cf89575 into main
* changes: WASM: Enable VP8L_USE_FAST_LOAD WASM: don't use USE_GENERIC_TREE WASM: Enable 64-bit BITS caching
This commit is contained in:
@@ -124,7 +124,8 @@ int32_t VP8GetSignedValue(VP8BitReader* const br, int bits,
|
||||
|
||||
#if defined(__arm__) || defined(_M_ARM) || WEBP_AARCH64 || \
|
||||
defined(__i386__) || defined(_M_IX86) || \
|
||||
defined(__x86_64__) || defined(_M_X64)
|
||||
defined(__x86_64__) || defined(_M_X64) || \
|
||||
defined(__wasm__)
|
||||
#define VP8L_USE_FAST_LOAD
|
||||
#endif
|
||||
|
||||
|
@@ -69,6 +69,8 @@ extern "C" {
|
||||
#define BITS 56
|
||||
#elif defined(__mips__) // MIPS
|
||||
#define BITS 24
|
||||
#elif defined(__wasm__) // WASM
|
||||
#define BITS 56
|
||||
#else // reasonable default
|
||||
#define BITS 24
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user