Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# ETCPACK

Ericsson has developed a texture compression system called "Ericsson Texture Compression". The software for compressing images and textures to that format is called ETCPACK.
---

The latest version of this software includes the possibility to compress images to the new formats introduced as mandatory in the Khronos standards OpenGL ES 3.0 and OpenGL 4.3. We call this package the ETC2-package of codecs, where ETC stands for Ericsson Texture Compression. For instance the new RGB8 ETC2 codec allows higher-quality compression than ETC1. It is also backward compatible; an old ETC1 texture can be decoded using ETC2-capable handsets. There are also new formats for RGBA textures and single-channel (R) and double-channel (RG) textures. For a complete list of codecs, see Appendix C in the OpenGL ES 3.0 standard. The new software also compresses old ETC1 textures. The software can be used by independent hardware vendors who want to include ETC2-package-compression in the tool chains that they give or sell to game developers. It can also be used directly by game developers who want to create games for OpenGL ES 3.0 capable handsets. The software includes source code for the command-line-program etcpack.
The latest version of this software includes the possibility to compress images to the new formats introduced as mandatory in the Khronos standards OpenGL ES 3.0 and OpenGL 4.3. We call this package the ETC2-package of codecs, where ETC stands for Ericsson Texture Compression. For instance the new RGB8 ETC2 codec allows higher-quality compression than ETC1. It is also backward compatible; an old ETC1 texture can be decoded using ETC2-capable handsets. There are also new formats for RGBA textures and single-channel (R) and double-channel (RG) textures. For a complete list of codecs, see Appendix C in the OpenGL ES 3.0 standard. The new software also compresses old ETC1 textures. The software can be used by independent hardware vendors who want to include ETC2-package-compression in the tool chains that they give or sell to game developers. It can also be used directly by game developers who want to create games for OpenGL ES 3.0 capable handsets. The software includes source code for the command-line-program etcpack.
Binary file added bin/etcpack.exe
Binary file not shown.
9 changes: 9 additions & 0 deletions build/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# COMPILE_FLAGS = -Wall -Wextra -Wpedantic -Wconversion -g
COMPILE_FLAGS = -O3

bin_path = ../bin
source_path = ../source
test_path = ../testing

all:
g++ $(COMPILE_FLAGS) $(source_path)/etcdec.cpp $(source_path)/etcpack.cpp $(source_path)/image.cpp -o $(bin_path)/etcpack
File renamed without changes.
File renamed without changes.
40 changes: 20 additions & 20 deletions vc9/etcpack.sln → build/vc9/etcpack.sln
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "etcpack", "etcpack.vcproj", "{8800817E-EB9A-4ECC-9FE5-90526AF8644A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Release|Win32 = Release|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{8800817E-EB9A-4ECC-9FE5-90526AF8644A}.Debug|Win32.ActiveCfg = Debug|Win32
{8800817E-EB9A-4ECC-9FE5-90526AF8644A}.Debug|Win32.Build.0 = Debug|Win32
{8800817E-EB9A-4ECC-9FE5-90526AF8644A}.Release|Win32.ActiveCfg = Release|Win32
{8800817E-EB9A-4ECC-9FE5-90526AF8644A}.Release|Win32.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "etcpack", "etcpack.vcproj", "{8800817E-EB9A-4ECC-9FE5-90526AF8644A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Release|Win32 = Release|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{8800817E-EB9A-4ECC-9FE5-90526AF8644A}.Debug|Win32.ActiveCfg = Debug|Win32
{8800817E-EB9A-4ECC-9FE5-90526AF8644A}.Debug|Win32.Build.0 = Debug|Win32
{8800817E-EB9A-4ECC-9FE5-90526AF8644A}.Release|Win32.ActiveCfg = Release|Win32
{8800817E-EB9A-4ECC-9FE5-90526AF8644A}.Release|Win32.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
Loading