summaryrefslogtreecommitdiffstats
path: root/libvo/vo_svga.c
diff options
context:
space:
mode:
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);