Classes | Macros | Typedefs | Enumerations | Functions
PvApi.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  tPvAttributeInfo
 
struct  tPvCameraEvent
 
struct  tPvCameraInfo
 
struct  tPvCameraInfoEx
 
struct  tPvFrame
 
struct  tPvIpSettings
 

Macros

#define PVINFINITE   0xFFFFFFFF
 

Typedefs

typedef const char *const * tPvAttrListPtr
 
typedef void(PVDECL * tPvCameraEventCallback) (void *Context, tPvHandle Camera, const tPvCameraEvent *EventList, unsigned long EventListLength)
 
typedef void(PVDECL * tPvFrameCallback) (tPvFrame *Frame)
 
typedef void * tPvHandle
 
typedef void(PVDECL * tPvLinkCallback) (void *Context, tPvInterface Interface, tPvLinkEvent Event, unsigned long UniqueId)
 

Enumerations

enum  tPvAccessFlags { ePvAccessMonitor = 2, ePvAccessMaster = 4, __ePvAccess_force_32 = 0xFFFFFFFF }
 
enum  tPvAttributeFlags {
  ePvFlagRead = 0x01, ePvFlagWrite = 0x02, ePvFlagVolatile = 0x04, ePvFlagConst = 0x08,
  __ePvFlag_force_32 = 0xFFFFFFFF
}
 
enum  tPvBayerPattern {
  ePvBayerRGGB = 0, ePvBayerGBRG = 1, ePvBayerGRBG = 2, ePvBayerBGGR = 3,
  __ePvBayer_force_32 = 0xFFFFFFFF
}
 
enum  tPvDatatype {
  ePvDatatypeUnknown = 0, ePvDatatypeCommand = 1, ePvDatatypeRaw = 2, ePvDatatypeString = 3,
  ePvDatatypeEnum = 4, ePvDatatypeUint32 = 5, ePvDatatypeFloat32 = 6, ePvDatatypeInt64 = 7,
  ePvDatatypeBoolean = 8, __ePvDatatypeforce_32 = 0xFFFFFFFF
}
 
enum  tPvErr {
  ePvErrSuccess = 0, ePvErrCameraFault = 1, ePvErrInternalFault = 2, ePvErrBadHandle = 3,
  ePvErrBadParameter = 4, ePvErrBadSequence = 5, ePvErrNotFound = 6, ePvErrAccessDenied = 7,
  ePvErrUnplugged = 8, ePvErrInvalidSetup = 9, ePvErrResources = 10, ePvErrBandwidth = 11,
  ePvErrQueueFull = 12, ePvErrBufferTooSmall = 13, ePvErrCancelled = 14, ePvErrDataLost = 15,
  ePvErrDataMissing = 16, ePvErrTimeout = 17, ePvErrOutOfRange = 18, ePvErrWrongType = 19,
  ePvErrForbidden = 20, ePvErrUnavailable = 21, ePvErrFirewall = 22, __ePvErr_force_32 = 0xFFFFFFFF
}
 
enum  tPvImageFormat {
  ePvFmtMono8 = 0, ePvFmtMono16 = 1, ePvFmtBayer8 = 2, ePvFmtBayer16 = 3,
  ePvFmtRgb24 = 4, ePvFmtRgb48 = 5, ePvFmtYuv411 = 6, ePvFmtYuv422 = 7,
  ePvFmtYuv444 = 8, ePvFmtBgr24 = 9, ePvFmtRgba32 = 10, ePvFmtBgra32 = 11,
  ePvFmtMono12Packed = 12, ePvFmtBayer12Packed = 13, __ePvFmt_force_32 = 0xFFFFFFFF
}
 
enum  tPvInterface { ePvInterfaceFirewire = 1, ePvInterfaceEthernet = 2, __ePvInterface_force_32 = 0xFFFFFFFF }
 
enum  tPvIpConfig { ePvIpConfigPersistent = 1, ePvIpConfigDhcp = 2, ePvIpConfigAutoIp = 4, __ePvIpConfig_force_32 = 0xFFFFFFFF }
 
enum  tPvLinkEvent { ePvLinkAdd = 1, ePvLinkRemove = 2, _ePvLink_reserved1 = 3, __ePvLink_force_32 = 0xFFFFFFFF }
 

Functions

tPvErr PVDECL PvAttrBooleanGet (tPvHandle Camera, const char *Name, tPvBoolean *pValue)
 
tPvErr PVDECL PvAttrBooleanSet (tPvHandle Camera, const char *Name, tPvBoolean Value)
 
