2
0

ETC.h 1.0 KB

123456789101112131415161718192021
  1. /******************************************************************************/
  2. #ifndef ETC_H
  3. #define ETC_H
  4. /******************************************************************************/
  5. void DecompressBlockETC1 (C Byte *b, Color (&block)[4][4]);
  6. void DecompressBlockETC2 (C Byte *b, Color (&block)[4][4]);
  7. void DecompressBlockETC2A1(C Byte *b, Color (&block)[4][4]);
  8. void DecompressBlockETC2A8(C Byte *b, Color (&block)[4][4]);
  9. void DecompressBlockETC1 (C Byte *b, Color *dest, Int pitch);
  10. void DecompressBlockETC2 (C Byte *b, Color *dest, Int pitch);
  11. void DecompressBlockETC2A1(C Byte *b, Color *dest, Int pitch);
  12. void DecompressBlockETC2A8(C Byte *b, Color *dest, Int pitch);
  13. Color DecompressPixelETC1 (C Byte *b, Int x, Int y);
  14. Color DecompressPixelETC2 (C Byte *b, Int x, Int y);
  15. Color DecompressPixelETC2A1(C Byte *b, Int x, Int y);
  16. Color DecompressPixelETC2A8(C Byte *b, Int x, Int y);
  17. /******************************************************************************/
  18. #endif
  19. /******************************************************************************/