mirror of
https://github.com/mpv-player/mpv
synced 2024-12-24 15:52:25 +00:00
0864f92e7a
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28085 b3059339-0415-0410-9bf9-f77b7e298cf2
19 lines
1.2 KiB
C
19 lines
1.2 KiB
C
|
|
#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)
|
|
|
|
void vo_draw_alpha_init(void); // build tables
|
|
|
|
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);
|
|
void vo_draw_alpha_uyvy(int w, int h, unsigned char* src, unsigned char *srca, int srcstride, unsigned char* dstbase, int dststride);
|
|
void vo_draw_alpha_rgb24(int w, int h, unsigned char* src, unsigned char *srca, int srcstride, unsigned char* dstbase, int dststride);
|
|
void vo_draw_alpha_rgb32(int w, int h, unsigned char* src, unsigned char *srca, int srcstride, unsigned char* dstbase, int dststride);
|
|
void vo_draw_alpha_rgb15(int w, int h, unsigned char* src, unsigned char *srca, int srcstride, unsigned char* dstbase, int dststride);
|
|
void vo_draw_alpha_rgb16(int w, int h, unsigned char* src, unsigned char *srca, int srcstride, unsigned char* dstbase, int dststride);
|
|
|
|
#endif /* MPLAYER_OSD_H */
|