From 8ed32e90c933c13ce128f1edf44624616f8efca0 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 3 Jul 2016 19:29:43 +0200 Subject: 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. --- sub/img_convert.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'sub/img_convert.h') 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 -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); -- cgit v1.2.3