摘要 |
An image quantization parameter encoder includes: a prediction unit for generating a predicted quantization parameter from a past reconstructed quantization parameter; a computing unit for generating a delta quantization parameter from a quantization parameter and the predicted quantization parameter; and a quantization parameter encoding unit for binary-arithmetic-encoding a first bin indicating whether the delta quantization parameter is significant; and when the delta quantization parameter is determined to be significant, other bins, which are encoded subsequent to the first bin, indicating an absolute value of the delta quantization parameter, and a sign bin, which is encoded subsequent to the other bins, indicating whether the delta quantization parameter is positive or negative, wherein the binary-arithmetic-encoding is performed using contexts for the first bin and the other bins, and using no context for the sign bin, and wherein the binary-arithmetic-encoding is performed using a first context for the first bin and using a second context for the other bins. |