79 #ifndef PVAPI_H_INCLUDE 80 #define PVAPI_H_INCLUDE 92 #define PVDECL __stdcall 94 #if defined(_LINUX) || defined(_QNX) || defined(_OSX) 97 #error Define PVDECL to be your compiler keyword for "standard call" 102 #define PVINFINITE 0xFFFFFFFF // Never timeout 181 char SerialNumber[32];
182 char FirmwareVersion[32];
195 char SerialString[32];
201 char DisplayName[16];
202 unsigned long _reserved[4];
241 unsigned long _reserved1[8];
274 unsigned long UniqueId);
286 unsigned long Data[4];
305 unsigned long EventListLength);
379 unsigned long _reserved1[8];
400 unsigned long _reserved2[32];
418 #if defined(_M_IX86) || defined(_x86) || defined(_WIN64) || defined(_x64) 419 typedef long tPvInt32;
420 typedef unsigned long tPvUint32;
421 typedef float tPvFloat32;
422 typedef long long tPvInt64;
423 typedef unsigned char tPvBoolean;
424 #elif defined(_ppc) || defined(_arm) || defined(_msa) 425 typedef long tPvInt32;
426 typedef unsigned long tPvUint32;
427 typedef float tPvFloat32;
428 typedef long long tPvInt64;
429 typedef unsigned char tPvBoolean;
431 #error Define specific data types for your platform. 484 unsigned long _reserved[4];
508 void PVDECL
PvVersion(
unsigned long* pMajor,
unsigned long* pMinor);
640 unsigned long ListLength,
641 unsigned long* pConnectedNum,
642 unsigned long StructSize);
662 unsigned long ListLength,
663 unsigned long* pConnectedNum);
761 unsigned long StructSize);
818 unsigned long ListLength,
819 unsigned long* pConnectedNum,
820 unsigned long StructSize);
843 unsigned long ListLength,
844 unsigned long* pConnectedNum);
1195 unsigned long Timeout);
1228 tPvAttrListPtr* pListPtr,
1229 unsigned long* pLength);
1366 unsigned long BufferSize,
1367 unsigned long* pSize);
1508 unsigned long BufferSize,
1509 unsigned long* pSize);
1570 unsigned long BufferSize,
1571 unsigned long* pSize);
1682 tPvFloat32* pValue);
1917 unsigned long PixelPadding,
1918 unsigned long LinePadding);
1925 #endif // PVAPI_H_INCLUDE
tPvErr PVDECL PvAttrInt64Set(tPvHandle Camera, const char *Name, tPvInt64 Value)
tPvErr PVDECL PvCameraIpSettingsChange(unsigned long UniqueId, const tPvIpSettings *pSettings)
tPvErr PVDECL PvAttrRangeEnum(tPvHandle Camera, const char *Name, char *pBuffer, unsigned long BufferSize, unsigned long *pSize)
tPvErr PVDECL PvCameraEventCallbackUnRegister(tPvHandle Camera, tPvCameraEventCallback Callback)
tPvErr PVDECL PvCaptureQueueFrame(tPvHandle Camera, tPvFrame *pFrame, tPvFrameCallback Callback)
tPvErr PVDECL PvCameraOpen(unsigned long UniqueId, tPvAccessFlags AccessFlag, tPvHandle *pCamera)
unsigned long PermittedAccess
unsigned long PersistentIpSubnet
unsigned long TimestampLo
tPvErr PVDECL PvAttrRangeUint32(tPvHandle Camera, const char *Name, tPvUint32 *pMin, tPvUint32 *pMax)
tPvErr PVDECL PvCaptureStart(tPvHandle Camera)
unsigned long TimestampLo
tPvErr PVDECL PvAttrExists(tPvHandle Camera, const char *Name)
void PVDECL PvUtilityColorInterpolate(const tPvFrame *pFrame, void *BufferRed, void *BufferGreen, void *BufferBlue, unsigned long PixelPadding, unsigned long LinePadding)
unsigned long InterfaceId
unsigned long PVDECL PvCameraList(tPvCameraInfo *pList, unsigned long ListLength, unsigned long *pConnectedNum)
tPvErr PVDECL PvAttrFloat32Get(tPvHandle Camera, const char *Name, tPvFloat32 *pValue)
tPvErr PVDECL PvCaptureAdjustPacketSize(tPvHandle Camera, unsigned long MaximumPacketSize)
tPvErr PVDECL PvCaptureWaitForFrameDone(tPvHandle Camera, const tPvFrame *pFrame, unsigned long Timeout)
tPvBayerPattern BayerPattern
tPvErr PVDECL PvAttrStringGet(tPvHandle Camera, const char *Name, char *pBuffer, unsigned long BufferSize, unsigned long *pSize)
tPvErr PVDECL PvAttrInfo(tPvHandle Camera, const char *Name, tPvAttributeInfo *pInfo)
tPvErr PVDECL PvCameraInfoEx(unsigned long UniqueId, tPvCameraInfoEx *pInfo, unsigned long StructSize)
tPvErr PVDECL PvAttrFloat32Set(tPvHandle Camera, const char *Name, tPvFloat32 Value)
tPvInterface InterfaceType
tPvErr PVDECL PvCaptureQueueClear(tPvHandle Camera)
unsigned long PartVersion
void(PVDECL * tPvFrameCallback)(tPvFrame *Frame)
unsigned long AncillaryBufferSize
unsigned long InterfaceId
tPvErr PVDECL PvAttrList(tPvHandle Camera, tPvAttrListPtr *pListPtr, unsigned long *pLength)
void PVDECL PvVersion(unsigned long *pMajor, unsigned long *pMinor)
unsigned long PermittedAccess
tPvErr PVDECL PvAttrUint32Get(tPvHandle Camera, const char *Name, tPvUint32 *pValue)
const char *const * tPvAttrListPtr
tPvErr PVDECL PvCameraInfoByAddrEx(unsigned long IpAddr, tPvCameraInfoEx *pInfo, tPvIpSettings *pIpSettings, unsigned long StructSize)
tPvErr PVDECL PvLinkCallbackUnRegister(tPvLinkCallback Callback, tPvLinkEvent Event)
tPvErr PVDECL PvCommandRun(tPvHandle Camera, const char *Name)
tPvErr PVDECL PvAttrStringSet(tPvHandle Camera, const char *Name, const char *Value)
unsigned long PVDECL PvCameraListUnreachable(tPvCameraInfo *pList, unsigned long ListLength, unsigned long *pConnectedNum)
unsigned long PVDECL PvCameraCount(void)
tPvErr PVDECL PvCameraEventCallbackRegister(tPvHandle Camera, tPvCameraEventCallback Callback, void *Context)
unsigned long TimestampHi
unsigned long CurrentIpGateway
tPvErr PVDECL PvAttrInt64Get(tPvHandle Camera, const char *Name, tPvInt64 *pValue)
tPvErr PVDECL PvAttrRangeInt64(tPvHandle Camera, const char *Name, tPvInt64 *pMin, tPvInt64 *pMax)
tPvErr PVDECL PvAttrEnumSet(tPvHandle Camera, const char *Name, const char *Value)
unsigned long PersistentIpAddr
tPvErr PVDECL PvCameraOpenByAddr(unsigned long IpAddr, tPvAccessFlags AccessFlag, tPvHandle *pCamera)
tPvErr PVDECL PvCaptureEnd(tPvHandle Camera)
tPvErr PVDECL PvAttrIsValid(tPvHandle Camera, const char *Name)
unsigned long PVDECL PvCameraListEx(tPvCameraInfoEx *pList, unsigned long ListLength, unsigned long *pConnectedNum, unsigned long StructSize)
void(PVDECL * tPvCameraEventCallback)(void *Context, tPvHandle Camera, const tPvCameraEvent *EventList, unsigned long EventListLength)
tPvErr PVDECL PvInitialize(void)
tPvErr PVDECL PvCaptureQuery(tPvHandle Camera, unsigned long *pIsStarted)
tPvErr PVDECL PvAttrBooleanSet(tPvHandle Camera, const char *Name, tPvBoolean Value)
tPvErr PVDECL PvLinkCallbackRegister(tPvLinkCallback Callback, tPvLinkEvent Event, void *Context)
tPvErr PVDECL PvAttrUint32Set(tPvHandle Camera, const char *Name, tPvUint32 Value)
unsigned long CurrentIpAddress
unsigned long AncillarySize
unsigned long TimestampHi
tPvInterface InterfaceType
tPvErr PVDECL PvAttrIsAvailable(tPvHandle Camera, const char *Name)
unsigned long ImageBufferSize
tPvErr PVDECL PvAttrBooleanGet(tPvHandle Camera, const char *Name, tPvBoolean *pValue)
unsigned long PersistentIpGateway
void PVDECL PvUnInitialize(void)
void(PVDECL * tPvLinkCallback)(void *Context, tPvInterface Interface, tPvLinkEvent Event, unsigned long UniqueId)
tPvErr PVDECL PvAttrRangeFloat32(tPvHandle Camera, const char *Name, tPvFloat32 *pMin, tPvFloat32 *pMax)
tPvErr PVDECL PvCameraInfo(unsigned long UniqueId, tPvCameraInfo *pInfo)
tPvErr PVDECL PvCameraClose(tPvHandle Camera)
tPvErr PVDECL PvCameraIpSettingsGet(unsigned long UniqueId, tPvIpSettings *pSettings)
tPvErr PVDECL PvAttrEnumGet(tPvHandle Camera, const char *Name, char *pBuffer, unsigned long BufferSize, unsigned long *pSize)
unsigned long PVDECL PvCameraListUnreachableEx(tPvCameraInfoEx *pList, unsigned long ListLength, unsigned long *pConnectedNum, unsigned long StructSize)
tPvErr PVDECL PvCameraInfoByAddr(unsigned long IpAddr, tPvCameraInfo *pInfo, tPvIpSettings *pIpSettings)
unsigned long ConfigModeSupport
unsigned long CurrentIpSubnet
tPvErr PVDECL PvInitializeNoDiscovery(void)