Patent ID: 8559502

Claim:
A method for reducing a quantization error that occurs in an inverse quantization of a quantized coefficient to produce a pre-quantized coefficient, the pre-quantized coefficient being quantized as part of a compressing method, the quantization error describing a difference between the quantized coefficient and the pre-quantized coefficient, comprising: configuring a device to consider a characteristic parameter other than a parameter identifying a temporal prediction mode, the characteristic parameter being characteristic of the compression method; selecting a correction value as a function of the characteristic parameter; and adding the correction value to the quantized coefficient before performing inverse quantization, wherein during compression data is divided into blocks, a plurality of pre-quantized coefficients are determined for each block, which pre-quantized coefficients are in-turn quantized to produce quantized coefficients associated with the block, the block has a block size, and the block size is used as the characteristic parameter for each of the quantized coefficients located in the block.