Patent ID: 10659802

Abstract:
There are disclosed various methods, apparatuses and computer program products for video encoding and decoding. In some embodiments for encoding a block of samples is obtained for motion prediction (900). At least one translational base motion vector component for the block of samples is calculated by defining a prediction for said translational base motion vector component (902, 904). A first differential motion vector component using a first precision is defined (906). Said first differential motion vector component is added to said prediction for said translational base motion vector component. At least one higher order motion vector component is calculated by defining a prediction for said higher order motion vector component (908) and defining a second differential motion vector component using a second precision different from the first precision (910). Said second differential motion vector component is added to said prediction for said higher order motion vector component. A motion compensation operation is performed for said block of samples using the at least one translational base motion vector component and the at least one differential motion vector component (912, 914).