#include "VideoWrapperTypes.h"
Go to the source code of this file.
Functions | |
typedef | void (VWA_API_ENTRY VWAPrintFcn)(char *) |
Type definition for print callback functions. | |
void VWA_API VWA_API_ENTRY | setPrintFunction (VWAPrintFcn *function) |
Sets a callback function to be used for printing messages. | |
VWResult VWA_API VWA_API_ENTRY | openVideo (char *szInit, VWHCamera *phCam) |
Intializes a video camera. | |
VWResult VWA_API VWA_API_ENTRY | closeVideo (VWHCamera hCam) |
Close the video camera. | |
VWResult VWA_API VWA_API_ENTRY | startVideo (VWHCamera hCam) |
Starts aquiring frames from the camera. | |
VWResult VWA_API VWA_API_ENTRY | stopVideo (VWHCamera hCam) |
Stops aquiring frames from the camera. | |
VWResult VWA_API VWA_API_ENTRY | resetVideo (VWHCamera hCam, VWBool bAutomatic) |
Resets all the camera parameters to defaults. | |
VWResult VWA_API VWA_API_ENTRY | getFrame (VWHCamera hCam, unsigned char **ppbFrame, timeval *pTimestamp=NULL) |
Captures a video frame. | |
VWResult VWA_API VWA_API_ENTRY | releaseFrame (VWHCamera hCam) |
Releases the frame so that the space can be freed. | |
VWResult VWA_API VWA_API_ENTRY | getFrameRate (VWHCamera hCam, double *pdFrameRate) |
Gets the frame rate of the camera as frames per second. | |
VWResult VWA_API VWA_API_ENTRY | getVideoWidth (VWHCamera hCam, int *pnWidth) |
Gets the video width. | |
VWResult VWA_API VWA_API_ENTRY | getVideoHeight (VWHCamera hCam, int *pnHeight) |
Gets the video height. | |
VWResult VWA_API VWA_API_ENTRY | getVideoPixelFormat (VWHCamera hCam, VWPixelFormat *pPixelFormat) |
Gets the pixel format of the video frame buffer. | |
VWResult VWA_API VWA_API_ENTRY | getVideoDepth (VWHCamera hCam, int *pnDepth) |
Gets color depth as bits ber pixel. | |
VWResult VWA_API VWA_API_ENTRY | showPropertiesDialog (VWHCamera hCam) |
Pops up the properties screen associated with this device. | |
VWResult VWA_API VWA_API_ENTRY | setPropertyLong (VWHCamera hCam, VWCamProp propId, long lValue1, long lValue2=0L, VWBool bAuto=FALSE) |
Sets a long-typed camera property such as white balance, gain, etc. | |
VWResult VWA_API VWA_API_ENTRY | getPropertyLong (VWHCamera hCam, VWCamProp propId, long *plValue1=NULL, long *plValue2=NULL, VWBool *pbAuto=NULL) |
Gets a long-typed camera property such as white balance, gain, etc. | |
VWResult VWA_API VWA_API_ENTRY | getPropertyRangeLong (VWHCamera hCam, VWCamProp propId, long *plMinValue=NULL, long *plMaxValue=NULL, VWBool *pbAuto=NULL) |
Gets the valid range for a long-typed camera property such as white balance, gain, etc. | |
VWResult VWA_API VWA_API_ENTRY | setPropertyString (VWHCamera hCam, VWCamProp propId, char *szValue) |
Sets a string-typed camera property. | |
VWResult VWA_API VWA_API_ENTRY | getPropertyString (VWHCamera hCam, VWCamProp propId, char *szValue, int nSize) |
Gets a string-typed camera property. |
These are the functions exposed by VideoWrapper_xxx dynamic libraries.
|
Close the video camera.
|
|
Captures a video frame.
|
|
Gets the frame rate of the camera as frames per second.
|
|
Gets a long-typed camera property such as white balance, gain, etc. Some properties are composed of two values. Symbols for camera properties are defined in VideoWrapperTypes.h.
|
|
Gets the valid range for a long-typed camera property such as white balance, gain, etc. Symbols for camera properties are defined in VideoWrapperTypes.h.
|
|
Gets a string-typed camera property.
|
|
Gets color depth as bits ber pixel. Always returns 24.
|
|
Gets the video height.
|
|
Gets the pixel format of the video frame buffer.
|
|
Gets the video width.
|
|
Intializes a video camera.
|
|
Releases the frame so that the space can be freed.
|
|
Resets all the camera parameters to defaults.
|
|
Sets a callback function to be used for printing messages.
|
|
Sets a long-typed camera property such as white balance, gain, etc. Some properties are composed of two values. Symbols for camera properties are defined in VideoWrapperTypes.h.
|
|
Sets a string-typed camera property.
|
|
Pops up the properties screen associated with this device. Not supported by all camera libraries.
|
|
Starts aquiring frames from the camera.
|
|
Stops aquiring frames from the camera.
|