Michael Niedermayer michaelni
Tue Jul 28 11:49:36 CEST 2009

On Tue, Jul 28, 2009 at 04:12:03AM -0300, Ramiro Polla wrote:
> Hi,
> Currently there is RSHIFT(a,b) and ROUNDED_DIV(a,b), which work for
> both negative and positive values of a. This patch adds variants that
> only work on positive values of a, so it may be used on variables
> known to be positive.
> And another patch uses it in swscale.

I honestly dont see the point,
the first part is just init where such minor speed change is irrelevant
and the rest is clearer and less code as pure C s it is

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

it is not once nor twice but times without number that the same ideas make
their appearance in the world. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090728/9b1df5c0/attachment.pgp>

More information about the ffmpeg-devel mailing list