[MPlayer-dev-eng] [PATCH] vf_ass: avoid a division
Nicolas George
nicolas.george at normalesup.org
Sat Sep 18 13:09:21 CEST 2010
Le jour de la Vertu, an CCXVIII, Reimar Döffinger a écrit :
> Go ahead (though note that may suggestion is to check the src before
> instead of after the multiplication).
It is indeed significantly faster (+7.4% instead of +3.6%). I must say that
I am slightly disappointed with gcc's optimizations. And I am even more
disappointed that declaring k outside of the loop makes a difference (+8.2%
instead of +7.4%). (I had to change the declaration of k because "ISO C90
forbids mixed declarations and code".)
Therefore, hopefully last version of this one.
Regards,
--
Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-vfasstestzero-20100918.diff
Type: text/x-diff
Size: 1090 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100918/f016ea93/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/20100918/f016ea93/attachment.pgp>
More information about the MPlayer-dev-eng
mailing list