# US 9,357,236 B2 · Color compression using a selective color transform

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 9,357,236 B2
- Document ID: US9357236B2
- Status: Granted
- Kind: B2
- Application number: 14/207,941
- Filed: 2014-03-13
- Published: 2015-09-17
- Granted: 2016-05-31
- Earliest claimed: 2014-03-13
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: Tomas G. Akenine-Moller; Jim K. Nilsson
- Web page: https://patentgrep.com/patent/US9357236B2

## CPC

- H04N 19/91: Entropy coding, e.g. variable length coding [VLC] or arithmetic coding
- H04N 1/64: Systems for the transmission or the storage of the colour picture signal; Details therefor, e.g. coding or decoding means therefor {(H04N19/00 takes precedence)}
- H04N 19/13: Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
- H04N 19/426: using memory downsizing methods
- H04N 19/60: using transform coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

When a tile is evicted from the cache, an attempt is made to compress the tile using any compression algorithm. The difference is that the colors of the tile are compressed as they are, but the colors can also be transformed with a color transform (for example, lossless YCoCg), and after that those colors are compressed with the same compression algorithm. Several different color transforms may be tried, and selection of which one to use can be done in several ways.

## Claims

### Claim 1

A method comprising:
applying, using a graphics processor, at least two color transforms to an original set of colors;
performing a compression operation to obtain compression results on the transformed colors; and
based on the compression results, selecting between using a selected one of the two color transforms and using no transforms at all.

### Claim 2 (depends on 1)

The method of claim 1 including selecting the transform with the fewest bits after compression.

### Claim 3 (depends on 2)

The method of claim 2 including selecting the transform that results in less than a predefined threshold of bits.

### Claim 4 (depends on 1)

The method of claim 1 including encoding the selected color transform in a compressed representation.

### Claim 5 (depends on 1)

The method of claim 1 including finding a minimum and maximum compression for a given channel.

### Claim 6 (depends on 5)

The method of claim 5 including finding a compressed size metric by summing the ceil of the maximum minus the minimum value for the channel.

### Claim 7 (depends on 6)

The method of claim 6 including selecting M representative colors of a tile, performing the color transform and then computing the compressed size metric only on the M colors.

### Claim 8 (depends on 1)

The method of claim 1 wherein selecting one of the two color transforms includes selecting an identity transform.

### Claim 9

One or more non-transitory computer readable media storing instructions executed by a processor to perform a sequence comprising:
applying, using a graphics processor, at least two color transforms to an original set of colors;
performing a compression operation to obtain compression results on the transformed colors; and
based on the compression results, selecting between using a selected one of the two color transforms.

### Claim 10 (depends on 9)

The media of claim 9 said sequence including selecting the transform with the fewest bits after compression.

### Claim 11 (depends on 9)

The media of claim 9 said sequence including selecting the transform that results in less than a predefined threshold of bits.

### Claim 12 (depends on 9)

The media of claim 9 said sequence including encoding the selected color transform in a compressed representation.

### Claim 13 (depends on 9)

The media of claim 9 said sequence including finding a minimum and maximum compression for a given channel.

### Claim 14 (depends on 13)

The media of claim 13 said sequence including finding a compressed size metric by summing the ceil of the maximum minus the minimum value for the channel.

### Claim 15 (depends on 14)

The media of claim 14 said sequence including selecting M representative colors of a tile, performing the color transform and then computing the compressed size metric only on the M colors.

### Claim 16 (depends on 9)

The media of claim 9 wherein selecting includes selecting an identity transform.

### Claim 17

An apparatus comprising:
a processor to apply, at least two color transforms to an original set of colors, performing a compression operation on the transformed colors, and based on the compression results, select one of the two color transforms; and
a storage coupled to said processor.

### Claim 18 (depends on 17)

The apparatus of claim 17 said processor to select the transform with the fewest bits after compression.

### Claim 19 (depends on 18)

The apparatus of claim 18 said processor to select the transform that results in less than a predefined threshold of bits.

### Claim 20 (depends on 17)

The apparatus of claim 17 said processor to encode the selected color transform in a compressed representation.

### Claim 21 (depends on 17)

The apparatus of claim 17 said processor to find a minimum and maximum compression for a given channel.

### Claim 22 (depends on 21)

The apparatus of claim 21 said processor to find a compressed size metric by summing the ceil of the maximum minus the minimum value for the channel.

### Claim 23 (depends on 22)

The apparatus of claim 22 said processor to select M representative colors of a tile, performing the color transform and then computing the compressed size metric only on the M colors.

### Claim 24 (depends on 17)

The apparatus of claim 17 said processor to select an identity transform as one of said two transforms.

### Claim 25 (depends on 17)

The apparatus of claim 17 including a display communicatively coupled to the processor.

### Claim 26 (depends on 17)

The apparatus of claim 17 including a battery coupled to the processor.

### Claim 27 (depends on 17)

The apparatus of claim 17 including firmware and a module to update said firmware.
