[MPlayer-dev-eng] [PATCH 2/2] av_sub: support multiple rectangles.
Nicolas George
nicolas.george at normalesup.org
Mon Apr 23 00:23:31 CEST 2012
Le quartidi 4 floréal, an CCXX, Reimar Döffinger a écrit :
> I don't quite follow the argument. Since all we need is single color +
> alpha for this, colored overlays should not be a prerequisite.
Unfortunately, not: we need at least black and white, for the body and the
outline of the letters. Actually, DVB subtitles are usually more
anti-aliased than that.
> There is also the point that it wouldn't allow rendering multiple DVD
> subtitles together
I do not understand the problem here.
> Just push it through the SPU scaling code? :-P
Or libswscale. Implementing the scaler is not the problem.
> Or what is the problem with scaling?
> But I don't think I'll have the time to read a more involved technical
> description.
I'll make it short:
The problem is to decide whose responsibility it is to make the scaling, to
avoid code duplication but still allow vectorial sources. And the same goes
for the colospace conversion.
That is not a hard problem, it just requires careful planning to think of
all situations (for example, not forget that vo_gl can do hardware scaling)
and devise a good API.
Regards,
--
Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20120423/81803e3b/attachment.asc>
More information about the MPlayer-dev-eng
mailing list