31ded0cc51947222347fc20078eddef03a7e8367
[convexer.git] / nbvtf / librgbcx.h
1 #ifndef LIBRGBCX_H
2 #define LIBRGBCX_H
3
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7
8 #define LIBRGBCX_MAX_LEVEL 18
9 #define LIBRGBCX_MIN_LEVEL 0
10
11 void rgbcx__init(void);
12 void rgbcx__encode_bc1( uint32_t level, void* pDst, const uint8_t* pPixels, int allow_3color, int use_transparent_texels_for_black );
13 void rgbcx__encode_bc3( uint32_t level, void* pDst, const uint8_t* pPixels );
14
15 #ifdef __cplusplus
16 }
17 #endif
18
19 #endif