tPvErr PVDECL PvAttrEnumGet (tPvHandle Camera, const char *Name, char *pBuffer, unsigned long BufferSize, unsigned long *pSize)
 
tPvErr PVDECL PvAttrEnumSet (tPvHandle Camera, const char *Name, const char *Value)
 
tPvErr PVDECL PvAttrExists (tPvHandle Camera, const char *Name)
 
tPvErr PVDECL PvAttrFloat32Get (tPvHandle Camera, const char *Name, tPvFloat32 *pValue)
 
tPvErr PVDECL PvAttrFloat32Set (tPvHandle Camera, const char *Name, tPvFloat32 Value)
 
tPvErr PVDECL PvAttrInfo (tPvHandle Camera, const char *Name, tPvAttributeInfo *pInfo)
 
tPvErr PVDECL PvAttrInt64Get (tPvHandle Camera, const char *Name, tPvInt64 *pValue)
 
tPvErr PVDECL PvAttrInt64Set (tPvHandle Camera, const char *Name, tPvInt64 Value)
 
tPvErr PVDECL PvAttrIsAvailable (tPvHandle Camera, const char *Name)
 
tPvErr PVDECL PvAttrIsValid (tPvHandle Camera, const char *Name)
 
tPvErr PVDECL PvAttrList (tPvHandle Camera, tPvAttrListPtr *pListPtr, unsigned long *pLength)
 
tPvErr PVDECL PvAttrRangeEnum (tPvHandle Camera, const char *Name, char *pBuffer, unsigned long BufferSize, unsigned long *pSize)
 
tPvErr PVDECL PvAttrRangeFloat32 (tPvHandle Camera, const char *Name, tPvFloat32 *pMin, tPvFloat32 *pMax)
 
tPvErr PVDECL PvAttrRangeInt64 (tPvHandle Camera, const char *Name, tPvInt64 *pMin, tPvInt64 *pMax)
 
tPvErr PVDECL PvAttrRangeUint32 (tPvHandle Camera, const char *Name, tPvUint32 *pMin, tPvUint32 *pMax)
 
tPvErr PVDECL PvAttrStringGet (tPvHandle Camera, const char *Name, char *pBuffer, unsigned long BufferSize, unsigned long *pSize)
 
tPvErr PVDECL PvAttrStringSet (tPvHandle Camera, const char *Name, const char *Value)
 
tPvErr PVDECL PvAttrUint32Get (tPvHandle Camera, const char *Name, tPvUint32 *pValue)
 
tPvErr PVDECL PvAttrUint32Set (tPvHandle Camera, const char *Name, tPvUint32 Value)
 
tPvErr PVDECL PvCameraClose (tPvHandle Camera)
 
unsigned long PVDECL PvCameraCount (void)
 
tPvErr PVDECL PvCameraEventCallbackRegister (tPvHandle Camera, tPvCameraEventCallback Callback, void *Context)
 
tPvErr PVDECL PvCameraEventCallbackUnRegister (tPvHandle Camera, tPvCameraEventCallback Callback)
 
tPvErr PVDECL PvCameraInfo (unsigned long UniqueId, tPvCameraInfo *pInfo)
 
tPvErr PVDECL PvCameraInfoByAddr (unsigned long IpAddr, tPvCameraInfo *pInfo, tPvIpSettings *pIpSettings)
 
tPvErr PVDECL PvCameraInfoByAddrEx (unsigned long IpAddr, tPvCameraInfoEx *pInfo, tPvIpSettings *pIpSettings, unsigned long StructSize)
 
tPvErr PVDECL PvCameraInfoEx (unsigned long UniqueId, tPvCameraInfoEx *pInfo, unsigned long StructSize)
 
tPvErr PVDECL PvCameraIpSettingsChange (unsigned long UniqueId, const tPvIpSettings *pSettings)
 
tPvErr PVDECL PvCameraIpSettingsGet (unsigned long UniqueId, tPvIpSettings *pSettings)
 
unsigned long PVDECL PvCameraList (tPvCameraInfo *pList, unsigned long ListLength, unsigned long *pConnectedNum)
 
unsigned long PVDECL PvCameraListEx (tPvCameraInfoEx *pList, unsigned long ListLength, unsigned long *pConnectedNum, unsigned long StructSize)
 
unsigned long PVDECL PvCameraListUnreachable (tPvCameraInfo *pList, unsigned long ListLength, unsigned long *pConnectedNum)
 
