TuttleOFX
1
|
#include <ElementReadStream.h>
Public Member Functions | |
ElementReadStream (InStream *) | |
virtual | ~ElementReadStream () |
virtual void | Reset () |
virtual bool | Read (const dpx::Header &, const int element, const long offset, void *buf, const size_t size) |
virtual bool | ReadDirect (const dpx::Header &, const int element, const long offset, void *buf, const size_t size) |
Protected Member Functions | |
void | EndianDataCheck (const dpx::Header &, const int element, void *, const size_t size) |
Protected Attributes | |
InStream * | fd |
Definition at line 46 of file ElementReadStream.h.
dpx::ElementReadStream::ElementReadStream | ( | InStream * | fd | ) |
Definition at line 41 of file ElementReadStream.cpp.
dpx::ElementReadStream::~ElementReadStream | ( | ) | [virtual] |
Definition at line 46 of file ElementReadStream.cpp.
void dpx::ElementReadStream::EndianDataCheck | ( | const dpx::Header & | dpxHeader, |
const int | element, | ||
void * | buf, | ||
const size_t | size | ||
) | [protected] |
Definition at line 95 of file ElementReadStream.cpp.
References dpx::GenericHeader::BitDepth(), dpx::GenericHeader::ImagePacking(), dpx::kPacked, and dpx::Header::RequiresByteSwap().
bool dpx::ElementReadStream::Read | ( | const dpx::Header & | dpxHeader, |
const int | element, | ||
const long | offset, | ||
void * | buf, | ||
const size_t | size | ||
) | [virtual] |
Definition at line 56 of file ElementReadStream.cpp.
References dpx::GenericHeader::DataOffset(), and InStream::kStart.
bool dpx::ElementReadStream::ReadDirect | ( | const dpx::Header & | dpxHeader, |
const int | element, | ||
const long | offset, | ||
void * | buf, | ||
const size_t | size | ||
) | [virtual] |
Definition at line 75 of file ElementReadStream.cpp.
References dpx::GenericHeader::DataOffset(), and InStream::kStart.
Referenced by dpx::RunLengthEncoding::Read().
void dpx::ElementReadStream::Reset | ( | ) | [virtual] |
Definition at line 51 of file ElementReadStream.cpp.
InStream* dpx::ElementReadStream::fd [protected] |
Definition at line 60 of file ElementReadStream.h.