# US 2021/0082154 A1 · Context-aware compression with quantization of hierarchical transform matrices

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

- Number: US 2021/0082154 A1
- Document ID: US20210082154A1
- Status: Published application
- Kind: A1
- Application number: 17/003,040
- Filed: 2020-08-26
- Published: 2021-03-18
- Earliest claimed: 2018-12-28
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: Carson BROWNLEE; Carsten BENTHIN; Joshua BARCZAK; Kai XIAO; Michael APODACA; Prasoonkumar SURTI; Thomas RAOUX
- Web page: https://patentgrep.com/patent/US20210082154A1

## CPC

- G06T 9/40: Tree coding, e.g. quadtree, octree
- G06T 1/60: Memory management
- 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)
- G06T 9/002: {using neural networks}
- G06T 15/06: Ray-tracing
- G06T 15/20: Perspective computation
- G06T 2210/21: Collision detection, intersection
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

Apparatus and method for context-aware compression. For example, one embodiment of an apparatus comprises: ray traversal/intersection circuitry to traverse rays through a hierarchical acceleration data structure to identify intersections between rays and primitives of a graphics scene; matrix compression circuitry/logic to compress hierarchical transformation matrices to generate compressed hierarchical transformation matrices by quantizing N-bit floating point data elements associated with child transforms of the hierarchical transformation matrices to variable-bit floating point numbers or integers comprising offsets from a parent transform of the child transform; and an instance processor to generate a plurality of instances of one or more base geometric objects in accordance with the compressed hierarchical transformation matrices.

## Claims

### Claim 1

(canceled)

### Claim 2

An apparatus comprising:
a graphics processing unit (GPU) comprising a non-transitory machine-readable medium containing code, which when executed by the GPU, capable of causing the GPU to perform:
generating hierarchical transformation matrices to transform one or more base geometric objects of a graphics scene;
compressing the hierarchical transformation matrices to generate compressed hierarchical transformation matrices by quantizing N-bit floating point data elements associated with a child transform to variable-bit floating point numbers or integers comprising offsets from a parent transform of the child transform; and
generating a plurality of instances of the one or more base geometric objects based on the compressed hierarchical transformation matrices, wherein the plurality of instances of the one or more base geometric objects are used to render the graphics scene.

### Claim 3 (depends on 2)

The apparatus of claim 2, wherein a level of precision with which to quantize one or more of the N-bit floating point data elements is based on an error tolerance of the graphics scene.

### Claim 4 (depends on 3)

The apparatus of claim 3, wherein the GPU is to be caused to further perform:
traversing rays through a hierarchical acceleration data structure to identify intersections between rays and primitives of a graphics scene.

### Claim 5 (depends on 4)

The apparatus of claim 4, wherein current context parameters associated with the ray traversal are analyzed to determine the level of precision with which to quantize one or more of the N-bit floating point data elements.

### Claim 6 (depends on 5)

The apparatus of claim 5, wherein the context parameters are to be evaluated to determine the error tolerance, the error tolerance based on at least one of a distance from a camera to primitives of the graphics scene or a type of ray being traversed.

### Claim 7 (depends on 6)

The apparatus of claim 6, wherein the context parameters are to be evaluated at one of creation time of the graphics scene and runtime.

### Claim 8 (depends on 7)

The apparatus of claim 7, wherein when the context parameters are evaluated at the graphics scene creation time, the evaluation is associated with a particular one or more objects in a region of interest and wherein when the context parameters are evaluated at the runtime, the evaluation is based on the distance.

### Claim 9 (depends on 2)

The apparatus of claim 2, wherein compressing the hierarchical transformation matrices comprises procedurally generating the compressed hierarchical transformation matrices based on the hierarchical transformation matrices.

### Claim 10 (depends on 2)

The apparatus of claim 2, wherein compressing the hierarchical transformation matrices comprises selecting at least one of:
only a subset of the hierarchical transformation matrices and only a subset of data elements of the hierarchical transformation matrices.

### Claim 11

A method comprising:
generating hierarchical transformation matrices to transform one or more base geometric objects of a graphics scene;
compressing the hierarchical transformation matrices to generate compressed hierarchical transformation matrices by quantizing N-bit floating point data elements associated with a child transform to variable-bit floating point numbers or integers comprising offsets from a parent transform of the child transform; and
generating a plurality of instances of the one or more base geometric objects based on the compressed hierarchical transformation matrices, wherein the plurality of instances of the one or more base geometric objects are used to render the graphics scene.

### Claim 12 (depends on 11)

The method of claim 11, wherein a level of precision with which to quantize one or more of the N-bit floating point data elements is based on an error tolerance of the graphics scene.

### Claim 13 (depends on 12)

The method of claim 12, wherein the method further comprises:
traversing rays through a hierarchical acceleration data structure to identify intersections between rays and primitives of a graphics scene.

### Claim 14 (depends on 13)

The method of claim 13, wherein current context parameters associated with the ray traversal are analyzed to determine the level of precision with which to quantize one or more of the N-bit floating point data elements.

### Claim 15 (depends on 14)

The method of claim 14, wherein the context parameters are to be evaluated to determine the error tolerance, the error tolerance based on at least one of a distance from a camera to primitives of the graphics scene or a type of ray being traversed.

### Claim 16 (depends on 15)

The method of claim 15, wherein the context parameters are to be evaluated at one of creation time of the graphics scene and runtime.

### Claim 17 (depends on 16)

The method of claim 16, wherein when the context parameters are evaluated at the graphics scene creation time, the evaluation is associated with a particular one or more objects in a region of interest and wherein when the context parameters are evaluated at the runtime, the evaluation is based on the distance.

### Claim 18 (depends on 11)

The method of claim 11, wherein compressing the hierarchical transformation matrices comprises procedurally generating the compressed hierarchical transformation matrices based on the hierarchical transformation matrices.

### Claim 19 (depends on 11)

The method of claim 11, wherein compressing the hierarchical transformation matrices comprises selecting at least one of:
only a subset of the hierarchical transformation matrices and
only a subset of data elements of the hierarchical transformation matrices.

### Claim 20

A non-transitory machine-readable medium having program code stored thereon which, when executed by a machine, causes the machine to perform:
generating hierarchical transformation matrices to transform one or more base geometric objects of a graphics scene;
compressing the hierarchical transformation matrices to generate compressed hierarchical transformation matrices by quantizing N-bit floating point data elements associated with a child transform to variable-bit floating point numbers or integers comprising offsets from a parent transform of the child transform; and
generating a plurality of instances of the one or more base geometric objects based on the compressed hierarchical transformation matrices, wherein the plurality of instances of the one or more base geometric objects are used to render the graphics scene.

### Claim 21 (depends on 20)

The non-transitory machine-readable medium of claim 20, wherein a level of precision with which to quantize one or more of the N-bit floating point data elements is based on an error tolerance of the graphics scene.
