diff options
author | wm4 <wm4@nowhere> | 2016-07-03 19:29:43 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-07-03 19:32:43 +0200 |
commit | 8ed32e90c933c13ce128f1edf44624616f8efca0 (patch) | |
tree | 5319ac480b71317e2952ae0a4d12ac9b71d71e7d /sub/img_convert.h | |
parent | 37cf92c07a7d664907ede87e9464680cc36bd5ec (diff) | |
download | mpv-8ed32e90c933c13ce128f1edf44624616f8efca0.tar.bz2 mpv-8ed32e90c933c13ce128f1edf44624616f8efca0.tar.xz |
sub: move RGBA scaling to vo_vaapi
vo_vaapi is the only thing which can't scale RGBA on the GPU. (Other
cases of RGBA scaling are handled in draw_bmp.c for some reason.)
Move this code and get rid of the osd_conv_cache thing.
Functionally, nothing changes.
Diffstat (limited to 'sub/img_convert.h')
-rw-r--r-- | sub/img_convert.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sub/img_convert.h b/sub/img_convert.h index bf228a1f65..e03c155f46 100644 --- a/sub/img_convert.h +++ b/sub/img_convert.h @@ -3,16 +3,12 @@ #include <stdbool.h> -struct osd_conv_cache; struct sub_bitmaps; struct sub_bitmap; struct mp_rect; -struct osd_conv_cache *osd_conv_cache_new(void); - // Sub postprocessing void mp_blur_rgba_sub_bitmap(struct sub_bitmap *d, double gblur); -bool osd_scale_rgba(struct osd_conv_cache *c, struct sub_bitmaps *imgs); bool mp_sub_bitmaps_bb(struct sub_bitmaps *imgs, struct mp_rect *out_bb); |