# US 2016/0364899 A1 · Level of Detail Offset Determination

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

- Number: US 2016/0364899 A1
- Document ID: US20160364899A1
- Status: Published application
- Kind: A1
- Application number: 14/735,707
- Filed: 2015-06-10
- Published: 2016-12-15
- Earliest claimed: 2015-06-10
- Assignees: Apple Inc.
- Applicants: Apple Inc.
- Inventors: Abdulkadir U. Diril; Adam T. Moerschell; Anthony P. DeLaurier
- Web page: https://patentgrep.com/patent/US20160364899A1

## CPC

- G06T 15/04: Texture mapping
- G06F 3/14: Digital output to display device {; Cooperation and interconnection of the display device with other functional units}
- G06T 1/20: Processor architectures; Processor configuration, e.g. pipelining
- G09G 5/14: Display of multiple viewports
- G09G 5/363: {Graphics controllers}
- G09G 5/39: Control of the bit-mapped memory
- G09G 5/393: Arrangements for updating the contents of the bit-mapped memory
- G09G 5/395: Arrangements specially adapted for transferring the contents of the bit-mapped memory to the screen (G09G5/399 takes precedence)
- G06T 2200/28: involving image processing hardware
- G06T 2210/36: Level of detail
- G09G 2330/021: Power management, e.g. power saving
- G09G 2340/04: Changes in size, position or resolution of an image
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G09G: ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION (arrangements for transferring data between digital computers and displays G06F3/14; static indicating arrangements comprising an association of a number of separate sources or light control cells G09F9/00; static indicating arrangements comprising integral associations of a number of light sources H01J, H01K, H10H, H05B33/12; scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission, details thereof H04N1/00)

## Abstract

Techniques are disclosed relating to determining the location of a specified level of detail for a graphics texture. In some embodiments, an apparatus includes texture processing circuitry configured to receive information specifying a particular mipmap in a chain of stored mipmaps for a graphics texture and determine an offset address for the particular mipmap. In these embodiments, the texture processing circuitry is configured to determine the offset address by operating on a value that indicates a greatest potential chain size for chains of mipmaps in a graphics processing element. In these embodiments, the operating includes masking upper bits of the value based on a size of the texture and masking lower bits of the value based on a position of the specified mipmap in the chain of stored mipmaps. Disclosed techniques may reduce power consumption and/or area of circuitry configured to determine the offset.

## Claims

### Claim 1

An apparatus, comprising:
texture processing circuitry configured to:
receive information specifying a particular mipmap in a chain of stored mipmaps for a graphics texture; and
determine an offset address for the particular mipmap by operating on a value that is indicative of a greatest potential chain size for chains of mipmaps in a graphics processing element, including:
masking upper bits of the value based on a size of the texture; and
masking lower bits of the value based on a position of the specified mipmap in the chain of stored mipmaps.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the texture processing circuitry is further configured to:
access the particular mipmap based on the offset address; and
determine pixel attributes for one or more pixels in one or more frames of graphics data based on texel data accessed in the mipmap.

### Claim 3 (depends on 1)

The apparatus of claim 1, further comprising circuitry configured to determine the particular mipmap based on a position of an object in a graphics frame.

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein the masking is performed by ANDing the greatest potential chain size with a mask value.

### Claim 5 (depends on 1)

The apparatus of claim 1, wherein the texture processing circuitry is further configured to:
left-shift the masked value in response to determining that a sum of side exponent values for the texture is an odd number.

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein the texture processing circuitry is further configured to:
add a second value to the masked value, wherein the second value is determined based on:
a number of mipmaps in the chain having a single texel in a first dimension and more than one texel in a second dimension; and
the position of the specified mipmap in the chain of stored mipmaps.

### Claim 7 (depends on 6)

The apparatus of claim 6, wherein the texture processing circuitry is configured to add the second value to the masked value by ORing bits of the second value with bits of the masked value.

### Claim 8 (depends on 1)

The apparatus of claim 1, wherein the texture processing circuitry is further configured to:
operate on a result of the masking based on a number of 1×1 mipmaps for the texture.

### Claim 9 (depends on 1)

The apparatus of claim 1, wherein the texture processing circuitry is further configured to:
operate on a result of the masking based on mipmaps for the texture having a size that is smaller than a threshold size.

### Claim 10

A method, comprising:
determining an offset address for a specified mipmap in a chain of stored mipmaps for a graphics texture, including;
operating on a value indicative of a greatest potential chain size for chains of mipmaps in a graphics processing element, including:
masking upper bits of the value based on a size of the texture; and
masking lower bits of the value based on a position of the specified mipmap in the chain of stored mipmaps;
wherein the operating converts the greatest potential value to the offset address.

### Claim 11 (depends on 10)

The method of claim 10, further comprising:
accessing the mipmap based on the offset address.

### Claim 12 (depends on 10)

The method of claim 10, further comprising:
determining the particular mipmap based on a position of an object in a graphics frame.

### Claim 13 (depends on 10)

The method of claim 10, further comprising:
left-shifting the masked value based on a least significant bit of a sum of side exponent values for the texture.

### Claim 14 (depends on 10)

The method of claim 10, further comprising:
adding a second value to the masked value, wherein the second value is determined based on:
a difference between a large side exponent and a small side exponent; and
the position of the specified mipmap in the chain of stored mipmaps.

### Claim 15 (depends on 10)

The method of claim 10, further comprising determining the second value, including:
masking upper bits of a third value based on the difference between the large side exponent and the small side exponent, wherein the third value is indicative of a greatest potential size of a portion of mipmap chains in the graphics unit for which mipmap sizes decrease in only a single dimension; and
masking lower bits of the third value based on the position of the specified mipmap in the chain of stored mipmaps.

### Claim 16

A graphics unit, comprising:
first circuitry configured to specify a particular level of detail corresponding to a mipmap in a chain of stored mipmaps for a graphics texture;
texture processing circuitry configured to determine an offset address for the mipmap, wherein, to determine the offset address, the texture processing circuitry is configured to mask bits of a value that indicates a greatest potential chain size for chains of mipmaps that the graphics unit is configured to store.

### Claim 17 (depends on 16)

The graphics unit of claim 16, wherein the texture processing circuitry is configured to:
mask upper bits of the value based on a difference between a greatest potential texture size for the graphics unit and a size of the texture; and
mask lower bits of the value based on a position of the specified mipmap in the chain of stored mipmaps.

### Claim 18 (depends on 16)

The graphics unit of claim 16, wherein the texture processing circuitry is configured to add to a result of the masking based on a number of 1×1 mipmaps in the texture being greater than one.

### Claim 19 (depends on 16)

The graphics unit of claim 16, wherein the texture processing circuitry is configured to adjust a result of the masking based on one or more mipmaps for the texture having a size that is smaller than a threshold size.

### Claim 20 (depends on 16)

The graphics unit of claim 16, wherein the texture processing circuitry is configured to:
add a second value to the masked value, wherein the second value is determined based on:
a difference between a first number and a second number, wherein the first number is a number of mipmaps for the texture with different sizes in a first dimension and the second number is a number of mipmaps for the texture with different sizes in a second dimension; and
the position of the specified mipmap in the chain of stored mipmaps.
