From: RĂ©mi Denis-Courmont Date: Sat, 8 Aug 2009 19:05:23 +0000 (+0300) Subject: contrib: ffmpeg optimizations for N900: X-Git-Tag: 1.1.0-ff~3768 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=f9dc97504787faeec490918c6e30ae7f7a5a93b1;p=vlc contrib: ffmpeg optimizations for N900: * assume Cortex-A8 ARM core, * enable NEON instructions, * disable run-time CPU detection. --- diff --git a/extras/contrib/src/Makefile b/extras/contrib/src/Makefile index edbe95cc62..606a8762b9 100644 --- a/extras/contrib/src/Makefile +++ b/extras/contrib/src/Makefile @@ -163,6 +163,9 @@ endif ifdef HAVE_LINUX ifdef HAVE_MAEMO +ifneq ($(filter -m%=cortex-a8, $(EXTRA_CFLAGS)),) +FFMPEGCONF += --disable-runtime-cpudetect --enable-neon --cpu=cortex-a8 +endif # Really, this could be done on all Linux platforms, not just Maemo. # Installing statically-linked VLC plugins is so much simpler. HOSTCONF += --with-pic --disable-shared