TuttleOFX
1
|
OpenDPX namespace. More...
Data Structures | |
class | Codec |
compress / decompress data segments base class defaults to None More... | |
struct | Block |
Rectangle block definition defined by two points. More... | |
class | Reader |
DPX Image Reader class. More... | |
class | Writer |
DPX Image Writer class. More... | |
struct | ImageElement |
Data Structure for Image Element. More... | |
struct | GenericHeader |
Generic File and Image Header Information. More... | |
struct | IndustryHeader |
Motion Picture and Television Industry Specific Information. More... | |
struct | Header |
Complete DPX Header. More... | |
struct | UserDefinedData |
User Defined data. More... | |
class | ElementReadStream |
class | RunLengthEncoding |
compress / decompress data segments, used for RLE compression More... | |
struct | BufferAccess |
Typedefs | |
typedef unsigned char | U8 |
Unsigned 8 bit integer. | |
typedef unsigned short | U16 |
Unsigned 16 bit integer. | |
typedef unsigned int | U32 |
Unsigned 32 bit integer. | |
typedef float | R32 |
32 bit floating point number | |
typedef double | R64 |
64 bit floating point number | |
typedef char | ASCII |
ASCII character. | |
Enumerations | |
enum | Endian { kLittleEndian, kBigEndian } |
DPX files can be stored in big- or little-endian byte order. More... | |
enum | DataSize { kByte, kWord, kInt, kFloat, kDouble } |
Component Data Storage Data Type. More... | |
enum | Orientation { kLeftToRightTopToBottom = 0, kRightToLeftTopToBottom = 1, kLeftToRightBottomToTop = 2, kRightToLeftBottomToTop = 3, kTopToBottomLeftToRight = 4, kTopToBottomRightToLeft = 5, kBottomToTopLeftToRight = 6, kBottomToTopRightToLeft = 7, kUndefinedOrientation = 0xffff } |
Image Orientation Code. More... | |
enum | Descriptor { kUserDefinedDescriptor = 0, kRed = 1, kGreen = 2, kBlue = 3, kAlpha = 4, kLuma = 6, kColorDifference = 7, kDepth = 8, kCompositeVideo = 9, kRGB = 50, kRGBA = 51, kABGR = 52, kCbYCrY = 100, kCbYACrYA = 101, kCbYCr = 102, kCbYCrA = 103, kUserDefined2Comp = 150, kUserDefined3Comp = 151, kUserDefined4Comp = 152, kUserDefined5Comp = 153, kUserDefined6Comp = 154, kUserDefined7Comp = 155, kUserDefined8Comp = 156, kUndefinedDescriptor = 0xff } |
Image element Descriptor. More... | |
enum | Characteristic { kUserDefined = 0, kPrintingDensity, kLinear, kLogarithmic, kUnspecifiedVideo, kSMPTE274M, kITUR709, kITUR601, kITUR602, kNTSCCompositeVideo, kPALCompositeVideo, kZLinear, kZHomogeneous, kUndefinedCharacteristic = 0xff } |
Transfer Characteristic and Colorimetric Specification. More... | |
enum | VideoSignal { kUndefined = 0, kNTSC = 1, kPAL = 2, kPAL_M = 3, kSECAM = 4, k525LineInterlace43AR = 50, k625LineInterlace43AR = 51, k525LineInterlace169AR = 100, k625LineInterlace169AR = 101, k1050LineInterlace169AR = 150, k1125LineInterlace169AR_274 = 151, k1250LineInterlace169AR = 152, k1125LineInterlace169AR_240 = 153, k525LineProgressive169AR = 200, k625LineProgressive169AR = 201, k750LineProgressive169AR = 202, k1125LineProgressive169AR = 203 } |
Video Signal Standard. More... | |
enum | Packing { kPacked = 0, kFilledMethodA = 1, kFilledMethodB = 2 } |
Component data packing method. More... | |
enum | Encoding { kNone = 0, kRLE = 1 } |
Component data encoding method. More... | |
Functions | |
void | BaseTypeConverter (U8 &src, U8 &dst) |
void | BaseTypeConverter (U8 &src, U16 &dst) |
void | BaseTypeConverter (U8 &src, U32 &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, 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, R32 &dst) |
void | BaseTypeConverter (U32 &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, 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, R32 &dst) |
void | BaseTypeConverter (R64 &src, R64 &dst) |
void | BaseTypeConvertU10ToU16 (U16 &src, U16 &dst) |
void | BaseTypeConvertU12ToU16 (U16 &src, U16 &dst) |
bool | IdentifyFile (InStream *file) |
determine if the image file is DPX | |
bool | IdentifyFile (const void *data) |
determine if the image file is DPX | |
const char * | DefaultExtension () |
returns a char * of the default DPX file extension | |
const char * | Version () |
const char * | LibraryVersion () |
returns the version string for this library | |
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 BUF , int PADDINGBITS> | |
void | Unfill10bitFilled (U32 *readBuf, const int x, BUF *data, int count, int bufoff, const int numberOfComponents) |
template<typename IR , typename BUF , int PADDINGBITS> | |
bool | Read10bitFilled (const Header &dpxHeader, U32 *readBuf, IR *fd, const int element, const Block &block, BUF *data) |
template<typename IR , typename BUF > | |
bool | Read10bitFilledMethodA (const Header &dpx, U32 *readBuf, IR *fd, const int element, const Block &block, BUF *data) |
template<typename IR , typename BUF > | |
bool | Read10bitFilledMethodB (const Header &dpx, U32 *readBuf, IR *fd, const int element, 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 int element, const Block &block, BUF *data) |
template<typename IR , typename BUF > | |
bool | Read10bitPacked (const Header &dpxHeader, U32 *readBuf, IR *fd, const int element, const Block &block, BUF *data) |
template<typename IR , typename BUF > | |
bool | Read12bitPacked (const Header &dpxHeader, U32 *readBuf, IR *fd, const int element, 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 int element, const Block &block, BUF *data) |
template<typename IR , typename BUF > | |
bool | Read12bitFilledMethodB (const Header &dpxHeader, U16 *readBuf, IR *fd, const int element, const Block &block, BUF *data) |
template<typename IR , typename BUF , DataSize BUFTYPE> | |
bool | ReadImageBlock (const Header &dpxHeader, U32 *readBuf, IR *fd, const int element, const Block &block, BUF *data) |
template<typename IR > | |
bool | ReadImageBlock (const Header &dpxHeader, U32 *readBuf, IR *fd, const int element, const Block &block, void *data, const DataSize size) |
void | EndianBufferSwap (int bitdepth, dpx::Packing packing, void *buf, const size_t 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 rle, const bool reverse, const int eolnPad, char *blank, bool &status, bool swapEndian) |
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 bool rle, const int eolnPad, char *blank, bool &status, bool swapEndian) |
Variables | |
Endian | systemByteOrder = (*(unsigned char*)lPtr == 0x78 ? dpx::kLittleEndian : dpx::kBigEndian) |
OpenDPX namespace.
char dpx::ASCII |
ASCII character.
Definition at line 118 of file DPXHeader.h.
float dpx::R32 |
32 bit floating point number
Definition at line 106 of file DPXHeader.h.
float dpx::R64 |
64 bit floating point number
Definition at line 112 of file DPXHeader.h.
unsigned char dpx::U16 |
Unsigned 16 bit integer.
Definition at line 94 of file DPXHeader.h.
unsigned char dpx::U32 |
Unsigned 32 bit integer.
Definition at line 100 of file DPXHeader.h.
unsigned char dpx::U8 |
Unsigned 8 bit integer.
Definition at line 88 of file DPXHeader.h.
enum dpx::Characteristic |
Transfer Characteristic and Colorimetric Specification.
Definition at line 190 of file DPXHeader.h.
enum dpx::DataSize |
Component Data Storage Data Type.
Definition at line 125 of file DPXHeader.h.
enum dpx::Descriptor |
Image element Descriptor.
Definition at line 157 of file DPXHeader.h.
enum dpx::Encoding |
enum dpx::Endian |
enum dpx::Orientation |
Image Orientation Code.
Definition at line 139 of file DPXHeader.h.
enum dpx::Packing |
Component data packing method.
kPacked |
Packed into 32-bit words. |
kFilledMethodA |
Filled to 32-bit words, method A. |
kFilledMethodB |
Filled to 32-bit words, method B. |
Definition at line 239 of file DPXHeader.h.
enum dpx::VideoSignal |
Video Signal Standard.
Definition at line 213 of file DPXHeader.h.
void dpx::BaseTypeConverter | ( | U8 & | src, |
U8 & | dst | ||
) | [inline] |
Definition at line 60 of file BaseTypeConverter.h.
Referenced by MultiTypeBufferCopy(), Read10bitFilled(), Read12bitFilledMethodB(), ReadBlockTypes(), Unfill10bitFilled(), and UnPackPacked().
void dpx::BaseTypeConverter | ( | U8 & | src, |
U16 & | dst | ||
) | [inline] |
Definition at line 65 of file BaseTypeConverter.h.
void dpx::BaseTypeConverter | ( | U8 & | src, |
U32 & | dst | ||
) | [inline] |
Definition at line 70 of file BaseTypeConverter.h.
void dpx::BaseTypeConverter | ( | U8 & | src, |
R32 & | dst | ||
) | [inline] |
Definition at line 75 of file BaseTypeConverter.h.
void dpx::BaseTypeConverter | ( | U8 & | src, |
R64 & | dst | ||
) | [inline] |
Definition at line 80 of file BaseTypeConverter.h.
void dpx::BaseTypeConverter | ( | U16 & | src, |
U8 & | dst | ||
) | [inline] |
Definition at line 85 of file BaseTypeConverter.h.
void dpx::BaseTypeConverter | ( | U16 & | src, |
U16 & | dst | ||
) | [inline] |
Definition at line 90 of file BaseTypeConverter.h.
void dpx::BaseTypeConverter | ( | U16 & | src, |
U32 & | dst | ||
) | [inline] |
Definition at line 95 of file BaseTypeConverter.h.
void dpx::BaseTypeConverter | ( | U16 & | src, |
R32 & | dst | ||
) | [inline] |
Definition at line 100 of file BaseTypeConverter.h.
void dpx::BaseTypeConverter | ( | U16 & | src, |
R64 & | dst | ||
) | [inline] |
Definition at line 105 of file BaseTypeConverter.h.
void dpx::BaseTypeConverter | ( | U32 & | src, |
U8 & | dst | ||
) | [inline] |
Definition at line 110 of file BaseTypeConverter.h.
void dpx::BaseTypeConverter | ( | U32 & | src, |
U16 & | dst | ||
) | [inline] |
Definition at line 115 of file BaseTypeConverter.h.
void dpx::BaseTypeConverter | ( | U32 & | src, |
U32 & | dst | ||
) | [inline] |
Definition at line 120 of file BaseTypeConverter.h.
void dpx::BaseTypeConverter | ( | U32 & | src, |
R32 & | dst | ||
) | [inline] |
Definition at line 125 of file BaseTypeConverter.h.
void dpx::BaseTypeConverter | ( | U32 & | src, |
R64 & | dst | ||
) | [inline] |
Definition at line 130 of file BaseTypeConverter.h.
void dpx::BaseTypeConverter | ( | R32 & | src, |
U8 & | dst | ||
) | [inline] |
Definition at line 135 of file BaseTypeConverter.h.
void dpx::BaseTypeConverter | ( | R32 & | src, |
U16 & | dst | ||
) | [inline] |
Definition at line 140 of file BaseTypeConverter.h.
void dpx::BaseTypeConverter | ( | R32 & | src, |
U32 & | dst | ||
) | [inline] |
Definition at line 145 of file BaseTypeConverter.h.
void dpx::BaseTypeConverter | ( | R32 & | src, |
R32 & | dst | ||
) | [inline] |
Definition at line 150 of file BaseTypeConverter.h.
void dpx::BaseTypeConverter | ( | R32 & | src, |
R64 & | dst | ||
) | [inline] |
Definition at line 155 of file BaseTypeConverter.h.
void dpx::BaseTypeConverter | ( | R64 & | src, |
U8 & | dst | ||
) | [inline] |
Definition at line 160 of file BaseTypeConverter.h.
void dpx::BaseTypeConverter | ( | R64 & | src, |
U16 & | dst | ||
) | [inline] |
Definition at line 165 of file BaseTypeConverter.h.
void dpx::BaseTypeConverter | ( | R64 & | src, |
U32 & | dst | ||
) | [inline] |
Definition at line 170 of file BaseTypeConverter.h.
void dpx::BaseTypeConverter | ( | R64 & | src, |
R32 & | dst | ||
) | [inline] |
Definition at line 175 of file BaseTypeConverter.h.
void dpx::BaseTypeConverter | ( | R64 & | src, |
R64 & | dst | ||
) | [inline] |
Definition at line 180 of file BaseTypeConverter.h.
void dpx::BaseTypeConvertU10ToU16 | ( | U16 & | src, |
U16 & | dst | ||
) | [inline] |
Definition at line 185 of file BaseTypeConverter.h.
Referenced by Read10bitFilled(), Unfill10bitFilled(), and UnPackPacked().
void dpx::BaseTypeConvertU12ToU16 | ( | U16 & | src, |
U16 & | dst | ||
) | [inline] |
Definition at line 190 of file BaseTypeConverter.h.
Referenced by Read12bitFilledMethodB(), and UnPackPacked().
void dpx::CopyWriteBuffer | ( | DataSize | src_size, |
unsigned char * | src, | ||
IB * | dst, | ||
const int | len | ||
) |
const char * dpx::DefaultExtension | ( | ) | [inline] |
void dpx::EndianBufferSwap | ( | int | bitdepth, |
dpx::Packing | packing, | ||
void * | buf, | ||
const size_t | size | ||
) |
Definition at line 47 of file WriterInternal.h.
References kPacked.
Referenced by WriteBuffer(), and WriteFloatBuffer().
void dpx::EndianSwapImageBuffer | ( | void * | data, |
int | length | ||
) |
Definition at line 97 of file EndianSwap.h.
References kByte, kDouble, kFloat, kInt, kWord, and SwapBuffer().
Referenced by dpx::Reader::ReadBlock().
void dpx::EndianSwapImageBuffer | ( | DataSize | size, |
void * | data, | ||
int | length | ||
) | [inline] |
Definition at line 123 of file EndianSwap.h.
References kByte, kDouble, kFloat, kInt, kWord, and SwapBuffer().
bool dpx::IdentifyFile | ( | InStream * | file | ) |
determine if the image file is DPX
file | buffer to read and search |
Definition at line 55 of file DPX.cpp.
References InStream::Read(), InStream::Rewind(), and dpx::Header::ValidMagicCookie().
bool dpx::IdentifyFile | ( | const void * | data | ) |
determine if the image file is DPX
data | memory to search |
Definition at line 70 of file DPX.cpp.
References dpx::Header::ValidMagicCookie().
const char * dpx::LibraryVersion | ( | ) | [inline] |
returns the version string for this library
Definition at line 461 of file DPX.h.
References OPENDPX_VERSION.
void dpx::MultiTypeBufferCopy | ( | T1 * | dst, |
T2 * | src, | ||
const int | len | ||
) |
Definition at line 69 of file WriterInternal.h.
References BaseTypeConverter().
bool dpx::Read10bitFilled | ( | const Header & | dpxHeader, |
U32 * | readBuf, | ||
IR * | fd, | ||
const int | element, | ||
const Block & | block, | ||
BUF * | data | ||
) |
Definition at line 122 of file ReaderInternal.h.
References BaseTypeConverter(), BaseTypeConvertU10ToU16(), dpx::GenericHeader::EndOfLinePadding(), height, dpx::GenericHeader::ImageElementComponentCount(), tuttle::ofx::imageEffect::numberOfComponents(), std::swap(), dpx::Header::Width(), dpx::Block::x1, dpx::Block::x2, dpx::Block::y1, and dpx::Block::y2.
bool dpx::Read10bitFilledMethodA | ( | const Header & | dpx, |
U32 * | readBuf, | ||
IR * | fd, | ||
const int | element, | ||
const Block & | block, | ||
BUF * | data | ||
) |
Definition at line 200 of file ReaderInternal.h.
bool dpx::Read10bitFilledMethodB | ( | const Header & | dpx, |
U32 * | readBuf, | ||
IR * | fd, | ||
const int | element, | ||
const Block & | block, | ||
BUF * | data | ||
) |
Definition at line 208 of file ReaderInternal.h.
bool dpx::Read10bitPacked | ( | const Header & | dpxHeader, |
U32 * | readBuf, | ||
IR * | fd, | ||
const int | element, | ||
const Block & | block, | ||
BUF * | data | ||
) |
Definition at line 309 of file ReaderInternal.h.
bool dpx::Read12bitFilledMethodB | ( | const Header & | dpxHeader, |
U16 * | readBuf, | ||
IR * | fd, | ||
const int | element, | ||
const Block & | block, | ||
BUF * | data | ||
) |
Definition at line 371 of file ReaderInternal.h.
References BaseTypeConverter(), BaseTypeConvertU12ToU16(), dpx::GenericHeader::EndOfLinePadding(), height, dpx::GenericHeader::ImageElementComponentCount(), tuttle::ofx::imageEffect::numberOfComponents(), width, dpx::Header::Width(), dpx::Block::x1, dpx::Block::x2, dpx::Block::y1, and dpx::Block::y2.
bool dpx::Read12bitPacked | ( | const Header & | dpxHeader, |
U32 * | readBuf, | ||
IR * | fd, | ||
const int | element, | ||
const Block & | block, | ||
BUF * | data | ||
) |
Definition at line 316 of file ReaderInternal.h.
bool dpx::ReadBlockTypes | ( | const Header & | dpxHeader, |
SRC * | readBuf, | ||
IR * | fd, | ||
const int | element, | ||
const Block & | block, | ||
BUF * | data | ||
) |
Definition at line 323 of file ReaderInternal.h.
References BaseTypeConverter(), dpx::GenericHeader::ComponentByteCount(), dpx::GenericHeader::EndOfLinePadding(), height, dpx::GenericHeader::ImageElementComponentCount(), tuttle::ofx::imageEffect::numberOfComponents(), width, dpx::Header::Width(), dpx::Block::x1, dpx::Block::x2, dpx::Block::y1, and dpx::Block::y2.
bool dpx::ReadImageBlock | ( | const Header & | dpxHeader, |
U32 * | readBuf, | ||
IR * | fd, | ||
const int | element, | ||
const Block & | block, | ||
BUF * | data | ||
) |
Definition at line 439 of file ReaderInternal.h.
References dpx::GenericHeader::BitDepth(), dpx::GenericHeader::ComponentDataSize(), dpx::GenericHeader::ImagePacking(), kByte, kDouble, kFilledMethodA, kFilledMethodB, kFloat, kInt, kPacked, and kWord.
bool dpx::ReadImageBlock | ( | const Header & | dpxHeader, |
U32 * | readBuf, | ||
IR * | fd, | ||
const int | element, | ||
const Block & | block, | ||
void * | data, | ||
const DataSize | size | ||
) |
bool dpx::ReadPacked | ( | const Header & | dpxHeader, |
U32 * | readBuf, | ||
IR * | fd, | ||
const int | element, | ||
const Block & | block, | ||
BUF * | data | ||
) |
Definition at line 265 of file ReaderInternal.h.
References dpx::GenericHeader::BitDepth(), dpx::GenericHeader::EndOfLinePadding(), height, dpx::GenericHeader::ImageElementComponentCount(), tuttle::ofx::imageEffect::numberOfComponents(), dpx::Header::Width(), dpx::Block::x1, dpx::Block::x2, dpx::Block::y1, and dpx::Block::y2.
void dpx::RleCompress | ( | IB * | src, |
IB * | dst, | ||
const int | bufsize, | ||
const int | len, | ||
BufferAccess & | access | ||
) |
Definition at line 103 of file WriterInternal.h.
References dpx::BufferAccess::length, and dpx::BufferAccess::offset.
void dpx::SwapBuffer | ( | T * | buf, |
unsigned int | len | ||
) |
Definition at line 89 of file EndianSwap.h.
References SwapBytes().
Referenced by EndianSwapImageBuffer().
T dpx::SwapBytes | ( | T & | value | ) |
Definition at line 44 of file EndianSwap.h.
Referenced by dpx::Writer::SetFileInfo(), SwapBuffer(), dpx::Header::Validate(), dpx::Header::ValidMagicCookie(), and dpx::Header::WriteOffsetData().
unsigned short dpx::SwapBytes | ( | unsigned short & | value | ) | [inline] |
Definition at line 65 of file EndianSwap.h.
unsigned char dpx::SwapBytes | ( | unsigned char & | value | ) | [inline] |
Definition at line 75 of file EndianSwap.h.
char dpx::SwapBytes | ( | char & | value | ) | [inline] |
Definition at line 82 of file EndianSwap.h.
void dpx::Unfill10bitFilled | ( | U32 * | readBuf, |
const int | x, | ||
BUF * | data, | ||
int | count, | ||
int | bufoff, | ||
const int | numberOfComponents | ||
) |
Definition at line 65 of file ReaderInternal.h.
References BaseTypeConverter(), BaseTypeConvertU10ToU16(), and tuttle::ofx::imageEffect::numberOfComponents().
void dpx::UnPackPacked | ( | U32 * | readBuf, |
const int | bitDepth, | ||
BUF * | data, | ||
int | count, | ||
int | bufoff | ||
) |
Definition at line 217 of file ReaderInternal.h.
References BaseTypeConverter(), BaseTypeConvertU10ToU16(), and BaseTypeConvertU12ToU16().
const char * dpx::Version | ( | ) | [inline] |
returns a string of the highest SMPTE DPX version supported by this library
Definition at line 455 of file DPX.h.
References SMPTE_VERSION.
int dpx::WriteBuffer | ( | OutStream * | fd, |
DataSize | src_size, | ||
void * | src_buf, | ||
const U32 | width, | ||
const U32 | height, | ||
const int | noc, | ||
const Packing | packing, | ||
const bool | rle, | ||
const bool | reverse, | ||
const int | eolnPad, | ||
char * | blank, | ||
bool & | status, | ||
bool | swapEndian | ||
) |
Definition at line 257 of file WriterInternal.h.
References dpx::GenericHeader::DataSizeByteCount(), EndianBufferSwap(), height, kFilledMethodA, kFilledMethodB, kPacked, dpx::BufferAccess::length, dpx::BufferAccess::offset, and OutStream::Write().
int dpx::WriteFloatBuffer | ( | OutStream * | fd, |
DataSize | src_size, | ||
void * | src_buf, | ||
const U32 | width, | ||
const U32 | height, | ||
const int | noc, | ||
const Packing | packing, | ||
const bool | rle, | ||
const int | eolnPad, | ||
char * | blank, | ||
bool & | status, | ||
bool | swapEndian | ||
) |
Definition at line 367 of file WriterInternal.h.
References dpx::GenericHeader::DataSizeByteCount(), EndianBufferSwap(), height, dpx::BufferAccess::length, dpx::BufferAccess::offset, and OutStream::Write().
void dpx::WritePackedMethod | ( | IB * | src, |
IB * | dst, | ||
const int | len, | ||
const bool | reverse, | ||
BufferAccess & | access | ||
) |
Definition at line 144 of file WriterInternal.h.
References dpx::BufferAccess::length, and dpx::BufferAccess::offset.
void dpx::WritePackedMethodAB_10bit | ( | IB * | src, |
IB * | dst, | ||
const int | len, | ||
const bool | reverse, | ||
BufferAccess & | access | ||
) |
Definition at line 205 of file WriterInternal.h.
References kFilledMethodA, dpx::BufferAccess::length, and dpx::BufferAccess::offset.
dpx::Endian dpx::systemByteOrder = (*(unsigned char*)lPtr == 0x78 ? dpx::kLittleEndian : dpx::kBigEndian) |