GNOME Bugzilla – Bug 795243
libav: re-enable neon optimizations for arm/armv7 on android
Last modified: 2018-11-03 10:22:47 UTC
Created attachment 370915 [details] [review] patch to ffmpeg for avoiding conditional branch to PLT in THUMB-2 Neon optimizations are disabled for libav (see https://bugzilla.gnome.org/show_bug.cgi?id=793980). See https://github.com/android-ndk/ndk/issues/337 for background. The current workaround is to disable neon during gstreamer build. The commit to disable the optimizations is https://github.com/freedesktop/gstreamer-cerbero/commit/41556c415739fbc3a72c7eaee7e70a565b719b2f I've sent a patch to upstream ffmpeg that should resolve the linker issue (conditional branch to PLT in THUMB-2). The patch is here: http://ffmpeg.org/pipermail/ffmpeg-devel/2018-April/228246.html (also attached with this bug). Once this patch makes it into the copy of ffmpeg used in gstreamer build, neon optimizations can be re-enabled.
The patch has been merged upstream as commit b22db4f465c9adb2cf1489e04f7b65ef6bb55b8b: https://github.com/FFmpeg/FFmpeg/commit/b22db4f465c9adb2cf1489e04f7b65ef6bb55b8b
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/cerbero/issues/51.