摘要 |
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 being referred for each block in motion compensation is less than a specified number of candidates.SOLUTION: An inter prediction information deriving unit 104 derives a candidate of inter prediction information, from the inter prediction information of a prediction block existing at the same position as the encoded prediction block, or a prediction block existing in the vicinity thereof, in a picture subjected to encoding different temporally from a prediction block adjoining the encoded prediction block, or the encoded prediction block. When the number of candidates of inter prediction information is less than the specified number of candidates, a valid merge candidate replenishment unit 135 replenishes the candidates of inter prediction information having the same prediction mode, reference index and movement vector value, until the specified number of candidates is reached. |