|
(11) | EP 2 169 959 A3 |
| (12) | EUROPEAN PATENT APPLICATION |
|
|
|
|
|||||||||||||||||||||||
| (54) | Lossless compression-encoding device |
| (57) In a lossiess compression-encoding device, a differential coding part calculates
a prediction value of data to be compressed, and calculates a prediction error that
is a difference between the prediction value and an actual value of the data to be
compressed. A prediction error conversion part performs reversal of a sign bit of
the prediction error output by the differential coding part in case that the reversal
of the sign bit of the prediction error decreases an absolute value of the prediction
error. A variable-length coding part performs variable-length coding on the prediction
error that has been processed by the prediction error conversion part to generate
a variable-length code representing the prediction error, and outputs the variable-length
code as compressed data in such a manner that a code length of the compressed data
decreases as the ablosulte value of the prediction error decreases.
|