[MPlayer-dev-eng] Colored subtitles

Sebastian Otaegui sotaegui at itba.edu.ar
Tue Nov 5 19:25:12 CET 2002


You should follow the standards on sending patches. :)

Hail hail

Sebastian B. Otaegui
Lab. Unix - ITBA
www.itba.edu.ar
sotaegui at itba.edu.ar

On Tue, 5 Nov 2002, Jindrich Makovicka wrote:

> Hello,
>
> here is a patch for 24-bit color subtitles. Current version is broken
> but I am sending it to allow coordination with the color support for spudec.
> The subtitles are first rendered in 24-bit RGB+A into obj->rgb_buffer &
> obj->alpha_buffer and then converted from RGB to destination colorspace
> into obj->dest_buffer using vo_convert_osd_format(). Spudec currently
> uses some other way of buffering but IMO it'll be reasonable to make it
> use the buffering code from sub.c too.
>
> Stuff that (probably) works: xv (YV12) x11 (tested with 32bit), sdl (32bit)
> Stuff that surely doesn't work: spudec, aalib, anything yuy2 & uyvy
>
> Interface changes: vo_draw_text and vo_remove_text now have one more
> argument for desired image format, vo_draw_alpha_yv12 has additional
> args for more layers.
>
> --
> Jindrich Makovicka
>
>




More information about the MPlayer-dev-eng mailing list