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

Christina Brien christina.brien at polygonindustrial.com
Mon Apr 3 12:31:15 EEST 2017


> 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.

Christina


More information about the ffmpeg-devel mailing list