gstreamer/gst/monkeyaudio/libmonkeyaudio/Predictor.h
Jeremy Simon c1a4db611b Add monkeyaudio plugin
Original commit message from CVS:
Add monkeyaudio plugin
2003-03-11 19:33:32 +00:00

30 lines
1 KiB
C++

#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) {}
virtual ~IPredictorDecompress() {}
virtual int DecompressValue(int nA, int nB = 0) = 0;
virtual int Flush() = 0;
};
#endif /* APE_PREDICTOR_H */