Adaptive scalable texture compression

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.[1]

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".[2]

ASTC was adopted as an official extension for both OpenGL and OpenGL ES by the Khronos Group on 6 August 2012.[3]

Hardware support

Vendor/product Profile Generation
AMD Radeon ?
Apple GPUs LDR only A8 through A12[4]
Full Since A13[4]
Arm Mali Full Since Mali-T620/T720/T820[5]
Imagination PowerVR Full Since Series6XT[6]
Intel GPUs Full[7] From Skylake[8] ; Removed in Arc / Gen12.5[9]
Nvidia Tegra ? Since Kepler[10]
Qualcomm Adreno Full LDR since 4xx series,[11] at least 7xx series support GL_KHR_texture_compression_astc_hdr extension on Android 13

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

Overview

Example image prior to compression
Detail from example image, after compression at 8, 3.56 and 2 bits/pixel

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.[2] For HDR textures, it produces results comparable to BC6H at 8 bits per texel.[2]

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.[13]

Channel count RGBA interpretation Description
1 L Luminance-only: RGB set to same value in decoded buffer, alpha set to 1
2 LA Luminance with transparency
2 L+A Luminance with uncorrelated transparency
3 RGB Full color, alpha set to 1
3 RG+B Full color with uncorrelated blue (not actually used for color purposes)
4 RGBA Full color with transparency
4 RGB+A Full color with uncorrelated transparency

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.[14] 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.[15]

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.

Block footprint Bit rate Increment
4×4 8.00 25%
5×4 6.40 25%
5×5 5.12 20%
6×5 4.27 20%
6×6 3.56 14%
8×5 3.20 20%
8×6 2.67 5%
10×5 2.56 20%
10×6 2.13 7%
8×8 2.00 25%
10×8 1.60 25%
10×10 1.28 20%
12×10 1.07 20%
12×12 0.89

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 footprint Bit rate Increment
3×3×3 4.74 33%
4×3×3 3.56 33%
4×4×3 2.67 33%
4×4×4 2.00 25%
5×4×4 1.60 25%
5×5×4 1.28 50%
5×5×5 1.02 20%
6×5×5 0.85 20%
6×6×5 0.71 20%
6×6×6 0.59

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.[16] UASTC, as part of Basis Universal, is part of the KTX (Khronos Texture) file format.[17]

See also

References

  1. ^ "Adaptive Scalable Texture Compression (ASTC) technology developed by ARM and AMD".
  2. ^ a b c "Adaptive Scalable Texture Compression" (PDF). HPG 2012. Retrieved 2012-06-27.
  3. ^ "Khronos Releases ATSC Next-Generation Texture Compression Specification". The Khronos Group Inc. 2012-08-06. Retrieved 2012-08-06.
  4. ^ a b "Metal Feature Set Tables" (PDF). Apple Inc. 2020-10-21. Retrieved 2021-08-31.
  5. ^ "Arm Mali GPU Datasheet" (PDF). Arm Limited. 2021. Retrieved 2021-08-31.
  6. ^ "Imagination's new generation PowerVR Series6XT architecture delivers up to 50% higher performance and advanced power management". Imagination Technologies. 2014-01-06. Retrieved 2021-08-21.
  7. ^ "Intel Skylake Adds ASTC Texture Compression, Open-Source Support Coming". Phoronix. 2015-05-20. Retrieved 2021-08-31.
  8. ^ "Graphics API Developer's Guide For 6th Generation Intel Core Processors". Archived from the original on 2017-07-20.
  9. ^ Michael Larabel (2021-10-07). "Intel Removes ASTC Hardware From Gen12.5+ Graphics". Phoronix. Retrieved 2022-07-10.
  10. ^ "Vulkan API" (PDF).
  11. ^ "Qualcomm Adreno OpenGL ES Developer Guide" (PDF). Qualcomm. 2015-05-01. Retrieved 2021-08-31.
  12. ^ "[Mesa-dev] [PATCH 0/7] ASTC texture compression for all Gallium drivers". Lists.freedesktop.org. 23 July 2018. Retrieved 2022-09-01.
  13. ^ "Khronos Data Format Specification v1.1 rev 9". registry.khronos.org.
  14. ^ "Khronos Releases ASTC Next-Generation Texture Compression Specification". The Khronos Group. 6 August 2012.
  15. ^ "Effective ASTC Encoding [astc-encoder/Docs/Encoding.md at 2042cfc1a507c0414fb41dce1603ed53c503a0da · ARM-software/astc-encoder]". GitHub. The best way to store normal maps using ASTC is similar to the scheme used by BC5; store the X and Y components of a unit-length normal. The Z component of the normal can be reconstructed in shader code based on the knowledge that the vector is unit length. To encode this we need to store only two input components in the compressed data, and therefore use the rrrg coding swizzle to align the data with the ASTC luminance+alpha endpoint.
  16. ^ "UASTC Texture Specification". GitHub.
  17. ^ "KTX - GPU Texture Container Format". The Khronos Group. 16 April 2021.

Read other articles:

本條目存在以下問題,請協助改善本條目或在討論頁針對議題發表看法。 此條目需要补充更多来源。 (2018年3月17日)请协助補充多方面可靠来源以改善这篇条目,无法查证的内容可能會因為异议提出而被移除。致使用者:请搜索一下条目的标题(来源搜索:羅生門 (電影) — 网页、新闻、书籍、学术、图像),以检查网络上是否存在该主题的更多可靠来源(判定指引)。 �...

 

Country in Oceania This article is about the country. For the continent, see Australia (continent). For other uses, see Australia (disambiguation). Not to be confused with Australasia, Austrasia, or Austria. Commonwealth of Australia Flag Coat of arms Anthem: Advance Australia Fair[N 1]   Commonwealth of Australia   Australian territorial claim in AntarcticaCapitalCanberra35°18′29″S 149°07′28″E / 35.30806°S 149.12444°E / -35...

 

Sungai KrishnaCiri-ciri fisikMuara sungaiTeluk Bengal, Andhra Pradesh, IndiaPanjang1300 km Sungai Krishna (Sanskerta: कृष्णा नदी, Kannada: ಕೃಷ್ಣಾ ನದಿ, Telugu: కృష్ణా నది), adalah salah satu sungai terpanjang di India. Sungai ini memiliki panjang 1300 km. Kuil seperti kuil Dattadeva dan Kuil Sangameshwar Shiwa di Haripur dan Kuil Ramling terletak di tepi sungai Krishna. Pranala luar (Inggris) River Krishna Diarsipkan 2010-12-27 di Wayb...

Metro KyivStasiun OsokorkyInfoPemilikDewan Kota KyivWilayahKyiv, UkrainaJenisAngkutan cepatJumlah jalur3[1][2]Jumlah stasiun52[1][2] (2 dibangun)Penumpang harian1,32 juta (2016)[3]Penumpang tahunan484,56 juta (2016)[2]Situs webmetro.kyiv.ua (Ukraina)OperasiDimulai6 November 1960OperatorKyivskyi MetropolitenJumlah gerbong820 armada[2] (dalam 130 kereta)TeknisPanjang sistem67,56 km (41,98 mi)[1][2]Lebar sepur1.520...

 

French pre-WW1 racing and reconnaissance aircraft Nieuport IV Nieuport IV.G of the Air Battalion Royal Engineers Role Sporting and military monoplaneType of aircraft National origin France Manufacturer Nieuport First flight 1911 Introduction 1911 Status retired Primary users Imperial Russian Air ServiceAéronautique MilitaireCorpo Aeronautico Militare Produced 1911–1915 Developed from Nieuport III Variants Nieuport VI Replica at Nizhny Novgorod of the Nieuport IV.G in which Nesterov pe...

 

Ukrainian athlete Viktoria PosmitnaPersonal informationFull namePosmitna Viktoria VasylivnaBorn (1966-04-07) 7 April 1966 (age 58)Kyiv, Ukrainian SSR, USSRSportSportpowerlifting, bodybuilding, fitness Viktoria Vasylivna Posmitna (Larsson) (Ukrainian: Вікторія Василівна Посмітна (Ларссон); born 7 April 1966 in Kyiv, Ukrainian SSR) – Ukrainian athlete (powerlifting, bodybuilding, fitness), coach, TV host.[1] Honored Master of Sports of Ukraine...

Questa voce sull'argomento programmi televisivi italiani è solo un abbozzo. Contribuisci a migliorarla secondo le convenzioni di Wikipedia. Segui i suggerimenti del progetto di riferimento. Aiuto è vacanzaSigla del programmaPaeseItalia Anno1969 Generevarietà Lingua originaleitaliano RealizzazioneConduttoreWalter Chiari, Enrico Simonetti, Isabella Biagini RegiaEros Macchi Casa di produzioneRai Rete televisivaProgramma Nazionale Modifica dati su Wikidata · Manuale Aiuto è v...

 

FR F1 FR F1 Jenis Senapan runduk Negara asal  Prancis Sejarah produksi Produsen MAS GIAT Industries Diproduksi 1966-1980 Spesifikasi Berat 5,3 kg Panjang 1200 mm Panjang laras 650 mm Peluru 7.5×54mm French kemudian 7.62x51mm NATO (FR F2) Mekanisme Bolt-action Kecepatan peluru 780 m/s Jarak efektif 800 m Amunisi Magazen box isi 10 butir Alat bidik Bidikan teleskopik FR F1 adalah senapan runduk aksi-baut kaliber 7.5 x 54 MAS asal Prancis. Senapan ini telah direvi...

 

Spanish autonomous city on the north-west coast of Africa For other uses, see Melilla (disambiguation). Autonomous city in SpainMelilla MřičAutonomous cityAerial viewOld cityModernist buildings FlagCoat of armsLocation of Melilla in AfricaCoordinates: 35°18′N 2°57′W / 35.300°N 2.950°W / 35.300; -2.950Country SpainGovernment • Mayor-PresidentJuan José Imbroda (PP)Area • Total12.3 km2 (4.7 sq mi) • Rank19...