unsigned long PVDECL PvCameraListUnreachableEx (tPvCameraInfoEx *pList, unsigned long ListLength, unsigned long *pConnectedNum, unsigned long StructSize)
 
tPvErr PVDECL PvCameraOpen (unsigned long UniqueId, tPvAccessFlags AccessFlag, tPvHandle *pCamera)
 
tPvErr PVDECL PvCameraOpenByAddr (unsigned long IpAddr, tPvAccessFlags AccessFlag, tPvHandle *pCamera)
 
tPvErr PVDECL PvCaptureAdjustPacketSize (tPvHandle Camera, unsigned long MaximumPacketSize)
 
tPvErr PVDECL PvCaptureEnd (tPvHandle Camera)
 
tPvErr PVDECL PvCaptureQuery (tPvHandle Camera, unsigned long *pIsStarted)
 
tPvErr PVDECL PvCaptureQueueClear (tPvHandle Camera)
 
tPvErr PVDECL PvCaptureQueueFrame (tPvHandle Camera, tPvFrame *pFrame, tPvFrameCallback Callback)
 
tPvErr PVDECL PvCaptureStart (tPvHandle Camera)
 
tPvErr PVDECL PvCaptureWaitForFrameDone (tPvHandle Camera, const tPvFrame *pFrame, unsigned long Timeout)
 
tPvErr PVDECL PvCommandRun (tPvHandle Camera, const char *Name)
 
tPvErr PVDECL PvInitialize (void)
 
tPvErr PVDECL PvInitializeNoDiscovery (void)
 
tPvErr PVDECL PvLinkCallbackRegister (tPvLinkCallback Callback, tPvLinkEvent Event, void *Context)
 
tPvErr PVDECL PvLinkCallbackUnRegister (tPvLinkCallback Callback, tPvLinkEvent Event)
 
void PVDECL PvUnInitialize (void)
 
void PVDECL PvUtilityColorInterpolate (const tPvFrame *pFrame, void *BufferRed, void *BufferGreen, void *BufferBlue, unsigned long PixelPadding, unsigned long LinePadding)
 
void PVDECL PvVersion (unsigned long *pMajor, unsigned long *pMinor)
 

Macro Definition Documentation

#define PVINFINITE   0xFFFFFFFF

Definition at line 102 of file PvApi.h.

Typedef Documentation

typedef const char* const* tPvAttrListPtr

Definition at line 439 of file PvApi.h.

typedef void(PVDECL * tPvCameraEventCallback) (void *Context, tPvHandle Camera, const tPvCameraEvent *EventList, unsigned long EventListLength)

Definition at line 302 of file PvApi.h.

typedef void(PVDECL * tPvFrameCallback) (tPvFrame *Frame)

Definition at line 412 of file PvApi.h.

typedef void* tPvHandle

Definition at line 107 of file PvApi.h.

typedef void(PVDECL * tPvLinkCallback) (void *Context, tPvInterface Interface, tPvLinkEvent Event, unsigned long UniqueId)

Definition at line 271 of file PvApi.h.

Enumeration Type Documentation

Enumerator
ePvAccessMonitor 
ePvAccessMaster 
__ePvAccess_force_32 

Definition at line 149 of file PvApi.h.

Enumerator
ePvFlagRead 
ePvFlagWrite 
ePvFlagVolatile 
ePvFlagConst 
__ePvFlag_force_32 

Definition at line 464 of file PvApi.h.

Enumerator
ePvBayerRGGB 
ePvBayerGBRG 
ePvBayerGRBG 
ePvBayerBGGR 
__ePvBayer_force_32 

Definition at line 337 of file PvApi.h.

Enumerator
ePvDatatypeUnknown 
ePvDatatypeCommand 
ePvDatatypeRaw 
ePvDatatypeString 
ePvDatatypeEnum 
ePvDatatypeUint32 
ePvDatatypeFloat32 
ePvDatatypeInt64 
ePvDatatypeBoolean 
__ePvDatatypeforce_32 

Definition at line 445 of file PvApi.h.

enum tPvErr
Enumerator
ePvErrSuccess 
ePvErrCameraFault 
ePvErrInternalFault 
ePvErrBadHandle 
ePvErrBadParameter 
ePvErrBadSequence 
ePvErrNotFound 
ePvErrAccessDenied 
ePvErrUnplugged 
ePvErrInvalidSetup 
ePvErrResources 
ePvErrBandwidth 
ePvErrQueueFull 
ePvErrBufferTooSmall 
ePvErrCancelled 
ePvErrDataLost 
ePvErrDataMissing 
ePvErrTimeout 
ePvErrOutOfRange 
ePvErrWrongType 
ePvErrForbidden 
ePvErrUnavailable 
ePvErrFirewall 
__ePvErr_force_32 

