A method and apparatus for performing compression and/or decompression is
described. In one embodiment, the present invention comprises a system
having a buffer, a wavelet transform unit, and a coder. The wavelet
transform unit has an input coupled to the buffer to perform a wavelet
transform on pixels stored therein and to generate coefficients at an
output. The coder is coupled to the wavelet transform unit to code the
transformed pixels received from the buffer.