FasTC/Core/include/TexComp.h
2012-08-27 18:34:37 -04:00

28 lines
509 B
C

#ifndef _TEX_COMP_H_
#define _TEX_COMP_H_
#include "ImageFile.h"
#include "CompressedImage.h"
struct SCompressionSettings {
SCompressionSettings(); // defaults
ECompressionFormat format;
bool bUseSIMD;
int iNumThreads;
};
extern void CompressImage(
const ImageFile &,
CompressedImage &,
const SCompressionSettings &settings
);
typedef void (* CompressionFunc)(
const unsigned char *inData,
unsigned char *outData,
unsigned int width,
unsigned int height
);
#endif //_TEX_COMP_H_