Patent ID: 7616689

Claim:
A method in video coding and decoding for calculating pixel values for interpolated pixel positions located between integer pixel positions in a video picture, wherein pixel values for a set of interpolated pixel positions being horizontally or vertically lined up with integer pixel positions are calculated by applying a first discrete filter on associated horizontally or vertically lined up interpolated pixel positions, said method comprising calculating a pixel value for an interpolated, first pixel position not being horizontally or vertically lined up with integer pixel positions by applying a second discrete filter on a second and third pixel positions, wherein said first pixel position is a ¼ pixel position not being horizontally or vertically lined up with integer pixel positions or a predetermined ½ pixel position not being horizontally or vertically lined up with integer pixel positions and wherein the second and third pixel positions are already calculated ½ pixel positions horizontally or vertically lined up with integer pixel positions or the nearest integer pixel positions diagonally lined up with said ¼ pixel position or said predetermined ½ pixel position.