Abstract:
A method and device for encoding/decoding an image supporting a plurality of layers are disclosed. The method for decoding the image includes the step of receiving a bitstream including information on a decoding target block of the current layer, the step of entropy decoding the bitstream and obtaining a 1D array of transformation coefficients of the decoding target block; the step of scanning the 1D array of the transformation coefficients according to a scan order and re-arranging it as a 2D array of the transformation coefficients, the step of inversely quantizing the 2D array of the transformation coefficients and obtaining a 2D array of transformation coefficients inversely quantized for the decoding target block, and the step of predicting the decoding target block based on a prediction mode for the decoding target block.