summaryrefslogtreecommitdiffstats
path: root/libvo/vo_xv.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_xv.c')
-rw-r--r--libvo/vo_xv.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/libvo/vo_xv.c b/libvo/vo_xv.c
index 58aa6bf5a5..ad292b4764 100644
--- a/libvo/vo_xv.c
+++ b/libvo/vo_xv.c
@@ -29,6 +29,7 @@ LIBVO_EXTERN(xv)
#include "x11_common.h"
#include "fastmemcpy.h"
+#include "sub.h"
static vo_info_t vo_info =
{
@@ -259,9 +260,6 @@ static void check_events(void)
}
-//void vo_draw_alpha_yv12(int w,int h, unsigned char* src, unsigned char *srca, int srcstride, unsigned char* dstbase,int dststride);
-//void vo_draw_alpha_yuy2(int w,int h, unsigned char* src, unsigned char *srca, int srcstride, unsigned char* dstbase,int dststride);
-
static void draw_alpha(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride){
int x,y;
@@ -282,10 +280,6 @@ static void draw_alpha(int x0,int y0, int w,int h, unsigned char* src, unsigned
}
-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)
{
vo_draw_text(image_width,image_height,draw_alpha);