CPC H04N 19/124 (2014.11) [H04N 19/119 (2014.11); H04N 19/14 (2014.11); H04N 19/176 (2014.11); H04N 19/196 (2014.11); H04N 19/33 (2014.11); H04N 19/463 (2014.11); H04N 19/70 (2014.11)] | 3 Claims |
1. A method for decoding an image, the method comprising:
receiving a bitstream including image information;
decoding base block size information on a size of a base block, and a residual quantization parameter of a decoding object unit, from the bitstream;
deriving a predicted quantization parameter of the decoding object unit based on the base block size information;
deriving a quantization parameter of the decoding object unit based on the predicted quantization parameter and the residual quantization parameter; and
decoding the decoding object unit based on the quantization parameter of the decoding object unit,
wherein the decoding the decoding object unit comprises
performing inverse quantization for the decoding object unit based on the quantization parameter; and
performing inverse transform for the quantized decoding object unit,
wherein the residual quantization parameter is decoded in units of a TU,
wherein the base block size information is decoded in units of a Picture,
wherein, when a size of the decoding object unit is smaller than a size of the base block specified by the base block size information, the quantization parameter of the decoding object unit is same as quantization parameters of all the other decoding units included in the base block together with the decoding object unit, and
wherein the residual quantization parameter is selectively decoded based on flag information obtained from the bitstream, the flag information indicating whether the residual quantization parameter is decoded or not.
|