×

Method and apparatus for real-time lossless compression and decompression of image data

  • US 5,796,864 A
  • Filed: 01/04/1995
  • Issued: 08/18/1998
  • Est. Priority Date: 05/12/1992
  • Status: Expired due to Term
First Claim
Patent Images

1. A method in a digital processing system for encoding a current pixel block by determining whether colors represented in a current pixel block match colors represented in any one of a plurality of other pixel blocks, the method comprising the steps of:

  • A) generating a plurality of color lists by generating a color list for each pixel block of said plurality of other pixel blocks, wherein the color list for each given pixel block of said plurality of other pixel blocks identifies colors represented in said given pixel block;

    B) storing said plurality of color lists in a plurality of color caches, wherein said plurality of color lists are stored in said plurality of color caches based upon the number of colors represented in each of said plurality of color lists;

    C) generating a current color list that identifies colors represented in said current pixel block;

    D) identifying a selected color cache of said plurality of color caches, the selected color cache being a color cache that stores color lists that represent at least the same number of colors as are represented in said current color list;

    E) comparing said current color list to one or more color lists contained in said selected color cache;

    F) if said current color list matches a color list of said one or more color lists stored in said selected color cache, then outputting a first compressed data stream for said current pixel block wherein said first compressed data stream includes a cache index that corresponds to an entry in said color cache containing said one or more color lists that matches said current color list, and a current pixel map; and

    G) if said current color list does not match said color list of said one or more color lists stored in said selected color cache, then outputting a second compressed data stream for said current pixel block wherein said second compressed data stream includes said current color list, and said current pixel map.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×