[MPlayer-cvslog] r29089 - in trunk/libaf: af.h af_mp.h
bircoph
subversion at mplayerhq.hu
Sat Mar 28 21:01:43 CET 2009
Author: bircoph
Date: Sat Mar 28 21:01:43 2009
New Revision: 29089
Log:
Remove af_mp.h and add its content to af.h
Deleted:
trunk/libaf/af_mp.h
Modified:
trunk/libaf/af.h
Modified: trunk/libaf/af.h
==============================================================================
--- trunk/libaf/af.h Sat Mar 28 20:57:56 2009 (r29088)
+++ trunk/libaf/af.h Sat Mar 28 21:01:43 2009 (r29089)
@@ -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;
More information about the MPlayer-cvslog
mailing list