-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathetcpack.h
15 lines (14 loc) · 1.17 KB
/
etcpack.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
typedef unsigned char uint8;
typedef unsigned short uint16;
typedef short int16;
void setupAlphaTable();
void decompressBlockAlphaC(uint8* data, uint8* img, int width, int height, int ix, int iy, int channels);
void decompressBlockETC21BitAlphaC(unsigned int block_part1, unsigned int block_part2, uint8 *img, uint8* alphaimg, int width, int height, int startx, int starty, int channelsRGB);
void decompressBlockETC2c(unsigned int block_part1, unsigned int block_part2, uint8 *img, int width, int height, int startx, int starty, int channels);
bool readCompressParams(void);
void setupAlphaTableAndValtab();
void decompressBlockAlpha(uint8* data, uint8* img, int width, int height, int ix, int iy);
void decompressBlockAlphaC(uint8* data, uint8* img, int width, int height, int ix, int iy, int channels);
void decompressBlockETC21BitAlpha(unsigned int block_part1, unsigned int block_part2, uint8 *img, uint8* alphaimg, int width, int height, int startx, int starty);
void decompressBlockETC2(unsigned int block_part1, unsigned int block_part2, uint8 *img, int width, int height, int startx, int starty);
void decompressBlockAlpha16bit(uint8* data, uint8* img, int width, int height, int ix, int iy);