s3_intrf.h File Reference

#include <ddraw.h>

Go to the source code of this file.

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)


Define Documentation

#define _S3TC_ENCODE_ALPHA_MASK   0xff00
 

Definition at line 32 of file s3_intrf.h.

#define _S3TC_ENCODE_RGB_MASK   0xff
 

Definition at line 26 of file s3_intrf.h.

#define ERROR_ABORTED   -1
 

Definition at line 38 of file s3_intrf.h.

#define S3TC_ENCODE_ALPHA_EXPLICIT   0x100
 

Definition at line 30 of file s3_intrf.h.

#define S3TC_ENCODE_ALPHA_INTERPOLATED   0x200
 

Definition at line 31 of file s3_intrf.h.

#define S3TC_ENCODE_ALPHA_NONE   0x000
 

Definition at line 29 of file s3_intrf.h.

#define S3TC_ENCODE_RGB_ALPHA_COMPARE   0x2
 

Definition at line 25 of file s3_intrf.h.

#define S3TC_ENCODE_RGB_COLOR_KEY   0x1
 

Definition at line 24 of file s3_intrf.h.

#define S3TC_ENCODE_RGB_FULL   0x0
 

Definition at line 23 of file s3_intrf.h.


Typedef Documentation

typedef BOOL(* LP_S3TC_PROGRESS_CALLBACK)(float fProgress, LPVOID lpUser1, LPVOID lpUser2)
 

Definition at line 45 of file s3_intrf.h.


Function Documentation

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  ) 
 


Generated on Tue Mar 16 06:43:15 2004 for NeL by doxygen 1.3.6