Skip to content
This repository has been archived by the owner on Oct 7, 2021. It is now read-only.

Android NEON Support

Taner Sener edited this page Jul 4, 2019 · 15 revisions

Starting from v4.2, MobileFFmpeg Main releases dropped support for non-NEON devices using ARMv7 (arm-v7a) architecture.

But LTS releases still support them. In those releases arm-v7a and arm-v7a-neon share the same ABI armeabi-v7a. MobileFFmpeg detects the NEON support at runtime and loads the appropriate architecture for armeabi-v7a ABI. This mechanism aims to benefit from NEON optimizations, but size of armeabi-v7a ABI is bigger than other ABIs.

Since v2.1 the following .so files are packaged for each ABI. Please note that libc++_shared.so is included only if openh264, snappy, tesseract or x265 is enabled.

libavcodec.so
libavdevice.so
libavfilter.so
libavformat.so
libavutil.so
libc++_shared.so
libcpufeatures.so
libmobileffmpeg-abidetect.so
libmobileffmpeg.so
libswresample.so
libswscale.so

To enable NEON support on armeabi-v7a, the following libraries with -neon postfix are included additionally.

libavcodec-neon.so
libavfilter-neon.so
libmobileffmpeg-armv7a-neon
libswscale-neon.so
Clone this wiki locally