Blink API

BlinkTypes.h

Go to the documentation of this file.
00001 // Copyright (c) 2013 The Foundry Visionmongers Ltd.  All Rights Reserved.
00002 
00007 #ifndef Blink_Library_BlinkTypes_h
00008 #define Blink_Library_BlinkTypes_h
00009 #ifdef __cplusplus
00010 extern "C" {
00011 #endif
00012 
00013 typedef long long BlinkFlagType;
00014 
00015 typedef BlinkFlagType BlinkCodegenFlags;
00016 typedef BlinkFlagType BlinkDataType;
00017 typedef BlinkFlagType BlinkPropertyType;
00018 typedef BlinkFlagType BlinkErrorProperty;
00019 
00020 struct BlinkObj;
00021 typedef struct BlinkObj* BlinkRef;
00022 typedef struct BlinkObj* BlinkErrorRef;
00023 
00024 typedef int BlinkErrorCode;
00025 
00031 struct BlinkRect {
00032   int x1;
00033   int y1;
00034   int x2;
00035   int y2;
00036 };
00037 
00039 struct BlinkPixelInfo {
00041   int nComponents;
00042 
00044   BlinkDataType dataType;
00045 };
00046 
00048 struct BlinkImageInfo {
00050   struct BlinkRect bounds;
00051 
00053   struct BlinkPixelInfo pixelInfo;
00054 };
00055 
00057 struct BlinkKernelIterationController {
00058 
00060   struct BlinkRect bounds;
00061 
00062   //TODO component range? Step size?
00063 };
00064 
00065 struct BlinkBufferDesc {
00066 
00067   unsigned long long pixelStepBytes;
00068   unsigned long long rowStepBytes;
00069   unsigned long long componentStepBytes;
00070 };
00071 
00072 #ifdef __cplusplus
00073 }
00074 #endif
00075 #endif
 All Classes Namespaces Files Functions Variables


©2013 The Foundry Visionmongers, Ltd. All Rights Reserved.
www.thefoundry.co.uk