CPC H04N 19/117 (2014.11) [H04N 19/176 (2014.11); H04N 19/51 (2014.11); H04N 19/80 (2014.11)] | 4 Claims |
1. An encoder that encodes a current block to be encoded in an image, the encoder comprising:
circuitry; and
memory coupled to the circuitry,
wherein, in operation, the circuitry:
generates a first prediction image based on a motion vector, the first prediction image being an image with full-pel precision;
generates a second prediction image using a first interpolation filter by interpolating a value at a fractional-pel position between full-pel positions included in the first prediction image; and
encodes the current block based on the second prediction image,
wherein, in operation, the circuitry further:
judges whether the current block is a sub-block of affine mode; and
selects a second interpolation filter as the interpolation filter for generating the second prediction image, in response to the current block being a sub-block of affine mode, and
wherein the second interpolation filter has fewer taps than the first interpolation filter.
|