mirror of
https://github.com/GerbilSoft/rom-properties.git
synced 2025-06-18 11:35:38 -04:00

This fixes the last failing test in ImageDecoderTest: TCtest_ASTC/ImageDecoderTest.decodeTest/tctest_example_astc_dds_gz_Image, where GetParam() = tctest/example-astc.dds.gz
21 lines
649 B
Plaintext
Vendored
21 lines
649 B
Plaintext
Vendored
These files were originally sourced from Basis Universal v1.15.
|
|
|
|
The following changes have been made to the original:
|
|
|
|
- Only the ASTC decoder is included. It has been modified to build without
|
|
the rest of Basis Universal, e.g. using std::max<> instead of
|
|
basisu::maximum<>.
|
|
|
|
- Large 32-bit arrays have been converted to 8-bit.
|
|
|
|
- Added fall-through comments.
|
|
|
|
- Swap the R and B channels to match the expected data formats.
|
|
|
|
- Converted some large ternary comparison trees to switch/case.
|
|
|
|
- Proper byteswapping for Big-Endian architectures.
|
|
|
|
To obtain the original Basis Universal v1.15, visit:
|
|
https://github.com/BinomialLLC/basis_universal
|