[MPlayer-dev-eng] [PATCH] Dynamic list of EOSD sources

Nicolas George nicolas.george at normalesup.org
Sun Sep 12 11:59:46 CEST 2010


Le sextidi 26 fructidor, an CCXVIII, Reimar Döffinger a écrit :
> Please do not use "unsigned" type unless you have a very good reason to.
> It makes it harder to extend the API e.g. by giving negative
> values a meaning (and actually for the border I think negative values
> are already used for panscan-zoom, so I suspect these changes may
> actually break things).

Changed, except for the "changed" field, which IMHO is more likely to evolve
in a bitfield.

I usually use unsigned whenever possible since they are easier for the
compiler to optimize.

> Never heard the ter RGBT used. If it is the same, use RGBA, if not
> explain the difference.

T is the complement of A (alpha). The RGBT acronym is used at least in POV
Ray (although their blending is a bit more complex, since they also have
RGBF and RGBFT).

The use of transparency instead of opacity (alpha) is rather awkward, but
that is how the renderers currently work, and changing it would be
completely unrelated.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-eosd-dynamic-20100912-1153.diff
Type: text/x-diff
Size: 21759 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100912/1a315c86/attachment.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/20100912/1a315c86/attachment.pgp>


More information about the MPlayer-dev-eng mailing list