Moving picture coding device, moving picture coding method, moving picture, coding program, moving picture decoding device, moving picture decoding method, and moving picture decoding 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 decoding device adapted to decode a decoding block consisting of two prediction blocks, comprising:
a decoding unit configured to decode an index from a bitstream, the index is specifying a merging motion information candidate used in a prediction block subject to decoding;
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 decoding block using candidate blocks not neighboring the prediction block but neighboring the decoding block, when a size of the decoding 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 based on the index; and
a processing unit including the decoding unit, the merging motion information candidate list generation unit, and the merging motion information selection unit.
2. A moving picture decoding method adapted to decode a decoding block consisting of two prediction blocks, comprising:
decoding an index from a bitstream, the index is specifying a merging motion information candidate used in a prediction block subject to decoding;
generating a merging motion information candidate list including a plurality of merging motion information candidates for all the prediction blocks in the decoding block using candidate blocks not neighboring the prediction block but neighboring the decoding block, when a size of the decoding block is smaller than a threshold size; and
selecting one merging motion information candidate from the merging motion information candidate list based on the index.
3. A non-transitory computer-readable recording medium having embodied thereon a moving picture decoding program adapted to decode a decoding block consisting of two prediction blocks, the moving picture decoding program causing a computer to execute:
decoding an index from a bitstream, the index is specifying a merging motion information candidate used in a prediction block subject to decoding;
generating a merging motion information candidate list including a plurality of merging motion information candidates for all the prediction blocks in the decoding block using candidate blocks not neighboring the prediction block but neighboring the decoding block, when a size of the decoding block is smaller than a threshold size; and
selecting one merging motion information candidate from the merging motion information candidate list based on the index.