CPC H04N 19/139 (2014.11) [H04N 19/105 (2014.11); H04N 19/159 (2014.11); H04N 19/167 (2014.11); H04N 19/51 (2014.11); H04N 19/521 (2014.11); H04N 19/56 (2014.11); H04N 19/61 (2014.11); H04N 19/96 (2014.11)] | 17 Claims |
1. A method for decoding a bitstream for a video signal comprising at least one coding block by a decoding apparatus, the method comprising:
obtaining, by the decoding apparatus, merge flag information of a current prediction block of a plurality of prediction blocks from the bitstream, the plurality of prediction blocks being partitioned from the coding block; and
based on the merge flag information indicating that prediction information of the current prediction block is determined by prediction information of one of merging candidates, decoding, by the decoding apparatus, the current prediction block based on prediction information of a merging candidate selected from among the merging candidates,
wherein, based on the coding block being partitioned into two prediction blocks each of which has a horizontal size greater than a vertical size and the current prediction block being a bottom prediction block of the two prediction blocks, the merging candidates comprise at least one neighboring prediction block adjacent to the current prediction block other than a top prediction block of the two prediction blocks, and
wherein, based on the coding block being partitioned into two prediction blocks each of which has a vertical size greater than a horizontal size and the current prediction block being a right prediction block of the two prediction blocks, the merging candidates comprise at least one neighboring prediction block adjacent to the current prediction block other than a left prediction block of the two prediction blocks.
|