1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-02 21:12:23 +00:00

osd: move some internal declarations to internal headers

This commit is contained in:
wm4 2017-01-26 16:34:31 +01:00
parent 753dbea83f
commit 60452f640f
3 changed files with 7 additions and 10 deletions

View File

@ -199,17 +199,8 @@ void osd_rescale_bitmaps(struct sub_bitmaps *imgs, int frame_w, int frame_h,
struct mp_osd_res res, double compensate_par);
// defined in osd_libass.c and osd_dummy.c
// internal use only
void osd_object_get_bitmaps(struct osd_state *osd, struct osd_object *obj,
int format, struct sub_bitmaps *out_imgs);
void osd_init_backend(struct osd_state *osd);
void osd_destroy_backend(struct osd_state *osd);
void osd_set_external(struct osd_state *osd, void *id, int res_x, int res_y,
char *text);
// doesn't need locking
void osd_get_function_sym(char *buffer, size_t buffer_size, int osd_function);
#endif /* MPLAYER_SUB_H */

View File

@ -4,7 +4,7 @@
#include "config.h"
#include "mpv_talloc.h"
#include "osd.h"
#include "osd_state.h"
void osd_init_backend(struct osd_state *osd)
{

View File

@ -79,4 +79,10 @@ struct osd_state {
struct mp_draw_sub_cache *draw_cache;
};
// defined in osd_libass.c and osd_dummy.c
void osd_object_get_bitmaps(struct osd_state *osd, struct osd_object *obj,
int format, struct sub_bitmaps *out_imgs);
void osd_init_backend(struct osd_state *osd);
void osd_destroy_backend(struct osd_state *osd);
#endif