gsla/source/lzb.h

24 lines
715 B
C
Raw Normal View History

2020-07-09 17:35:34 -04:00
//
// LZB Encode / Decode
//
#ifndef LZB_H
#define LZB_H
//
// returns the size of data saved into the pDest Buffer
//
int LZB_Compress(unsigned char* pDest, unsigned char* pSource, int sourceSize);
2020-07-16 19:05:36 -04:00
int Old_LZB_Compress(unsigned char* pDest, unsigned char* pSource, int sourceSize);
2020-07-09 17:35:34 -04:00
void LZB_Decompress(unsigned char* pDest, unsigned char* pSource, int destSize);
2020-07-18 15:49:27 -04:00
//
// LZB Compressor that uses GSLA Opcodes while encoding
//
2020-07-18 16:41:01 -04:00
int LZBA_Compress(unsigned char* pDest, unsigned char* pSource, int sourceSize,
unsigned char* pDataStart, unsigned char* pDictionary,
int dictionarySize=0);
2020-07-18 15:49:27 -04:00
int LZBA_Decompress(unsigned char* pDest, unsigned char* pSource, unsigned char* pDataStart);
2020-07-09 17:35:34 -04:00
#endif // LZB_H