摘要 |
A system includes an encoder that performs quantization on a rectangular block of quantized transform coefficients and a decoder that performs dequantization on a rectangular block of transform coefficients. The decoder is configured to receive a WxH block of quantized transform coefficients, wherein W is a row width of the block and H is a column height of the block. The decoder is further configured to apply dequantization processing to the WxH block of quantized transform coefficients to generate a block of transform coefficients, which are used to generate a picture corresponding to the WxH block of quantized transform coefficients. The dequantization processing comprises applying a first dequantization algorithm when an output M of a function (I) is equal to an integer value, and applying a second dequantization algorithm when the output M is equal to a non-integer value. |