CPC H04N 19/52 (2014.11) | 6 Claims |
1. A moving picture coding device adapted to encode a bitstream using motion compensation prediction in units of blocks obtained by partitioning each picture of moving pictures, comprising:
a motion information derivation unit configured to derive a first direction motion vector and a second direction motion vector of a block subject to coding on a basis of a first direction motion vector and a second direction motion vector of a selected neighboring block selected from spatial neighboring blocks of the block subject to coding; and
a motion compensation prediction unit configured to generate a predicted value of the block subject to coding by motion compensation prediction using the first direction motion vector and the second direction motion vector derived by the motion information derivation unit,
wherein the motion information derivation unit is further configured to set a candidate block from the selected neighboring block based on whether:
a first reference index indicating a first reference picture referred to by the first direction motion vector of the block subject to coding and a second reference index indicating a second reference picture referred to by the first direction motion vector of the selected neighboring block are identical with each other; and
a third reference index indicating a third reference picture referred to by the second direction motion vector of the block subject to coding and a fourth reference index indicating a fourth reference picture referred to by the second direction motion vector of the selected neighboring block are identical with each other,
wherein the spatial neighboring blocks of the block subject to coding include at least left block of the block subject to coding.
|