summaryrefslogtreecommitdiffstats
path: root/libvo/vo_svga.c
diff options
context:
space:
mode:
authorpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-04-24 11:42:04 +0000
committerpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-04-24 11:42:04 +0000
commit4ff11b99495e63895791171a82694ed51d62448c (patch)
treeb8c4fa4d36c147dacc0b7e09b132cdd6e3e8e569 /libvo/vo_svga.c
parent9126c8286e950b45eaccccd7937184644ca2496f (diff)
downloadmpv-4ff11b99495e63895791171a82694ed51d62448c.tar.bz2
mpv-4ff11b99495e63895791171a82694ed51d62448c.tar.xz
clean up
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@617 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_svga.c')
-rw-r--r--libvo/vo_svga.c20
1 files changed, 3 insertions, 17 deletions
diff --git a/libvo/vo_svga.c b/libvo/vo_svga.c
index ec138c0910..e7938cb00e 100644
--- a/libvo/vo_svga.c
+++ b/libvo/vo_svga.c
@@ -21,6 +21,8 @@
#include "yuv2rgb.h"
#include "mmx.h"
+#include "sub.h"
+
extern void rgb15to16_mmx(char* s0,char* d0,int count);
extern int vo_dbpp;
extern int verbose;
@@ -418,19 +420,7 @@ static const vo_info_t* get_info(void) {
return (&vo_info);
}
-extern void vo_draw_alpha_rgb24(int w,int h, unsigned char* src,
- unsigned char *srca, int srcstride, unsigned char* dstbase,
- int dststride);
-extern void vo_draw_alpha_rgb32(int w,int h, unsigned char* src,
- unsigned char *srca, int srcstride, unsigned char* dstbase,
- int dststride);
-extern void vo_draw_alpha_rgb15(int w,int h, unsigned char* src,
- unsigned char *srca, int srcstride, unsigned char* dstbase,
- int dststride);
-extern void vo_draw_alpha_rgb16(int w,int h, unsigned char* src,
- unsigned char *srca, int srcstride, unsigned char* dstbase,
- int dststride);
-
+#include "osd.h"
static void draw_alpha(int x0, int y0, int w, int h, unsigned char *src,
unsigned char *srca, int stride) {
@@ -515,10 +505,6 @@ static uint32_t draw_slice(uint8_t *image[], int stride[],
return 0;
}
-extern void vo_draw_text(int dxs,int dys,void (*draw_alpha)(int x0,int y0,
- int w,int h, unsigned char* src, unsigned char *srca,
- int stride));
-
static void flip_page(void) {
if (y_pos) {
gl_fillbox(0, 0, WIDTH, y_pos, 0);