Mercurial > mplayer.hg
diff libvo/mga_common.c @ 10233:35f52ad860a0
vf_scale.h & related cleanup & some small warning fix by dominik
author | michael |
---|---|
date | Sun, 01 Jun 2003 21:59:29 +0000 |
parents | be14ff86b4e5 |
children | 85e503ddf65f |
line wrap: on
line diff
--- a/libvo/mga_common.c Sun Jun 01 20:27:32 2003 +0000 +++ b/libvo/mga_common.c Sun Jun 01 21:59:29 2003 +0000 @@ -4,6 +4,7 @@ #include "../cpudetect.h" #include "../postproc/swscale.h" #include "../postproc/rgb2rgb.h" +#include "../libmpcodecs/vf_scale.h" #include "mp_msg.h" // mga_vid drawing functions @@ -415,13 +416,6 @@ return 0; } -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); -} - static uint32_t preinit(const char *vo_subdevice) { const char *devname=vo_subdevice?vo_subdevice:"/dev/mga_vid";