CPC H04N 19/139 (2014.11) [H04N 19/159 (2014.11); H04N 19/167 (2014.11); H04N 19/176 (2014.11); H04N 19/593 (2014.11)] | 6 Claims |
1. A method of decoding an image, the method comprising:
determining control point motion vectors of a current block in response to an affine model prediction being applied to the current block;
determining motion vectors of sub-blocks in the current block based on the control point motion vectors;
reconstructing the current block by performing inter prediction to the sub-blocks in the current block; and
applying a deblocking filter to boundaries between the sub-blocks in the current block,
wherein whether the motion vectors of the sub-blocks are determined based on the control point motion vectors or not is determined based on a size of the current block, and
wherein, when a width of the current block is smaller than 8 or a height of the current block is smaller than 8, the motion vectors of the sub-blocks are not determined based on the control point motion vectors.
|