[MPlayer-users] color of subtitles

Arpi arpi at thot.banki.hu
Fri Nov 1 19:12:02 CET 2002


Hi,

> >The problem is that this will require changes in the subtitle renderer,
> >which is heavily MMX-optimized. It actually doesn't matter if the fonts are
> >rendered using freetype or not.
> >  
> >
> I had a look at osd_template.c and the drawing functions don't even know 
> the vertical dimension of the image so currently it's impossible to make 
> them modify the chroma planes. So the color subtitles will require 
> changing every vo_* file to pass the image height too. Or can somebody 
> (Arpi, Michael) correct me?
why do you need _height_ ?

you actually want 3 planes instead of only one...
so you're right it requires API and vo_* driver modifications.

at least for planar YUV modes. for rgb, or packed yuv it can be done now


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu




More information about the MPlayer-users mailing list