mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-15 21:39:59 +02:00
Android: only build dec_neon with NEON support
Defining LOCAL_ARM_NEON = true can result in neon instructions being used in portions unprotected by the cpu check. This changes defines a WEBP_USE_NEON/WEBP_ANDROID_NEON pair similar to the SSE2 code and MSVC. Change-Id: Ifac010b06e42c73d5aca529baa2198c6796674bd
This commit is contained in:
@ -719,7 +719,7 @@ void VP8DspInit(void) {
|
||||
if (VP8GetCPUInfo(kSSE2)) {
|
||||
VP8DspInitSSE2();
|
||||
}
|
||||
#elif defined(__GNUC__) && defined(__ARM_NEON__)
|
||||
#elif defined(WEBP_USE_NEON)
|
||||
if (VP8GetCPUInfo(kNEON)) {
|
||||
VP8DspInitNEON();
|
||||
}
|
||||
|
Reference in New Issue
Block a user