mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2024-11-28 12:14:19 +01:00
27 lines
500 B
C
27 lines
500 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 CompressedImage * CompressImage(
|
|
const ImageFile &,
|
|
const SCompressionSettings &settings
|
|
);
|
|
|
|
typedef void (* CompressionFunc)(
|
|
const unsigned char *inData,
|
|
unsigned char *outData,
|
|
unsigned int width,
|
|
unsigned int height
|
|
);
|
|
|
|
#endif //_TEX_COMP_H_
|