[vlc-devel] Re: sse2 detection

Vaclav Koldus vaclav.koldus at avpark.cz
Wed Jan 18 14:39:35 CET 2006


Sigmund Augdal Helberg napsal(a):

>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.
>
>Sigmund
>  
>
>>Thanks and best regards,
>>
>>Vaclav
>>
>>    
>>
>
>  
>
Thanx a lot!

V.

-- 
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 mailing list