Patent ID: 11044480

Abstract:
A method for encoding a block of a video using inter prediction includes selecting, during motion estimation for the block, a first sub-pixel interpolation filter for sub-pixel interpolation of fractional motion; selecting, during motion compensation, a second sub-pixel interpolation filter based on the first sub-pixel interpolation filter; and encoding, in a compressed bitstream, the second sub-pixel interpolation filter. The first sub-pixel interpolation filter is a 2-tap filter. The first sub-pixel interpolation filter includes weight tuples. Each weight tuple includes two weights and used for sub-pixel interpolation at a sub-pixel location between a first pixel and a second pixel. For at least one weight tuple of the weight tuples, the two weights are not based on a first distance between the sub-pixel location and the first pixel and a second distance between the sub-pixel location and the second pixel.