[vlc-devel] Re: sse2 detection
Sigmund Augdal Helberg
dnumgis at videolan.org
Wed Jan 18 09:02:50 CET 2006
On Wed, 2006-01-18 at 08:09 +0100, Vaclav Koldus wrote:
> Hi people!
> Recently I found out I need to optimalize some processes in my video
> filter and I rewrited them in SSE2. To keep things clean
> I want to know which is the most simple way how to detect whether the
> running machine supports it. Are there any functions
> or macros in VLC to find this out?
if( p_obj->p_libvlc->i_cpu & CPU_CAPABILITY_SSE2 )
Where p_obj is any vlc object.
> Thanks and best regards,
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
More information about the vlc-devel