Mercurial > mplayer.hg
annotate libvo/osd.h @ 27321:2c0abab6b9b7
Use GetTimerMS() instead of time() with srand.
This is more portable and avoids generating the same random numbers
for a whole second (and on MinGW for some unexplainable reason for
almost 10 seconds).
author | reimar |
---|---|
date | Sat, 26 Jul 2008 21:58:00 +0000 |
parents | 3baf6a2283da |
children | 9e739bdb049c |
rev | line source |
---|---|
615 | 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 | 4 |
5 // Generic alpha renderers for all YUV modes and RGB depths. | |
6 // These are "reference implementations", should be optimized later (MMX, etc) | |
7 | |
17566
f580a7755ac5
Patch by Stefan Huehner / stefan % huehner ! org \
rathann
parents:
12516
diff
changeset
|
8 extern 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 |
615 | 10 extern void vo_draw_alpha_yv12(int w,int h, unsigned char* src, unsigned char *srca, int srcstride, unsigned char* dstbase,int dststride); |
11 extern void vo_draw_alpha_yuy2(int w,int h, unsigned char* src, unsigned char *srca, int srcstride, unsigned char* dstbase,int dststride); | |
12516 | 12 extern void vo_draw_alpha_uyvy(int w,int h, unsigned char* src, unsigned char *srca, int srcstride, unsigned char* dstbase,int dststride); |
615 | 13 extern void vo_draw_alpha_rgb24(int w,int h, unsigned char* src, unsigned char *srca, int srcstride, unsigned char* dstbase,int dststride); |
14 extern void vo_draw_alpha_rgb32(int w,int h, unsigned char* src, unsigned char *srca, int srcstride, unsigned char* dstbase,int dststride); | |
15 extern void vo_draw_alpha_rgb15(int w,int h, unsigned char* src, unsigned char *srca, int srcstride, unsigned char* dstbase,int dststride); | |
16 extern void vo_draw_alpha_rgb16(int w,int h, unsigned char* src, unsigned char *srca, int srcstride, unsigned char* dstbase,int dststride); | |
17 | |
25535
3baf6a2283da
Add explanatory comments to the #endif part of multiple inclusion guards.
diego
parents:
23689
diff
changeset
|
18 #endif /* MPLAYER_OSD_H */ |