annotate libvo/sub.h @ 4354:5018e8014ebd

fixed preinit conflict
author alex
date Sat, 26 Jan 2002 16:31:14 +0000
parents 47bcafe1442e
children 156482788caf
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
616
41d6eec69b60 clean up
pontscho
parents: 254
diff changeset
1
41d6eec69b60 clean up
pontscho
parents: 254
diff changeset
2 #ifndef __MPLAYER_SUB_H
41d6eec69b60 clean up
pontscho
parents: 254
diff changeset
3 #define __MPLAYER_SUB_H
41d6eec69b60 clean up
pontscho
parents: 254
diff changeset
4
865
83919c1b9924 removed redundant osd.h includes
arpi_esp
parents: 616
diff changeset
5 #if 0
83919c1b9924 removed redundant osd.h includes
arpi_esp
parents: 616
diff changeset
6
83919c1b9924 removed redundant osd.h includes
arpi_esp
parents: 616
diff changeset
7 // disable subtitles:
83919c1b9924 removed redundant osd.h includes
arpi_esp
parents: 616
diff changeset
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)){
83919c1b9924 removed redundant osd.h includes
arpi_esp
parents: 616
diff changeset
9 }
83919c1b9924 removed redundant osd.h includes
arpi_esp
parents: 616
diff changeset
10
83919c1b9924 removed redundant osd.h includes
arpi_esp
parents: 616
diff changeset
11 #else
83919c1b9924 removed redundant osd.h includes
arpi_esp
parents: 616
diff changeset
12
616
41d6eec69b60 clean up
pontscho
parents: 254
diff changeset
13 #include "../subreader.h"
218
fbfc2077ba72 sub/osd interface changes
arpi_esp
parents:
diff changeset
14
fbfc2077ba72 sub/osd interface changes
arpi_esp
parents:
diff changeset
15 extern font_desc_t* vo_font;
fbfc2077ba72 sub/osd interface changes
arpi_esp
parents:
diff changeset
16
fbfc2077ba72 sub/osd interface changes
arpi_esp
parents:
diff changeset
17 extern unsigned char* vo_osd_text;
fbfc2077ba72 sub/osd interface changes
arpi_esp
parents:
diff changeset
18
fbfc2077ba72 sub/osd interface changes
arpi_esp
parents:
diff changeset
19 extern int vo_osd_progbar_type;
fbfc2077ba72 sub/osd interface changes
arpi_esp
parents:
diff changeset
20 extern int vo_osd_progbar_value; // 0..255
fbfc2077ba72 sub/osd interface changes
arpi_esp
parents:
diff changeset
21
254
57f0156416e3 use subreader's sub struct
arpi_esp
parents: 218
diff changeset
22 extern subtitle* vo_sub;
218
fbfc2077ba72 sub/osd interface changes
arpi_esp
parents:
diff changeset
23
3034
24d3dca4e813 DVD sub patch by Kim Minh Kaplan <kmkaplan@selfoffice.com>
arpi
parents: 2498
diff changeset
24 extern void* vo_spudec;
4080
47bcafe1442e Add vobsub support.
kmkaplan
parents: 3034
diff changeset
25 extern void* vo_vobsub;
3034
24d3dca4e813 DVD sub patch by Kim Minh Kaplan <kmkaplan@selfoffice.com>
arpi
parents: 2498
diff changeset
26
218
fbfc2077ba72 sub/osd interface changes
arpi_esp
parents:
diff changeset
27 #define OSD_PLAY 0x01
fbfc2077ba72 sub/osd interface changes
arpi_esp
parents:
diff changeset
28 #define OSD_PAUSE 0x02
fbfc2077ba72 sub/osd interface changes
arpi_esp
parents:
diff changeset
29 #define OSD_STOP 0x03
fbfc2077ba72 sub/osd interface changes
arpi_esp
parents:
diff changeset
30 #define OSD_REW 0x04
fbfc2077ba72 sub/osd interface changes
arpi_esp
parents:
diff changeset
31 #define OSD_FFW 0x05
fbfc2077ba72 sub/osd interface changes
arpi_esp
parents:
diff changeset
32 #define OSD_CLOCK 0x06
fbfc2077ba72 sub/osd interface changes
arpi_esp
parents:
diff changeset
33 #define OSD_CONTRAST 0x07
fbfc2077ba72 sub/osd interface changes
arpi_esp
parents:
diff changeset
34 #define OSD_SATURATION 0x08
fbfc2077ba72 sub/osd interface changes
arpi_esp
parents:
diff changeset
35 #define OSD_VOLUME 0x09
fbfc2077ba72 sub/osd interface changes
arpi_esp
parents:
diff changeset
36 #define OSD_BRIGHTNESS 0x0A
fbfc2077ba72 sub/osd interface changes
arpi_esp
parents:
diff changeset
37 #define OSD_HUE 0x0B
fbfc2077ba72 sub/osd interface changes
arpi_esp
parents:
diff changeset
38
fbfc2077ba72 sub/osd interface changes
arpi_esp
parents:
diff changeset
39 #define OSD_PB_START 0x10
fbfc2077ba72 sub/osd interface changes
arpi_esp
parents:
diff changeset
40 #define OSD_PB_0 0x11
fbfc2077ba72 sub/osd interface changes
arpi_esp
parents:
diff changeset
41 #define OSD_PB_END 0x12
fbfc2077ba72 sub/osd interface changes
arpi_esp
parents:
diff changeset
42 #define OSD_PB_1 0x13
fbfc2077ba72 sub/osd interface changes
arpi_esp
parents:
diff changeset
43
1552
ce8e8c342004 changes made for vo_aa
folke
parents: 898
diff changeset
44 /* now in textform */
2498
38bb41c48d1f never declare variables in *.h files, pls
nick
parents: 1910
diff changeset
45 extern char * __sub_osd_names[];
38bb41c48d1f never declare variables in *.h files, pls
nick
parents: 1910
diff changeset
46 extern char * __sub_osd_names_short[];
1552
ce8e8c342004 changes made for vo_aa
folke
parents: 898
diff changeset
47
898
ae80adb64752 argh. i commented out wrong lines
arpi_esp
parents: 865
diff changeset
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
83919c1b9924 removed redundant osd.h includes
arpi_esp
parents: 616
diff changeset
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));
83919c1b9924 removed redundant osd.h includes
arpi_esp
parents: 616
diff changeset
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
ae80adb64752 argh. i commented out wrong lines
arpi_esp
parents: 865
diff changeset
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
fbfc2077ba72 sub/osd interface changes
arpi_esp
parents:
diff changeset
52
616
41d6eec69b60 clean up
pontscho
parents: 254
diff changeset
53 #endif
865
83919c1b9924 removed redundant osd.h includes
arpi_esp
parents: 616
diff changeset
54 #endif