| CPC H04N 19/159 (2014.11) [H04N 19/119 (2014.11); H04N 19/139 (2014.11); H04N 19/521 (2014.11)] | 2 Claims |

|
1. A decoder which decodes a video, the decoder comprising:
circuitry; and
memory coupled to the circuitry, wherein using the memory, the circuitry:
obtains at least two items of prediction information for a first partition included in the video;
derives a template;
calculates at least two costs, using the template and the at least two items of prediction information;
using the at least two costs, (i) determines a first direction which is substantially perpendicular to a second direction in which a second partition is opposed to a third partition in the first partition and (ii) assigns one of the at least two items of prediction information to the second partition, and another of the at least two items of prediction information to the third partition; and
decodes the first partition according to the at least two items of prediction information.
|