this can result in an alignment hint on arm causing a SIGBUS. casting
the input ptr to anything aside from its type is unnecessary for memcpy
and is contrary to the intent of this function.
Change-Id: I9a4d3f4be90f80cd8c3e96ccbe557e51e34cf7a5
(cherry picked from commit 04b029d236ff00a29de757b23b8787efd4a5a8f2)
fixes the compile with ENABLE_NEON_BUILTIN_MULHI_INT16X8 without relying
on arm_neon.h when using __builtin_neon_vqdmulhq_v; the typedefs are
assumed to resolve to the same underlying type.
Change-Id: I8840e90d894b5045e0742030cff5e800d7d56efc
this results in a 15-20% speedup for lossy decoding on a N5/S6/CM1
BUG=webp:339
Change-Id: Icdeb84c3e0b8908147ac276b4d8f76c3d565b735
(cherry picked from commit f78da3dea6b2e02974a647122e96777667875d21)
32-bit builds are neutral to slightly faster using ndk r15c on a
N5/S6/CM1
BUG=webp:339
Change-Id: I94b9442e0ceaf2f5edb2b4026bc8b99cd77c918b
(cherry picked from commit 01c426f1e7bd83e6a6f86d77f08103d1dca1f2af)
-integrated-as is now required, the opposite of r14
Change-Id: Ic478b2b3b933e66e7d159030eac29f58743eecda
(cherry picked from commit 4fbdc9fb12e515aad41adb08692c6bdbf5999bf9)
add a check for cpu-features.h and rework some of the ifdef's around
android + neon. for android builds with cpu-features enabled the
*_neon.c files will still need to be flagged correctly (with e.g.,
.c.neon in Android.mk) to properly build them.
BUG=webp:353
Change-Id: I905ce305af0a204e560b915d8665093a3edaceb9
(cherry picked from commit c6d1db4b36a3f45b55bd850589f4eefd191d4d35)
gifdec isn't part of imageio lib, it's only used by gif2webp.
Change-Id: I70bff378a32f8fb2ebb8a5a7701049ffff7f7992
(cherry picked from commit dcbc1c881a001f45081834a47391d673c1b96907)
this workarounds an ICE with clang. WASM overrides the native simd so
apart from binary size building it isn't an issue.
BUG=webp:350
Change-Id: Ib0195049249e6cb86d3225ce5db7247ac22cdbd6
WASM needs to precede platform specific architecture checks as the
defines will still be present when building this target.
Change-Id: I823f4922829561ea298c6837068b79bf9f1aee1b
This reverts commit 4026e34e3f2edaf4b61824e06994527e45d2b6d8.
fails to build; not all x86 paths were protected
Change-Id: I27bcc83e74440205bfd99c31c6da319c205ef145
WASM needs to precede platform specific architecture checks as the
defines will still be present when building this target.
Change-Id: If25467ea286e582b928e26e716e41aff72898c50
stub + basic cmake support for targeting native code generation using
portable intrinsics / wasm (WebAssembly). integrating this into the
webp_js path will be left until the implementation is more complete.
Change-Id: I3e751b511f6d671da5ba8afc88ca412f31f097b0