2009-02-08 03:27:30 +00:00
|
|
|
/*
|
|
|
|
* This file is part of MPlayer.
|
|
|
|
*
|
|
|
|
* MPlayer is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* MPlayer is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License along
|
|
|
|
* with MPlayer; if not, write to the Free Software Foundation, Inc.,
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
2001-03-27 00:32:24 +00:00
|
|
|
|
2007-07-02 22:34:45 +00:00
|
|
|
#ifndef MPLAYER_SUB_H
|
|
|
|
#define MPLAYER_SUB_H
|
2001-04-24 11:42:04 +00:00
|
|
|
|
2011-01-19 18:13:48 +00:00
|
|
|
#include <stdbool.h>
|
|
|
|
|
2002-04-15 19:17:12 +00:00
|
|
|
typedef struct mp_osd_bbox_s {
|
|
|
|
int x1,y1,x2,y2;
|
|
|
|
} mp_osd_bbox_t;
|
|
|
|
|
|
|
|
#define OSDTYPE_OSD 1
|
|
|
|
#define OSDTYPE_SUBTITLE 2
|
|
|
|
#define OSDTYPE_PROGBAR 3
|
|
|
|
#define OSDTYPE_SPU 4
|
2006-11-25 11:20:02 +00:00
|
|
|
#define OSDTYPE_DVDNAV 5
|
2007-07-29 17:57:39 +00:00
|
|
|
#define OSDTYPE_TELETEXT 6
|
2002-04-15 19:17:12 +00:00
|
|
|
|
|
|
|
#define OSDFLAG_VISIBLE 1
|
|
|
|
#define OSDFLAG_CHANGED 2
|
|
|
|
#define OSDFLAG_BBOX 4
|
|
|
|
#define OSDFLAG_OLD_BBOX 8
|
|
|
|
#define OSDFLAG_FORCE_UPDATE 16
|
|
|
|
|
|
|
|
#define MAX_UCS 1600
|
|
|
|
#define MAX_UCSLINES 16
|
|
|
|
|
|
|
|
typedef struct mp_osd_obj_s {
|
|
|
|
struct mp_osd_obj_s* next;
|
|
|
|
unsigned char type;
|
2003-10-04 17:29:08 +00:00
|
|
|
unsigned char alignment; // 2 bits: x;y percentages, 2 bits: x;y relative to parent; 2 bits: alignment left/right/center
|
2002-04-15 19:17:12 +00:00
|
|
|
unsigned short flags;
|
|
|
|
int x,y;
|
|
|
|
int dxs,dys;
|
|
|
|
mp_osd_bbox_t bbox; // bounding box
|
|
|
|
mp_osd_bbox_t old_bbox; // the renderer will save bbox here
|
|
|
|
union {
|
|
|
|
struct {
|
|
|
|
void* sub; // value of vo_sub at last update
|
|
|
|
int utbl[MAX_UCS+1]; // subtitle text
|
|
|
|
int xtbl[MAX_UCSLINES]; // x positions
|
|
|
|
int lines; // no. of lines
|
|
|
|
} subtitle;
|
|
|
|
struct {
|
|
|
|
int elems;
|
|
|
|
} progbar;
|
|
|
|
} params;
|
2002-08-28 20:45:42 +00:00
|
|
|
int stride;
|
|
|
|
|
|
|
|
int allocated;
|
|
|
|
unsigned char *alpha_buffer;
|
|
|
|
unsigned char *bitmap_buffer;
|
osd: use libass for OSD rendering
The OSD will now be rendered with libass. The old rendering code, which
used freetype/fontconfig and did text layout manually, is disabled. To
re-enable the old code, use the --disable-libass-osd configure switch.
Some switches do nothing with the new code enabled, such as -subalign,
-sub-bg-alpha, -sub-bg-color, and many more. (The reason is mostly that
the code for rendering unstyled subtitles with libass doesn't make any
attempts to support them. Some of them could be supported in theory.)
Teletext rendering is not implemented in the new OSD rendering code. I
don't have any teletext sources for testing, and since teletext is
being phased out world-wide, the need for this is questionable.
Note that rendering is extremely inefficient, mostly because the libass
output is blended with the extremely strange mplayer OSD format. This
could be improved at a later point.
Remove most OSD rendering from vo_aa.c, because that was extremely
hacky, can't be made work with osd_libass, and didn't work anyway in
my tests.
Internally, some cleanup is done. Subtitle and OSD related variable
declarations were literally all over the place. Move them to sub.h and
sub.c, which were hoarding most of these declarations already. Make the
player core in mplayer.c free of concerns like bitmap font loading.
The old OSD rendering code has been moved to osd_ft.c. The font_load.c
and font_load_ft.c are only needed and compiled if the old OSD
rendering code is configured.
2012-03-22 05:26:37 +00:00
|
|
|
|
|
|
|
struct ass_track *osd_track;
|
2002-04-15 19:17:12 +00:00
|
|
|
} mp_osd_obj_t;
|
|
|
|
|
2008-06-23 22:53:58 +00:00
|
|
|
struct osd_state {
|
2011-07-22 22:55:13 +00:00
|
|
|
struct ass_library *ass_library;
|
2011-08-08 02:59:23 +00:00
|
|
|
// flag to signal reinitialization due to ass-related option changes
|
|
|
|
bool ass_force_reload;
|
osd: use libass for OSD rendering
The OSD will now be rendered with libass. The old rendering code, which
used freetype/fontconfig and did text layout manually, is disabled. To
re-enable the old code, use the --disable-libass-osd configure switch.
Some switches do nothing with the new code enabled, such as -subalign,
-sub-bg-alpha, -sub-bg-color, and many more. (The reason is mostly that
the code for rendering unstyled subtitles with libass doesn't make any
attempts to support them. Some of them could be supported in theory.)
Teletext rendering is not implemented in the new OSD rendering code. I
don't have any teletext sources for testing, and since teletext is
being phased out world-wide, the need for this is questionable.
Note that rendering is extremely inefficient, mostly because the libass
output is blended with the extremely strange mplayer OSD format. This
could be improved at a later point.
Remove most OSD rendering from vo_aa.c, because that was extremely
hacky, can't be made work with osd_libass, and didn't work anyway in
my tests.
Internally, some cleanup is done. Subtitle and OSD related variable
declarations were literally all over the place. Move them to sub.h and
sub.c, which were hoarding most of these declarations already. Make the
player core in mplayer.c free of concerns like bitmap font loading.
The old OSD rendering code has been moved to osd_ft.c. The font_load.c
and font_load_ft.c are only needed and compiled if the old OSD
rendering code is configured.
2012-03-22 05:26:37 +00:00
|
|
|
int w, h;
|
2011-08-08 08:07:17 +00:00
|
|
|
char *osd_text;
|
osd: use libass for OSD rendering
The OSD will now be rendered with libass. The old rendering code, which
used freetype/fontconfig and did text layout manually, is disabled. To
re-enable the old code, use the --disable-libass-osd configure switch.
Some switches do nothing with the new code enabled, such as -subalign,
-sub-bg-alpha, -sub-bg-color, and many more. (The reason is mostly that
the code for rendering unstyled subtitles with libass doesn't make any
attempts to support them. Some of them could be supported in theory.)
Teletext rendering is not implemented in the new OSD rendering code. I
don't have any teletext sources for testing, and since teletext is
being phased out world-wide, the need for this is questionable.
Note that rendering is extremely inefficient, mostly because the libass
output is blended with the extremely strange mplayer OSD format. This
could be improved at a later point.
Remove most OSD rendering from vo_aa.c, because that was extremely
hacky, can't be made work with osd_libass, and didn't work anyway in
my tests.
Internally, some cleanup is done. Subtitle and OSD related variable
declarations were literally all over the place. Move them to sub.h and
sub.c, which were hoarding most of these declarations already. Make the
player core in mplayer.c free of concerns like bitmap font loading.
The old OSD rendering code has been moved to osd_ft.c. The font_load.c
and font_load_ft.c are only needed and compiled if the old OSD
rendering code is configured.
2012-03-22 05:26:37 +00:00
|
|
|
struct ass_renderer *osd_render;
|
2008-06-24 05:29:36 +00:00
|
|
|
struct font_desc *sub_font;
|
2011-01-12 13:15:02 +00:00
|
|
|
struct ass_track *ass_track;
|
2011-12-05 03:24:18 +00:00
|
|
|
double pts;
|
timeline: subs: keep subtitle tracks in source time
Timeline handling converted the pts values from demuxed subtitles to
timeline scale. Change the code to do most subtitle handling in
original subtitle source pts, and instead convert current playback
timeline pts to those units when deciding which subtitle to show.
The main functionality changes are that now demuxed subtitles which
overlap chapter boundaries are handled correctly (at least for libass
subtitles), and external subtitles are assumed to use same pts scale
as current source (this needs improvements later).
Before, a video subtitle that had a duration continuing past the end
of the chapter would continue to be shown for the original duration,
even if the chapter ended and playback switched to a position in the
source where the subtitle shouldn't exist. Now, the subtitle will
correctly end.
Before, external subtitle files were interpreted as specifying pts
values in timeline scale. Now, they're interpreted as specifying pts
values in source file time scale, for _every_ source file. This is
probably more likely to be what the user wants for the "main" source
file in case there is one, but almost certainly not quite right for
multiple source files where the same subs could be shown over
different scenes. If the user wants them to match some main source
file, it's probably still better to have incorrect extra subs for
video from some files than to have every subtitle appearing at the
wrong time. The new code makes it easier to change the interpretation
of the subtitle times, and some configurability should be added in
the future.
2012-03-20 00:54:19 +00:00
|
|
|
double sub_offset;
|
2011-01-19 18:13:48 +00:00
|
|
|
bool ass_track_changed;
|
|
|
|
bool vsfilter_aspect;
|
osd: use libass for OSD rendering
The OSD will now be rendered with libass. The old rendering code, which
used freetype/fontconfig and did text layout manually, is disabled. To
re-enable the old code, use the --disable-libass-osd configure switch.
Some switches do nothing with the new code enabled, such as -subalign,
-sub-bg-alpha, -sub-bg-color, and many more. (The reason is mostly that
the code for rendering unstyled subtitles with libass doesn't make any
attempts to support them. Some of them could be supported in theory.)
Teletext rendering is not implemented in the new OSD rendering code. I
don't have any teletext sources for testing, and since teletext is
being phased out world-wide, the need for this is questionable.
Note that rendering is extremely inefficient, mostly because the libass
output is blended with the extremely strange mplayer OSD format. This
could be improved at a later point.
Remove most OSD rendering from vo_aa.c, because that was extremely
hacky, can't be made work with osd_libass, and didn't work anyway in
my tests.
Internally, some cleanup is done. Subtitle and OSD related variable
declarations were literally all over the place. Move them to sub.h and
sub.c, which were hoarding most of these declarations already. Make the
player core in mplayer.c free of concerns like bitmap font loading.
The old OSD rendering code has been moved to osd_ft.c. The font_load.c
and font_load_ft.c are only needed and compiled if the old OSD
rendering code is configured.
2012-03-22 05:26:37 +00:00
|
|
|
struct MPOpts *opts;
|
2008-06-23 22:53:58 +00:00
|
|
|
};
|
2002-04-15 19:17:12 +00:00
|
|
|
|
2004-10-28 01:15:53 +00:00
|
|
|
#include "subreader.h"
|
2001-04-24 11:42:04 +00:00
|
|
|
|
2006-11-29 14:08:24 +00:00
|
|
|
extern subtitle* vo_sub;
|
|
|
|
|
2007-07-29 17:57:39 +00:00
|
|
|
extern void* vo_osd_teletext_page;
|
|
|
|
extern int vo_osd_teletext_half;
|
|
|
|
extern int vo_osd_teletext_mode;
|
|
|
|
extern int vo_osd_teletext_format;
|
|
|
|
|
2001-03-27 00:32:24 +00:00
|
|
|
extern int vo_osd_progbar_type;
|
|
|
|
extern int vo_osd_progbar_value; // 0..255
|
|
|
|
|
2001-11-20 18:36:50 +00:00
|
|
|
extern void* vo_spudec;
|
2002-01-10 17:20:27 +00:00
|
|
|
extern void* vo_vobsub;
|
2001-11-20 18:36:50 +00:00
|
|
|
|
2001-03-27 00:32:24 +00:00
|
|
|
#define OSD_PLAY 0x01
|
|
|
|
#define OSD_PAUSE 0x02
|
|
|
|
#define OSD_STOP 0x03
|
|
|
|
#define OSD_REW 0x04
|
|
|
|
#define OSD_FFW 0x05
|
|
|
|
#define OSD_CLOCK 0x06
|
|
|
|
#define OSD_CONTRAST 0x07
|
|
|
|
#define OSD_SATURATION 0x08
|
|
|
|
#define OSD_VOLUME 0x09
|
|
|
|
#define OSD_BRIGHTNESS 0x0A
|
|
|
|
#define OSD_HUE 0x0B
|
2007-06-20 02:26:20 +00:00
|
|
|
#define OSD_BALANCE 0x0C
|
2002-06-04 20:17:07 +00:00
|
|
|
#define OSD_PANSCAN 0x50
|
2001-03-27 00:32:24 +00:00
|
|
|
|
|
|
|
#define OSD_PB_START 0x10
|
|
|
|
#define OSD_PB_0 0x11
|
|
|
|
#define OSD_PB_END 0x12
|
|
|
|
#define OSD_PB_1 0x13
|
|
|
|
|
2001-08-16 15:18:46 +00:00
|
|
|
/* now in textform */
|
2008-05-01 06:12:38 +00:00
|
|
|
extern char * const sub_osd_names[];
|
|
|
|
extern char * const sub_osd_names_short[];
|
2001-08-16 15:18:46 +00:00
|
|
|
|
2002-04-17 21:51:18 +00:00
|
|
|
extern int sub_unicode;
|
|
|
|
extern int sub_utf8;
|
|
|
|
|
|
|
|
extern char *sub_cp;
|
|
|
|
extern int sub_pos;
|
2002-12-27 21:41:40 +00:00
|
|
|
extern int sub_width_p;
|
2002-12-23 01:37:43 +00:00
|
|
|
extern int sub_alignment;
|
2002-10-06 17:40:51 +00:00
|
|
|
extern int sub_visibility;
|
2002-12-28 15:03:23 +00:00
|
|
|
extern int sub_bg_color; /* subtitles background color */
|
|
|
|
extern int sub_bg_alpha;
|
2003-01-24 10:24:07 +00:00
|
|
|
extern int spu_alignment;
|
|
|
|
extern int spu_aamode;
|
|
|
|
extern float spu_gaussvar;
|
2002-04-17 21:51:18 +00:00
|
|
|
|
osd: use libass for OSD rendering
The OSD will now be rendered with libass. The old rendering code, which
used freetype/fontconfig and did text layout manually, is disabled. To
re-enable the old code, use the --disable-libass-osd configure switch.
Some switches do nothing with the new code enabled, such as -subalign,
-sub-bg-alpha, -sub-bg-color, and many more. (The reason is mostly that
the code for rendering unstyled subtitles with libass doesn't make any
attempts to support them. Some of them could be supported in theory.)
Teletext rendering is not implemented in the new OSD rendering code. I
don't have any teletext sources for testing, and since teletext is
being phased out world-wide, the need for this is questionable.
Note that rendering is extremely inefficient, mostly because the libass
output is blended with the extremely strange mplayer OSD format. This
could be improved at a later point.
Remove most OSD rendering from vo_aa.c, because that was extremely
hacky, can't be made work with osd_libass, and didn't work anyway in
my tests.
Internally, some cleanup is done. Subtitle and OSD related variable
declarations were literally all over the place. Move them to sub.h and
sub.c, which were hoarding most of these declarations already. Make the
player core in mplayer.c free of concerns like bitmap font loading.
The old OSD rendering code has been moved to osd_ft.c. The font_load.c
and font_load_ft.c are only needed and compiled if the old OSD
rendering code is configured.
2012-03-22 05:26:37 +00:00
|
|
|
extern char *subtitle_font_encoding;
|
|
|
|
extern float text_font_scale_factor;
|
|
|
|
extern float osd_font_scale_factor;
|
|
|
|
extern float subtitle_font_radius;
|
|
|
|
extern float subtitle_font_thickness;
|
|
|
|
extern int subtitle_autoscale;
|
|
|
|
|
|
|
|
extern char *font_name;
|
|
|
|
extern char *sub_font_name;
|
|
|
|
extern float font_factor;
|
|
|
|
extern float sub_delay;
|
|
|
|
extern float sub_fps;
|
|
|
|
|
|
|
|
extern int sub_justify;
|
|
|
|
|
2008-06-23 22:53:58 +00:00
|
|
|
void osd_draw_text(struct osd_state *osd, int dxs, int dys,
|
|
|
|
void (*draw_alpha)(void *ctx, int x0, int y0, int w, int h,
|
|
|
|
unsigned char* src, unsigned char *srca,
|
|
|
|
int stride),
|
|
|
|
void *ctx);
|
2009-01-15 03:07:09 +00:00
|
|
|
void osd_draw_text_ext(struct osd_state *osd, int dxs, int dys,
|
|
|
|
int left_border, int top_border, int right_border,
|
|
|
|
int bottom_border, int orig_w, int orig_h,
|
|
|
|
void (*draw_alpha)(void *ctx, int x0, int y0, int w,
|
|
|
|
int h, unsigned char* src,
|
|
|
|
unsigned char *srca,
|
|
|
|
int stride),
|
|
|
|
void *ctx);
|
2008-06-23 22:53:58 +00:00
|
|
|
void osd_remove_text(struct osd_state *osd, int dxs, int dys,
|
|
|
|
void (*remove)(int x0, int y0, int w, int h));
|
|
|
|
|
osd: use libass for OSD rendering
The OSD will now be rendered with libass. The old rendering code, which
used freetype/fontconfig and did text layout manually, is disabled. To
re-enable the old code, use the --disable-libass-osd configure switch.
Some switches do nothing with the new code enabled, such as -subalign,
-sub-bg-alpha, -sub-bg-color, and many more. (The reason is mostly that
the code for rendering unstyled subtitles with libass doesn't make any
attempts to support them. Some of them could be supported in theory.)
Teletext rendering is not implemented in the new OSD rendering code. I
don't have any teletext sources for testing, and since teletext is
being phased out world-wide, the need for this is questionable.
Note that rendering is extremely inefficient, mostly because the libass
output is blended with the extremely strange mplayer OSD format. This
could be improved at a later point.
Remove most OSD rendering from vo_aa.c, because that was extremely
hacky, can't be made work with osd_libass, and didn't work anyway in
my tests.
Internally, some cleanup is done. Subtitle and OSD related variable
declarations were literally all over the place. Move them to sub.h and
sub.c, which were hoarding most of these declarations already. Make the
player core in mplayer.c free of concerns like bitmap font loading.
The old OSD rendering code has been moved to osd_ft.c. The font_load.c
and font_load_ft.c are only needed and compiled if the old OSD
rendering code is configured.
2012-03-22 05:26:37 +00:00
|
|
|
struct osd_state *osd_create(struct MPOpts *opts, struct ass_library *asslib);
|
2011-08-08 08:07:17 +00:00
|
|
|
void osd_set_text(struct osd_state *osd, const char *text);
|
2008-06-23 22:53:58 +00:00
|
|
|
int osd_update(struct osd_state *osd, int dxs, int dys);
|
2002-02-22 15:25:11 +00:00
|
|
|
int vo_osd_changed(int new_value);
|
osd: use libass for OSD rendering
The OSD will now be rendered with libass. The old rendering code, which
used freetype/fontconfig and did text layout manually, is disabled. To
re-enable the old code, use the --disable-libass-osd configure switch.
Some switches do nothing with the new code enabled, such as -subalign,
-sub-bg-alpha, -sub-bg-color, and many more. (The reason is mostly that
the code for rendering unstyled subtitles with libass doesn't make any
attempts to support them. Some of them could be supported in theory.)
Teletext rendering is not implemented in the new OSD rendering code. I
don't have any teletext sources for testing, and since teletext is
being phased out world-wide, the need for this is questionable.
Note that rendering is extremely inefficient, mostly because the libass
output is blended with the extremely strange mplayer OSD format. This
could be improved at a later point.
Remove most OSD rendering from vo_aa.c, because that was extremely
hacky, can't be made work with osd_libass, and didn't work anyway in
my tests.
Internally, some cleanup is done. Subtitle and OSD related variable
declarations were literally all over the place. Move them to sub.h and
sub.c, which were hoarding most of these declarations already. Make the
player core in mplayer.c free of concerns like bitmap font loading.
The old OSD rendering code has been moved to osd_ft.c. The font_load.c
and font_load_ft.c are only needed and compiled if the old OSD
rendering code is configured.
2012-03-22 05:26:37 +00:00
|
|
|
void vo_osd_resized(void);
|
2002-05-12 02:18:52 +00:00
|
|
|
int vo_osd_check_range_update(int,int,int,int);
|
2008-06-23 22:53:58 +00:00
|
|
|
void osd_free(struct osd_state *osd);
|
2002-02-22 15:25:11 +00:00
|
|
|
|
2002-04-15 22:08:50 +00:00
|
|
|
extern int vo_osd_changed_flag;
|
|
|
|
|
2006-12-11 22:37:17 +00:00
|
|
|
unsigned utf8_get_char(const char **str);
|
2006-07-07 18:04:56 +00:00
|
|
|
|
2008-07-30 12:01:30 +00:00
|
|
|
#ifdef CONFIG_DVDNAV
|
2006-11-25 17:58:14 +00:00
|
|
|
#include <inttypes.h>
|
2006-11-25 17:44:22 +00:00
|
|
|
void osd_set_nav_box (uint16_t sx, uint16_t sy, uint16_t ex, uint16_t ey);
|
|
|
|
#endif
|
|
|
|
|
2008-06-23 22:53:58 +00:00
|
|
|
|
|
|
|
#ifdef IS_OLD_VO
|
|
|
|
#define vo_remove_text(...) osd_remove_text(global_osd, __VA_ARGS__)
|
|
|
|
#endif
|
|
|
|
|
osd: use libass for OSD rendering
The OSD will now be rendered with libass. The old rendering code, which
used freetype/fontconfig and did text layout manually, is disabled. To
re-enable the old code, use the --disable-libass-osd configure switch.
Some switches do nothing with the new code enabled, such as -subalign,
-sub-bg-alpha, -sub-bg-color, and many more. (The reason is mostly that
the code for rendering unstyled subtitles with libass doesn't make any
attempts to support them. Some of them could be supported in theory.)
Teletext rendering is not implemented in the new OSD rendering code. I
don't have any teletext sources for testing, and since teletext is
being phased out world-wide, the need for this is questionable.
Note that rendering is extremely inefficient, mostly because the libass
output is blended with the extremely strange mplayer OSD format. This
could be improved at a later point.
Remove most OSD rendering from vo_aa.c, because that was extremely
hacky, can't be made work with osd_libass, and didn't work anyway in
my tests.
Internally, some cleanup is done. Subtitle and OSD related variable
declarations were literally all over the place. Move them to sub.h and
sub.c, which were hoarding most of these declarations already. Make the
player core in mplayer.c free of concerns like bitmap font loading.
The old OSD rendering code has been moved to osd_ft.c. The font_load.c
and font_load_ft.c are only needed and compiled if the old OSD
rendering code is configured.
2012-03-22 05:26:37 +00:00
|
|
|
// used only by osd_ft.c or osd_libass.c
|
|
|
|
void osd_alloc_buf(mp_osd_obj_t* obj);
|
|
|
|
void draw_alpha_buf(mp_osd_obj_t* obj, int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride);
|
|
|
|
void vo_draw_text_from_buffer(mp_osd_obj_t* obj,void (*draw_alpha)(void *ctx, int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride), void *ctx);
|
|
|
|
|
|
|
|
// defined in osd_ft.c or osd_libass.c
|
|
|
|
void vo_update_text_osd(struct osd_state *osd, mp_osd_obj_t *obj);
|
|
|
|
void vo_update_text_teletext(struct osd_state *osd, mp_osd_obj_t *obj);
|
|
|
|
void vo_update_text_progbar(struct osd_state *osd, mp_osd_obj_t *obj);
|
|
|
|
void vo_update_text_sub(struct osd_state *osd, mp_osd_obj_t *obj);
|
|
|
|
void osd_get_function_sym(char *buffer, size_t buffer_size, int osd_function);
|
|
|
|
void osd_font_invalidate(void);
|
|
|
|
void osd_font_load(struct osd_state *osd);
|
|
|
|
void osd_init_backend(struct osd_state *osd);
|
|
|
|
void osd_destroy_backend(struct osd_state *osd);
|
|
|
|
|
2007-12-31 16:15:50 +00:00
|
|
|
#endif /* MPLAYER_SUB_H */
|