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...http://www.google.com.au/patents/US7054493?utm_source=gb-gplus-sharePatent US7054493 - Context generation