diff options
author | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-06-01 21:59:29 +0000 |
---|---|---|
committer | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-06-01 21:59:29 +0000 |
commit | 5b882e51309851ebdfc8c8b1959610fa3f825854 (patch) | |
tree | 1d187adc17bdf278cabc9c63486ffa4bc2d1095e /Gui/wm/ws.c | |
parent | 56d2da5af429840315d53c26aee476c7b8c2a2ce (diff) | |
download | mpv-5b882e51309851ebdfc8c8b1959610fa3f825854.tar.bz2 mpv-5b882e51309851ebdfc8c8b1959610fa3f825854.tar.xz |
vf_scale.h & related cleanup & some small warning fix by dominik
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10234 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/wm/ws.c')
-rw-r--r-- | Gui/wm/ws.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/Gui/wm/ws.c b/Gui/wm/ws.c index 99535ef88d..350b35fcbd 100644 --- a/Gui/wm/ws.c +++ b/Gui/wm/ws.c @@ -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" @@ -93,13 +94,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;\ pixel|=(g>>2);\ |