616
|
1
|
|
2 #ifndef __MPLAYER_SUB_H
|
|
3 #define __MPLAYER_SUB_H
|
|
4
|
|
5 #include "../subreader.h"
|
218
|
6
|
|
7 extern font_desc_t* vo_font;
|
|
8
|
|
9 extern unsigned char* vo_osd_text;
|
|
10
|
|
11 extern int vo_osd_progbar_type;
|
|
12 extern int vo_osd_progbar_value; // 0..255
|
|
13
|
254
|
14 extern subtitle* vo_sub;
|
218
|
15
|
|
16 #define OSD_PLAY 0x01
|
|
17 #define OSD_PAUSE 0x02
|
|
18 #define OSD_STOP 0x03
|
|
19 #define OSD_REW 0x04
|
|
20 #define OSD_FFW 0x05
|
|
21 #define OSD_CLOCK 0x06
|
|
22 #define OSD_CONTRAST 0x07
|
|
23 #define OSD_SATURATION 0x08
|
|
24 #define OSD_VOLUME 0x09
|
|
25 #define OSD_BRIGHTNESS 0x0A
|
|
26 #define OSD_HUE 0x0B
|
|
27
|
|
28 #define OSD_PB_START 0x10
|
|
29 #define OSD_PB_0 0x11
|
|
30 #define OSD_PB_END 0x12
|
|
31 #define OSD_PB_1 0x13
|
|
32
|
616
|
33 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));
|
|
34 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));
|
|
35 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));
|
|
36 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
|
37
|
616
|
38 #endif
|