Patent ID: 8891629

Claim:
A method for calculating pixel values of interpolated pixel positions located between integer pixel positions in frames of a video picture by a predefined filter operation, the method comprising: storing a plurality of the pixel values of the integer pixel position in a memory of a video processing apparatus; determining, at the video processing apparatus, to which of a number of predefined resolution format standards the video picture is adapted; defining, at the video processing apparatus after the determining, a fixed width (W) and fixed height value (H) for the frames corresponding to a resolution format standard determined by the determining; loading, at the video processing apparatus in compile-time, all memory addresses of every integer pixel position in a frame of the video picture, wherein the memory addresses are calculated from, or are referring to, the fixed width (W) and fixed height value (H) defined in the defining; selecting the predefined filter operation, from a plurality of predefined filter operations, corresponding to the resolution format standard of the frame of the video picture that includes the plurality of pixel values of the integer pixel positions; and executing, after the loading of the memory addresses of every integer pixel position in the frame of the video picture, at the video processing apparatus, the predefined filter operation on the plurality of the pixel values of integer pixel positions and calculating a plurality of the pixel values of the interpolated pixel positions by consecutively loading each of the plurality of the pixel values of integer pixel positions from the memory by using one or more memory addresses obtained in the loading.