annotate libvo/sub.h @ 2060:0048c2a8cc95

alsa9 driver
author gabucino
date Wed, 03 Oct 2001 18:26:06 +0000
parents 06fa415119bc
children 38bb41c48d1f
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
fbfc2077ba72 sub/osd interface changes
arpi_esp
parents:
diff changeset
24 #define OSD_PLAY 0x01
fbfc2077ba72 sub/osd interface changes
arpi_esp
parents:
diff changeset
25 #define OSD_PAUSE 0x02
fbfc2077ba72 sub/osd interface changes
arpi_esp
parents:
diff changeset
26 #define OSD_STOP 0x03
fbfc2077ba72 sub/osd interface changes
arpi_esp
parents:
diff changeset
27 #define OSD_REW 0x04
fbfc2077ba72 sub/osd interface changes
arpi_esp
parents:
diff changeset
28 #define OSD_FFW 0x05
fbfc2077ba72 sub/osd interface changes
arpi_esp
parents:
diff changeset
29 #define OSD_CLOCK 0x06
fbfc2077ba72 sub/osd interface changes
arpi_esp
parents:
diff changeset
30 #define OSD_CONTRAST 0x07
fbfc2077ba72 sub/osd interface changes
arpi_esp
parents:
diff changeset
31 #define OSD_SATURATION 0x08
fbfc2077ba72 sub/osd interface changes
arpi_esp
parents:
diff changeset
32 #define OSD_VOLUME 0x09
fbfc2077ba72 sub/osd interface changes
arpi_esp
parents:
diff changeset
33 #define OSD_BRIGHTNESS 0x0A
fbfc2077ba72 sub/osd interface changes
arpi_esp
parents:
diff changeset
34 #define OSD_HUE 0x0B
fbfc2077ba72 sub/osd interface changes
arpi_esp
parents:
diff changeset
35
fbfc2077ba72 sub/osd interface changes
arpi_esp
parents:
diff changeset
36 #define OSD_PB_START 0x10
fbfc2077ba72 sub/osd interface changes
arpi_esp
parents:
diff changeset
37 #define OSD_PB_0 0x11
fbfc2077ba72 sub/osd interface changes
arpi_esp
parents:
diff changeset
38 #define OSD_PB_END 0x12
fbfc2077ba72 sub/osd interface changes
arpi_esp
parents:
diff changeset
39 #define OSD_PB_1 0x13
fbfc2077ba72 sub/osd interface changes
arpi_esp
parents:
diff changeset
40
1552
ce8e8c342004 changes made for vo_aa
folke
parents: 898
diff changeset
41 /* now in textform */
ce8e8c342004 changes made for vo_aa
folke
parents: 898
diff changeset
42 static char * osd_names[]={
ce8e8c342004 changes made for vo_aa
folke
parents: 898
diff changeset
43 "Seekbar",
ce8e8c342004 changes made for vo_aa
folke
parents: 898
diff changeset
44 "Play",
ce8e8c342004 changes made for vo_aa
folke
parents: 898
diff changeset
45 "Pause",
ce8e8c342004 changes made for vo_aa
folke
parents: 898
diff changeset
46 "Stop",
ce8e8c342004 changes made for vo_aa
folke
parents: 898
diff changeset
47 "Rewind",
ce8e8c342004 changes made for vo_aa
folke
parents: 898
diff changeset
48 "Forward",
ce8e8c342004 changes made for vo_aa
folke
parents: 898
diff changeset
49 "Clock",
ce8e8c342004 changes made for vo_aa
folke
parents: 898
diff changeset
50 "Contrast",
ce8e8c342004 changes made for vo_aa
folke
parents: 898
diff changeset
51 "Saturation",
ce8e8c342004 changes made for vo_aa
folke
parents: 898
diff changeset
52 "Volume",
1910
06fa415119bc Fixed typo.
atmos4
parents: 1552
diff changeset
53 "Brightness",
1552
ce8e8c342004 changes made for vo_aa
folke
parents: 898
diff changeset
54 "Hue"
ce8e8c342004 changes made for vo_aa
folke
parents: 898
diff changeset
55 };
ce8e8c342004 changes made for vo_aa
folke
parents: 898
diff changeset
56 static char * osd_names_short[] ={ "", "|>", "||", "[]", "<<" , ">>", "", "", "", "", "", ""};
ce8e8c342004 changes made for vo_aa
folke
parents: 898
diff changeset
57
ce8e8c342004 changes made for vo_aa
folke
parents: 898
diff changeset
58
ce8e8c342004 changes made for vo_aa
folke
parents: 898
diff changeset
59
898
ae80adb64752 argh. i commented out wrong lines
arpi_esp
parents: 865
diff changeset
60 //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
61 //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
62 //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
63 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
64
616
41d6eec69b60 clean up
pontscho
parents: 254
diff changeset
65 #endif
865
83919c1b9924 removed redundant osd.h includes
arpi_esp
parents: 616
diff changeset
66 #endif