X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fvlc_cpu.h;h=bbc7b5b4687d79778d5dc9f97c39ed351c4464c8;hb=c60652e38ac6afd74bd8225e9dae5406f13aaa4f;hp=b4312382dac7ac2ab89cbdcc64609dc8d37d3155;hpb=145903d05b94462eaa309575e46c3cbafb853a42;p=vlc diff --git a/include/vlc_cpu.h b/include/vlc_cpu.h index b4312382da..bbc7b5b468 100644 --- a/include/vlc_cpu.h +++ b/include/vlc_cpu.h @@ -34,7 +34,9 @@ # define CPU_CAPABILITY_SSE2 (1<<7) # define CPU_CAPABILITY_SSE3 (1<<8) # define CPU_CAPABILITY_SSSE3 (1<<9) -# define CPU_CAPABILITY_SSE4 (1<<10) +# define CPU_CAPABILITY_SSE4_1 (1<<10) +# define CPU_CAPABILITY_SSE4_2 (1<<11) +# define CPU_CAPABILITY_SSE4A (1<<12) # else # define CPU_CAPABILITY_MMX (0) # define CPU_CAPABILITY_3DNOW (0) @@ -43,7 +45,9 @@ # define CPU_CAPABILITY_SSE2 (0) # define CPU_CAPABILITY_SSE3 (0) # define CPU_CAPABILITY_SSSE3 (0) -# define CPU_CAPABILITY_SSE4 (0) +# define CPU_CAPABILITY_SSE4_1 (0) +# define CPU_CAPABILITY_SSE4_2 (0) +# define CPU_CAPABILITY_SSE4A (0) # endif # if defined (__ppc__) || defined (__ppc64__) || defined (__powerpc__) @@ -59,6 +63,7 @@ # endif VLC_EXPORT( unsigned, vlc_CPU, ( void ) ); +VLC_EXPORT( unsigned, vlc_GetCPUCount, ( void ) ); /** Are floating point operations fast? * If this bit is not set, you should try to use fixed-point instead.