summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authormichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-06-01 21:59:29 +0000
committermichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-06-01 21:59:29 +0000
commit5b882e51309851ebdfc8c8b1959610fa3f825854 (patch)
tree1d187adc17bdf278cabc9c63486ffa4bc2d1095e /libvo
parent56d2da5af429840315d53c26aee476c7b8c2a2ce (diff)
downloadmpv-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 'libvo')
-rw-r--r--libvo/mga_common.c8
-rw-r--r--libvo/vo_aa.c1
-rw-r--r--libvo/vo_vesa.c1
-rw-r--r--libvo/vo_x11.c1
4 files changed, 4 insertions, 7 deletions
diff --git a/libvo/mga_common.c b/libvo/mga_common.c
index 072a1d7067..e5ef50042d 100644
--- a/libvo/mga_common.c
+++ b/libvo/mga_common.c
@@ -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 @@ static int mga_uninit(){
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";
diff --git a/libvo/vo_aa.c b/libvo/vo_aa.c
index f01c2e63f6..f9c700a058 100644
--- a/libvo/vo_aa.c
+++ b/libvo/vo_aa.c
@@ -28,6 +28,7 @@
#include "video_out_internal.h"
#include "aspect.h"
#include "../postproc/swscale.h"
+#include "../libmpcodecs/vf_scale.h"
#include "font_load.h"
#include "sub.h"
diff --git a/libvo/vo_vesa.c b/libvo/vo_vesa.c
index d046e309e2..ba911521ec 100644
--- a/libvo/vo_vesa.c
+++ b/libvo/vo_vesa.c
@@ -45,6 +45,7 @@
#endif
#include "../postproc/swscale.h"
+#include "../libmpcodecs/vf_scale.h"
#ifdef HAVE_PNG
diff --git a/libvo/vo_x11.c b/libvo/vo_x11.c
index 6b6ea84251..079662bafd 100644
--- a/libvo/vo_x11.c
+++ b/libvo/vo_x11.c
@@ -25,6 +25,7 @@
#include "../postproc/swscale.h"
#include "../postproc/swscale_internal.h" //FIXME
#include "../postproc/rgb2rgb.h"
+#include "../libmpcodecs/vf_scale.h"
#include "../mp_msg.h"