Commit d2e405e0 authored by Rafaël Carré's avatar Rafaël Carré

contrib: enable NEON runtime selection for ffmpeg

This is explicitely done for android only, since we lost the
benefits of some inline NEON asm
parent 9679cef4
......@@ -53,11 +53,14 @@ endif
# ARM stuff
ifeq ($(ARCH),arm)
FFMPEGCONF += --arch=arm
ifdef HAVE_NEON
ifdef HAVE_ARMV7A
FFMPEGCONF += --cpu=cortex-a8 --enable-neon
FFMPEG_CFLAGS += -mfpu=vfpv3-d16
ifndef HAVE_ANDROID # We want NEON autodetect on Android
FFMPEG_CFLAGS += -mfpu=neon
endif
endif
endif
# MIPS stuff
ifeq ($(ARCH),mipsel)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment