prototype code
| 230 | |
| 231 | // prototype code |
| 232 | int CMP_CDECL DecompressBlockBC4S(const unsigned char cmpBlock[8], CMP_GLOBAL char srcBlock[16], const void* options = NULL) |
| 233 | { |
| 234 | CMP_BC15Options* BC15options = (CMP_BC15Options*)options; |
| 235 | CMP_BC15Options BC15optionsDefault; |
| 236 | if (BC15options == NULL) |
| 237 | { |
| 238 | BC15options = &BC15optionsDefault; |
| 239 | SetDefaultBC15Options(BC15options); |
| 240 | } |
| 241 | DecompressBlockBC4S_SingleChannel((CGU_INT8*)srcBlock, (CGU_UINT32*)cmpBlock, BC15options); |
| 242 | return CGU_CORE_OK; |
| 243 | } |
| 244 | |
| 245 | int CMP_CDECL CompressBlockBC4(const unsigned char* srcBlock, unsigned int srcStrideInBytes, CMP_GLOBAL unsigned char cmpBlock[8], const void* options = NULL) |
| 246 | { |