diff options
author | wm4 <wm4@nowhere> | 2012-10-07 22:02:03 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-10-24 21:56:33 +0200 |
commit | fd5c4a19849b768986a0e652bb2f398c922f42dd (patch) | |
tree | 8a4092652c4e79bc0b01f13bab6d6b3d0984ef26 /sub/img_convert.h | |
parent | 7b203b5e05d9873e279f8432d4ffb3d9facc5e23 (diff) | |
download | mpv-fd5c4a19849b768986a0e652bb2f398c922f42dd.tar.bz2 mpv-fd5c4a19849b768986a0e652bb2f398c922f42dd.tar.xz |
Remove things related to old OSD
To ease changing all the VOs to the new OSD rendering, fallbacks,
conversions, support code etc. was left all over the code. Now that
all VOs have been changed, all that code is inactive. Remove it.
Strip down spudec.c. We don't need the old grayscale and scaling stuff
anymore. (Not removing spudec itself yet - I'm not confident that the
libavcodec DVD sub decoder is sufficient, and it would also require
some hacks to get DVD palette and resolution information from libdvdread
to libavcodec.)
The option --spuaa, --spualign, --spugauss were used with the old sub
scaling code, and don't do anything anymore.
Diffstat (limited to 'sub/img_convert.h')
-rw-r--r-- | sub/img_convert.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sub/img_convert.h b/sub/img_convert.h index ac766fb0ed..c947c44f01 100644 --- a/sub/img_convert.h +++ b/sub/img_convert.h @@ -10,9 +10,6 @@ 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_ass_to_old_p(struct osd_conv_cache *c, struct sub_bitmaps *imgs); bool osd_conv_idx_to_rgba(struct osd_conv_cache *c, struct sub_bitmaps *imgs); -bool osd_conv_idx_to_old_p(struct osd_conv_cache *c, struct sub_bitmaps *imgs, - int screen_w, int screen_h); #endif |