HDK
|
#include "ImfForward.h"
#include "ImfArray.h"
#include "ImfCompressor.h"
#include "ImfPixelType.h"
#include <cstddef>
#include <vector>
Go to the source code of this file.
Functions | |
OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER IMF_EXPORT int | pixelTypeSize (PixelType type) |
IMF_EXPORT int | numSamples (int s, int a, int b) |
IMF_EXPORT size_t | bytesPerLineTable (const Header &header, std::vector< size_t > &bytesPerLine) |
int & | sampleCount (char *base, int xStride, int yStride, int x, int y) |
const int & | sampleCount (const char *base, int xStride, int yStride, int x, int y) |
IMF_EXPORT size_t | bytesPerDeepLineTable (const Header &header, int minY, int maxY, const char *base, int xStride, int yStride, std::vector< size_t > &bytesPerLine) |
IMF_EXPORT size_t | bytesPerDeepLineTable (const Header &header, char *base, int xStride, int yStride, std::vector< size_t > &bytesPerLine) |
IMF_EXPORT void | offsetInLineBufferTable (const std::vector< size_t > &bytesPerLine, int scanline1, int scanline2, int linesInLineBuffer, std::vector< size_t > &offsetInLineBuffer) |
IMF_EXPORT void | offsetInLineBufferTable (const std::vector< size_t > &bytesPerLine, int linesInLineBuffer, std::vector< size_t > &offsetInLineBuffer) |
IMF_EXPORT int | lineBufferMinY (int y, int minY, int linesInLineBuffer) |
IMF_EXPORT int | lineBufferMaxY (int y, int minY, int linesInLineBuffer) |
IMF_EXPORT Compressor::Format | defaultFormat (Compressor *compressor) |
IMF_EXPORT int | numLinesInBuffer (Compressor *compressor) |
IMF_EXPORT void | copyIntoFrameBuffer (const char *&readPtr, char *writePtr, char *endPtr, size_t xStride, bool fill, double fillValue, Compressor::Format format, PixelType typeInFrameBuffer, PixelType typeInFile) |
IMF_EXPORT void | copyIntoDeepFrameBuffer (const char *&readPtr, char *base, const char *sampleCountBase, ptrdiff_t sampleCountXStride, ptrdiff_t sampleCountYStride, int y, int minX, int maxX, int xOffsetForSampleCount, int yOffsetForSampleCount, int xOffsetForData, int yOffsetForData, ptrdiff_t xStride, ptrdiff_t xPointerStride, ptrdiff_t yPointerStride, bool fill, double fillValue, Compressor::Format format, PixelType typeInFrameBuffer, PixelType typeInFile) |
IMF_EXPORT void | skipChannel (const char *&readPtr, PixelType typeInFile, size_t xSize) |
IMF_EXPORT void | convertInPlace (char *&toPtr, const char *&fromPtr, PixelType type, size_t numPixels) |
IMF_EXPORT void | copyFromFrameBuffer (char *&writePtr, const char *&readPtr, const char *endPtr, size_t xStride, Compressor::Format format, PixelType type) |
IMF_EXPORT void | copyFromDeepFrameBuffer (char *&writePtr, const char *base, char *sampleCountBase, ptrdiff_t sampleCountXStride, ptrdiff_t sampleCountYStride, int y, int xMin, int xMax, int xOffsetForSampleCount, int yOffsetForSampleCount, int xOffsetForData, int yOffsetForData, ptrdiff_t sampleStride, ptrdiff_t xStrideForData, ptrdiff_t yStrideForData, Compressor::Format format, PixelType type) |
IMF_EXPORT void | fillChannelWithZeroes (char *&writePtr, Compressor::Format format, PixelType type, size_t xSize) |
IMF_EXPORT bool | usesLongNames (const Header &header) |
IMF_EXPORT int | getChunkOffsetTableSize (const Header &header) |
IMF_EXPORT std::wstring | WidenFilename (const char *filename) |
IMF_EXPORT const char * | getLibraryVersion () |
IMF_EXPORT size_t bytesPerDeepLineTable | ( | const Header & | header, |
int | minY, | ||
int | maxY, | ||
const char * | base, | ||
int | xStride, | ||
int | yStride, | ||
std::vector< size_t > & | bytesPerLine | ||
) |
IMF_EXPORT size_t bytesPerDeepLineTable | ( | const Header & | header, |
char * | base, | ||
int | xStride, | ||
int | yStride, | ||
std::vector< size_t > & | bytesPerLine | ||
) |
IMF_EXPORT size_t bytesPerLineTable | ( | const Header & | header, |
std::vector< size_t > & | bytesPerLine | ||
) |
IMF_EXPORT void convertInPlace | ( | char *& | toPtr, |
const char *& | fromPtr, | ||
PixelType | type, | ||
size_t | numPixels | ||
) |
IMF_EXPORT void copyFromDeepFrameBuffer | ( | char *& | writePtr, |
const char * | base, | ||
char * | sampleCountBase, | ||
ptrdiff_t | sampleCountXStride, | ||
ptrdiff_t | sampleCountYStride, | ||
int | y, | ||
int | xMin, | ||
int | xMax, | ||
int | xOffsetForSampleCount, | ||
int | yOffsetForSampleCount, | ||
int | xOffsetForData, | ||
int | yOffsetForData, | ||
ptrdiff_t | sampleStride, | ||
ptrdiff_t | xStrideForData, | ||
ptrdiff_t | yStrideForData, | ||
Compressor::Format | format, | ||
PixelType | type | ||
) |
IMF_EXPORT void copyFromFrameBuffer | ( | char *& | writePtr, |
const char *& | readPtr, | ||
const char * | endPtr, | ||
size_t | xStride, | ||
Compressor::Format | format, | ||
PixelType | type | ||
) |
IMF_EXPORT void copyIntoDeepFrameBuffer | ( | const char *& | readPtr, |
char * | base, | ||
const char * | sampleCountBase, | ||
ptrdiff_t | sampleCountXStride, | ||
ptrdiff_t | sampleCountYStride, | ||
int | y, | ||
int | minX, | ||
int | maxX, | ||
int | xOffsetForSampleCount, | ||
int | yOffsetForSampleCount, | ||
int | xOffsetForData, | ||
int | yOffsetForData, | ||
ptrdiff_t | xStride, | ||
ptrdiff_t | xPointerStride, | ||
ptrdiff_t | yPointerStride, | ||
bool | fill, | ||
double | fillValue, | ||
Compressor::Format | format, | ||
PixelType | typeInFrameBuffer, | ||
PixelType | typeInFile | ||
) |
IMF_EXPORT void copyIntoFrameBuffer | ( | const char *& | readPtr, |
char * | writePtr, | ||
char * | endPtr, | ||
size_t | xStride, | ||
bool | fill, | ||
double | fillValue, | ||
Compressor::Format | format, | ||
PixelType | typeInFrameBuffer, | ||
PixelType | typeInFile | ||
) |
IMF_EXPORT Compressor::Format defaultFormat | ( | Compressor * | compressor | ) |
IMF_EXPORT void fillChannelWithZeroes | ( | char *& | writePtr, |
Compressor::Format | format, | ||
PixelType | type, | ||
size_t | xSize | ||
) |
IMF_EXPORT int getChunkOffsetTableSize | ( | const Header & | header | ) |
IMF_EXPORT const char* getLibraryVersion | ( | ) |
IMF_EXPORT int lineBufferMaxY | ( | int | y, |
int | minY, | ||
int | linesInLineBuffer | ||
) |
IMF_EXPORT int lineBufferMinY | ( | int | y, |
int | minY, | ||
int | linesInLineBuffer | ||
) |
IMF_EXPORT int numLinesInBuffer | ( | Compressor * | compressor | ) |
IMF_EXPORT int numSamples | ( | int | s, |
int | a, | ||
int | b | ||
) |
IMF_EXPORT void offsetInLineBufferTable | ( | const std::vector< size_t > & | bytesPerLine, |
int | scanline1, | ||
int | scanline2, | ||
int | linesInLineBuffer, | ||
std::vector< size_t > & | offsetInLineBuffer | ||
) |
IMF_EXPORT void offsetInLineBufferTable | ( | const std::vector< size_t > & | bytesPerLine, |
int | linesInLineBuffer, | ||
std::vector< size_t > & | offsetInLineBuffer | ||
) |
OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER IMF_EXPORT int pixelTypeSize | ( | PixelType | type | ) |
IMF_EXPORT void skipChannel | ( | const char *& | readPtr, |
PixelType | typeInFile, | ||
size_t | xSize | ||
) |
IMF_EXPORT bool usesLongNames | ( | const Header & | header | ) |
IMF_EXPORT std::wstring WidenFilename | ( | const char * | filename | ) |