gsla/source/lzb.h

22 lines
531 B
C
Raw Normal View History

2020-07-09 21:35:34 +00:00
//
// LZB Encode
2020-07-09 21:35:34 +00:00
//
#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 23:05:36 +00:00
int Old_LZB_Compress(unsigned char* pDest, unsigned char* pSource, int sourceSize);
2020-07-09 21:35:34 +00:00
2020-07-18 19:49:27 +00:00
//
// LZB Compressor that uses GSLA Opcodes while encoding
//
2020-07-18 20:41:01 +00:00
int LZBA_Compress(unsigned char* pDest, unsigned char* pSource, int sourceSize,
unsigned char* pDataStart, unsigned char* pDictionary,
int dictionarySize=0);
2020-07-18 19:49:27 +00:00
2020-07-09 21:35:34 +00:00
#endif // LZB_H