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:
parent
753dbea83f
commit
60452f640f
@ -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 */
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user