[vlc-devel] [vlc-commits] contrib: ffmpeg: add some cflags for arm/neon

Rémi Denis-Courmont remi at remlab.net
Sun Nov 27 11:01:06 CET 2011


Le dimanche 27 novembre 2011 11:50:08 Rafaël Carré, vous avez écrit :
> > If it did not, there
> > would be no point in disabling run-time detection in the first place.
> > 
> > > +ifdef HAVE_NEON
> > > +FFMPEGCONF += --cpu=cortex-a8 --enable-neon
> > 
> > There are no reasons to hard-code the CPU. There are Cortex-A9 and
> > proprietary variants from ARM licensees too, and more are coming. Same
> > goes for FPU.
> 
> so enable-neon should be enough?

FFmpeg enables NEON by default (if the compiler supports it). I don't really 
care if you set it explicitly. But it should not even be needed.

-- 
Rémi Denis-Courmont
http://www.remlab.net/
http://fi.linkedin.com/in/remidenis



More information about the vlc-devel mailing list