|
Defines |
#define | _S3TC_ENCODE_ALPHA_MASK 0xff00 |
#define | _S3TC_ENCODE_RGB_MASK 0xff |
#define | ERROR_ABORTED -1 |
#define | S3TC_ENCODE_ALPHA_EXPLICIT 0x100 |
#define | S3TC_ENCODE_ALPHA_INTERPOLATED 0x200 |
#define | S3TC_ENCODE_ALPHA_NONE 0x000 |
#define | S3TC_ENCODE_RGB_ALPHA_COMPARE 0x2 |
#define | S3TC_ENCODE_RGB_COLOR_KEY 0x1 |
#define | S3TC_ENCODE_RGB_FULL 0x0 |
Typedefs |
typedef BOOL(* | LP_S3TC_PROGRESS_CALLBACK )(float fProgress, LPVOID lpUser1, LPVOID lpUser2) |
Functions |
void | S3TCdecode (DDSURFACEDESC *lpSrc, DDSURFACEDESC *lpDest, void *lpDestBuf) |
void | S3TCencode (DDSURFACEDESC *lpSrc, PALETTEENTRY *lpPal, DDSURFACEDESC *lpDest, void *lpDestBuf, unsigned int dwEncodeType, float *weight) |
int | S3TCencodeEx (DDSURFACEDESC *lpSrc, PALETTEENTRY *lpPal, DDSURFACEDESC *lpDest, void *lpDestBuf, unsigned int dwEncodeType, float *weight, LP_S3TC_PROGRESS_CALLBACK lpS3TCProgressProc, LPVOID lpArg1, LPVOID lpArg2) |
unsigned int | S3TCgetDecodeSize (DDSURFACEDESC *lpDesc) |
unsigned int | S3TCgetEncodeSize (DDSURFACEDESC *lpDesc, unsigned int dwEncodeType) |
void | S3TCsetAlphaReference (int nRef) |