2012-10-24 17:11:42 +00:00
|
|
|
#ifndef MPLAYER_DRAW_BMP_H
|
|
|
|
#define MPLAYER_DRAW_BMP_H
|
|
|
|
|
2012-10-19 15:49:49 +00:00
|
|
|
#include "sub/sub.h"
|
|
|
|
|
2012-10-24 17:11:42 +00:00
|
|
|
struct mp_image;
|
|
|
|
struct sub_bitmaps;
|
|
|
|
struct mp_csp_details;
|
2012-10-19 15:49:49 +00:00
|
|
|
struct mp_draw_sub_cache;
|
|
|
|
void mp_draw_sub_bitmaps(struct mp_draw_sub_cache **cache, struct mp_image *dst,
|
2012-10-27 16:06:09 +00:00
|
|
|
struct sub_bitmaps *sbs);
|
2012-10-19 15:49:49 +00:00
|
|
|
|
|
|
|
extern const bool mp_draw_sub_formats[SUBBITMAP_COUNT];
|
2012-10-24 17:11:42 +00:00
|
|
|
|
2012-11-21 16:59:24 +00:00
|
|
|
struct mp_draw_sub_backup;
|
|
|
|
struct mp_draw_sub_backup *mp_draw_sub_backup_new(void);
|
|
|
|
void mp_draw_sub_backup_add(struct mp_draw_sub_backup *backup,
|
|
|
|
struct mp_image *img, struct sub_bitmaps *sbs);
|
|
|
|
void mp_draw_sub_backup_reset(struct mp_draw_sub_backup *backup);
|
|
|
|
bool mp_draw_sub_backup_restore(struct mp_draw_sub_backup *backup,
|
|
|
|
struct mp_image *buffer);
|
|
|
|
|
2012-10-24 17:11:42 +00:00
|
|
|
#endif /* MPLAYER_DRAW_BMP_H */
|
|
|
|
|
|
|
|
// vim: ts=4 sw=4 et tw=80
|