摘要 |
An image encoding apparatus is presented. A differential quantization parameter is generated by subtracting a quantization parameter predictor from a quantization parameter, and is entropy-coded. If two or more quantization parameters are available among a left quantization parameter, an above quantization parameter and a previous quantization parameter of a current coding unit, the quantization parameter predictor is generated using two available quantization parameters determined according a predetermined order, and if only one quantization parameter is available, the available quantization parameter is set as the quantization parameter predictor. A transform type for inversely transforming the residual signals is selected among a discrete cosine transform (DCT)-based integer transform and a discrete sign transform (DST)-based integer transform based on a prediction mode and a size of a transform unit. |