# HG changeset patch
# User Diego 'Flameeyes' Pettenò <[EMAIL PROTECTED]>
# Date 1181393245 -7200
# Node ID c49b3d5197ce75e5193e75c5b35437c434f94152
# Parent 1f0aa5590fa3983267622151eabb0322846a658d
Update eq to the new cpu_accel interface.
diff -r c49b3d5197ce75e5193e75c5b35437c434f94152 -r
1f0aa5590fa3983267622151eabb0322846a658d src/post/planar/eq.c
--- a/src/post/planar/eq.c Sat Jun 09 14:47:25 2007 +0200
+++ b/src/post/planar/eq.c Sat Jun 09 14:44:45 2007 +0200
@@ -26,10 +26,11 @@
#include "xine_internal.h"
#include "post.h"
#include "xineutils.h"
+#include "cpu_accel.h"
#include <pthread.h>
-#if defined(ARCH_X86) || defined(ARCH_X86_64)
+#ifdef BUILD_MMX_MAYBE
static void process_MMX(unsigned char *dest, int dstride, unsigned char *src,
int sstride,
int w, int h, int brightness, int contrast)
{
@@ -260,8 +261,8 @@ static post_plugin_t *eq_open_plugin(pos
}
process = process_C;
-#if defined(ARCH_X86) || defined(ARCH_X86_64)
- if( xine_mm_accel() & MM_ACCEL_X86_MMX )
+#ifdef BUILD_MMX_MAYBE
+ if ( CHECK_MMX )
process = process_MMX;
#endif
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Xine-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xine-cvslog