summaryrefslogtreecommitdiffstats
path: root/cpudetect.h
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-01-18 19:29:46 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-01-18 19:29:46 +0000
commit66e6173c0c950c2ed3d787eeaf26ff65df0da597 (patch)
treebfee2c27d08ec2e558893ec869a227a53ea1856a /cpudetect.h
parentf0c90c8e00f5452c7a27ed23522e7dc16e2db512 (diff)
downloadmpv-66e6173c0c950c2ed3d787eeaf26ff65df0da597.tar.bz2
mpv-66e6173c0c950c2ed3d787eeaf26ff65df0da597.tar.xz
AltiVec detection code ("borrowed" from FFmpeg and
libmpeg2) & enough code to enable the AltiVec IMDCT in liba52 and the DCT64 in mp3lib. patch by Romain Dolbeau <dolbeau@irisa.fr> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9004 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cpudetect.h')
-rw-r--r--cpudetect.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpudetect.h b/cpudetect.h
index e879f6d047..c68013ba78 100644
--- a/cpudetect.h
+++ b/cpudetect.h
@@ -17,6 +17,7 @@ typedef struct cpucaps_s {
int hasSSE2;
int isX86;
unsigned cl_size; /* size of cache line */
+ int hasAltiVec;
} CpuCaps;
extern CpuCaps gCpuCaps;