12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- #ifndef ON2CMP_H
- #define ON2CMP_H
- #include <vector>
- typedef int (*ProgressFunction)
- (
- int Frame,
- double SecondsWritten,
- double PercentComplete,
- int BytesWritten,
- std::vector<int> vBytesWritten,
- std::vector<int> vMinBufferSize
- );
- class fileCompressor
- {
- public:
- enum fileCompressorType
- {
- VP31,
- VP40,
- VP50
- };
- virtual void compress (
- ProgressFunction pf,
- int updateEvery,
- int argc,
- char* argv[],
- int outFileType) = 0;
- virtual ~fileCompressor();
- static fileCompressor* Make(fileCompressorType);
- };
- #endif
|