mirror of
https://github.com/webmproject/libwebp.git
synced 2024-11-19 20:08:28 +01:00
WASM: Enable VP8L_USE_FAST_LOAD
It is 2-5% faster to use VP8L fast load on WASM Bug: webp:643 Change-Id: I25c30a9e6bcfc7cadd640122579eeebcb37e6fc0
This commit is contained in:
parent
f0c53cd966
commit
8a7c8dc662
@ -124,7 +124,8 @@ int32_t VP8GetSignedValue(VP8BitReader* const br, int bits,
|
|||||||
|
|
||||||
#if defined(__arm__) || defined(_M_ARM) || WEBP_AARCH64 || \
|
#if defined(__arm__) || defined(_M_ARM) || WEBP_AARCH64 || \
|
||||||
defined(__i386__) || defined(_M_IX86) || \
|
defined(__i386__) || defined(_M_IX86) || \
|
||||||
defined(__x86_64__) || defined(_M_X64)
|
defined(__x86_64__) || defined(_M_X64) || \
|
||||||
|
defined(__wasm__)
|
||||||
#define VP8L_USE_FAST_LOAD
|
#define VP8L_USE_FAST_LOAD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user