1
mirror of https://github.com/mpv-player/mpv synced 2024-09-12 23:45:53 +02:00
mpv/sub
wm4 5fc5ae752b sub: allow converting DVD subs to RGBA
The mplayer DVD sub decoder is the only remaining OSD image producer
that still requires the old mplayer OSD format (SUBBITMAP_OLD_PLANAR).

To make supporting this format optional in VOs, add a step that allows
converting these images to RGBA in case the VO doesn't have direct
support for it.

Note: the mplayer DVD sub decoder uses the old mplayer OSD format
(SUBBITMAP_OLD_PLANAR), which is assumed to use premultiplied alpha.
However, it seems DVDs allow only binary transparency, so the rendered
result will be the same.
2012-10-16 07:26:30 +02:00
..
ass_mp.c sub: allow rendering OSD in ASS image format directly, simplify 2012-10-16 07:26:30 +02:00
ass_mp.h sub: allow rendering OSD in ASS image format directly, simplify 2012-10-16 07:26:30 +02:00
dec_sub.c sub: create sub_bitmap array even when using libass 2012-10-16 07:26:28 +02:00
dec_sub.h sub: allow rendering OSD in ASS image format directly, simplify 2012-10-16 07:26:30 +02:00
find_sub.c sub/OSD: move some related files to sub/ 2011-01-26 20:39:05 +02:00
find_subfiles.c sub: silence output of subtitle search message 2012-07-30 01:45:07 +02:00
find_subfiles.h subs: options: add -sub-paths 2011-04-20 04:22:52 +03:00
img_convert.c sub: allow converting DVD subs to RGBA 2012-10-16 07:26:30 +02:00
img_convert.h sub: allow converting DVD subs to RGBA 2012-10-16 07:26:30 +02:00
osd_dummy.c sub: allow rendering OSD in ASS image format directly, simplify 2012-10-16 07:26:30 +02:00
osd_font.pfb osd: osd_font.h -> osd_font.pfb 2012-07-28 23:36:08 +02:00
osd_libass.c sub: allow rendering OSD in ASS image format directly, simplify 2012-10-16 07:26:30 +02:00
sd_ass.c sub: allow rendering OSD in ASS image format directly, simplify 2012-10-16 07:26:30 +02:00
sd_lavc.c sub: create sub_bitmap array even when using libass 2012-10-16 07:26:28 +02:00
sd.h subs: always use sub decoder framework for libass rendering 2012-09-18 21:04:46 +02:00
spudec.c sub: allow rendering OSD in ASS image format directly, simplify 2012-10-16 07:26:30 +02:00
spudec.h sub: allow rendering OSD in ASS image format directly, simplify 2012-10-16 07:26:30 +02:00
sub.c sub: allow converting DVD subs to RGBA 2012-10-16 07:26:30 +02:00
sub.h sub: allow converting DVD subs to RGBA 2012-10-16 07:26:30 +02:00
subassconvert.c subassconvert: order colour names alphabetically / better match W3 list 2012-08-03 03:47:09 +02:00
subassconvert.h subtitles: style support for common SubRip tags and MicroDVD 2011-01-18 15:17:28 +02:00
subreader.c sub: simplify code by always defining sub_cp 2012-08-03 06:53:10 +02:00
subreader.h Remove dead code 2012-08-01 17:07:35 +02:00
vobsub.c Remove dead code 2012-08-01 17:07:35 +02:00
vobsub.h Remove dead code 2012-08-01 17:07:35 +02:00