compress / decompress data segments base class defaults to None More...
#include <Codec.h>
Inherited by dpx::RunLengthEncoding.
Public Member Functions | |
Codec () | |
constructor | |
virtual | ~Codec () |
destructor | |
virtual void | Reset () |
reset instance | |
virtual bool | Read (const Header &dpxHeader, ElementReadStream *fd, const int element, const Block &block, void *data, const DataSize size) |
read data | |
Protected Attributes | |
U32 * | scanline |
single scanline |
compress / decompress data segments base class defaults to None
dpx::Codec::Codec | ( | ) |
constructor
dpx::Codec::~Codec | ( | ) | [virtual] |
destructor
bool dpx::Codec::Read | ( | const Header & | dpxHeader, | |
ElementReadStream * | fd, | |||
const int | element, | |||
const Block & | block, | |||
void * | data, | |||
const DataSize | size | |||
) | [virtual] |
read data
dpxHeader | dpx header information | |
fd | field descriptor | |
element | element (0-7) | |
block | image area to read | |
data | buffer | |
size | size of the buffer component |
Reimplemented in dpx::RunLengthEncoding.
void dpx::Codec::Reset | ( | ) | [virtual] |
reset instance
Reimplemented in dpx::RunLengthEncoding.
U32* dpx::Codec::scanline [protected] |
single scanline