摘要 |
Method and apparatus for dithering and undithering data words in a data stream. The method comprises the steps of processing a data word in a data stream to obtain an output data word by calculating ( 14 ) a first difference, calculating ( 16 ) a second difference, comparing ( 14, 16 ) the first difference and the second difference with a comparator value S, shifting left ( 12 ) the first data word with a first number of bits, the first number being equal to a shift value G minus one, and adding ( 18 ) an offset value D to the first data word only when both the first difference and the second difference are equal to the comparator value S. The apparatus comprises elements to perform the steps of the present method. The present method and apparatus allow using common steps, respectively elements to perform both dither and undither operations.
|