# US 2013/0293565 A1 · Color buffer and depth buffer compression

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

- Number: US 2013/0293565 A1
- Document ID: US20130293565A1
- Status: Published application
- Kind: A1
- Application number: 13/873,897
- Filed: 2013-04-30
- Published: 2013-11-07
- Earliest claimed: 2012-05-01
- Assignees: QUALCOMM Incorporated
- Applicants: Qualcomm Incorporated
- Inventors: Jukka-Pekka Arvo
- Web page: https://patentgrep.com/patent/US20130293565A1

## CPC

- G06T 9/00: Image coding (bandwidth or redundancy reduction for static pictures H04N1/41; coding or decoding of static colour picture signals H04N1/64; methods or arrangements for coding, decoding, compressing or decompressing digital video signals H04N19/00)
- 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/103: Selection of coding mode or of prediction mode
- H04N 19/14: Coding unit complexity, e.g. amount of activity or edge presence estimation (H04N19/146 takes precedence)
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/186: the unit being a colour or a chrominance component
- H04N 19/423: characterised by memory arrangements (H04N19/433 takes precedence)
- H04N 19/593: involving spatial prediction techniques
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

In an example, a method of coding graphics data comprising a plurality of pixels includes performing, by a graphics processing unit (GPU), multi-sample anti-aliasing to generate one or more sample values for each pixel of the plurality of pixels. The method may also include determining whether pixels comprise edge pixels, where the determination comprises identifying, for each pixel, differing sample values. The method may also include encoding the pixels based on the edge pixel determination.

## Claims

### Claim 1

A method of encoding graphics data comprising a plurality of pixels, the method comprising:
determining, by a graphics processing unit (GPU), one or more sample values for each pixel of the plurality of pixels;
determining whether each pixel comprises an edge pixel, wherein the determination comprises identifying, for each pixel, differing sample values of the one or more sample values for the respective pixel; and
encoding the pixels based on the edge pixel determination.

### Claim 2 (depends on 1)

The method of claim 1, further comprising storing the encoded pixel data to a buffer external to the GPU.

### Claim 3 (depends on 2)

The method of claim 2, further comprising storing the encoded pixel data to a block cache, and wherein storing the encoded pixel data comprises writing out contents of the block cache to the buffer.

### Claim 4 (depends on 1)

The method of claim 1, wherein determining the one or more sample values comprises performing multi-sample anti-aliasing to generate the one or more sample values for each pixel of the plurality of pixels.

### Claim 5 (depends on 1)

The method of claim 1, wherein the one or more sample values comprise color values and wherein determining whether pixels comprise edge pixels comprises identifying, for each pixel, whether the sample values for the pixel include different color values.

### Claim 6 (depends on 5)

The method of claim 5, wherein encoding the pixels further comprises:
generating an edge mask that identifies edge pixels in a block of pixels;
generating a base color value for the block of pixels; and
generating delta values between color sample values of each pixel of the block of pixels and the base color for the block of pixels.

### Claim 7 (depends on 1)

The method of claim 1, wherein the one or more sample values comprise depth values and wherein determining whether pixels comprise edge pixels comprises identifying, for each pixel, whether the sample values for the pixel include different depth values.

### Claim 8 (depends on 7)

The method of claim 7, wherein encoding the pixels further comprises:
generating an edge mask that identifies edge pixels in a block of pixels;
generating a base depth value for the block of pixels; and
generating delta values between depth sample values of each pixel of the block of pixels and the base depth value for the block of pixels.

### Claim 9

An apparatus for encoding graphics data comprising a plurality of pixels, the apparatus comprising one or more processors configured to:
determine one or more sample values for each pixel of the plurality of pixels;
determine whether each pixel comprises an edge pixel, wherein the determination comprises identifying, for each pixel, differing sample values of the one or more sample values for the respective pixel; and
encode the pixels based on the edge pixel determination.

### Claim 10 (depends on 9)

The apparatus of claim 9, wherein the one or more processors are further configured to store the encoded pixel data to a buffer external to the GPU.

### Claim 11 (depends on 10)

The apparatus of claim 10, wherein the one or more processors are further configured to store the encoded pixel data to a block cache, and wherein storing the encoded pixel data comprises writing out contents of the block cache to the buffer.

### Claim 12 (depends on 9)

The apparatus of claim 9, wherein to determine the one or more sample values, the one or more processors are configured to perform multi-sample anti-aliasing to generate the one or more sample values for each pixel of the plurality of pixels.

### Claim 13 (depends on 9)

The apparatus of claim 9, wherein the one or more sample values comprise color values and wherein to determine whether pixels comprise edge pixels, the one or more processors are configured to identify, for each pixel, whether the sample values for the pixel include different color values.

### Claim 14 (depends on 13)

The apparatus of claim 13, wherein to encode the pixels, the one or more processors are configured to:
generate an edge mask that identifies edge pixels in a block of pixels;
generate a base color value for the block of pixels; and
generate delta values between color sample values of each pixel of the block of pixels and the base color for the block of pixels.

