1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- #ifndef COCOS2DX_PLATFORM_THIRDPARTY_S3TC_
- #define COCOS2DX_PLATFORM_THIRDPARTY_S3TC_
- #include "platform/CCStdC.h"
- enum class S3TCDecodeFlag
- {
- DXT1 = 1,
- DXT3 = 3,
- DXT5 = 5,
- };
- void s3tc_decode(uint8_t *encode_data,
- uint8_t *decode_data,
- const int pixelsWidth,
- const int pixelsHeight,
- S3TCDecodeFlag decodeFlag
- );
-
- #endif
|