TuttleOFX  1
dpx::Codec Class Reference

compress / decompress data segments base class defaults to None More...

#include <Codec.h>

Inheritance diagram for dpx::Codec:

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

U32scanline
 single scanline

Detailed Description

compress / decompress data segments base class defaults to None

Definition at line 50 of file Codec.h.


Constructor & Destructor Documentation

dpx::Codec::Codec ( )

constructor

Definition at line 43 of file Codec.cpp.

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

destructor

Definition at line 48 of file Codec.cpp.


Member Function Documentation

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

read data

Parameters:
dpxHeaderdpx header information
fdfield descriptor
elementelement (0-7)
blockimage area to read
databuffer
sizesize of the buffer component
Returns:
success

Reimplemented in dpx::RunLengthEncoding.

Definition at line 65 of file Codec.cpp.

References dpx::GenericHeader::BitDepth(), dpx::GenericHeader::ImageElementComponentCount(), tuttle::ofx::imageEffect::numberOfComponents(), and dpx::Header::Width().

Referenced by dpx::Reader::ReadBlock().

Here is the call graph for this function:

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

reset instance

Reimplemented in dpx::RunLengthEncoding.

Definition at line 55 of file Codec.cpp.


Field Documentation

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

single scanline

Definition at line 86 of file Codec.h.


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