摘要 |
PROBLEM TO BE SOLVED: To solve such a problem that there is a risk that an invalid candidate is referred, when the number of candidates of motion information referred for each block in motion compensation is less than a specified number of candidates.SOLUTION: An inter prediction information deriving unit 205 derives candidates of inter prediction information, from the inter prediction information of a prediction block adjoining the decoded prediction block, or a prediction block existing at the same position as a decoded prediction block or in the vicinity thereof, in a picture subjected to decoding different temporally from the decoded prediction block. When the number of candidates of inter prediction information is less than a specified number of candidates, a valid merge candidate replenishment unit 235 replenishes the candidates of inter prediction information having the same prediction mode, reference index and motion vector value, until the specified number of candidates is reached. |