Document softpulldown filter.
[mplayer/greg.git] / cpudetect.h
blobc68013ba78fa84ca07e742cd18ff947b4f760803
1 #ifndef CPUDETECT_H
2 #define CPUDETECT_H
4 #define CPUTYPE_I386 3
5 #define CPUTYPE_I486 4
6 #define CPUTYPE_I586 5
7 #define CPUTYPE_I686 6
9 typedef struct cpucaps_s {
10 int cpuType;
11 int cpuStepping;
12 int hasMMX;
13 int hasMMX2;
14 int has3DNow;
15 int has3DNowExt;
16 int hasSSE;
17 int hasSSE2;
18 int isX86;
19 unsigned cl_size; /* size of cache line */
20 int hasAltiVec;
21 } CpuCaps;
23 extern CpuCaps gCpuCaps;
25 void GetCpuCaps(CpuCaps *caps);
27 /* returned value is malloc()'ed so free() it after use */
28 char *GetCpuFriendlyName(unsigned int regs[], unsigned int regs2[]);
30 #endif /* !CPUDETECT_H */