Blink API
|
C functions used by the functions in Blink.h. NOTE: using these functions directly is not recommended, as they might change in future. More...
Go to the source code of this file.
Defines | |
#define | BLINK_SUCCESS 0 |
#define | BLINK_ERROR_ERROR 1 |
#define | BLINK_ERROR_OUT_OF_MEMORY 2 |
#define | BLINK_ERROR_RUNNING_KERNEL 3 |
#define | BLINK_ERROR_PARSING_KERNEL 4 |
#define | BLINK_ERROR_COMPILING_KERNEL 5 |
#define | BLINK_ERROR_INVALID_IMAGE_SPEC 6 |
#define | BLINK_ERROR_DEVICE 7 |
#define | BLINK_ERROR_PARAMETER 8 |
#define | BLINK_ERROR_INCOMPATIBLE_IMAGES 9 |
#define | BLINK_ERROR_INVALID_PROPERTY 10 |
#define | BLINK_PROPERTY_NAME 0 |
Functions | |
BLINK_SHARED_API BlinkRef | Blink_Retain (BlinkRef ref) |
BLINK_SHARED_API void | Blink_Release (BlinkRef ref) |
BLINK_SHARED_API const char * | Blink_Error_GetUserMessage (BlinkErrorRef errorRef) |
BLINK_SHARED_API BlinkErrorCode | Blink_Error_GetStringProperty (BlinkErrorRef errorRef, BlinkErrorProperty property, const char **string) |
BLINK_SHARED_API BlinkErrorCode | Blink_Error_GetIntProperty (BlinkErrorRef errorRef, BlinkErrorProperty property, int *value) |
BLINK_SHARED_API BlinkErrorCode | Blink_Device_CurrentCPUDevice (BlinkRef *pRef, BlinkErrorRef *optionalErrorDesc) |
BLINK_SHARED_API BlinkErrorCode | Blink_Device_CurrentGPUDevice (BlinkRef *pRef, BlinkErrorRef *optionalErrorDesc) |
BLINK_SHARED_API BlinkErrorCode | Blink_Device_Available (BlinkRef device, char *value, BlinkErrorRef *optionalErrorDesc) |
BLINK_SHARED_API BlinkErrorCode | Blink_Device_Bind (BlinkRef *pRef, BlinkRef device, BlinkErrorRef *optionalErrorDesc) |
BLINK_SHARED_API BlinkErrorCode | Blink_Device_GetProperty (BlinkRef device, BlinkPropertyType type, void *data, int *size, BlinkErrorRef *optionalErrorDesc) |
BLINK_SHARED_API BlinkErrorCode | Blink_Image_CreateEmptyImage (BlinkRef *pRef, BlinkErrorRef *optionalErrorDesc) |
BLINK_SHARED_API BlinkErrorCode | Blink_Image_CreateImage (BlinkRef *pRef, const struct BlinkImageInfo *imageInfo, BlinkRef device, BlinkErrorRef *optionalErrorDesc) |
BLINK_SHARED_API BlinkErrorCode | Blink_Image_CopyRef (BlinkRef *pRef, BlinkRef src, BlinkErrorRef *optionalErrorDesc) |
BLINK_SHARED_API BlinkErrorCode | Blink_Image_DistributeTo (BlinkRef *pRef, BlinkRef src, BlinkRef device, BlinkErrorRef *optionalErrorDesc) |
BLINK_SHARED_API BlinkErrorCode | Blink_Image_MakeLike (BlinkRef *pRef, BlinkRef src, BlinkRef device, BlinkErrorRef *optionalErrorDesc) |
BLINK_SHARED_API BlinkErrorCode | Blink_Image_Info (BlinkRef image, struct BlinkImageInfo *info, BlinkErrorRef *optionalErrorDesc) |
BLINK_SHARED_API BlinkErrorCode | Blink_Image_Clear (BlinkRef image, BlinkErrorRef *optionalErrorDesc) |
BLINK_SHARED_API BlinkErrorCode | Blink_Image_IsEmpty (BlinkRef image, char *result, BlinkErrorRef *optionalErrorDesc) |
BLINK_SHARED_API BlinkErrorCode | Blink_Image_CopyFrom (BlinkRef dst, BlinkRef src, BlinkErrorRef *optionalErrorDesc) |
BLINK_SHARED_API BlinkErrorCode | Blink_Image_CopyFromBuffer (BlinkRef dst, const void *src, const struct BlinkBufferDesc *bufferDesc, BlinkErrorRef *optionalErrorDesc) |
BLINK_SHARED_API BlinkErrorCode | Blink_Image_CopyToBuffer (BlinkRef src, void *dst, const struct BlinkBufferDesc *bufferDesc, BlinkErrorRef *optionalErrorDesc) |
BLINK_SHARED_API BlinkErrorCode | Blink_Kernel_Make (BlinkRef *pRef, BlinkRef programSource, BlinkRef dev, BlinkRef *images, int nImages, BlinkCodegenFlags flags, BlinkErrorRef *optionalErrorDesc) |
BLINK_SHARED_API BlinkErrorCode | Blink_Kernel_SetIntParam (BlinkRef ref, const char *name, const int *values, int nValues, BlinkErrorRef *optionalErrorDesc) |
BLINK_SHARED_API BlinkErrorCode | Blink_Kernel_SetFloatParam (BlinkRef ref, const char *name, const float *values, int nValues, BlinkErrorRef *optionalErrorDesc) |
BLINK_SHARED_API BlinkErrorCode | Blink_Kernel_SetBoolParam (BlinkRef ref, const char *name, const char *values, int nValues, BlinkErrorRef *optionalErrorDesc) |
BLINK_SHARED_API BlinkErrorCode | Blink_Kernel_GetIntParam (BlinkRef ref, const char *name, int *values, int nValues, BlinkErrorRef *optionalErrorDesc) |
BLINK_SHARED_API BlinkErrorCode | Blink_Kernel_GetFloatParam (BlinkRef ref, const char *name, float *values, int nValues, BlinkErrorRef *optionalErrorDesc) |
BLINK_SHARED_API BlinkErrorCode | Blink_Kernel_GetBoolParam (BlinkRef ref, const char *name, char *values, int nValues, BlinkErrorRef *optionalErrorDesc) |
BLINK_SHARED_API BlinkErrorCode | Blink_Kernel_Iterate (BlinkRef ref, BlinkErrorRef *optionalErrorDesc) |
BLINK_SHARED_API BlinkErrorCode | Blink_Kernel_IterateWithController (BlinkRef ref, const struct BlinkKernelIterationController *controller, BlinkErrorRef *optionalErrorDesc) |
BLINK_SHARED_API BlinkErrorCode | Blink_ProgramSource_Make (BlinkRef *pRef, const char *source, BlinkErrorRef *optionalErrorDesc) |
C functions used by the functions in Blink.h. NOTE: using these functions directly is not recommended, as they might change in future.
©2013 The Foundry Visionmongers, Ltd. All Rights Reserved. |