[Mplayer-cvslog] CVS: main/Gui/wm ws.c,1.68,1.69

Michael Niedermayer CVS michael at mplayerhq.hu
Sun Jun 1 23:59:33 CEST 2003


Update of /cvsroot/mplayer/main/Gui/wm
In directory mail:/var/tmp.root/cvs-serv29757/Gui/wm

Modified Files:
	ws.c 
Log Message:
vf_scale.h & related cleanup & some small warning fix by dominik


Index: ws.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/wm/ws.c,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -r1.68 -r1.69
--- ws.c	26 May 2003 08:45:43 -0000	1.68
+++ ws.c	1 Jun 2003 21:59:29 -0000	1.69
@@ -25,6 +25,7 @@
 #include "../../cpudetect.h"
 #include "../../postproc/swscale.h"
 #include "../../postproc/rgb2rgb.h"
+#include "../../libmpcodecs/vf_scale.h"
 #include "../../mp_msg.h"
 #include "../../mplayer.h"
 
@@ -92,13 +93,6 @@
 inline int wsSearch( Window win );
 
 // ---
-
-static int get_sws_cpuflags()
-{
-    return (gCpuCaps.hasMMX ? SWS_CPU_CAPS_MMX : 0) |
-	(gCpuCaps.hasMMX2 ? SWS_CPU_CAPS_MMX2 : 0) |
-	(gCpuCaps.has3DNow ? SWS_CPU_CAPS_3DNOW : 0);
-}
 
 #define PACK_RGB16(r,g,b,pixel) pixel=(b>>3);\
                                 pixel<<=6;\



More information about the MPlayer-cvslog mailing list