|
xoreos
0.0.5
|
Manual S3TC DXTn decompression methods. More...
#include "src/common/util.h"#include "src/common/readstream.h"#include "src/graphics/images/s3tc.h"
Go to the source code of this file.
Classes | |
| struct | Graphics::DXT1Texel |
| struct | Graphics::DXT23Texel |
| struct | Graphics::DXT45Texel |
Namespaces | |
| Graphics | |
Macros | |
| #define | READ_DXT1_TEXEL(x) |
| #define | READ_DXT3_TEXEL(x) |
| #define | READ_DXT5_TEXEL(x) |
Functions | |
| static uint32 | Graphics::convert565To8888 (uint16 color) |
| static uint32 | Graphics::interpolate32 (double weight, uint32 color_0, uint32 color_1) |
| void | Graphics::decompressDXT1 (byte *dest, Common::SeekableReadStream &src, uint32 width, uint32 height, uint32 pitch) |
| void | Graphics::decompressDXT3 (byte *dest, Common::SeekableReadStream &src, uint32 width, uint32 height, uint32 pitch) |
| static uint64 | Graphics::readUint48LE (Common::SeekableReadStream &src) |
| void | Graphics::decompressDXT5 (byte *dest, Common::SeekableReadStream &src, uint32 width, uint32 height, uint32 pitch) |
Manual S3TC DXTn decompression methods.
Definition in file s3tc.cpp.
| #define READ_DXT1_TEXEL | ( | x | ) |
Definition at line 59 of file s3tc.cpp.
Referenced by Graphics::decompressDXT1().
| #define READ_DXT3_TEXEL | ( | x | ) |
Definition at line 107 of file s3tc.cpp.
Referenced by Graphics::decompressDXT3().
| #define READ_DXT5_TEXEL | ( | x | ) |
Definition at line 159 of file s3tc.cpp.
Referenced by Graphics::decompressDXT5().
1.8.14