[FFmpeg-devel] H.261 chroma motion vector rounding.

wm4 nfxjfg at googlemail.com
Mon Apr 3 13:05:45 EEST 2017


On Mon, 3 Apr 2017 10:31:15 +0100
Christina Brien <christina.brien at polygonindustrial.com> wrote:

> > For both positive and negative numbers.
> > 
> > 3 / 2 = 1
> > -3 / 2 = -1  
> 
> You’re right. I was confusing integer division by a power of two, with right-shifting. The bug was in my code all along.
> 
> I apologise for wasting your time.

Still thanks for the good intentions and trying to report the issue,
even if it turned out to be your bug.


More information about the ffmpeg-devel mailing list