2001-04-24 13:35:07 +02:00
|
|
|
|
|
|
|
#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)
|
|
|
|
|
2006-02-09 15:08:03 +01:00
|
|
|
extern void vo_draw_alpha_init(void); // build tables
|
2001-06-02 18:02:38 +02:00
|
|
|
|
2001-04-24 13:35:07 +02:00
|
|
|
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);
|
2004-05-31 17:13:35 +02:00
|
|
|
extern void vo_draw_alpha_uyvy(int w,int h, unsigned char* src, unsigned char *srca, int srcstride, unsigned char* dstbase,int dststride);
|
2001-04-24 13:35:07 +02:00
|
|
|
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);
|
|
|
|
|
2001-06-11 00:25:09 +02:00
|
|
|
#endif
|
|
|
|
|