[FFmpeg-devel] [PATCH] Add RSHIFT_POS and ROUNDED_DIV_POS

Ramiro Polla ramiro.polla
Tue Jul 28 09:12:03 CEST 2009


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.

Ramiro Polla
-------------- next part --------------
A non-text attachment was scrubbed...
Name: introduce_rshift_and_rounded_div_pos.diff
Type: text/x-diff
Size: 563 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090728/66d8b119/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Use-RSHIFT_POS-ROUNDED_DIV_POS.patch
Type: text/x-diff
Size: 3754 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090728/66d8b119/attachment.patch>



More information about the ffmpeg-devel mailing list