摘要 |
The invention relates to a method and an apparatus for predictive coding. The apparatus comprises subtracting means (1) for forming an aliased difference signal (e(n)) proportional to the difference between a digital input signal (x(n)) and a digital prediction signal (p(n)); means (3) for quantizing the difference signal; means (4) for summing the prediction signal (p(n)) and the quantized difference signal (e'(n)) so as to form a reconstructed signal (x'(n)) representing the input signal; predicting means (5) for forming the prediction signal (p(n)) on the basis of the reconstructed signal (x'(n)). The invention is characterized in that the subtracting means (1) and the summing means (4) comprise overflow signal outputs (OF1, OF2) indicating overflow, and that the apparatus further comprises quantization correcting means (6, 7, 8) responsive to the occurrence of said overflow signals (OF1, OF2) at different times so as to detect erroneous quantization and to correct it on the basis of the value of the prediction signal (p(n)). |