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

Måns Rullgård mans at mansr.com
Sun Nov 27 12:40:00 CET 2011


"Rémi Denis-Courmont" <remi at remlab.net> writes:

> 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.

--enable-neon has no effect whatsoever.

-- 
Måns Rullgård
mans at mansr.com




More information about the vlc-devel mailing list