CPC H04N 19/137 (2014.11) [H04N 19/105 (2014.11); H04N 19/159 (2014.11); H04N 19/176 (2014.11)] | 7 Claims |
1. A picture coding device for coding a moving picture using inter prediction based on inter prediction information in units of blocks, the picture coding device comprising:
a coding information storage unit configured to store inter prediction information used in the inter prediction of a coded block in a history-based motion vector predictor candidate list;
a spatial merging candidate derivation unit configured to derive a spatial merging candidate from inter prediction information of a block spatially neighboring a coding target block; and
a history-based merging candidate derivation unit configured to derive a history-based merging candidate from the inter prediction information stored in the history-based motion vector predictor candidate list,
wherein the history-based merging candidate derivation unit compares a predetermined number of inter prediction information elements from the back end within the inter prediction information stored in the history-based motion vector predictor candidate list with inter prediction information of a spatial merging candidate derived from a neighboring block on the left side and a spatial merging candidate derived from a neighboring block on the upper side and sets the inter prediction information as the history-based merging candidate when a value of the inter prediction information is different, and sets the inter prediction information prior to the predetermined number of the inter prediction information elements from the back end as the history-based merging candidate without making a comparison with the inter prediction information of the spatial merging candidate.
|