cpudetect: remove unused/forgotten crap

This commit is contained in:
wm4 2012-08-01 23:46:28 +02:00
parent 9dbe8e1b84
commit 16c6e1dee9
2 changed files with 0 additions and 14 deletions

View File

@ -39,7 +39,6 @@ void GetCpuCaps(CpuCaps *c)
memset(c, 0, sizeof(*c));
int flags = av_get_cpu_flags();
#if ARCH_X86
c->isX86 = 1;
c->hasMMX = flags & AV_CPU_FLAG_MMX;
c->hasMMX2 = flags & AV_CPU_FLAG_MMX2;
c->hasSSE = flags & AV_CPU_FLAG_SSE;

View File

@ -22,17 +22,9 @@
#include <stdbool.h>
#include "config.h"
#define CPUTYPE_I386 3
#define CPUTYPE_I486 4
#define CPUTYPE_I586 5
#define CPUTYPE_I686 6
#include "ffmpeg_files/x86_cpu.h"
typedef struct cpucaps_s {
int cpuType;
int cpuStepping;
bool isX86;
bool hasMMX;
bool hasMMX2;
bool hasSSE;
@ -43,11 +35,6 @@ typedef struct cpucaps_s {
extern CpuCaps gCpuCaps;
void do_cpuid(unsigned int ax, unsigned int *p);
void GetCpuCaps(CpuCaps *caps);
/* returned value is malloc()'ed so free() it after use */
char *GetCpuFriendlyName(unsigned int regs[], unsigned int regs2[]);
#endif /* MPLAYER_CPUDETECT_H */