| CPC H04N 19/119 (2014.11) [H04N 19/105 (2014.11); H04N 19/176 (2014.11); H04N 19/52 (2014.11); H04N 19/91 (2014.11)] | 4 Claims |

|
1. An image decoding method performed by an image decoding apparatus, the image decoding method comprising:
when a size of a current block is equal to or greater than a predetermined value, obtaining information indicating whether an inter-intra combination mode is applied to the current block;
when the information indicates that the inter-intra combination mode is not applied to the current block, obtaining, from a bitstream, partition shape information for the current block, first motion vector related information for a first partition and second motion vector related information for a second partition;
obtaining a first prediction sample using a motion vector of a first candidate block indicated by the first motion vector related information among a plurality of candidate blocks included in a merge list;
obtaining a second prediction sample using a motion vector of a second candidate block indicated by the second motion vector related information among the plurality of candidate blocks included in the merge list;
determining a weight value for the first prediction sample and the second prediction sample using the partition shape information;
obtaining a third prediction sample by combining the first prediction sample and the second prediction sample using the weight value; and
reconstructing the current block by using the third prediction sample.
|