The Prehistoric SocietyHistoireFondation 1935CadreType Société savante, association caritativeForme juridique Association caritativeDomaine d'activité PréhistoirePays  Royaume-UniOrganisationFondateurs Vere Gordon Childe, Stuart Piggott, Grahame ClarkSite web www.prehistoricsociety.orgmodifier - modifier le code - modifier Wikidata The Prehistoric Society est une société savante britannique, consacrée à l'étude des origines de l'homme jusqu'à l'émergence de l'écriture. Histoi...

 

Heat generated from radioactive decay RTG pellet glowing red due to the heat generated by the radioactive decay of plutonium-238 dioxide, after a thermal isolation test. Decay heat is the heat released as a result of radioactive decay. This heat is produced as an effect of radiation on materials: the energy of the alpha, beta or gamma radiation is converted into the thermal movement of atoms. Decay heat occurs naturally from decay of long-lived radioisotopes that are primordially present from...

 

Rio Uchidaoleh Dick Thomas Johnson, 2019Lahir27 September 1991 (umur 32)Hachiōji, Tokyo, JepangKebangsaanJepangPekerjaan Idola gravure Aktris Tahun aktif2010 - sekarang Rio Uchida (内田 理央code: ja is deprecated , Uchida Rio, lahir 27 September 1991) adalah seorang idola gravure dan aktris Jepang yang berafiliasi dengan LesPros Entertainment.[1][2] Ia dikenal karena perannya sebagai Kiriko Shijima, pemeran utama serial Kamen Rider Kamen Rider Drive.[3]...

此條目可参照英語維基百科相應條目来扩充。 (2021年5月6日)若您熟悉来源语言和主题,请协助参考外语维基百科扩充条目。请勿直接提交机械翻译,也不要翻译不可靠、低品质内容。依版权协议,译文需在编辑摘要注明来源,或于讨论页顶部标记{{Translated page}}标签。 约翰斯顿环礁Kalama Atoll 美國本土外小島嶼 Johnston Atoll 旗幟颂歌:《星條旗》The Star-Spangled Banner約翰斯頓環礁�...

 

Judo competition This article relies excessively on references to primary sources. Please improve this article by adding secondary or tertiary sources. Find sources: OJU Senior Championships – news · newspapers · books · scholar · JSTOR (October 2018) (Learn how and when to remove this message) Oceania Judo ChampionshipsCurrent event or competition:2023 Pan American-Oceania Judo ChampionshipsCompetition detailsDisciplineJudoTypeAnnualOrganiserOceania J...

 

Ця стаття потребує додаткових посилань на джерела для поліпшення її перевірності. Будь ласка, допоможіть удосконалити цю статтю, додавши посилання на надійні (авторитетні) джерела. Зверніться на сторінку обговорення за поясненнями та допоможіть виправити недоліки. Мат...

This article is about the City. For its eponymous Taluka, see Gadhinglaj Taluka. This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Gadhinglaj – news · newspapers · books · scholar · JSTOR (July 2013) (Learn how and when to remove this message) City in Maharashtra, IndiaGadhinglajCityNickname(s): Hinglaj ,...

 

PaponMahanta at the Coke Studio Season 3 launchBackground informationBirth nameAngaraag MahantaAlso known asPaponBorn (1975-11-24) 24 November 1975 (age 48)Nagaon, Assam, IndiaGenresElectro fusionIndian classical musicPopIndian folk musicOccupation(s)Singer, composerInstrument(s)GuitarYears active1998–presentLabelsMDR Records, Times Music, T-Series, Sony MusicMusical artist Angaraag Mahanta (born 24 November 1975), known by his stagename Papon, is an Indian playback singer and compose...

 

River in AfghanistanHarut RiverAdraskan RiverNative nameهاروت رود (Pashto)LocationCountryAfghanistanPhysical characteristicsSource  • locationSia koh mountains Mouth  • locationSistan LakeLength394 km (245 mi) [1]Basin sizeSistan Basin The Harut River or Adraskan River is a river of Afghanistan which belongs to the Sistan Basin.[2] The source of the river lies in the mountains to the southeast of Herat. The ...

  هذه المقالة عن مفهوم إسلامي عن المجتمع والفرد قبل الإسلام. لأحوال العرب السياسية والاقتصادية والثقافية والاجتماعية في شبه الجزيرة العربية والمناطق التي سكنها العربُ قديماً قبل انتشار الإسلام، طالع العرب قبل الإسلام. جزء من سلسلة مقالات حولالإسلام العقيدة الإيمان ...

 

Capital city of Oregon, United States State capital city in Oregon, United StatesSalemState capital cityDowntown SalemOregon State CapitolWillamette UniversityHallie Ford Museum of ArtRiverfront Park FlagLogoNickname: Cherry CityLocation within Marion County and Polk County in OregonSalemLocation within the United StatesShow map of OregonSalemSalem (the United States)Show map of the United StatesCoordinates: 44°55′23″N 123°01′28″W / 44.92306°N 123.02444°Wþ...