rom-properties/extlib/PowerVR/_MODIFIED_POWERVR_NATIVE_SDK.txt
David Korth a6a52ecc73 [PowerVR] pvrtcDecompress(): Fix byte order isuses on BE.
- Use le32_to_cpu() for the source data.
- Rearrange Pixel32 on BE.

Added non-intrinsic macros using byteorder.h. Can't easily add
intrinsic macros without CMake detection. (Might do that later.)

ImageDecoderTest BE failures before: 15
ImageDecoderTest BE failures after:  11
2022-07-05 19:58:36 -04:00

19 lines
543 B
Plaintext
Vendored

This is a modified subset of the original PowerVR Native SDK.
Commit c1605c99281797e5cd4c8439e1bc679706bbb311
Updated gradle API usage.
The following changes have been made to the original:
- Added CMakeLists.txt.
- Only the PVRTC decompressor is included.
- The Red and Blue channels in the destination images are swapped to
match rom-properties' ARGB32 format.
- Proper byteswapping for Big-Endian architectures.
To obtain the original PowerVR Native SDK, see the GitHub repository:
- https://github.com/powervr-graphics/Native_SDK