1 #ifndef MPLAYER_CPUDETECT_H
2 #define MPLAYER_CPUDETECT_H
11 #include "libavutil/x86_cpu.h"
13 typedef struct cpucaps_s
{
27 unsigned cl_size
; /* size of cache line */
32 extern CpuCaps gCpuCaps
;
34 void GetCpuCaps(CpuCaps
*caps
);
36 /* returned value is malloc()'ed so free() it after use */
37 char *GetCpuFriendlyName(unsigned int regs
[], unsigned int regs2
[]);
39 #endif /* MPLAYER_CPUDETECT_H */