[MPlayer-dev-eng] [PATCH] OSD through EOSD
Nicolas George
nicolas.george at normalesup.org
Fri Aug 13 19:22:17 CEST 2010
Le sextidi 26 thermidor, an CCXVIII, Reimar Döffinger a écrit :
> This should at least round, otherwise with low alpha it will always be
> too dark.
Right. Updated.
> That however is the real problem, scaling the premultiplied value is
> quite different from properly scaling the actual value.
I thought of that, but does it really matter? I tried various values of
spuaa, and compared with the original: looking carefully with xmag, it is
possible to see they are not exactly the same, but neither looks better than
the other. After all, there is no "correct" scaling (especially not without
gamma correction), it just has to look nice and be fast.
I also peeked at the source code for Cairo, which is a notable user of
premultiplied values: they do not seem to bother with that issue at all.
Regards,
--
Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-eosd-premult-20100813b.diff
Type: text/x-diff
Size: 2845 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100813/df182de0/attachment-0001.diff>
-------------- 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/20100813/df182de0/attachment-0001.pgp>
More information about the MPlayer-dev-eng
mailing list