| CPC H04N 19/513 (2014.11) [H04N 19/103 (2014.11); H04N 19/119 (2014.11); H04N 19/176 (2014.11); H04N 19/44 (2014.11); H04N 19/537 (2014.11); H04N 21/235 (2013.01)] | 5 Claims |

|
1. A video decoding method performed by a decoding apparatus, the method comprising:
deriving control points (CPs) for a current block;
acquiring motion vectors for the CPs;
deriving motion vectors sub-blocks in the current block based on the acquired motion vectors;
deriving a prediction sample for the current block based on the derived motion vectors; and
generating a reconstructed sample based on the prediction sample,
wherein based on a number of CPs being 3, and a coordinate of CP0 among the CPs are (0,0), a coordinate of CP1 are (S, 0) and a coordinate of CP2 are (0, S),
wherein a coordinate of a top-left sample position of the current block is (0, 0) and a height and a width of the current block are S,
wherein the acquiring of the motion vectors for the CPs comprises:
deriving motion vector 0 for CP0 based on neighboring block group 0 including an upper left neighboring block, a first left neighboring block and a first upper neighboring block;
deriving motion vector 1 for CP1 based on neighboring block group 1 including an upper right neighboring block and a second upper neighboring block; and
deriving motion vector 2 for CP2 based on neighboring block group 2 including a lower left neighboring block and a second left neighboring block,
wherein it is sequentially determined whether the upper left neighboring block, the first left neighboring block and the first upper neighboring block are available according to a predefined first priority, it is sequentially determined whether the upper right neighboring block and the second upper neighboring block are available according to a predefined second priority, and it is sequentially determined whether the lower left neighboring block and the second left neighboring block are available according to a predefined third priority, and
wherein the first left neighboring block is the uppermost block among left neighboring blocks adjacent to the left boundary of the current block, the first upper neighboring block is the leftmost block among upper neighboring blocks adjacent to the upper boundary of the current block, the second upper neighboring block is the rightmost block among upper neighboring blocks adjacent to the upper boundary of the current block, and the second left neighboring block is the lowermost block among the left neighboring blocks adjacent to the left boundary of the current block.
|