Definition at line 113 of file PvApi.h.

Enumerator
ePvFmtMono8 
ePvFmtMono16 
ePvFmtBayer8 
ePvFmtBayer16 
ePvFmtRgb24 
ePvFmtRgb48 
ePvFmtYuv411 
ePvFmtYuv422 
ePvFmtYuv444 
ePvFmtBgr24 
ePvFmtRgba32 
ePvFmtBgra32 
ePvFmtMono12Packed 
ePvFmtBayer12Packed 
__ePvFmt_force_32 

Definition at line 312 of file PvApi.h.

Enumerator
ePvInterfaceFirewire 
ePvInterfaceEthernet 
__ePvInterface_force_32 

Definition at line 161 of file PvApi.h.

Enumerator
ePvIpConfigPersistent 
ePvIpConfigDhcp 
ePvIpConfigAutoIp 
__ePvIpConfig_force_32 

Definition at line 209 of file PvApi.h.

Enumerator
ePvLinkAdd 
ePvLinkRemove 
_ePvLink_reserved1 
__ePvLink_force_32 

Definition at line 251 of file PvApi.h.

Function Documentation

tPvErr PVDECL PvAttrBooleanGet ( tPvHandle  Camera,
const char *  Name,
tPvBoolean *  pValue 
)
tPvErr PVDECL PvAttrBooleanSet ( tPvHandle  Camera,
const char *  Name,
tPvBoolean  Value 
)
tPvErr PVDECL PvAttrEnumGet ( tPvHandle  Camera,
const char *  Name,
char *  pBuffer,
unsigned long  BufferSize,
unsigned long *  pSize 
)
tPvErr PVDECL PvAttrEnumSet ( tPvHandle  Camera,
const char *  Name,
const char *  Value 
)
tPvErr PVDECL PvAttrExists ( tPvHandle  Camera,
const char *  Name 
)
tPvErr PVDECL PvAttrFloat32Get ( tPvHandle  Camera,
const char *  Name,
tPvFloat32 *  pValue 
)
tPvErr PVDECL PvAttrFloat32Set ( tPvHandle  Camera,
const char *  Name,
tPvFloat32  Value 
)
tPvErr PVDECL PvAttrInfo ( tPvHandle  Camera,
const char *  Name,
tPvAttributeInfo pInfo 
)
tPvErr PVDECL PvAttrInt64Get ( tPvHandle  Camera,
const char *  Name,
tPvInt64 *  pValue 
)
tPvErr PVDECL PvAttrInt64Set ( tPvHandle  Camera,
const char *  Name,
tPvInt64  Value 
)
tPvErr PVDECL PvAttrIsAvailable ( tPvHandle  Camera,
const char *  Name 
)
tPvErr PVDECL PvAttrIsValid ( tPvHandle  Camera,
const char *  Name 
)
tPvErr PVDECL PvAttrList ( tPvHandle  Camera,
tPvAttrListPtr pListPtr,
unsigned long *  pLength 
)
tPvErr PVDECL PvAttrRangeEnum ( tPvHandle  Camera,
const char *  Name,
char *  pBuffer,
unsigned long  BufferSize,
unsigned long *  pSize 
)
tPvErr PVDECL PvAttrRangeFloat32 ( tPvHandle  Camera,
const char *  Name,
tPvFloat32 *  pMin,
tPvFloat32 *  pMax 
)
tPvErr PVDECL PvAttrRangeInt64 ( tPvHandle  Camera,
const char *  Name,
tPvInt64 *  pMin,
tPvInt64 *  pMax 
)
tPvErr PVDECL PvAttrRangeUint32 ( tPvHandle  Camera,
const char *  Name,
tPvUint32 *  pMin,
tPvUint32 *  pMax 
)
tPvErr PVDECL PvAttrStringGet ( tPvHandle  Camera,
const char *  Name,
char *  pBuffer,
unsigned long  BufferSize,
unsigned long *  pSize 
)
tPvErr PVDECL PvAttrStringSet ( tPvHandle  Camera,
const char *  Name,
const char *  Value 
)
tPvErr PVDECL PvAttrUint32Get ( tPvHandle  Camera,
const char *  Name,
tPvUint32 *  pValue 
)
tPvErr PVDECL PvAttrUint32Set ( tPvHandle  Camera,
const char *  Name,
tPvUint32  Value 
)
tPvErr PVDECL PvCameraClose ( tPvHandle  Camera)
unsigned long PVDECL PvCameraCount ( void  )
tPvErr PVDECL PvCameraEventCallbackRegister ( tPvHandle  Camera,
tPvCameraEventCallback  Callback,
void *  Context 
)
tPvErr PVDECL PvCameraEventCallbackUnRegister ( tPvHandle  Camera,
tPvCameraEventCallback  Callback 
)
tPvErr PVDECL PvCameraInfo ( unsigned long  UniqueId,
tPvCameraInfo pInfo 
)
tPvErr PVDECL PvCameraInfoByAddr ( unsigned long  IpAddr,
tPvCameraInfo pInfo,
tPvIpSettings pIpSettings 
)
tPvErr PVDECL PvCameraInfoByAddrEx ( unsigned long  IpAddr,
tPvCameraInfoEx pInfo,
tPvIpSettings pIpSettings,
unsigned long  StructSize 
)
tPvErr PVDECL PvCameraInfoEx ( unsigned long  UniqueId,
tPvCameraInfoEx pInfo,
unsigned long  StructSize 
)
tPvErr PVDECL PvCameraIpSettingsChange ( unsigned long  UniqueId,
const tPvIpSettings pSettings 
)
tPvErr PVDECL PvCameraIpSettingsGet ( unsigned long  UniqueId,
tPvIpSettings pSettings 
)
unsigned long PVDECL PvCameraList ( tPvCameraInfo pList,
unsigned long  ListLength,
unsigned long *  pConnectedNum 
)
unsigned long PVDECL PvCameraListEx ( tPvCameraInfoEx pList,
unsigned long  ListLength,
unsigned long *  pConnectedNum,
unsigned long  StructSize 
)
unsigned long PVDECL PvCameraListUnreachable ( tPvCameraInfo pList,
unsigned long  ListLength,
unsigned long *  pConnectedNum 
)
unsigned long PVDECL PvCameraListUnreachableEx ( tPvCameraInfoEx pList,
unsigned long  ListLength,
unsigned long *  pConnectedNum,
unsigned long  StructSize 
)
tPvErr PVDECL PvCameraOpen ( unsigned long  UniqueId,
tPvAccessFlags  AccessFlag,
tPvHandle pCamera 
)
tPvErr PVDECL PvCameraOpenByAddr ( unsigned long  IpAddr,
tPvAccessFlags  AccessFlag,
tPvHandle pCamera 
)
tPvErr PVDECL PvCaptureAdjustPacketSize ( tPvHandle  Camera,
unsigned long  MaximumPacketSize 
)
tPvErr PVDECL PvCaptureEnd ( tPvHandle  Camera)
tPvErr PVDECL PvCaptureQuery ( tPvHandle  Camera,
unsigned long *  pIsStarted 
)
tPvErr PVDECL PvCaptureQueueClear ( tPvHandle  Camera)
tPvErr PVDECL PvCaptureQueueFrame ( tPvHandle  Camera,
tPvFrame pFrame,
tPvFrameCallback  Callback 
)
tPvErr PVDECL PvCaptureStart ( tPvHandle  Camera)
tPvErr PVDECL PvCaptureWaitForFrameDone ( tPvHandle  Camera,
const tPvFrame pFrame,
unsigned long  Timeout 
)
tPvErr PVDECL PvCommandRun ( tPvHandle  Camera,
const char *  Name 
)
tPvErr PVDECL PvInitialize ( void  )
tPvErr PVDECL PvInitializeNoDiscovery ( void  )
tPvErr PVDECL PvLinkCallbackRegister ( tPvLinkCallback  Callback,
tPvLinkEvent  Event,
void *  Context 
)
tPvErr PVDECL PvLinkCallbackUnRegister ( tPvLinkCallback  Callback,
tPvLinkEvent  Event 
)
void PVDECL PvUnInitialize ( void  )
void PVDECL PvUtilityColorInterpolate ( const tPvFrame pFrame,
void *  BufferRed,
void *  BufferGreen,
void *  BufferBlue,
unsigned long  PixelPadding,
unsigned long  LinePadding 
)
void PVDECL PvVersion ( unsigned long *  pMajor,
unsigned long *  pMinor 
)


prosilica_gige_sdk
Author(s): Allied Vision Technologies.
autogenerated on Mon Jun 10 2019 14:14:25