Mercurial > mplayer.hg
annotate libvo/sub.h @ 4205:c42ab0e5bbbc
possible sig11 fixed - noticed by Fredrik Kuivinen <freku045@student.liu.se>
author | arpi |
---|---|
date | Thu, 17 Jan 2002 00:49:21 +0000 |
parents | 47bcafe1442e |
children | 156482788caf |
rev | line source |
---|---|
616 | 1 |
2 #ifndef __MPLAYER_SUB_H | |
3 #define __MPLAYER_SUB_H | |
4 | |
865 | 5 #if 0 |
6 | |
7 // disable subtitles: | |
8 static inline void vo_draw_text_osd(int dxs,int dys,void (*draw_alpha)(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride)){ | |
9 } | |
10 | |
11 #else | |
12 | |
616 | 13 #include "../subreader.h" |
218 | 14 |
15 extern font_desc_t* vo_font; | |
16 | |
17 extern unsigned char* vo_osd_text; | |
18 | |
19 extern int vo_osd_progbar_type; | |
20 extern int vo_osd_progbar_value; // 0..255 | |
21 | |
254 | 22 extern subtitle* vo_sub; |
218 | 23 |
3034
24d3dca4e813
DVD sub patch by Kim Minh Kaplan <kmkaplan@selfoffice.com>
arpi
parents:
2498
diff
changeset
|
24 extern void* vo_spudec; |
4080 | 25 extern void* vo_vobsub; |
3034
24d3dca4e813
DVD sub patch by Kim Minh Kaplan <kmkaplan@selfoffice.com>
arpi
parents:
2498
diff
changeset
|
26 |
218 | 27 #define OSD_PLAY 0x01 |
28 #define OSD_PAUSE 0x02 | |
29 #define OSD_STOP 0x03 | |
30 #define OSD_REW 0x04 | |
31 #define OSD_FFW 0x05 | |
32 #define OSD_CLOCK 0x06 | |
33 #define OSD_CONTRAST 0x07 | |
34 #define OSD_SATURATION 0x08 | |
35 #define OSD_VOLUME 0x09 | |
36 #define OSD_BRIGHTNESS 0x0A | |
37 #define OSD_HUE 0x0B | |
38 | |
39 #define OSD_PB_START 0x10 | |
40 #define OSD_PB_0 0x11 | |
41 #define OSD_PB_END 0x12 | |
42 #define OSD_PB_1 0x13 | |
43 | |
1552 | 44 /* now in textform */ |
2498 | 45 extern char * __sub_osd_names[]; |
46 extern char * __sub_osd_names_short[]; | |
1552 | 47 |
898 | 48 //extern void vo_draw_text_osd(int dxs,int dys,void (*draw_alpha)(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride)); |
865 | 49 //extern void vo_draw_text_progbar(int dxs,int dys,void (*draw_alpha)(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride)); |
50 //extern void vo_draw_text_sub(int dxs,int dys,void (*draw_alpha)(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride)); | |
898 | 51 extern void vo_draw_text(int dxs,int dys,void (*draw_alpha)(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride)); |
218 | 52 |
616 | 53 #endif |
865 | 54 #endif |