摘要 |
Provided is a method that derives a reference picture index and a motion vector of a current prediction unit, generates a prediction block of the current prediction unit using the reference picture index and the motion vector, generating a residual block by inverse-scan, inverse-quantization and inverse transform, and generates reconstructed pixels using the prediction block and the residual block. Prediction pixels of the prediction block is generated using an interpolation filter selected based on the motion vector. Accordingly, the coding efficiency of the motion information is improved by including various merge candidates. Also, the computational complexity of an encoder and a decoder is reduced by selecting different filter according to location of the prediction pixels determined by the motion vector. |