mpv/sub
wm4 3973a953df sub: find GBRP format automatically when rendering to RGB
This removes the need to define IMGFMT_GBRAP, which fixes compilation
with the current Libav release.

This also makes it automatically pick up a GBRP format with the same bit
width. (Unfortunately, it seems libswscale does not support conversion
to AV_PIX_FMT_GBRAP16, so our code falls back to 8 bit, removing
precision for video covered by subtitles in cases this code is used.)

Also, when the source video is e.g. 10 bit YUV, upsample to 16 bit.
Whether this is good or bad, it fixes behavior with alpha. Although I'm
not sure if the alpha range is really correct ([0,2^16-1] vs.
[0,255*256]). Keep in mind that libswscale doesn't even agree with the
way we do it.
2015-12-24 16:42:21 +01:00
..
ass_mp.c sub: remove unused function, move another one 2015-11-29 17:55:02 +01:00
ass_mp.h sub: remove unused function, move another one 2015-11-29 17:55:02 +01:00
dec_sub.c dec_sub: avoid segfault on sub_init_decoder failure 2015-12-22 13:00:05 +01:00
dec_sub.h sub: remove unused video width/height headers 2015-12-18 03:59:52 +01:00
draw_bmp.c sub: find GBRP format automatically when rendering to RGB 2015-12-24 16:42:21 +01:00
draw_bmp.h csputils: get rid of mp_csp_details 2015-01-06 16:50:58 +01:00
img_convert.c Update license headers 2015-04-13 12:10:01 +02:00
img_convert.h
lavc_conv.c lavc_conv: fix invalid write 2015-12-19 21:21:36 +01:00
osd.c video: switch from using display aspect to sample aspect 2015-12-19 20:45:36 +01:00
osd.h osd: use the same ASS_Renderer for OSD text and progbar 2015-11-28 19:24:31 +01:00
osd_dummy.c Add some missing "const"s 2014-10-10 13:44:08 +02:00
osd_font.otf
osd_libass.c osd: fix and cleanup font style management 2015-11-29 17:55:02 +01:00
osd_state.h osd: use the same ASS_Renderer for OSD text and progbar 2015-11-28 19:24:31 +01:00
sd.h sub: remove unused video width/height headers 2015-12-18 03:59:52 +01:00
sd_ass.c sd_ass: handle --sub-clear-on-seek correctly with non-ASS subs 2015-12-20 10:14:14 +01:00
sd_lavc.c video: switch from using display aspect to sample aspect 2015-12-19 20:45:36 +01:00