CPC H04N 19/139 (2014.11) [H04N 19/117 (2014.11); H04N 19/124 (2014.11); H04N 19/51 (2014.11); H04N 19/52 (2014.11); H04N 19/91 (2014.11)] | 5 Claims |
1. A method of decoding a video, the method comprising:
deriving multiple motion vectors for a current block according to an inter-prediction direction of the current block;
determining multiple prediction blocks for the current block by using the multiple motion vectors; and
obtaining a final prediction block for the current block based on a weighted sum of the multiple prediction blocks,
wherein weights for the weighted sum of the multiple prediction blocks are derived based on index information specifying one of weights included in a pre-defined weight group,
wherein the inter-prediction direction indicates uni-directional inter prediction or bi-directional inter prediction, and
wherein the index information is explicitly signaled via a bitstream only when a size of the current block is equal to or greater than a threshold value and the inter-prediction direction of the current block indicates the bi-directional inter-prediction.
|