wolfpld / etcpak

The fastest ETC compressor on the planet
Other
229 stars 41 forks source link

Add support for T and H block compression. #22

Closed m1awicki closed 2 years ago

m1awicki commented 2 years ago

With addition of T and H modes, ETC2 is fully supported. Implementation includes scalar and AVX2 version.

m1awicki commented 2 years ago

Comparison of compression modes.

etcpak_modes_kodim05_cmp

etcpak_modes_kodim05_cmp_2

Performance comparison.

Compression of kodim05.png image (no alpha channel):

  ETC1 QuickETC2 Etcpak-NoHeu etcpak-ETC2
Mpx/s 294.323 129.646 171.785 132.754

Compression of 4096x4096 image with alpha channel:

  ETC1 QuickETC2 (RGB) QuickETC2 (RGBA) Etcpak-NoHeu Etcpak-ETC2 (RGB) Etcpak-ETC2 (RGBA)
Mpx/s 346.408 230.042 168.162 215.59 231.931 165.477