Ericsson Texture Compression
≈ 2 min read
Names in other languages
- EnglishEricsson Texture Compression
- 中文爱立信纹理压缩
Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.
Ericsson Texture Compression (ETC) is a lossy texture compression technique developed in collaboration with Ericsson Research in early 2005. It was originally developed under the name iPACKMAN and based on an earlier compression scheme called PACKMAN.
Ericsson Texture Compression (ETC) is a lossy texture compression technique developed in collaboration with Ericsson Research in early 2005. It was originally developed under the name iPACKMAN and based on an earlier compression scheme called PACKMAN.
ETC1
The original 'ETC1' compression scheme provides 6x compression of 24-bit RGB data. It does not port the compression of images with Alpha components, although there are work-arounds for this. ETC1 takes 4x4 groups of pixel data and compresses each into a single 64-bit word. The 4×4 pixel group is first divided into two 4×2 chunks - either horizontally or vertically. Each half is given a base color - either using 4/4/4 RGB or by giving one of them a 5/5/5 RGB and having the other be a 3/3/3 bit offset from that base. Each 4×2 region also has a 3-bit brightness range selection. Each pixel is then offset from the base color by adding one of four signed values to the base color for its half of the 4×4 group. This format is a part of the OpenGL ES graphics standard extensions for embedded devices such as mobile phones and has been approved by the Khronos Group for use in the WebGL graphics standard for browser-side World Wide Web graphics. Android version 2.2 (Froyo) includes support for ETC1.
See also
S3 Texture Compression (S3TC) Adaptive Scalable Texture Compression (ASTC)
References
External links
Ericsson ETCPACK on github Sample code for handling alpha channels in ETC1 from ARM rg_etc1, A fast, high quality, ZLIB-licensed ETC1 block packer/unpacker in a single C++ source file etcpak, an extremely fast Ericsson Texture Compression utility for rapid assets preparation by Bartosz Taudul etc2comp, a fast Ericsson Texture Compression program.
Text derived from https://en.wikipedia.org/w/index.php?oldid=1350167424 under CC BY-SA 4.0; modifications have been made.