Patent ID: 7116831

Claim:
In a computer system, a computer-implemented method comprising: buffering a reference video frame; and performing motion compensation for at least part of a current video frame relative to the reference video frame, the motion compensation including, computing a luminance motion vector with quarter-pixel accuracy in luminance space; and converting the luminance motion vector to a chrominance motion vector with quarter-pixel accuracy in chrominance space, wherein if the luminance motion vector has a quarter-pixel offset in a given dimension, the chrominance motion vector has an integer-pixel offset or half-pixel offset in the given dimension; if the luminance motion vector has a half-pixel offset in the given dimension, the chrominance motion vector has a quarter-pixel offset or three-quarters-pixel offset in the given dimension; and if the luminance motion vector has a three-quarters-pixel offset in the given dimension, the chrominance motion vector has a half-pixel offset or integer-pixel offset in the given dimension.