dpx::RunLengthEncoding Class Reference

compress / decompress data segments, used for RLE compression More...

#include <RunLengthEncoding.h>

Inherits dpx::Codec.

Collaboration diagram for dpx::RunLengthEncoding:
Collaboration graph
[legend]

List of all members.

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

U8buf
 intermediate buffer
U32scanline
 single scanline

Detailed Description

compress / decompress data segments, used for RLE compression


Constructor & Destructor Documentation

dpx::RunLengthEncoding::RunLengthEncoding (  ) 

constructor

dpx::RunLengthEncoding::~RunLengthEncoding (  )  [virtual]

destructor


Member Function Documentation

bool dpx::RunLengthEncoding::Read ( const dpx::Header dpxHeader,
ElementReadStream fd,
const int  element,
const Block block,
void *  data,
const DataSize  size 
) [virtual]

read data

Parameters:
dpxHeader dpx header information
fd field descriptor
element element (0-7)
block image area to read
data buffer
size size of the buffer component
Returns:
success

Reimplemented from dpx::Codec.

void dpx::RunLengthEncoding::Reset (  )  [virtual]

reset instance

Reimplemented from dpx::Codec.


Member Data Documentation

intermediate buffer

U32* dpx::Codec::scanline [protected, inherited]

single scanline


The documentation for this class was generated from the following files:

Generated by  doxygen 1.6.2