the asumptions were of course, incorrect
[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 int rgbcx__unpack_bc1( const void *pSrc, uint8_t *pDst );
16 int rgbcx__unpack_bc3( const void *pSrc, uint8_t *pDst );
17 #ifdef __cplusplus
18 }
19 #endif
20
21 #endif