DPX Image Reader class.
More...
#include <Cineon.h>
cineon::Reader::Reader |
( |
| ) |
|
cineon::Reader::~Reader |
( |
| ) |
|
|
virtual |
bool cineon::Reader::ReadBlock |
( |
void * |
data, |
|
|
const DataSize |
size, |
|
|
Block & |
block |
|
) |
| |
Read a rectangular image block into a buffer from the image element specified by the Descriptor type.
- Parameters
-
data | buffer |
size | size of the buffer component |
block | image area to read |
desc | element description type |
- Returns
- success true/false
bool cineon::Reader::ReadHeader |
( |
| ) |
|
Read the dpx header into the header member.
- Returns
- success true/false
bool cineon::Reader::ReadImage |
( |
void * |
data, |
|
|
const DataSize |
size = kWord |
|
) |
| |
Read an image element into a buffer that matches the image description type.
The DataSize allows the user to specific the buffer DataSize which can differ from the image element. It is possible, for example, to read an 8-bit per component (3 components per pixel for RGB) into 16-bits.
- Parameters
-
data | buffer |
size | size of the buffer component |
desc | element description type |
- Returns
- success true/false
bool cineon::Reader::ReadUserData |
( |
unsigned char * |
data | ) |
|
Read the user data into a buffer.
Buffer must be large enough to hold the user data.
- Parameters
-
- Returns
- success true/false
void cineon::Reader::Reset |
( |
| ) |
|
clear any caching or memory allocated specific to an image
void cineon::Reader::SetInStream |
( |
InStream * |
stream | ) |
|
Set the InStream object to be used to read images.
- Parameters
-
stream | Object to use for low level reads |
Codec* cineon::Reader::codec |
|
protected |
The documentation for this class was generated from the following files:
- /tmp/B.92ecc562-e5e3-49c8-b0a5-c7c9dfb207f9/BUILD/libcineon/libcineon/Cineon.h
- /tmp/B.92ecc562-e5e3-49c8-b0a5-c7c9dfb207f9/BUILD/libcineon/libcineon/Reader.cpp