Patent ID: 7120197

Claim:
A computer-implemented method of motion compensation, the method comprising: in a loop that includes motion compensation, adaptively filtering one or more boundaries between sets of pixels in a reference frame to reduce boundary discontinuities, wherein application of the filtering across a given boundary of the one or more boundaries depends at least in part upon plural discontinuity measures, the plural discontinuity measures including: a cross boundary discontinuity measure that quantifies pixel value discontinuity across the given boundary; a first side discontinuity measure that quantifies pixel value discontinuity on a first side of the given boundary, wherein the first side discontinuity measure is computed using plural pixel values on the first side of the given boundary; a second side discontinuity measure that quantifies pixel value discontinuity on a second side of the given boundary, wherein the second side discontinuity measure is computed using plural pixel values on the second side of the given boundary, and wherein the first side is different than the second side; and performing the motion compensation for a predicted frame relative to the reference frame.