For a stream comprising an encoded first video picture, an encoded second video picture, and an encoded third video picture, a method comprising:
- computing a scaling value that is based on (i) a first order difference value between an order value for the third video picture and an order value for the first video picture, and (ii) a second order difference value between an order value for the second video picture and the order value for the first video picture, wherein computing the scaling value is subject to a truncation operation;
- computing a motion vector for the second video picture based on the scaling value and a motion vector for the third video picture;
- and
- decoding the second video picture by using the computed motion vector.