ArticleslgStudy

computer science

Adaptive scalable texture compression

Adaptive scalable texture compression is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Adaptive scalable texture compression rather than just read about it. In short: Adaptive scalable texture compression (ASTC) is a lossy block-based texture compression algorithm developed by Jørn Nystad et al. of ARM Ltd. and AMD. Full details of ASTC were first presented publicly at the High Performance Graphics 2012 conference, in a paper by Olson et al. entitled "Adaptive Scalable Texture Compression".

Adaptive scalable texture compression — main illustration
Adaptive scalable texture compression — illustration

Key takeaways

  • Adaptive scalable texture compression belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Adaptive scalable texture compression to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Adaptive scalable texture compression from memory before moving on to harder problems.

Reference excerpt

Adaptive scalable texture compression (ASTC) is a lossy block-based texture compression algorithm developed by Jørn Nystad et al. of ARM Ltd. and AMD. Full details of ASTC were first presented publicly at the High Performance Graphics 2012 conference, in a paper by Olson et al. entitled "Adaptive Scalable Texture Compression". ASTC was adopted as an official extension for both OpenGL and OpenGL ES by the Khronos Group on 6 August 2012.

Hardware support

On Linux, all Gallium 3D drivers have a software fallback since 2018, so ASTC can be used on any AMD Radeon GPU.

Overview The method of compression is an evolution of Color Cell Compression with features including numerous closely spaced fractional bit rates, multiple color formats, support for high-dynamic-range (HDR) textures, and real 3D texture support. The stated primary design goal for ASTC is to enable content developers to have better control over the space/quality tradeoff inherent in any lossy compression scheme. With ASTC, the ratio between adjacent bit rates is of the order of 25%, making it less expensive to increase quality for a given texture. Encoding different assets often requires different color formats. ASTC allows a wide choice of input formats, including luminance-only, luminance-alpha, RGB, RGBA, and modes optimized for surface normals. The designer can thus choose the optimal format without having to support multiple different compression schemes. The choices of bit rate and color format do not constrain each other, so that it's possible to choose from a large number of combinations. Despite this flexibility, ASTC achieves better peak signal-to-noise ratios than PVRTC, S3TC, and ETC2 when measured at 2 and 3.56 bits per texel. For HDR textures, it produces results comparable to BC6H at 8 bits per texel.

Technical features The algorithm decouples the resolution of the weight grid from the texels, allowing each block to have a grid of up to 64 weights. These weights are then interpolated to determine the values for each texel using bilinear or trilinear interpolation. In dual-plane mode, two separate weight values are specified for each texel. One color channel can be designated as the second plane and interpolated using an independent weight grid, selected via a 2-bit component selector. This is particularly useful for uncorrelated channels like alpha. Void-extent blocks are also available to efficiently encode constant color areas. A fundamental component of ASTC is Bounded Integer Sequence Encoding (BISE), a low-level coding scheme that allows sequences of data values to be represented using a fractional number of bits per value. This is used for efficient non-power-of-two quantization of both color endpoints and weights. ASTC also supports multi-partitioning, allowing a block to be divided into up to four spatial subsets, each with its own color endpoints. For high-dynamic-range (HDR) textures, it uses a pseudo-logarithmic representation to maintain consistent precision across a wide range of values.

Supported color formats ASTC supports anywhere from 1 to 4 channels. In modes with 2–4 channels, one of the channels can be treated as "uncorrelated" and be given a separate gradient for prediction. In any case, the data is decoded as RGBA.

Each of these may be encoded as low or high dynamic range. The encoder selects color formats independently for each block in the image. In practice, ASTC may be used to represent data other than color. For example, the L+A format may be used to represent "X+Y", a normal map with uncorrelated components; the "RG+B" format can be used to represent XY+Z. The astc-encoder software supplied by ARM supports "X+Y" generation with the -normal option. The shader is expected to treat the decoded output as a swizzled texture.

2D block footprints and bit rates ASTC textures are compressed using a fixed block size of 128 bits, but with a variable block footprint ranging from 4×4 texels up to 12×12 texels. The available bit rates thus range from 8 bits per texel down to 0.89 bits per texel, with fine steps in between.

In the above table, the "Increment" column shows the additional storage required to store a texture using this bit rate, as compared to the next smallest. Block footprints are presented as width × height.

3D block footprints and bit rates ASTC 3D textures are compressed using a fixed block size of 128 bits, as for 2D but with a variable block footprint ranging from 3×3×3 texels up to 6×6×6 texels. The available bit rates thus range from 4.74 bits per texel down to 0.59 bits per texel, with fine steps in between.

Block footprints are presented as width × height × depth.

Universal ASTC UASTC (Universal ASTC) is a subset of ASTC specified by Binomial. The format is used in their Basis Universal "supercompressed" GPU texture format, which adds extra compression over compressed texture formats such as UASTC and ETC1S and allows for efficient conversion from UASTC/ETC1S to compressed texture formats directly usable by GPUs. UASTC, as part of Basis Universal, is part of the KTX (Khronos Texture) file format.

See also 3Dc

References

External links High Performance Graphics 2012 ASTC Texture Compression: ARM Pushes the Envelope in Graphics Technology ARM Unveils Details of ASTC Texture Compression at HPG Conference ASTC Evaluation Codec from ARM Khronos ASTC Full Profile Extension Specification

Illustrations

Adaptive scalable texture compression: Detail from example image, after compression at 8, 3.56 and 2 bits/pixel
Detail from example image, after compression at 8, 3.56 and 2 bits/pixel

Worked examples

Example 1 — a first encounter with Adaptive scalable texture compression

Start with the simplest possible case. Write down what Adaptive scalable texture compression claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Adaptive scalable texture compression before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Adaptive scalable texture compression ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Adaptive scalable texture compression

In research
Adaptive scalable texture compression appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Adaptive scalable texture compression in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Adaptive scalable texture compression is common in secondary-school and first-year university syllabi. It links to neighbouring topics AMD technologies, Data compression, Lossy compression algorithms, so understanding it makes those chapters shorter.
In everyday life
Look for Adaptive scalable texture compression outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Adaptive scalable texture compression” →

How to study Adaptive scalable texture compression in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Adaptive scalable texture compression means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Adaptive scalable texture compression out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Adaptive scalable texture compression in simple terms?

Adaptive scalable texture compression (ASTC) is a lossy block-based texture compression algorithm developed by Jørn Nystad et al. of ARM Ltd. and AMD. Full details of ASTC were first presented publicly at the High Performance Graphics 2012 conference, in a paper by Olson et al. entitled "Adaptive S…

Why does Adaptive scalable texture compression matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Adaptive scalable texture compression?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Adaptive scalable texture compression.

Tags

  • AMD technologies
  • Data compression
  • Lossy compression algorithms
  • Texture compression

Keep exploring