Moving picture coding device, moving picture coding method, and moving picture coding program
A merging motion information candidate generation unit derives, when information indicating whether or not to derive a merging motion information candidate shared for all prediction blocks in a coding block is information indicating the derivation of a merging motion information candidate shared for all the prediction blocks in the coding block, a plurality of merging motion information candidates shared for all the prediction blocks in the coding block. A merging motion information selection unit selects one merging motion information candidate from the plurality of merging motion information candidates and uses the selected merging motion information candidate in a prediction block subject to coding.
1. A moving picture coding device adapted to encode a coding block consisting of two prediction blocks, comprising:
a coding unit configured to encode an index into a bitstream, the index is specifying a merging motion information candidate used in a prediction block subject to encoding;
a merging motion information candidate list generation unit configured to generate a merging motion information candidate list including a plurality of merging motion information candidates for all the prediction blocks in the coding block using candidate blocks not neighboring the prediction block but neighboring the coding block, when a size of the coding block is smaller than a threshold size;
a merging motion information selection unit configured to select one merging motion information candidate from the merging motion information candidate list and to decide the index; and
a processing unit including the coding unit, the merging motion information candidate list generation unit, and the merging motion information selection unit.
2. A moving picture coding method adapted to encode a coding block consisting of two prediction blocks, comprising:
encoding an index into a bitstream, the index is specifying a merging motion information candidate used in a prediction block subject to encoding;
generating a merging motion information candidate list including a plurality of merging motion information candidates for all the prediction blocks in the coding block using candidate blocks not neighboring the prediction block but neighboring the coding block, when a size of the coding block is smaller than a threshold size; and
selecting one merging motion information candidate from the merging motion information candidate list and to decide the index.
3. A non-transitory computer-readable recording medium having embodied thereon a moving picture coding program adapted to encode a coding block consisting of two prediction blocks, the moving picture coding program causing a computer to execute:
encoding an index into a bitstream, the index is specifying a merging motion information candidate used in a prediction block subject to encoding;
generating a merging motion information candidate list including a plurality of merging motion information candidates for all the prediction blocks in the coding block using candidate blocks not neighboring the prediction block but neighboring the coding block, when a size of the coding block is smaller than a threshold size; and
selecting one merging motion information candidate from the merging motion information candidate list and to decide the index.