TuttleOFX  1
tuttle::plugin::inputBuffer Namespace Reference

Data Structures

struct  InputBufferProcessParams
class  InputBufferPlugin
 InputBuffer plugin. More...

Typedefs

typedef void * CustomDataPtr
typedef void(* CallbackInputImagePtr )(OfxTime time, CustomDataPtr customData, void **outRawdata, int *outWidth, int *outHeight, int *outRowSizeBytes)
typedef void(* CallbackDestroyCustomDataPtr )(CustomDataPtr customData)

Enumerations

enum  EParamInputMode { eParamInputModeBufferPointer = 0, eParamInputModeCallbackPointer = 1 }
enum  EParamPixelComponent { eParamPixelComponentAlpha = 0, eParamPixelComponentRGB = 1, eParamPixelComponentRGBA = 2 }
 Enumerates the component types supported. More...
enum  EParamBitDepth { eParamBitDepthUByte = 0, eParamBitDepthUShort = 1, eParamBitDepthFloat = 2 }
 Enumerates the pixel depths supported. More...
enum  EParamField { eParamFieldNone = 0, eParamFieldBoth = 1, eParamFieldLower = 2, eParamFieldUpper = 3 }
 Enumerates the fields present in an image. More...
enum  EParamOrientation { eParamOrientationFromBottomToTop = 0, eParamOrientationFromTopToBottom = 1 }
 Enumerates the image memory orientations. More...

Functions

 mDeclarePluginFactory (InputBufferPluginFactory,{},{})

Variables

static const std::string kParamInputMode = "mode"
static const std::string kParamInputModeBufferPointer = "bufferPointer"
static const std::string kParamInputModeCallbackPointer = "callbackPointer"
static const std::string kParamInputBufferPointer = "bufferPointer"
static const std::string kParamInputCallbackPointer = "callbackPointer"
static const std::string kParamInputCustomData = "customData"
static const std::string kParamInputCallbackDestroyCustomData = "callbackDestroyCustomData"
static const std::string kParamSize = "size"
static const std::string kParamRowBytesSize = "rowBytesSize"
static const std::string kParamPixelAspectRatio = "par"
static const std::string kParamFramerate = "framerate"
static const std::string kParamPixelComponents = "components"
static const std::string kParamPixelComponentsAlpha = "Gray"
static const std::string kParamPixelComponentsRGB = "RGB"
static const std::string kParamPixelComponentsRGBA = "RGBA"
static const std::string kParamBitDepth = "bitDepth"
static const std::string kParamBitDepthUByte = "UByte"
static const std::string kParamBitDepthUShort = "UShort"
static const std::string kParamBitDepthFloat = "Float"
static const std::string kParamField = "field"
static const std::string kParamFieldNone = "None"
static const std::string kParamFieldBoth = "Both"
static const std::string kParamFieldLower = "Lower"
static const std::string kParamFieldUpper = "Upper"
static const std::string kParamOrientation = "orientation"
static const std::string kParamOrientationFromBottomToTop = "bottomToTop"
static const std::string kParamOrientationFromTopToBottom = "topToBottom"
static const std::string kParamTimeDomain = "timeDomain"
static const bool kSupportTiles = false

Typedef Documentation

typedef void(* tuttle::plugin::inputBuffer::CallbackInputImagePtr)(OfxTime time, CustomDataPtr customData, void **outRawdata, int *outWidth, int *outHeight, int *outRowSizeBytes)

Definition at line 29 of file InputBufferDefinitions.hpp.


Enumeration Type Documentation

Enumerates the pixel depths supported.

Enumerator:
eParamBitDepthUByte 
eParamBitDepthUShort 
eParamBitDepthFloat 

Definition at line 57 of file InputBufferDefinitions.hpp.

Enumerates the fields present in an image.

Enumerator:
eParamFieldNone 

unfielded image

eParamFieldBoth 

fielded image with both fields present

eParamFieldLower 

only the spatially lower field is present

eParamFieldUpper 

only the spatially upper field is present

Definition at line 71 of file InputBufferDefinitions.hpp.

Enumerator:
eParamInputModeBufferPointer 
eParamInputModeCallbackPointer 

Definition at line 16 of file InputBufferDefinitions.hpp.

Enumerates the image memory orientations.

Enumerator:
eParamOrientationFromBottomToTop 
eParamOrientationFromTopToBottom 

Definition at line 84 of file InputBufferDefinitions.hpp.

Enumerates the component types supported.

Enumerator:
eParamPixelComponentAlpha 
eParamPixelComponentRGB 
eParamPixelComponentRGBA 

Definition at line 44 of file InputBufferDefinitions.hpp.


Function Documentation

tuttle::plugin::inputBuffer::mDeclarePluginFactory ( InputBufferPluginFactory  )

Variable Documentation

const std::string tuttle::plugin::inputBuffer::kParamBitDepthFloat = "Float" [static]

Definition at line 54 of file InputBufferDefinitions.hpp.

const std::string tuttle::plugin::inputBuffer::kParamBitDepthUByte = "UByte" [static]

Definition at line 52 of file InputBufferDefinitions.hpp.

const std::string tuttle::plugin::inputBuffer::kParamBitDepthUShort = "UShort" [static]

Definition at line 53 of file InputBufferDefinitions.hpp.

const std::string tuttle::plugin::inputBuffer::kParamFieldBoth = "Both" [static]

Definition at line 66 of file InputBufferDefinitions.hpp.

const std::string tuttle::plugin::inputBuffer::kParamFieldLower = "Lower" [static]

Definition at line 67 of file InputBufferDefinitions.hpp.

const std::string tuttle::plugin::inputBuffer::kParamFieldNone = "None" [static]

Definition at line 65 of file InputBufferDefinitions.hpp.

const std::string tuttle::plugin::inputBuffer::kParamFieldUpper = "Upper" [static]

Definition at line 68 of file InputBufferDefinitions.hpp.

const std::string tuttle::plugin::inputBuffer::kParamInputModeBufferPointer = "bufferPointer" [static]

Definition at line 13 of file InputBufferDefinitions.hpp.

const std::string tuttle::plugin::inputBuffer::kParamInputModeCallbackPointer = "callbackPointer" [static]

Definition at line 14 of file InputBufferDefinitions.hpp.

const std::string tuttle::plugin::inputBuffer::kParamOrientationFromBottomToTop = "bottomToTop" [static]

Definition at line 80 of file InputBufferDefinitions.hpp.

const std::string tuttle::plugin::inputBuffer::kParamOrientationFromTopToBottom = "topToBottom" [static]

Definition at line 81 of file InputBufferDefinitions.hpp.

const std::string tuttle::plugin::inputBuffer::kParamPixelComponentsAlpha = "Gray" [static]

Definition at line 39 of file InputBufferDefinitions.hpp.

const std::string tuttle::plugin::inputBuffer::kParamPixelComponentsRGB = "RGB" [static]

Definition at line 40 of file InputBufferDefinitions.hpp.

const std::string tuttle::plugin::inputBuffer::kParamPixelComponentsRGBA = "RGBA" [static]

Definition at line 41 of file InputBufferDefinitions.hpp.

const bool tuttle::plugin::inputBuffer::kSupportTiles = false [static]

Definition at line 12 of file InputBufferPluginFactory.cpp.