For a stream comprising first, second, and third video pictures, a method comprising:
- computing a scaling value that is based on (i) a particular power of two value, (ii) a first order difference value between an order value for the third video picture and an order value for the first video picture, and (iii) a second order difference value between an order value for the second video picture and the order value for the first video picture;
- computing a motion vector associated with the second video picture by bit-shifting a product of the scaling value and a motion vector associated with the third video picture, wherein a number of bits shifted by said bit-shifting is based on said particular power of two value;
- and
- decoding the second video picture by using the computed motion vector.