[vlc-devel] [vlc-commits] Avcodec: set the dsp_mask for NEON too

Jean-Baptiste Kempf jb at videolan.org
Tue Oct 2 14:29:48 CEST 2012


On Tue, Oct 02, 2012 at 01:21:12PM +0100, Måns Rullgård wrote :
> > According to docs, on Android, NEON can only be with ARMv7. And ARMv7
> > guarantees to have vfpv3.
> 
> ARMv7 does not mandate VFP.

Sorry, I meant to say, ARMv7 on Android mandates vfpv3.
Maybe I am wrong on that :)

> > iOS is easy to deal with, because of the limited number of devices (10
> > or so).
> 
> IIUC all Apple devices since the iPhone 3GS have armv7-a + neon, so
> there is actually no problem there.  The original armv6 based iPhone is
> probably irrelevant.

Yes. May it not be retold too much, but I am grateful to Apple for that.

> A base configuration for armv7-a + vfpv3-d16 will run on any cortex-a*
> CPU without suffering too much if runtime selection is used for NEON
> code where possible.

So, this could work? With libavcodec?

> Also supporting older versions would have a higher cost.

Older versions ? I am afraid I do not understand.

Best regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device



More information about the vlc-devel mailing list