|
TuttleOFX
1
|
compress / decompress data segments base class defaults to None More...
#include <Codec.h>

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
| 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.
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().

| void dpx::Codec::Reset | ( | ) | [virtual] |
U32* dpx::Codec::scanline [protected] |