mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
c1a4db611b
Original commit message from CVS: Add monkeyaudio plugin
30 lines
1 KiB
C++
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 */
|