mpv/libvo
wm4 74e7a1e937 osd: use libass for OSD rendering
The OSD will now be rendered with libass. The old rendering code, which
used freetype/fontconfig and did text layout manually, is disabled. To
re-enable the old code, use the --disable-libass-osd configure switch.

Some switches do nothing with the new code enabled, such as -subalign,
-sub-bg-alpha, -sub-bg-color, and many more. (The reason is mostly that
the code for rendering unstyled subtitles with libass doesn't make any
attempts to support them. Some of them could be supported in theory.)

Teletext rendering is not implemented in the new OSD rendering code. I
don't have any teletext sources for testing, and since teletext is
being phased out world-wide, the need for this is questionable.

Note that rendering is extremely inefficient, mostly because the libass
output is blended with the extremely strange mplayer OSD format. This
could be improved at a later point.

Remove most OSD rendering from vo_aa.c, because that was extremely
hacky, can't be made work with osd_libass, and didn't work anyway in
my tests.

Internally, some cleanup is done. Subtitle and OSD related variable
declarations were literally all over the place. Move them to sub.h and
sub.c, which were hoarding most of these declarations already. Make the
player core in mplayer.c free of concerns like bitmap font loading.

The old OSD rendering code has been moved to osd_ft.c. The font_load.c
and font_load_ft.c are only needed and compiled if the old OSD
rendering code is configured.
2012-07-28 23:36:07 +02:00
..
aclib.c
aclib_template.c
aspect.c
aspect.h
cocoa_common.h cocoa: gl3: support querying of colors bit depth 2012-05-15 10:37:58 +02:00
cocoa_common.m libvo, libao: remove useless video and audio output drivers 2012-07-28 20:44:59 +02:00
csputils.c vo_gl: improve 10-bit YUV->RGB conversion accuracy slightly 2012-03-09 20:48:55 +02:00
csputils.h vo_gl: improve 10-bit YUV->RGB conversion accuracy slightly 2012-03-09 20:48:55 +02:00
d3d_shader_yuv.h vo_direct3d: implement YUV conversion using shaders 2012-03-17 21:05:34 +01:00
d3d_shader_yuv.hlsl vo_direct3d: add hack for using 2 channel textures for 10 bit pixel formats 2012-03-17 21:06:28 +01:00
d3d_shader_yuv_2ch.h vo_direct3d: add hack for using 2 channel textures for 10 bit pixel formats 2012-03-17 21:06:28 +01:00
eosd_packer.c
eosd_packer.h
fastmemcpy.h
filter_kernels.c libvo: add vo_gl3 2012-03-31 02:58:52 +02:00
filter_kernels.h libvo: add vo_gl3 2012-03-31 02:58:52 +02:00
geometry.c
geometry.h
gl_common.c libvo, libao: remove useless video and audio output drivers 2012-07-28 20:44:59 +02:00
gl_common.h libvo, libao: remove useless video and audio output drivers 2012-07-28 20:44:59 +02:00
gl_header_fixes.h gl_common: move header hacks into gl_header_fixes.h 2012-03-31 02:58:53 +02:00
old_vo_defines.h
old_vo_wrapper.c
old_vo_wrapper.h
osd.c
osd.h
osd_template.c
osx_common.c
osx_common.h
video_out.c libvo, libao: remove useless video and audio output drivers 2012-07-28 20:44:59 +02:00
video_out.h libvo, libao: remove useless video and audio output drivers 2012-07-28 20:44:59 +02:00
video_out_internal.h
videodev_mjpeg.h
vo_caca.c
vo_corevideo.h vo_corevideo: restructure this video output 2012-04-26 21:03:10 +03:00
vo_corevideo.m vo_corevideo, vo_sharedbuffer: put private state in vo->priv 2012-07-27 16:52:22 +03:00
vo_direct3d.c osd: use libass for OSD rendering 2012-07-28 23:36:07 +02:00
vo_directfb2.c mpcodecs: remove mp_image_t.x/y 2012-02-24 15:25:22 +01:00
vo_directx.c vo_directx: clear panscan borders in windowed mode 2012-04-24 01:28:09 +02:00
vo_gif89a.c
vo_gl.c osd: use libass for OSD rendering 2012-07-28 23:36:07 +02:00
vo_gl3.c osd: use libass for OSD rendering 2012-07-28 23:36:07 +02:00
vo_gl3_shaders.glsl libvo: add vo_gl3 2012-03-31 02:58:52 +02:00
vo_jpeg.c windows support: unicode filenames 2012-03-09 20:48:54 +02:00
vo_md5sum.c
vo_null.c
vo_png.c screenshot, vo_png: fix dependency on sizeof(AVFrame) 2012-04-29 10:01:55 +02:00
vo_pnm.c windows support: unicode filenames 2012-03-09 20:48:54 +02:00
vo_sharedbuffer.h vo_sharedbuffer: add this video output 2012-04-26 21:03:10 +03:00
vo_sharedbuffer.m vo_corevideo, vo_sharedbuffer: put private state in vo->priv 2012-07-27 16:52:22 +03:00
vo_tga.c
vo_v4l2.c
vo_v4l2.h
vo_vdpau.c osd: use libass for OSD rendering 2012-07-28 23:36:07 +02:00
vo_x11.c
vo_xv.c libvo, libao: remove useless video and audio output drivers 2012-07-28 20:44:59 +02:00
vo_yuv4mpeg.c
w32_common.c win32: don't crash if vo_w32_uninit() is called without vo_w32_init() 2012-04-24 01:25:10 +02:00
w32_common.h win32: move global variables into a struct & some refactoring 2012-04-14 17:03:11 +02:00
x11_common.c libvo, libao: remove useless video and audio output drivers 2012-07-28 20:44:59 +02:00
x11_common.h vo_vdpau: disable refresh-aware frame timing when composited 2012-07-27 03:40:38 +03:00