摘要 |
A runlength coding apparatus for encoding an input data stream to provide a runlength coded signal comprises a first memory for temporarily storing the zeros and non-zero values included in the input data stream, a run-level detection block for detecting a plurality of run-level pairs from the input data values, each of the run-level pairs including a runlength and a corresponding level, a repetition index detection block for detecting the number of runlengths having an identical value, a buffer control block for generating a first read signal and M number of second read signals based on the runlength repetition index, a second memory connected to the run-level detection means for sequentially storing the level data and for generating the level data stored therein based on the M number of second read signals, a third memory connected to the run-level detection means for sequentially storing the runlength data and for generating the runlength data stored therein based on the first read signal, and a formatting circuit for combining the runlength repetition index, the runlength data and the M number of level data and generating the runlength coded signal.
|