| CPC H04N 19/513 (2014.11) [H04N 19/105 (2014.11); H04N 19/159 (2014.11); H04N 19/176 (2014.11); G06T 9/004 (2013.01); G06T 9/40 (2013.01)] | 7 Claims |

|
1. A picture coding device for coding a moving picture using inter prediction in units of blocks and forming a bitstream, the picture coding device comprising:
a spatial motion vector predictor candidate derivation unit configured to derive a spatial candidate from inter prediction information of a block neighboring a coding target block and register the derived spatial candidate to a first motion vector predictor candidate list;
a history-based motion vector predictor candidate derivation unit configured to generate a second motion vector predictor candidate list by adding a history-based candidate to the first motion vector predictor candidate list regardless of whether or not a motion vector of the history-based candidate included in a history-based candidate list overlaps motion vectors of candidates included in the first motion vector candidate list;
a motion vector predictor candidate selection unit configured to select a first selection candidate from candidates included in the second motion vector predictor candidate list;
a spatial merge candidate derivation unit configured to derive a spatial candidate from inter prediction information of a block neighboring a coding target block and register the derived spatial candidate to a first merge candidate list;
a history-based merge candidate derivation unit configured to generate a second merge candidate list by adding a history-based candidate to the first merge candidate list when the history-based candidate included in the history-based candidates list does not overlap candidates included in the first merge candidate list; and
a merge candidate selection unit configured to select a second selection candidate from candidates included in the second merge candidate list;
a coding unit configured to code a merge flag being 1 in a merge mode and being 0 in a motion vector predictor mode, and code a merge index for selecting the second selection candidates when the merge flag is 1 and code a motion vector predictor index for selecting the first selection candidate when the merge flag is 0; and
an inter prediction unit configured to perform inter prediction using the first selection candidate or the second selection candidate.
|