6 #ifndef INCLUDED_IMF_COMPRESSOR_H
7 #define INCLUDED_IMF_COMPRESSOR_H
41 virtual ~Compressor ();
49 virtual int numScanLines ()
const = 0;
127 compress (
const char* inPtr,
int inSize,
int minY,
const char*& outPtr) = 0;
130 virtual int compressTile (
134 const char*& outPtr);
152 virtual int uncompress (
153 const char* inPtr,
int inSize,
int minY,
const char*& outPtr) = 0;
156 virtual int uncompressTile (
160 const char*& outPtr);
#define OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_EXIT
OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER enum IMF_EXPORT_ENUM Compression
IMF_EXPORT Compressor * newCompressor(Compression c, size_t maxScanLineSize, const Header &hdr)
IMF_EXPORT Compressor * newTileCompressor(Compression c, size_t tileLineSize, size_t numTileLines, const Header &hdr)
Box< V2i > Box2i
2D box of base type int.
GLint GLint GLsizei GLint GLenum format
IMF_EXPORT int numLinesInBuffer(Compression comp)
IMF_EXPORT bool isValidCompression(Compression c)
#define OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER
const Header & header() const
IMF_EXPORT bool isValidDeepCompression(Compression c)
IMF_EXPORT bool isLossyCompression(Compression c)