[MPlayer-dev-eng] [PATCH] vf_ass: avoid a division

Nicolas George nicolas.george at normalesup.org
Fri Sep 17 21:51:49 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).

Then I will take a little bit more time to benchmark both cases.

> Using 258 has the advantage that the shifts in the inner loop
> are bytewise, for which a compiler can generate fast code
> even for architectures that do not have fast arbitrary shifts.

If such architectures exist and are supported, I'll keep that in mind.

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/20100917/f3a9b392/attachment.pgp>


More information about the MPlayer-dev-eng mailing list