diff options
author | bircoph <bircoph@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-03-28 20:01:43 +0000 |
---|---|---|
committer | bircoph <bircoph@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-03-28 20:01:43 +0000 |
commit | e3455c5b20617f339bd27a65b2d1182bd36f9310 (patch) | |
tree | 4f59e5ff9b2491eff2ffe22713a32646443ff193 /libaf/af.h | |
parent | 42a792bbc71e1cb4b15765af8acda48a9951a210 (diff) | |
download | mpv-e3455c5b20617f339bd27a65b2d1182bd36f9310.tar.bz2 mpv-e3455c5b20617f339bd27a65b2d1182bd36f9310.tar.xz |
Remove af_mp.h and add its content to af.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29089 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libaf/af.h')
-rw-r--r-- | libaf/af.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/libaf/af.h b/libaf/af.h index 13f3f6cf76..0a3c6b8030 100644 --- a/libaf/af.h +++ b/libaf/af.h @@ -22,10 +22,17 @@ #include <stdio.h> #include "config.h" -#include "af_mp.h" #include "control.h" #include "af_format.h" #include "mp_msg.h" +#include "cpudetect.h" + +/* Set the initialization type from mplayers cpudetect */ +#ifdef AF_INIT_TYPE +#undef AF_INIT_TYPE +#define AF_INIT_TYPE \ + ((gCpuCaps.has3DNow || gCpuCaps.hasSSE)?AF_INIT_FAST:AF_INIT_SLOW) +#endif struct af_instance_s; |