### Claim 15 (depends on 9)

The apparatus of claim 9, wherein the one or more sample values comprise depth values and wherein to determine whether pixels comprise edge pixels, the one or more processors are configured to identify, for each pixel, whether the sample values for the pixel include different depth values.

### Claim 16 (depends on 15)

The apparatus of claim 15, wherein to encode the pixels, the one or more processors are configured to:
generate an edge mask that identifies edge pixels in a block of pixels;
generate a base depth value for the block of pixels; and
generate delta values between depth sample values of each pixel of the block of pixels and the base depth value for the block of pixels.

### Claim 17

An apparatus for encoding graphics data comprising a plurality of pixels, the apparatus comprising:
means for determining one or more sample values for each pixel of the plurality of pixels;
means for determining whether each pixel comprises an edge pixel, wherein the determination comprises identifying, for each pixel, differing sample values of the one or more sample values for the respective pixel; and
means for encoding the pixels based on the edge pixel determination.

### Claim 18 (depends on 17)

The apparatus of claim 17, further comprising means for storing the encoded pixel data to a buffer external to the GPU.

### Claim 19 (depends on 18)

The apparatus of claim 18, further comprising means for storing the encoded pixel data to a block cache, and wherein the means for storing the encoded pixel data comprises means for writing out contents of the block cache to the buffer.

### Claim 20 (depends on 17)

The apparatus of claim 17, wherein the means for determining the one or more sample values comprises means for performing multi-sample anti-aliasing to generate the one or more sample values for each pixel of the plurality of pixels.

### Claim 21 (depends on 17)

The apparatus of claim 17, wherein the one or more sample values comprise color values and wherein the means for determining whether pixels comprise edge pixels comprises means for identifying, for each pixel, whether the sample values for the pixel include different color values.

### Claim 22 (depends on 21)

The apparatus of claim 21, wherein the means for encoding the pixels further comprises:
means for generating an edge mask that identifies edge pixels in a block of pixels;
means for generating a base color value for the block of pixels; and
means for generating delta values between color sample values of each pixel of the block of pixels and the base color for the block of pixels.

### Claim 23 (depends on 17)

The apparatus of claim 17, wherein the one or more sample values comprise depth values and wherein the means for determining whether pixels comprise edge pixels comprises means for identifying, for each pixel, whether the sample values for the pixel include different depth values.

### Claim 24 (depends on 23)

The apparatus of claim 23, wherein the means for encoding the pixels further comprises:
means for generating an edge mask that identifies edge pixels in a block of pixels;
means for generating a base depth value for the block of pixels; and
means for generating delta values between depth sample values of each pixel of the block of pixels and the base depth value for the block of pixels.

### Claim 25

A non-transitory computer-readable medium having instructions stored thereon that, when executed, cause one or more processors to:
determine one or more sample values for each pixel of the plurality of pixels;
determine whether each pixel comprises an edge pixel, wherein the determination comprises identifying, for each pixel, differing sample values of the one or more sample values for the respective pixel; and
encode the pixels based on the edge pixel determination.

### Claim 26 (depends on 25)

The non-transitory computer-readable medium of claim 25, wherein the instructions cause the one or more processors to store the encoded pixel data to a buffer external to the GPU.

### Claim 27 (depends on 26)

The non-transitory computer-readable medium of claim 26, wherein the instructions cause the one or more processors to store the encoded pixel data to a block cache, and wherein storing the encoded pixel data comprises writing out contents of the block cache to the buffer.

### Claim 28 (depends on 25)

The non-transitory computer-readable medium of claim 25, wherein to determine the one or more sample values, the instructions cause the one or more processors to perform multi-sample anti-aliasing to generate the one or more sample values for each pixel of the plurality of pixels.

### Claim 29 (depends on 25)

The non-transitory computer-readable medium of claim 25, wherein the one or more sample values comprise color values and wherein to determine whether pixels comprise edge pixels, the instructions cause the one or more processors to identify, for each pixel, whether the sample values for the pixel include different color values.

### Claim 30 (depends on 29)

The non-transitory computer-readable medium of claim 29, wherein to encode the pixels, the instructions cause the one or more processors to:
generate an edge mask that identifies edge pixels in a block of pixels;
generate a base color value for the block of pixels; and
generate delta values between color sample values of each pixel of the block of pixels and the base color for the block of pixels.

### Claim 31 (depends on 25)

The non-transitory computer-readable medium of claim 25, wherein the one or more sample values comprise depth values and wherein to determine whether pixels comprise edge pixels, the instructions cause the one or more processors to identify, for each pixel, whether the sample values for the pixel include different depth values.

### Claim 32 (depends on 31)

The non-transitory computer-readable medium of claim 31, wherein to encode the pixels, the instructions cause the one or more processors to:
generate an edge mask that identifies edge pixels in a block of pixels;
generate a base depth value for the block of pixels; and
generate delta values between depth sample values of each pixel of the block of pixels and the base depth value for the block of pixels.
