summaryrefslogtreecommitdiffstats
path: root/sub/img_convert.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-12-11 16:24:24 +0100
committerRudolf Polzer <divverent@xonotic.org>2012-12-28 08:30:15 +0100
commit844bba6645864ad2ccd9cc40bab2c4553b50d35b (patch)
tree2d50f94b37b807ec5606d408398c360b32a8fedb /sub/img_convert.h
parentf3374eecada2cde520d76931055f0509296fc9d6 (diff)
downloadmpv-844bba6645864ad2ccd9cc40bab2c4553b50d35b.tar.bz2
mpv-844bba6645864ad2ccd9cc40bab2c4553b50d35b.tar.xz
sub: add ASS to RGBA conversion
This makes implementing new VOs easier, because they don't have to support the ASS format.
Diffstat (limited to 'sub/img_convert.h')
-rw-r--r--sub/img_convert.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sub/img_convert.h b/sub/img_convert.h
index 2ea17ef889..0a46916f60 100644
--- a/sub/img_convert.h
+++ b/sub/img_convert.h
@@ -11,6 +11,7 @@ struct osd_conv_cache *osd_conv_cache_new(void);
// These functions convert from one OSD format to another. On success, they copy
// the converted image data into c, and change imgs to point to the data.
bool osd_conv_idx_to_rgba(struct osd_conv_cache *c, struct sub_bitmaps *imgs);
+bool osd_conv_ass_to_rgba(struct osd_conv_cache *c, struct sub_bitmaps *imgs);
// Sub postprocessing
bool osd_conv_blur_rgba(struct osd_conv_cache *c, struct sub_bitmaps *imgs,
double gblur);