Mercurial > mplayer.hg
annotate sub/ass_mp.h @ 35974:3ccb13092e88
Cosmetic: Rename file selector type enums.
author | ib |
---|---|
date | Thu, 28 Mar 2013 16:23:39 +0000 |
parents | bf46a9b2abda |
children |
rev | line source |
---|---|
32461 | 1 /* |
2 * Copyright (C) 2006 Evgeniy Stepanov <eugeni.stepanov@gmail.com> | |
3 * | |
4 * This file is part of MPlayer. | |
5 * | |
6 * MPlayer is free software; you can redistribute it and/or modify | |
7 * it under the terms of the GNU General Public License as published by | |
8 * the Free Software Foundation; either version 2 of the License, or | |
9 * (at your option) any later version. | |
10 * | |
11 * MPlayer is distributed in the hope that it will be useful, | |
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 * GNU General Public License for more details. | |
15 * | |
16 * You should have received a copy of the GNU General Public License along | |
17 * with MPlayer; if not, write to the Free Software Foundation, Inc., | |
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | |
19 */ | |
20 | |
21 #ifndef MPLAYER_ASS_MP_H | |
22 #define MPLAYER_ASS_MP_H | |
23 | |
24 #include "config.h" | |
25 #include <stdint.h> | |
26 | |
32464
22888a8cb312
Do not use a path for including files in the same directory.
reimar
parents:
32461
diff
changeset
|
27 #include "subreader.h" |
32461 | 28 #if defined(CONFIG_ASS_INTERNAL) || !defined(CONFIG_ASS) |
29 #include "libass/ass.h" | |
30 #else | |
31 #include <ass/ass.h> | |
32 #endif | |
33 | |
34 extern ASS_Library* ass_library; | |
35 extern int ass_enabled; | |
36 extern float ass_font_scale; | |
37 extern float ass_line_spacing; | |
38 extern int ass_top_margin; | |
39 extern int ass_bottom_margin; | |
40 extern int extract_embedded_fonts; | |
41 extern char **ass_force_style_list; | |
42 extern int ass_use_margins; | |
43 extern char* ass_color; | |
44 extern char* ass_border_color; | |
45 extern char* ass_styles_file; | |
46 extern int ass_hinting; | |
47 | |
48 ASS_Track* ass_default_track(ASS_Library* library); | |
49 int ass_process_subtitle(ASS_Track* track, subtitle* sub); | |
50 ASS_Track* ass_read_subdata(ASS_Library* library, sub_data* subdata, double fps); | |
51 ASS_Track* ass_read_stream(ASS_Library* library, const char *fname, char *charset); | |
52 | |
34494 | 53 void ass_mp_reset_config(ASS_Library *l); |
32461 | 54 ASS_Library* ass_init(void); |
55 | |
56 typedef struct { | |
57 ASS_Image* imgs; | |
58 int changed; | |
59 } EOSD_ImageList; | |
60 | |
61 extern int ass_force_reload; | |
62 | |
63 /** | |
64 * Initialize the use of EOSD for ASS subtitles rendering. | |
65 */ | |
66 void eosd_ass_init(ASS_Library *library); | |
67 | |
68 #endif /* MPLAYER_ASS_MP_H */ |