libcineon
0.1
|
libcineon namespace More...
Classes | |
struct | Block |
Rectangle block definition defined by two points. More... | |
struct | BufferAccess |
class | Codec |
compress / decompress data segments base class defaults to None More... | |
class | ElementReadStream |
struct | GenericHeader |
Generic File and Image Header Information. More... | |
struct | Header |
Complete DPX Header. More... | |
struct | ImageElement |
Data Structure for Image Element. More... | |
struct | IndustryHeader |
Motion Picture and Television Industry Specific Information. More... | |
class | Reader |
DPX Image Reader class. More... | |
class | Writer |
DPX Image Writer class. More... | |
Typedefs | |
typedef unsigned char | U8 |
Unsigned 8 bit integer. More... | |
typedef unsigned short | U16 |
Unsigned 16 bit integer. More... | |
typedef unsigned int | U32 |
Unsigned 32 bit integer. More... | |
typedef signed int | S32 |
typedef uint64_t | U64 |
Unsigned 64 bit integer. More... | |
typedef float | R32 |
32 bit floating point number More... | |
typedef double | R64 |
64 bit floating point number More... | |
typedef char | ASCII |
ASCII character. More... | |
Functions | |
void | BaseTypeConverter (U8 &src, U8 &dst) |
void | BaseTypeConverter (U8 &src, U16 &dst) |
void | BaseTypeConverter (U8 &src, U32 &dst) |
void | BaseTypeConverter (U8 &src, U64 &dst) |
void | BaseTypeConverter (U8 &src, R32 &dst) |
void | BaseTypeConverter (U8 &src, R64 &dst) |
void | BaseTypeConverter (U16 &src, U8 &dst) |
void | BaseTypeConverter (U16 &src, U16 &dst) |
void | BaseTypeConverter (U16 &src, U32 &dst) |
void | BaseTypeConverter (U16 &src, U64 &dst) |
void | BaseTypeConverter (U16 &src, R32 &dst) |
void | BaseTypeConverter (U16 &src, R64 &dst) |
void | BaseTypeConverter (U32 &src, U8 &dst) |
void | BaseTypeConverter (U32 &src, U16 &dst) |
void | BaseTypeConverter (U32 &src, U32 &dst) |
void | BaseTypeConverter (U32 &src, U64 &dst) |
void | BaseTypeConverter (U32 &src, R32 &dst) |
void | BaseTypeConverter (U32 &src, R64 &dst) |
void | BaseTypeConverter (U64 &src, U8 &dst) |
void | BaseTypeConverter (U64 &src, U16 &dst) |
void | BaseTypeConverter (U64 &src, U32 &dst) |
void | BaseTypeConverter (U64 &src, U64 &dst) |
void | BaseTypeConverter (U64 &src, R32 &dst) |
void | BaseTypeConverter (U64 &src, R64 &dst) |
void | BaseTypeConverter (R32 &src, U8 &dst) |
void | BaseTypeConverter (R32 &src, U16 &dst) |
void | BaseTypeConverter (R32 &src, U32 &dst) |
void | BaseTypeConverter (R32 &src, U64 &dst) |
void | BaseTypeConverter (R32 &src, R32 &dst) |
void | BaseTypeConverter (R32 &src, R64 &dst) |
void | BaseTypeConverter (R64 &src, U8 &dst) |
void | BaseTypeConverter (R64 &src, U16 &dst) |
void | BaseTypeConverter (R64 &src, U32 &dst) |
void | BaseTypeConverter (R64 &src, U64 &dst) |
void | BaseTypeConverter (R64 &src, R32 &dst) |
void | BaseTypeConverter (R64 &src, R64 &dst) |
bool | IdentifyFile (InStream *file) |
determine if the image file is DPX More... | |
bool | IdentifyFile (const void *data) |
determine if the image file is DPX More... | |
const char * | DefaultExtension () |
returns a char * of the default DPX file extension More... | |
const char * | Version () |
const char * | LibraryVersion () |
returns the version string for this library More... | |
template<typename T > | |
T | SwapBytes (T &value) |
template<> | |
unsigned short | SwapBytes (unsigned short &value) |
template<> | |
unsigned char | SwapBytes (unsigned char &value) |
template<> | |
char | SwapBytes (char &value) |
template<typename T > | |
void | SwapBuffer (T *buf, unsigned int len) |
template<DataSize SIZE> | |
void | EndianSwapImageBuffer (void *data, int length) |
void | EndianSwapImageBuffer (DataSize size, void *data, int length) |
template<typename IR , typename BUF , int PADDINGBITS> | |
bool | Read10bitFilled (const Header &dpxHeader, U32 *readBuf, IR *fd, const Block &block, BUF *data) |
template<typename IR , typename BUF > | |
bool | Read10bitFilledMethodA (const Header &dpx, U32 *readBuf, IR *fd, const Block &block, BUF *data) |
template<typename IR , typename BUF > | |
bool | Read10bitFilledMethodB (const Header &dpx, U32 *readBuf, IR *fd, const Block &block, BUF *data) |
template<typename BUF , U32 MASK, int MULTIPLIER, int REMAIN, int REVERSE> | |
void | UnPackPacked (U32 *readBuf, const int bitDepth, BUF *data, int count, int bufoff) |
template<typename IR , typename BUF , U32 MASK, int MULTIPLIER, int REMAIN, int REVERSE> | |
bool | ReadPacked (const Header &dpxHeader, U32 *readBuf, IR *fd, const Block &block, BUF *data) |
template<typename IR , typename BUF > | |
bool | Read10bitPacked (const Header &dpxHeader, U32 *readBuf, IR *fd, const Block &block, BUF *data) |
template<typename IR , typename BUF > | |
bool | Read12bitPacked (const Header &dpxHeader, U32 *readBuf, IR *fd, const Block &block, BUF *data) |
template<typename IR , typename SRC , DataSize SRCTYPE, typename BUF , DataSize BUFTYPE> | |
bool | ReadBlockTypes (const Header &dpxHeader, SRC *readBuf, IR *fd, const Block &block, BUF *data) |
template<typename IR , typename BUF > | |
bool | Read12bitFilledMethodB (const Header &dpxHeader, U16 *readBuf, IR *fd, const Block &block, BUF *data) |
template<typename IR , typename BUF , DataSize BUFTYPE> | |
bool | ReadImageBlock (const Header &dpxHeader, U32 *readBuf, IR *fd, const Block &block, BUF *data) |
template<typename IR > | |
bool | ReadImageBlock (const Header &dpxHeader, U32 *readBuf, IR *fd, const Block &block, void *data, const DataSize size) |
template<typename T1 , typename T2 > | |
void | MultiTypeBufferCopy (T1 *dst, T2 *src, const int len) |
template<typename IB > | |
void | CopyWriteBuffer (DataSize src_size, unsigned char *src, IB *dst, const int len) |
template<typename IB , int BITDEPTH> | |
void | RleCompress (IB *src, IB *dst, const int bufsize, const int len, BufferAccess &access) |
template<typename IB , int BITDEPTH> | |
void | WritePackedMethod (IB *src, IB *dst, const int len, const bool reverse, BufferAccess &access) |
template<typename IB , Packing METHOD> | |
void | WritePackedMethodAB_10bit (IB *src, IB *dst, const int len, const bool reverse, BufferAccess &access) |
template<typename IB , int BITDEPTH, bool SAMEBUFTYPE> | |
int | WriteBuffer (OutStream *fd, DataSize src_size, void *src_buf, const U32 width, const U32 height, const int noc, const Packing packing, const bool reverse, const int eolnPad, char *blank, bool &status) |
template<typename IB , int BITDEPTH, bool SAMEBUFTYPE> | |
int | WriteFloatBuffer (OutStream *fd, DataSize src_size, void *src_buf, const U32 width, const U32 height, const int noc, const Packing packing, const int eolnPad, char *blank, bool &status) |
Variables | |
Endian | systemByteOrder = (*(unsigned char*)lPtr == 0x78 ? cineon::kLittleEndian : cineon::kBigEndian) |
libcineon namespace
char cineon::ASCII |
ASCII character.
float cineon::R32 |
32 bit floating point number
float cineon::R64 |
64 bit floating point number
typedef signed int cineon::S32 |
unsigned short cineon::U16 |
Unsigned 16 bit integer.
signed char cineon::U32 |
Unsigned 32 bit integer.
Signed 32 bit integer.
unsigned long long cineon::U64 |
Unsigned 64 bit integer.
unsigned char cineon::U8 |
Unsigned 8 bit integer.
enum cineon::DataSize |
enum cineon::Descriptor |
enum cineon::Endian |
enum cineon::Interleave |
enum cineon::Orientation |
Image Orientation Code.
enum cineon::Packing |
Component data packing method.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void cineon::CopyWriteBuffer | ( | DataSize | src_size, |
unsigned char * | src, | ||
IB * | dst, | ||
const int | len | ||
) |
|
inline |
returns a char * of the default DPX file extension
void cineon::EndianSwapImageBuffer | ( | void * | data, |
int | length | ||
) |
|
inline |
bool cineon::IdentifyFile | ( | InStream * | file | ) |
determine if the image file is DPX
file | buffer to read and search |
bool cineon::IdentifyFile | ( | const void * | data | ) |
determine if the image file is DPX
data | memory to search |
|
inline |
returns the version string for this library
void cineon::MultiTypeBufferCopy | ( | T1 * | dst, |
T2 * | src, | ||
const int | len | ||
) |
bool cineon::Read10bitFilled | ( | const Header & | dpxHeader, |
U32 * | readBuf, | ||
IR * | fd, | ||
const Block & | block, | ||
BUF * | data | ||
) |
bool cineon::Read10bitFilledMethodA | ( | const Header & | dpx, |
U32 * | readBuf, | ||
IR * | fd, | ||
const Block & | block, | ||
BUF * | data | ||
) |
bool cineon::Read10bitFilledMethodB | ( | const Header & | dpx, |
U32 * | readBuf, | ||
IR * | fd, | ||
const Block & | block, | ||
BUF * | data | ||
) |
bool cineon::Read10bitPacked | ( | const Header & | dpxHeader, |
U32 * | readBuf, | ||
IR * | fd, | ||
const Block & | block, | ||
BUF * | data | ||
) |
bool cineon::Read12bitFilledMethodB | ( | const Header & | dpxHeader, |
U16 * | readBuf, | ||
IR * | fd, | ||
const Block & | block, | ||
BUF * | data | ||
) |
bool cineon::Read12bitPacked | ( | const Header & | dpxHeader, |
U32 * | readBuf, | ||
IR * | fd, | ||
const Block & | block, | ||
BUF * | data | ||
) |
bool cineon::ReadBlockTypes | ( | const Header & | dpxHeader, |
SRC * | readBuf, | ||
IR * | fd, | ||
const Block & | block, | ||
BUF * | data | ||
) |
bool cineon::ReadImageBlock | ( | const Header & | dpxHeader, |
U32 * | readBuf, | ||
IR * | fd, | ||
const Block & | block, | ||
BUF * | data | ||
) |
bool cineon::ReadImageBlock | ( | const Header & | dpxHeader, |
U32 * | readBuf, | ||
IR * | fd, | ||
const Block & | block, | ||
void * | data, | ||
const DataSize | size | ||
) |
bool cineon::ReadPacked | ( | const Header & | dpxHeader, |
U32 * | readBuf, | ||
IR * | fd, | ||
const Block & | block, | ||
BUF * | data | ||
) |
void cineon::RleCompress | ( | IB * | src, |
IB * | dst, | ||
const int | bufsize, | ||
const int | len, | ||
BufferAccess & | access | ||
) |
void cineon::SwapBuffer | ( | T * | buf, |
unsigned int | len | ||
) |
T cineon::SwapBytes | ( | T & | value | ) |
|
inline |
|
inline |
|
inline |
void cineon::UnPackPacked | ( | U32 * | readBuf, |
const int | bitDepth, | ||
BUF * | data, | ||
int | count, | ||
int | bufoff | ||
) |
|
inline |
returns a string of the highest SMPTE DPX version supported by this library
int cineon::WriteBuffer | ( | OutStream * | fd, |
DataSize | src_size, | ||
void * | src_buf, | ||
const U32 | width, | ||
const U32 | height, | ||
const int | noc, | ||
const Packing | packing, | ||
const bool | reverse, | ||
const int | eolnPad, | ||
char * | blank, | ||
bool & | status | ||
) |
int cineon::WriteFloatBuffer | ( | OutStream * | fd, |
DataSize | src_size, | ||
void * | src_buf, | ||
const U32 | width, | ||
const U32 | height, | ||
const int | noc, | ||
const Packing | packing, | ||
const int | eolnPad, | ||
char * | blank, | ||
bool & | status | ||
) |
void cineon::WritePackedMethod | ( | IB * | src, |
IB * | dst, | ||
const int | len, | ||
const bool | reverse, | ||
BufferAccess & | access | ||
) |
void cineon::WritePackedMethodAB_10bit | ( | IB * | src, |
IB * | dst, | ||
const int | len, | ||
const bool | reverse, | ||
BufferAccess & | access | ||
) |
cineon::Endian cineon::systemByteOrder = (*(unsigned char*)lPtr == 0x78 ? cineon::kLittleEndian : cineon::kBigEndian) |