Compression and decompression of data using plane equations
Abstract
The present invention provides a scheme for compressing and decompressing the depth, or Z, components of image data. Image data is grouped into a plurality of tiles. A test is performed to determine if a tile can be compressed so that its size after compression is less than its size before compression. If so, the tile is compressed. A tile table includes a flag that can be set for each tile that is compressed. In one scheme, each tile comprises a 4×4 block of pixels. For each pixel, the visible depth complexity is determined where each visible level of depth complexity is represented by a plane equation. Depending on the depth complexity, a compression scheme is chosen that stores multiple plane equations in cache lines. The compression scheme can be used with unsampled or multisampled data and provides higher levels of compression in multisampled environments.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 21 · Forward citations: 4.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method of compressing data in a graphics processing system comprising: obtaining a data tile; determining a visible depth complexity of said tile; selecting a compression scheme based on said depth complexity; and storing said tile in a cache having at least one cache line using said selected compression scheme, wherein the number of cache lines storing the tile depends on the selected compression scheme.
- Claim 2Depends on #1
The method of claim 1 wherein no compression is selected if said depth complexity exceeds a threshold.
- Claim 3Depends on #1
The method of claim 1 , wherein each level of depth complexity is represented by a plane equation, and wherein a number of plane equations are stored in the cache depending on a level of visible depth complexity.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (4 of 4 total)
References Cited — Backward Prior Art (21)
Non-Patent Literature (1)
- Shade et al.; Layered Depth Images; Proceedings of the 25th Annual Conference on Computer Graphics and Interactive Techniques; ACM Press; 1998.