# HG changeset patch
# User Diego 'Flameeyes' Pettenò <[EMAIL PROTECTED]>
# Date 1181393085 -7200
# Node ID 1f0aa5590fa3983267622151eabb0322846a658d
# Parent  f2a247faf80519b9af3dd0f68866f76b34c973e3
Update the planer post processor to the new cpu_accel interface.

diff -r 1f0aa5590fa3983267622151eabb0322846a658d -r 
f2a247faf80519b9af3dd0f68866f76b34c973e3 src/post/planar/pp.c
--- a/src/post/planar/pp.c      Sat Jun 09 14:44:45 2007 +0200
+++ b/src/post/planar/pp.c      Sat Jun 09 14:43:22 2007 +0200
@@ -25,6 +25,7 @@
 #include "xine_internal.h"
 #include "post.h"
 #include "xineutils.h"
+#include "cpu_accel.h"
 #include "postprocess.h"
 #include <pthread.h>
 
@@ -189,13 +190,12 @@ static post_plugin_t *pp_open_plugin(pos
   strcpy(this->params.mode, "de");
 
   /* Detect what cpu accel we have */
-  cpu_caps = xine_mm_accel();
   this->pp_flags = PP_FORMAT_420;
-  if(cpu_caps & MM_ACCEL_X86_MMX)
+  if( CHECK_MMX )
     this->pp_flags |= PP_CPU_CAPS_MMX;
-  if(cpu_caps & MM_ACCEL_X86_MMXEXT)
+  if( CHECK_MMXEXT )
     this->pp_flags |= PP_CPU_CAPS_MMX2;
-  if(cpu_caps & MM_ACCEL_X86_3DNOW)  
+  if( CHECK_3DNOW )
     this->pp_flags |= PP_CPU_CAPS_3DNOW;
 
   this->pp_mode = NULL;

-------------------------------------------------------------------------
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

Reply via email to