Patent ID: 9674520
Date: 2017-06-06
CPC Classifications: G06T,H04N

Claim:
1. An apparatus for decoding images, comprising: a decoder configured to decode one or more quantized transform blocks from a bitstream, and extract prediction unit (PU) mode information indicating a prediction unit (PU) mode of a current coding unit (CU) among a plurality of PU modes relating to types of partition of the current CU into PUs, wherein the plurality of PU modes includes a horizontally longer made and a vertically longer mode; an inverse quantizer configured to inversely quantize the quantized transform blocks to generate transform blocks; an inverse transformer configured to inversely transform the transform blocks to reconstruct a residual block of the current CU; a predictor configured to generate one or more predicted block of the current CU by predicting each PU within the current CU based on the PU mode; and an adder configured to add the reconstructed residual block and the generated predicted block, wherein the predictor generates the predicted blocks by using motion information selected from a plurality of merge candidates corresponding to neighboring blacks, based on a merge index, and the merge candidates are generated by predetermined positions and priorities corresponding to the positions, wherein the merge candidates are generated in consideration of a position of the current PU in the current CU and the PU mode, wherein the merge candidates include at least one of a left block A, an upper block B, an upper-right block C, a left-lower block D and an upper-left block E and the priorities correspond to an order of the left block A, the upper block B, the upper-right block C, the left-lower block D and the upper-left block E, and wherein the predictor excludes at least one of the neighboring blocks from the merge candidates when the PU mode corresponds to the horizontally longer mode or the vertically longer mode and the position of the current PU corresponds to a predetermined condition, without considering motion information of the at least one of the neighboring blocks.