Image data decompression using difference values between data values and origin values for image data channels
Abstract
A decompression method determines image element values from compressed data representing a block of image element values relating to a respective one or more channels. For each of the channels, an indication of a first number of bits representing difference values between the data values and an origin value for the channel is read from the compressed data. For each of the channels, a second number of bits is obtained, wherein representations of the difference values for each of the channels are included in the compressed data using the second number of bits for that channel. The obtained second numbers of bits for the respective channels are used to read the representations of the difference values for the image element values being decompressed. Based on the representations of the difference values, a difference value is determined in accordance with the first number of bits for the channel. For each of the one or more channels, the data value relating to the channel for each of the image element values being decompressed is determined using: (i) the origin value for the channel, and (ii) the determined difference value for the channel for the image element value.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 39 · Forward citations: 0.
Claims (8)
- Claim 1Independent Claim
A computer-implemented method of performing decompression to determine one or more data values from compressed data, the method comprising: reading, from the compressed data, representations of difference values for the one or more data values being decompressed, each difference value representing a difference between the respective data value and an origin value, wherein the representations of the difference values are included in the compressed data using a second number of bits; based on the representations of the difference values read from the compressed data and a first number of bits for representing the difference values for the one or more data values, determining, for each of the one or more data values being decompressed, a difference value in accordance with said first number of bits; and determining each of the one or more data values being decompressed using: (i) the origin value, and (ii) the determined difference value for the data value.
- Claim 2Depends on #1
The method of claim 1, further comprising receiving an indication of the first number of bits for representing the difference values for the one or more data values.
- Claim 3Depends on #1
The method of claim 1, wherein said determined difference value for a data value has said first number of bits.
- Claim 4Depends on #1
The method of claim 1, wherein said determining, for each of the one or more data values being decompressed, a difference value in accordance with said first number of bits comprises adding zero, one or more least significant bits to the representations of the difference values read from the compressed data to thereby determine the difference values having said first number of bits.
- Claim 5Depends on #4
The method of claim 4, wherein the zero, one or more least significant bits which are added to the representations of the difference values read from the compressed data are all zeros.
- Claim 6Depends on #4
The method of claim 4, wherein the zero, one or more least significant bits which are added to the representations of the difference values read from the compressed data are all ones.
- Claim 7Depends on #4
The method of claim 4, wherein the zero, one or more least significant bits which are added to the representations of the difference values read from the compressed data are equal to a corresponding zero, one or more most significant bits of the origin value.
- Claim 8Depends on #4
The method of claim 4, wherein the zero, one or more least significant bits which are added to the representations of the difference values read from the compressed data are random or pseudo-random bits.
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATIONS AND CLAIM OF PRIORITY This application is a continuation under 35 U.S.C. 120 of application Ser. No. 17/720,188 filed Apr. 13, 2022, now U.S. Pat. No. 11,823,419, which is a continuation of prior application Ser. No. 17/000,550 filed Aug. 24, 2020, now U.S. Pat. No. 11,335,031, which claims foreign priority under 35 U.S.C. 119 from United Kingdom Application Nos. 1912183.9 and 1912184.7 filed Aug. 23, 2019, United Kingdom Application Nos. 1912795.0 and 1912800.8 filed Sep. 5, 2019, and United Kingdom Application Nos. 2004715.5 and 2004716.3 filed Mar. 31, 2020, the contents of which are incorporated herein by reference in their entireties. FIELD This disclosure relates to data compression and data decompression. BACKGROUND Data compression, both lossless and lossy, is desirable in many applications in which data is to be stored in, and/or read from memory. By compressing data before storage of the data in memory, the amount of data transferred to the memory may be reduced. An example of data for which data compression is particularly useful is image data. The term ‘ image data ’ is used herein to refer to two-dimensional data that has values corresponding to respective pixel or sample locations of an image. For example, the image may be produced as part of a rendering process on a Graphics Processing Unit (GPU). Image data may include, but is not limited to, depth data to be stored in a depth buffer, pixel data (e.g. colour data) to be stored in a frame buffer, texture data to be stored in a texture buffer, surface normal data to be stored in a surface normal buffer and lighting data to be stored in a lighting buffer. These buffers may be any suitable type of memory, such as cache memory, separate memory subsystems, memory areas in a shared memory system or some combination thereof. A GPU may be used to process data in order to generate image data. For example, a GPU may determine pixel values (e.g. colour values) of an image
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (39)
| Patent | Title | Year | Citations |
|---|