Mercurial > mplayer.hg
annotate libvo/sub.h @ 5300:5d7bd47b46ef
OS2 support
author | arpi |
---|---|
date | Sun, 24 Mar 2002 01:09:08 +0000 |
parents | 4e64fca268e9 |
children | 86663f1b9b00 |
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 unsigned char* vo_osd_text; | |
16 | |
17 extern int vo_osd_progbar_type; | |
18 extern int vo_osd_progbar_value; // 0..255 | |
19 | |
254 | 20 extern subtitle* vo_sub; |
218 | 21 |
3034
24d3dca4e813
DVD sub patch by Kim Minh Kaplan <kmkaplan@selfoffice.com>
arpi
parents:
2498
diff
changeset
|
22 extern void* vo_spudec; |
4080 | 23 extern void* vo_vobsub; |
3034
24d3dca4e813
DVD sub patch by Kim Minh Kaplan <kmkaplan@selfoffice.com>
arpi
parents:
2498
diff
changeset
|
24 |
218 | 25 #define OSD_PLAY 0x01 |
26 #define OSD_PAUSE 0x02 | |
27 #define OSD_STOP 0x03 | |
28 #define OSD_REW 0x04 | |
29 #define OSD_FFW 0x05 | |
30 #define OSD_CLOCK 0x06 | |
31 #define OSD_CONTRAST 0x07 | |
32 #define OSD_SATURATION 0x08 | |
33 #define OSD_VOLUME 0x09 | |
34 #define OSD_BRIGHTNESS 0x0A | |
35 #define OSD_HUE 0x0B | |
36 | |
37 #define OSD_PB_START 0x10 | |
38 #define OSD_PB_0 0x11 | |
39 #define OSD_PB_END 0x12 | |
40 #define OSD_PB_1 0x13 | |
41 | |
1552 | 42 /* now in textform */ |
2498 | 43 extern char * __sub_osd_names[]; |
44 extern char * __sub_osd_names_short[]; | |
1552 | 45 |
898 | 46 //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 | 47 //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)); |
48 //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 | 49 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 | 50 |
4807
156482788caf
osd outside movie support for vo_sdl, patch by Fredrik Kuivinen
atmos4
parents:
4080
diff
changeset
|
51 int vo_osd_changed(int new_value); |
156482788caf
osd outside movie support for vo_sdl, patch by Fredrik Kuivinen
atmos4
parents:
4080
diff
changeset
|
52 |
616 | 53 #endif |
865 | 54 #endif |