wolfpld / etcpak

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

NEON implementations of EAC and ETC2 planar compression #1

Closed hkr closed 4 years ago

hkr commented 4 years ago

The alpha compression generates identical results as the reference implementation in C. The ETC2 planar block mode compression generates slightly different results for some blocks. The floating point calculations are not identical.

I also added the check for solid blocks to ETC2 compression functions.

On a raspberry pi 4 the changes speed up ETC2 RGBA compression up by around 8x.

Code formatting doesn't match the rest of the code, I could clean that up if you are interested.

wolfpld commented 4 years ago

Please adapt code formatting where applicable and add yourself to the AUTHORS file.