initial checkin

This commit is contained in:
chudov
2008-10-13 19:25:11 +00:00
parent 2e379c72e2
commit 36757fca7a
937 changed files with 184964 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
#ifndef APE_PREDICTOR_H
#define APE_PREDICTOR_H
/*************************************************************************************************
IPredictorCompress - the interface for compressing (predicting) data
*************************************************************************************************/
class IPredictorCompress
{
public:
IPredictorCompress(int nCompressionLevel) {}
virtual ~IPredictorCompress() {}
virtual int CompressValue(int nA, int nB = 0) = 0;
virtual int Flush() = 0;
};
/*************************************************************************************************
IPredictorDecompress - the interface for decompressing (un-predicting) data
*************************************************************************************************/
class IPredictorDecompress
{
public:
IPredictorDecompress(int nCompressionLevel, int nVersion) {}
virtual ~IPredictorDecompress() {}
virtual int DecompressValue(int nA, int nB = 0) = 0;
virtual int Flush() = 0;
};
#endif // #ifndef APE_PREDICTOR_H