1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-08 15:18:00 +00:00
mpv/sub
wm4 fb23c3a8ee draw_bmp: don't copy Y plane on up/down-sampling
Image areas with subtitles are upsampled to 4:4:4 in order to render
the subtitles (makes blending easier). Try not to copy the Y plane on
upsampling. The libswscale API requires this, but this commit works it
around by scaling the chroma planes separately as AV_PIX_FMT_GRAY8. The
Y plane is not touched at all. This is done for 420p8 only, which is the
most commonly needed case. For other formats, the old way is used.

Seems to make ASS rendering faster about 15% in the setup I tested.
2013-01-13 20:04:14 +01:00
..
ass_mp.c sub: add --sub-text-* options to unstyled text subtitles font 2013-01-05 14:11:56 +01:00
ass_mp.h cleanup: ass_mp.h: remove dummy declarations 2013-01-06 16:22:50 +01:00
dec_sub.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
dec_sub.h VO, sub: refactor 2012-10-24 21:56:34 +02:00
draw_bmp.c draw_bmp: don't copy Y plane on up/down-sampling 2013-01-13 20:04:14 +01:00
draw_bmp.h vo_xv, vo_x11: simplify OSD redrawing 2013-01-13 20:04:12 +01:00
find_sub.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
find_subfiles.c path: add mp_find_config_file and reorganize some of the code 2012-12-15 17:38:00 +01:00
find_subfiles.h sub: remove vobsub reader in favor of ffmpeg vobsub demuxer 2012-12-11 00:37:54 +01:00
img_convert.c video: cleanup: replace old mp_image function names 2013-01-13 20:04:11 +01:00
img_convert.h sub: add ASS to RGBA conversion 2012-12-28 08:30:15 +01: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_libass.c sub: add --sub-text-* options to unstyled text subtitles font 2013-01-05 14:11:56 +01:00
sd_ass.c sd_ass: free external subtitle tracks 2012-12-14 19:59:30 +01:00
sd_lavc.c sd_lavc: keep subs on subtitle track switching 2012-12-12 22:56:41 +01:00
sd.h VO, sub: refactor 2012-10-24 21:56:34 +02:00
spudec.c sub: remove vobsub reader in favor of ffmpeg vobsub demuxer 2012-12-11 00:37:54 +01:00
spudec.h options: remove --ffactor switch 2012-10-24 21:56:35 +02:00
sub.c vo_xv, vo_x11: simplify OSD redrawing 2013-01-13 20:04:12 +01:00
sub.h vo_xv, vo_x11: simplify OSD redrawing 2013-01-13 20:04:12 +01:00
subassconvert.c subassconverter: correctly handle RRGGBB and unknow formats 2012-11-25 23:47:57 +01:00
subassconvert.h
subreader.c configure: remove --disable-sortsub 2012-12-11 00:37:54 +01:00
subreader.h subreader: replace sub_free() by talloc destructor 2012-11-16 21:21:15 +01:00