compress / decompress data segments, used for RLE compression More...
#include <RunLengthEncoding.h>
Inherits dpx::Codec.
Public Member Functions | |
RunLengthEncoding () | |
constructor | |
virtual | ~RunLengthEncoding () |
destructor | |
virtual void | Reset () |
reset instance | |
virtual bool | Read (const dpx::Header &dpxHeader, ElementReadStream *fd, const int element, const Block &block, void *data, const DataSize size) |
read data | |
Protected Attributes | |
U8 * | buf |
intermediate buffer | |
U32 * | scanline |
single scanline |
compress / decompress data segments, used for RLE compression
dpx::RunLengthEncoding::RunLengthEncoding | ( | ) |
constructor
dpx::RunLengthEncoding::~RunLengthEncoding | ( | ) | [virtual] |
destructor
bool dpx::RunLengthEncoding::Read | ( | const dpx::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 from dpx::Codec.
void dpx::RunLengthEncoding::Reset | ( | ) | [virtual] |
reset instance
Reimplemented from dpx::Codec.
U8* dpx::RunLengthEncoding::buf [protected] |
intermediate buffer
U32* dpx::Codec::scanline [protected, inherited] |
single scanline