annotate libvo/osd.h @ 28063:a318969a4f45

Set the base size window manager hint, otherwise some subtract the minimum size of 4x4 from the numbers displayed to the user which might be confusing. Based on patch by Bert Wesarg [bert wesarg googlemail com].
author reimar
date Fri, 05 Dec 2008 19:01:49 +0000
parents 9e739bdb049c
children 7681eab10aea
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
615
pontscho
parents:
diff changeset
1
23689
3f0d00abc073 Do not use leading underscores in multiple inclusion guards, they are reserved.
diego
parents: 17566
diff changeset
2 #ifndef MPLAYER_OSD_H
3f0d00abc073 Do not use leading underscores in multiple inclusion guards, they are reserved.
diego
parents: 17566
diff changeset
3 #define MPLAYER_OSD_H
615
pontscho
parents:
diff changeset
4
pontscho
parents:
diff changeset
5 // Generic alpha renderers for all YUV modes and RGB depths.
pontscho
parents:
diff changeset
6 // These are "reference implementations", should be optimized later (MMX, etc)
pontscho
parents:
diff changeset
7
28051
9e739bdb049c Get rid of pointless 'extern' keywords.
diego
parents: 25535
diff changeset
8 void vo_draw_alpha_init(void); // build tables
947
76fd9463b9d3 FAST_OSD option to disable font outline antialiasing
arpi_esp
parents: 615
diff changeset
9
28051
9e739bdb049c Get rid of pointless 'extern' keywords.
diego
parents: 25535
diff changeset
10 void vo_draw_alpha_yv12(int w, int h, unsigned char* src, unsigned char *srca, int srcstride, unsigned char* dstbase, int dststride);
9e739bdb049c Get rid of pointless 'extern' keywords.
diego
parents: 25535
diff changeset
11 void vo_draw_alpha_yuy2(int w, int h, unsigned char* src, unsigned char *srca, int srcstride, unsigned char* dstbase, int dststride);
9e739bdb049c Get rid of pointless 'extern' keywords.
diego
parents: 25535
diff changeset
12 void vo_draw_alpha_uyvy(int w, int h, unsigned char* src, unsigned char *srca, int srcstride, unsigned char* dstbase, int dststride);
9e739bdb049c Get rid of pointless 'extern' keywords.
diego
parents: 25535
diff changeset
13 void vo_draw_alpha_rgb24(int w, int h, unsigned char* src, unsigned char *srca, int srcstride, unsigned char* dstbase, int dststride);
9e739bdb049c Get rid of pointless 'extern' keywords.
diego
parents: 25535
diff changeset
14 void vo_draw_alpha_rgb32(int w, int h, unsigned char* src, unsigned char *srca, int srcstride, unsigned char* dstbase, int dststride);
9e739bdb049c Get rid of pointless 'extern' keywords.
diego
parents: 25535
diff changeset
15 void vo_draw_alpha_rgb15(int w, int h, unsigned char* src, unsigned char *srca, int srcstride, unsigned char* dstbase, int dststride);
9e739bdb049c Get rid of pointless 'extern' keywords.
diego
parents: 25535
diff changeset
16 void vo_draw_alpha_rgb16(int w, int h, unsigned char* src, unsigned char *srca, int srcstride, unsigned char* dstbase, int dststride);
615
pontscho
parents:
diff changeset
17
25535
3baf6a2283da Add explanatory comments to the #endif part of multiple inclusion guards.
diego
parents: 23689
diff changeset
18 #endif /* MPLAYER_OSD_H */