RenderManAPI
24.0
|
Go to the source code of this file.
Classes | |
struct | PtDspyDevFormat |
struct | PtDspySizeInfo |
struct | PtDspyOverwriteInfo |
struct | PtDspyRedrawInfo |
struct | PtDspyRewriteInfo |
struct | PtDspyNextDataInfo |
struct | PtDspyRenderingStartQuery |
struct | PtDspySupportsCheckpointing |
struct | PtDspyPointCloudQuery |
struct | PtDspyGridQuery |
struct | PtDspyMultiResolutionQuery |
struct | PtDspyQuantizationQuery |
struct | PtMemoryUsageQuery |
struct | PtElapsedTimeQuery |
struct | PtFlagStuff |
struct | PtDspyMsgOpen |
struct | PtDspyMsgAddOutput |
struct | PtDspyMsgImage |
struct | PtDspyMsgData |
struct | PtDspyMsgActiveRegion |
struct | PtDspyMsgDeepData |
struct | PtDspyMsgQuery |
struct | PtDspyMsgClose |
struct | PtDspyMsgMetadata |
struct | PtDspyMsgFormat |
struct | uparam |
struct | PtDspyDriverFunctionTable |
Typedefs | |
typedef double | PtDspyFloat64 |
typedef float | PtDspyFloat32 |
typedef unsigned int | PtDspyUnsigned32 |
typedef int | PtDspySigned32 |
typedef unsigned short | PtDspyUnsigned16 |
typedef short | PtDspySigned16 |
typedef unsigned char | PtDspyUnsigned8 |
typedef char | PtDspySigned8 |
typedef PtDspyUnsigned32 | PtDspyMsgLen |
typedef PtDspyUnsigned32 | PtDspyServerMessage |
typedef void * | PtDspyImageHandle |
typedef void * | PtDspyChannel |
typedef void * | PtDspyOutput |
typedef struct uparam | UserParameter |
typedef PtDspyError(* | PtDspyOpenFuncPtr) (PtDspyImageHandle *image, const char *drivername, const char *filename, int width, int height, int paramCount, const UserParameter *parameters, int iFormatCount, PtDspyDevFormat *format, PtFlagStuff *flagstuff) |
typedef PtDspyError(* | PtDspyWriteFuncPtr) (PtDspyImageHandle image, int xmin, int xmax_plus_one, int ymin, int ymax_plus_one, int entrysize, const unsigned char *data) |
typedef PtDspyError(* | PtDspyDeepWriteFuncPtr) (PtDspyImageHandle image, int xmin, int xmax_plus_one, int ymin, int ymax_plus_one, char *data, int datasize, PtDspyUnsigned32 *pixeloffsets, PtDspyUnsigned32 *pixelsizes) |
typedef PtDspyError(* | PtDspyActiveRegionFuncPtr) (PtDspyImageHandle image, int xmin, int xmax_plus_one, int ymin, int ymax_plus_one) |
typedef PtDspyError(* | PtDspyMetadataFuncPtr) (PtDspyImageHandle image, char *metadata) |
typedef PtDspyError(* | PtDspyCloseFuncPtr) (PtDspyImageHandle) |
typedef PtDspyError(* | PtDspyFlushFuncPtr) (PtDspyImageHandle) |
typedef PtDspyError(* | PtDspyReopenFuncPtr) (PtDspyImageHandle image, const char *drivername, const char *filename, int width, int height, int paramCount, const UserParameter *parameters, int iFormatCount, PtDspyDevFormat *format, PtFlagStuff *flagstuff) |
typedef PtDspyError(* | PtDspyDelayCloseFuncPtr) (PtDspyImageHandle) |
typedef PtDspyError(* | PtDspyQueryFuncPtr) (PtDspyImageHandle, PtDspyQueryType, int, void *) |
Functions | |
PRMANAPI void | DspyMemReverseCopy (unsigned char *t, const unsigned char *s, int len) |
PRMANAPI void | DspyMemReverse (unsigned char *t, int len) |
PRMANAPI PtDspyError | DspyFindStringInParamList (RtConstString const string, char **result, int paramCount, const UserParameter *parameters) |
PRMANAPI PtDspyError | DspyFindMatrixInParamList (RtConstString const string, float *result, int paramCount, const UserParameter *parameters) |
PRMANAPI PtDspyError | DspyFindFloatInParamList (RtConstString const string, float *result, int paramCount, const UserParameter *parameters) |
PRMANAPI PtDspyError | DspyFindFloatsInParamList (RtConstString const string, int *resultCount, float *result, int paramCount, const UserParameter *parameters) |
PRMANAPI PtDspyError | DspyFindIntInParamList (RtConstString const string, int *result, int paramCount, const UserParameter *parameters) |
PRMANAPI PtDspyError | DspyFindIntsInParamList (RtConstString const string, int *resultCount, int *result, int paramCount, const UserParameter *parameters) |
PRMANAPI PtDspyError | DspyReorderFormattingRE (int formatCount, PtDspyDevFormat *format, int outFormatCount, const PtDspyDevFormat *outFormat) |
reorder incoming channels to match outFormat's order match incoming channels to outFormat's regex channel names. More... | |
PRMANAPI PtDspyError | DspyReorderFormatting (int formatCount, PtDspyDevFormat *format, int outFormatCount, const PtDspyDevFormat *outFormat) |
PRMANAPI void | DspyError (const char *module, const char *fmt,...) |
PRMANAPI PtDspyError | DspyRegisterDriver (const char *name, const PtDspyOpenFuncPtr pOpen, const PtDspyWriteFuncPtr pWrite, const PtDspyCloseFuncPtr pClose, const PtDspyQueryFuncPtr pQuery) |
PRMANAPI PtDspyError | DspyRegisterDriverTable (const char *name, const PtDspyDriverFunctionTable *pTable) |
PRMANAPI int | DspyGetNumberOfHosts () |
PRMANEXPORT PtDspyError | DspyImageOpen (PtDspyImageHandle *image, const char *drivername, const char *filename, int width, int height, int paramCount, const UserParameter *parameters, int iFormatCount, PtDspyDevFormat *format, PtFlagStuff *flagstuff) |
PRMANEXPORT PtDspyError | DspyImageData (PtDspyImageHandle image, int xmin, int xmax, int ymin, int ymax, int entrysize, const unsigned char *data) |
PRMANEXPORT PtDspyError | DspyImageActiveRegion (PtDspyImageHandle image, int xmin, int xmax, int ymin, int ymax) |
PRMANEXPORT PtDspyError | DspyImageClose (PtDspyImageHandle) |
PRMANEXPORT PtDspyError | DspyImageReopen (PtDspyImageHandle image, const char *drivername, const char *filename, int width, int height, int paramCount, const UserParameter *parameters, int iFormatCount, PtDspyDevFormat *format, PtFlagStuff *flagstuff) |
PRMANEXPORT PtDspyError | DspyImageDelayClose (PtDspyImageHandle) |
PRMANEXPORT PtDspyError | DspyImageQuery (PtDspyImageHandle, PtDspyQueryType, int, void *) |
PRMANEXPORT PtDspyError | DspyMetadata (PtDspyImageHandle, char *metadata) |
PRMANEXPORT PtDspyError | DspyImageDeepData (PtDspyImageHandle pvImage, int xmin, int xmax, int ymin, int ymax, char *data, int datasize, int *pixeloffsets, int *pixelsizes) |
PRMAN_INLINE int | DspyClamp (float value, int min, int max) |
PRMAN_INLINE float | DspyLinearTosRGB (float u) |
PRMAN_INLINE int | DspyQuantize (float value, int x, int y, int k, int min, int max, int dither) |
#define PkDspyArrayBegin 10 |
#define PkDspyArrayEnd 11 |
#define PkDspyByteOrderHiLo 8192 |
#define PkDspyByteOrderLoHi 16384 |
#define PkDspyByteOrderNative PkDspyByteOrderLoHi |
#define PkDspyClassFloat 1 |
#define PkDspyClassInt 2 |
#define PkDspyFlagsWantsEmptyBuckets 2 |
#define PkDspyFlagsWantsNullEmptyBuckets 4 |
#define PkDspyFlagsWantsScanLineOrder 1 |
#define PkDspyFloat32 1 |
#define PkDspyMaskOrder (PkDspyByteOrderHiLo | PkDspyByteOrderLoHi) |
#define PkDspyMaskType 8191 |
#define PkDspyMaxMsgSize 131064 |
#define PkDspyNone 0 |
#define PkDspyOpenPortCount 1024 |
#define PkDspyServerMsgActiveRegion (65 + 7) |
#define PkDspyServerMsgClose (65 + 5) |
#define PkDspyServerMsgData (65 + 3) |
#define PkDspyServerMsgDeepData (65 + 6) |
#define PkDspyServerMsgImage (65 + 2) |
#define PkDspyServerMsgMetadata (65 + 8) |
#define PkDspyServerMsgMetadataPart (65 + 9) |
#define PkDspyServerMsgOpen (65 + 1) |
#define PkDspyServerMsgQuery (65 + 4) |
#define PkDspyShiftOrder 13 |
#define PkDspySigned16 5 |
#define PkDspySigned32 3 |
#define PkDspySigned8 7 |
#define PkDspyUnsigned16 4 |
#define PkDspyUnsigned32 2 |
#define PkDspyUnsigned8 6 |
typedef PtDspyError(* PtDspyActiveRegionFuncPtr) (PtDspyImageHandle image, int xmin, int xmax_plus_one, int ymin, int ymax_plus_one) |
typedef void* PtDspyChannel |
typedef PtDspyError(* PtDspyCloseFuncPtr) (PtDspyImageHandle) |
typedef PtDspyError(* PtDspyDeepWriteFuncPtr) (PtDspyImageHandle image, int xmin, int xmax_plus_one, int ymin, int ymax_plus_one, char *data, int datasize, PtDspyUnsigned32 *pixeloffsets, PtDspyUnsigned32 *pixelsizes) |
typedef PtDspyError(* PtDspyDelayCloseFuncPtr) (PtDspyImageHandle) |
typedef float PtDspyFloat32 |
typedef double PtDspyFloat64 |
typedef PtDspyError(* PtDspyFlushFuncPtr) (PtDspyImageHandle) |
typedef void* PtDspyImageHandle |
typedef PtDspyError(* PtDspyMetadataFuncPtr) (PtDspyImageHandle image, char *metadata) |
typedef PtDspyUnsigned32 PtDspyMsgLen |
typedef PtDspyError(* PtDspyOpenFuncPtr) (PtDspyImageHandle *image, const char *drivername, const char *filename, int width, int height, int paramCount, const UserParameter *parameters, int iFormatCount, PtDspyDevFormat *format, PtFlagStuff *flagstuff) |
typedef void* PtDspyOutput |
typedef PtDspyError(* PtDspyQueryFuncPtr) (PtDspyImageHandle, PtDspyQueryType, int, void *) |
typedef PtDspyError(* PtDspyReopenFuncPtr) (PtDspyImageHandle image, const char *drivername, const char *filename, int width, int height, int paramCount, const UserParameter *parameters, int iFormatCount, PtDspyDevFormat *format, PtFlagStuff *flagstuff) |
typedef PtDspyUnsigned32 PtDspyServerMessage |
typedef short PtDspySigned16 |
typedef int PtDspySigned32 |
typedef char PtDspySigned8 |
typedef unsigned short PtDspyUnsigned16 |
typedef unsigned int PtDspyUnsigned32 |
typedef unsigned char PtDspyUnsigned8 |
typedef PtDspyError(* PtDspyWriteFuncPtr) (PtDspyImageHandle image, int xmin, int xmax_plus_one, int ymin, int ymax_plus_one, int entrysize, const unsigned char *data) |
typedef struct uparam UserParameter |
enum PtDriverVersion |
enum PtDspyBucketOrder |
enum PtDspyError |
enum PtDspyGridStyle |
enum PtDspyQueryType |
PRMAN_INLINE int DspyClamp | ( | float | value, |
int | min, | ||
int | max | ||
) |
PRMANAPI void DspyError | ( | const char * | module, |
const char * | fmt, | ||
... | |||
) |
PRMANAPI PtDspyError DspyFindFloatInParamList | ( | RtConstString const | string, |
float * | result, | ||
int | paramCount, | ||
const UserParameter * | parameters | ||
) |
PRMANAPI PtDspyError DspyFindFloatsInParamList | ( | RtConstString const | string, |
int * | resultCount, | ||
float * | result, | ||
int | paramCount, | ||
const UserParameter * | parameters | ||
) |
PRMANAPI PtDspyError DspyFindIntInParamList | ( | RtConstString const | string, |
int * | result, | ||
int | paramCount, | ||
const UserParameter * | parameters | ||
) |
PRMANAPI PtDspyError DspyFindIntsInParamList | ( | RtConstString const | string, |
int * | resultCount, | ||
int * | result, | ||
int | paramCount, | ||
const UserParameter * | parameters | ||
) |
PRMANAPI PtDspyError DspyFindMatrixInParamList | ( | RtConstString const | string, |
float * | result, | ||
int | paramCount, | ||
const UserParameter * | parameters | ||
) |
PRMANAPI PtDspyError DspyFindStringInParamList | ( | RtConstString const | string, |
char ** | result, | ||
int | paramCount, | ||
const UserParameter * | parameters | ||
) |
PRMANAPI int DspyGetNumberOfHosts | ( | ) |
PRMANEXPORT PtDspyError DspyImageActiveRegion | ( | PtDspyImageHandle | image, |
int | xmin, | ||
int | xmax, | ||
int | ymin, | ||
int | ymax | ||
) |
PRMANEXPORT PtDspyError DspyImageClose | ( | PtDspyImageHandle | ) |
PRMANEXPORT PtDspyError DspyImageData | ( | PtDspyImageHandle | image, |
int | xmin, | ||
int | xmax, | ||
int | ymin, | ||
int | ymax, | ||
int | entrysize, | ||
const unsigned char * | data | ||
) |
PRMANEXPORT PtDspyError DspyImageDeepData | ( | PtDspyImageHandle | pvImage, |
int | xmin, | ||
int | xmax, | ||
int | ymin, | ||
int | ymax, | ||
char * | data, | ||
int | datasize, | ||
int * | pixeloffsets, | ||
int * | pixelsizes | ||
) |
PRMANEXPORT PtDspyError DspyImageDelayClose | ( | PtDspyImageHandle | ) |
PRMANEXPORT PtDspyError DspyImageOpen | ( | PtDspyImageHandle * | image, |
const char * | drivername, | ||
const char * | filename, | ||
int | width, | ||
int | height, | ||
int | paramCount, | ||
const UserParameter * | parameters, | ||
int | iFormatCount, | ||
PtDspyDevFormat * | format, | ||
PtFlagStuff * | flagstuff | ||
) |
PRMANEXPORT PtDspyError DspyImageQuery | ( | PtDspyImageHandle | , |
PtDspyQueryType | , | ||
int | , | ||
void * | |||
) |
PRMANEXPORT PtDspyError DspyImageReopen | ( | PtDspyImageHandle | image, |
const char * | drivername, | ||
const char * | filename, | ||
int | width, | ||
int | height, | ||
int | paramCount, | ||
const UserParameter * | parameters, | ||
int | iFormatCount, | ||
PtDspyDevFormat * | format, | ||
PtFlagStuff * | flagstuff | ||
) |
PRMAN_INLINE float DspyLinearTosRGB | ( | float | u | ) |
PRMANAPI void DspyMemReverse | ( | unsigned char * | t, |
int | len | ||
) |
PRMANAPI void DspyMemReverseCopy | ( | unsigned char * | t, |
const unsigned char * | s, | ||
int | len | ||
) |
PRMANEXPORT PtDspyError DspyMetadata | ( | PtDspyImageHandle | , |
char * | metadata | ||
) |
PRMAN_INLINE int DspyQuantize | ( | float | value, |
int | x, | ||
int | y, | ||
int | k, | ||
int | min, | ||
int | max, | ||
int | dither | ||
) |
PRMANAPI PtDspyError DspyRegisterDriver | ( | const char * | name, |
const PtDspyOpenFuncPtr | pOpen, | ||
const PtDspyWriteFuncPtr | pWrite, | ||
const PtDspyCloseFuncPtr | pClose, | ||
const PtDspyQueryFuncPtr | pQuery | ||
) |
PRMANAPI PtDspyError DspyRegisterDriverTable | ( | const char * | name, |
const PtDspyDriverFunctionTable * | pTable | ||
) |
PRMANAPI PtDspyError DspyReorderFormatting | ( | int | formatCount, |
PtDspyDevFormat * | format, | ||
int | outFormatCount, | ||
const PtDspyDevFormat * | outFormat | ||
) |
PRMANAPI PtDspyError DspyReorderFormattingRE | ( | int | formatCount, |
PtDspyDevFormat * | format, | ||
int | outFormatCount, | ||
const PtDspyDevFormat * | outFormat | ||
) |
reorder incoming channels to match outFormat's order match incoming channels to outFormat's regex channel names.
formatCount,number | of channels in format |
format,incoming | channels to be reordered |
outFormatCount,number | of channels in outFormat |
outFormat,desired | channel order |