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)] | 9 Claims |
1. A picture decoding device comprising:
a spatial candidate derivation unit configured to derive a spatial candidate from inter prediction information of a block neighboring a decoding target block and register the derived spatial candidate as a candidate to a first candidate list;
a history-based candidate derivation unit configured to generate a second candidate list by adding a history-based candidate included in a history-based candidate list as a candidate to the first candidate list;
a candidate selection unit configured to select a selection candidate from candidates included in the second candidate list; and
an inter prediction unit configured to perform inter prediction using the selection candidate,
wherein the history-based candidate derivation unit switches between whether or not a history-based candidate overlapping a candidate included in the first candidate list is added in accordance with a prediction mode,
wherein the prediction mode is a merge mode and a motion vector predictor mode, the candidate when the prediction mode is the merge mode is motion information, and the candidate when the prediction mode is the motion vector predictor mode is a motion vector, and
wherein the history-based candidate derivation unit decides whether to add the history-based candidate to the first candidate list based on whether the motion vector and a reference index included in the history-based candidate and the motion vector and the reference index included in a candidate included in the first candidate list are the same, when the prediction mode is the merge mode, and adds the history-based candidate as a candidate to the first candidate list regardless of whether or not the history-based candidate overlaps a candidate included in the first candidate list if a reference index of the history-based candidate is the same as a reference index of a decoding target picture when the prediction mode is the motion vector predictor mode.
|