22 #ifndef _svlBufferImage_h
23 #define _svlBufferImage_h
29 #if (CISST_OS == CISST_WINDOWS)
43 unsigned int GetWidth();
44 unsigned int GetHeight();
45 unsigned int GetDataSize();
47 unsigned char* GetPushBuffer();
48 unsigned char* GetPushBuffer(
unsigned int& size);
50 bool Push(
const unsigned char* buffer,
unsigned int size,
bool topdown);
51 #if CISST_SVL_HAS_OPENCV
53 #endif // CISST_SVL_HAS_OPENCV
55 svlImageRGB* Pull(
bool waitfornew,
double timeout = 5.0);
56 #if CISST_SVL_HAS_OPENCV
57 IplImage* PullIplImage(
bool waitfornew,
double timeout = 5.0);
58 #endif // CISST_SVL_HAS_OPENCV
63 #if (CISST_OS == CISST_WINDOWS)
64 LONG Next, Latest, Locked;
66 unsigned int Next, Latest, Locked;
68 int InitializationCounter;
71 #if CISST_SVL_HAS_OPENCV
74 #endif // CISST_SVL_HAS_OPENCV
76 #if (CISST_OS == CISST_LINUX_RTAI) || (CISST_OS == CISST_LINUX) || (CISST_OS == CISST_DARWIN) || (CISST_OS == CISST_SOLARIS)
80 bool TopDownCopy(
unsigned char *targetbuffer,
const unsigned char *sourcebuffer);
84 #endif // _svlBufferImage_h
#define CISST_EXPORT
Definition: cmnExportMacros.h:50
Definition: osaCriticalSection.h:36
Definition: svlBufferImage.h:37
void IplImage
Definition: svlTypes.h:70
Declaration of osaThreadSignal.
Macros to export the symbols of cisstStereoVision (in a Dll).
Definition: osaThreadSignal.h:40