summaryrefslogtreecommitdiffstats
path: root/sub/img_convert.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-08-10 00:27:41 +0200
committerwm4 <wm4@nowhere>2013-08-12 00:51:31 +0200
commitc7da4ba74469bc6c404c396340ffadc748535f6e (patch)
treebb6530195bf4ac92a69a4e369ec8ecc620a72234 /sub/img_convert.h
parent689a25003fc8098e5fdfbb2faefc0e18365d3acb (diff)
downloadmpv-c7da4ba74469bc6c404c396340ffadc748535f6e.tar.bz2
mpv-c7da4ba74469bc6c404c396340ffadc748535f6e.tar.xz
img_convert: add function to scale RGBA OSD images
Diffstat (limited to 'sub/img_convert.h')
-rw-r--r--sub/img_convert.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sub/img_convert.h b/sub/img_convert.h
index 3b739a4a38..5dc7fc2e90 100644
--- a/sub/img_convert.h
+++ b/sub/img_convert.h
@@ -18,9 +18,9 @@ bool osd_conv_ass_to_rgba_str(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);
+bool osd_scale_rgba(struct osd_conv_cache *c, struct sub_bitmaps *imgs);
bool osd_conv_idx_to_gray(struct osd_conv_cache *c, struct sub_bitmaps *imgs);
-
bool mp_sub_bitmaps_bb(struct sub_bitmaps *imgs, struct mp_rect *out_bb);
// Intentionally limit the maximum number of bounding rects to something low.