1
mirror of https://github.com/mpv-player/mpv synced 2024-11-18 21:16:10 +01:00
mpv/sub
Uoti Urpala 1959ba006c subs, vo_vdpau: support RGBA color for PGS subtitles
Support passing bitmap subtitles to VOs in full RGBA color, and
implement this for libavcodec-decoded subtitle formats on decoding
side and vo_vdpau on display side. Currently this is enabled for PGS
(blu-ray) and DVB subtitles.

VDPAU seems to have sampling issues similar to known GL ones when
drawing a sub-rectangle from a larger texture with scaling, where
adjacent pixels outside the specified source rectangle affect the
result. As the bitmap subtitles may be scaled, add padding support to
the bitmap packer code.

In principle, this could be used for colored DVD subtitles too.
However, the libavcodec DVD decoder lacks parts of the resolution and
palette handling that are present in spudec.c.

Conflicts:
	libvo/vo_gl.c
	sub/dec_sub.h
	sub/sd_lavc.c
2012-09-18 21:07:30 +02:00
..
ass_mp.c subs: libass: use a single persistent renderer for subtitles 2012-09-18 21:04:46 +02:00
ass_mp.h subs: always use sub decoder framework for libass rendering 2012-09-18 21:04:46 +02:00
dec_sub.c subs, vo_vdpau: support RGBA color for PGS subtitles 2012-09-18 21:07:30 +02:00
dec_sub.h subs, vo_vdpau: support RGBA color for PGS subtitles 2012-09-18 21:07: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
osd_dummy.c Remove teletext support 2012-08-03 00:12:46 +02:00
osd_font.pfb osd: osd_font.h -> osd_font.pfb 2012-07-28 23:36:08 +02:00
osd_libass.c subs: always use sub decoder framework for libass rendering 2012-09-18 21:04:46 +02:00
sd_ass.c subs, vo_vdpau: support RGBA color for PGS subtitles 2012-09-18 21:07:30 +02:00
sd_lavc.c subs, vo_vdpau: support RGBA color for PGS subtitles 2012-09-18 21:07:30 +02:00
sd.h subs: always use sub decoder framework for libass rendering 2012-09-18 21:04:46 +02:00
spudec.c Adjust ffmpeg/libav #includes to work with recent upstream changes 2012-08-21 18:22:00 +02:00
spudec.h VO: remove old VO glue 2012-08-07 01:29:56 +02:00
sub.c options: remove -subalign 2012-09-18 21:07:29 +02:00
sub.h subs, vo_vdpau: support RGBA color for PGS subtitles 2012-09-18 21:07:30 +02:00
subassconvert.c subassconvert: order colour names alphabetically / better match W3 list 2012-08-03 03:47:09 +02:00
subassconvert.h
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