diff --git a/libvo/osd.h b/libvo/osd.h new file mode 100644 index 0000000000..38ca8c5871 --- /dev/null +++ b/libvo/osd.h @@ -0,0 +1,15 @@ + +#ifndef __MPLAYER_OSD_H +#define __MPLAYER_OSD_H + +// Generic alpha renderers for all YUV modes and RGB depths. +// These are "reference implementations", should be optimized later (MMX, etc) + +extern void vo_draw_alpha_yv12(int w,int h, unsigned char* src, unsigned char *srca, int srcstride, unsigned char* dstbase,int dststride); +extern void vo_draw_alpha_yuy2(int w,int h, unsigned char* src, unsigned char *srca, int srcstride, unsigned char* dstbase,int dststride); +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); + +#endif \ No newline at end of file