[vlc-devel] [PATCH] NEON detection code for non-Linux platforms

Felix Paul Kühne fkuehne.videolan at gmail.com
Thu Jul 26 22:07:26 CEST 2012

On 26.07.2012, at 10:56, Rémi Denis-Courmont wrote:

> Le jeudi 26 juillet 2012 16:09:38 Felix Paul Kühne, vous avez écrit :
>> Hello,
>> the attached patch adds NEON detection code non-Linux platforms (compile
>> time only) and runtime detection code for Android (for the case that
>> posix/linux_cpu.c might be no longer used for Android).
> Does this compile?
No idea. I don't see any reason why it shouldn't. I'll strip that part from my patch and move it over to the android developers to commit it if they decide to do so.

> Header files can rarely be included freely like that. And 
> even it compiles, is that promised by the platform vendor?

Yes, the used function is made exactly for this purpose. You can also detect other stuff about the CPU at runtime using it.

Thanks for the feedback!


More information about the vlc-devel mailing list