[FFmpeg-devel] [PATCH] lavfi/lut: use FF_CEIL_RSHIFT for chroma w/h rounding.
Clément Bœsch
ubitux at gmail.com
Sun May 12 13:17:04 CEST 2013
On Sat, May 11, 2013 at 03:06:17AM +0200, Michael Niedermayer wrote:
> On Sat, May 11, 2013 at 02:00:59AM +0200, Clément Bœsch wrote:
> > On Sat, May 11, 2013 at 01:04:24AM +0200, Clément Bœsch wrote:
> > > ---
> > > We might consider adding a FF_CEIL_RSHIFT2 with this second form which,
> > > according to Jason and Ronald, might be more interesting in case of a
> > > constant shift.
> > >
> >
> > Confirmed with a bench:
>
> see av_builtin_constant_p
>
Thanks, this is interesting.
Patch applied since in this case FF_CEIL_RSHIFT is faster.
--
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130512/33a2f551/attachment.asc>
More information about the ffmpeg-devel
mailing list