|
enum | Colors {
Red = 0
, Green
, Blue
, Alpha
,
ColorCount
, Red = 0
, Green
, Blue
,
Alpha
, ColorCount
} |
enum | DXTVersions {
One = 1
, Two = 2
, Three = 3
, Four = 4
,
Five = 5
, RXGB = 6
, One = 1
, Two = 2
,
Three = 3
, Four = 4
, Five = 5
, RXGB = 6
} |
enum | Colors {
Red = 0
, Green
, Blue
, Alpha
,
ColorCount
, Red = 0
, Green
, Blue
,
Alpha
, ColorCount
} |
enum | DXTVersions {
One = 1
, Two = 2
, Three = 3
, Four = 4
,
Five = 5
, RXGB = 6
, One = 1
, Two = 2
,
Three = 3
, Four = 4
, Five = 5
, RXGB = 6
} |
|
static int | maskToShift (quint32 mask) |
static int | maskLength (quint32 mask) |
static quint32 | readValue (QDataStream &s, quint32 size) |
static bool | hasAlpha (const DDSHeader &dds) |
static bool | isCubeMap (const DDSHeader &dds) |
static QRgb | yuv2rgb (quint8 Y, quint8 U, quint8 V) |
static Format | getFormat (const DDSHeader &dds) |
static quint8 | getNormalZ (quint8 nx, quint8 ny) |
static void | decodeColor (quint16 color, quint8 &red, quint8 &green, quint8 &blue) |
static quint8 | calcC2 (quint8 c0, quint8 c1) |
static quint8 | calcC2a (quint8 c0, quint8 c1) |
static quint8 | calcC3 (quint8 c0, quint8 c1) |
static void | DXTFillColors (QRgb *result, quint16 c0, quint16 c1, quint32 table, bool dxt1a=false) |
template<DXTVersions version> |
void | setAlphaDXT32Helper (QRgb *rgbArr, quint64 alphas) |
template<DXTVersions version> |
void | setAlphaDXT45Helper (QRgb *rgbArr, quint64 alphas) |
template<DXTVersions version> |
void | setAlphaDXT (QRgb *rgbArr, quint64 alphas) |
template<> |
void | setAlphaDXT< Two > (QRgb *rgbArr, quint64 alphas) |
template<> |
void | setAlphaDXT< Three > (QRgb *rgbArr, quint64 alphas) |
template<> |
void | setAlphaDXT< Four > (QRgb *rgbArr, quint64 alphas) |
template<> |
void | setAlphaDXT< Five > (QRgb *rgbArr, quint64 alphas) |
template<> |
void | setAlphaDXT< RXGB > (QRgb *rgbArr, quint64 alphas) |
static QRgb | invertRXGBColors (QRgb pixel) |
template<DXTVersions version> |
static QImage | readDXT (QDataStream &s, quint32 width, quint32 height) |
static QImage | readDXT1 (QDataStream &s, quint32 width, quint32 height) |
static QImage | readDXT2 (QDataStream &s, quint32 width, quint32 height) |
static QImage | readDXT3 (QDataStream &s, quint32 width, quint32 height) |
static QImage | readDXT4 (QDataStream &s, quint32 width, quint32 height) |
static QImage | readDXT5 (QDataStream &s, quint32 width, quint32 height) |
static QImage | readRXGB (QDataStream &s, quint32 width, quint32 height) |
static QImage | readATI2 (QDataStream &s, quint32 width, quint32 height) |
static QImage | readUnsignedImage (QDataStream &s, const DDSHeader &dds, quint32 width, quint32 height, bool hasAlpha) |
static double | readFloat16 (QDataStream &s) |
static float | readFloat32 (QDataStream &s) |
static QImage | readR16F (QDataStream &s, const quint32 width, const quint32 height) |
static QImage | readRG16F (QDataStream &s, const quint32 width, const quint32 height) |
static QImage | readARGB16F (QDataStream &s, const quint32 width, const quint32 height) |
static QImage | readR32F (QDataStream &s, const quint32 width, const quint32 height) |
static QImage | readRG32F (QDataStream &s, const quint32 width, const quint32 height) |
static QImage | readARGB32F (QDataStream &s, const quint32 width, const quint32 height) |
static QImage | readQ16W16V16U16 (QDataStream &s, const quint32 width, const quint32 height) |
static QImage | readCxV8U8 (QDataStream &s, const quint32 width, const quint32 height) |
static QImage | readPalette8Image (QDataStream &s, quint32 width, quint32 height) |
static QImage | readPalette4Image (QDataStream &s, quint32 width, quint32 height) |
static QImage | readARGB16 (QDataStream &s, quint32 width, quint32 height) |
static QImage | readV8U8 (QDataStream &s, quint32 width, quint32 height) |
static QImage | readL6V5U5 (QDataStream &s, quint32 width, quint32 height) |
static QImage | readX8L8V8U8 (QDataStream &s, quint32 width, quint32 height) |
static QImage | readQ8W8V8U8 (QDataStream &s, quint32 width, quint32 height) |
static QImage | readV16U16 (QDataStream &s, quint32 width, quint32 height) |
static QImage | readA2W10V10U10 (QDataStream &s, quint32 width, quint32 height) |
static QImage | readUYVY (QDataStream &s, quint32 width, quint32 height) |
static QImage | readR8G8B8G8 (QDataStream &s, quint32 width, quint32 height) |
static QImage | readYUY2 (QDataStream &s, quint32 width, quint32 height) |
static QImage | readG8R8G8B8 (QDataStream &s, quint32 width, quint32 height) |
static QImage | readA2R10G10B10 (QDataStream &s, const DDSHeader &dds, quint32 width, quint32 height) |
static QImage | readLayer (QDataStream &s, const DDSHeader &dds, const int format, quint32 width, quint32 height) |
static QImage | readTexture (QDataStream &s, const DDSHeader &dds, const int format, const int mipmapLevel) |
static qint64 | mipmapSize (const DDSHeader &dds, const int format, const int level) |
static qint64 | mipmapOffset (const DDSHeader &dds, const int format, const int level) |
static QImage | readCubeMap (QDataStream &s, const DDSHeader &dds, const int fmt) |
static QByteArray | formatName (int format) |
static int | formatByName (const QByteArray &name) |
template<> |
void | setAlphaDXT< Two > (QRgb *rgbArr, quint64 alphas) |
template<> |
void | setAlphaDXT< Three > (QRgb *rgbArr, quint64 alphas) |
template<> |
void | setAlphaDXT< Four > (QRgb *rgbArr, quint64 alphas) |
template<> |
void | setAlphaDXT< Five > (QRgb *rgbArr, quint64 alphas) |
template<> |
void | setAlphaDXT< RXGB > (QRgb *rgbArr, quint64 alphas) |