00001
00009
00010
00011 #ifndef _VW_NO_CAPTURE // ignore the entire file if defined
00012
00013 #ifdef __cplusplus
00014 extern "C" {
00015 #endif
00016
00017
00018
00019
00020
00021
00022 void captureFrame( VWHVideo hVideo, unsigned char **ppbFrame, struct timeval *ts);
00023
00024
00025
00026
00027 VWBool isCapturing( VWHVideo hVideo);
00028
00029
00030
00031
00032
00033
00034 void replayPrint(VWPrintFcn *fcn);
00035 VWResult replayOpenCamera(char *config, VWHCamera*);
00036 VWResult replayGetFrame(VWHCamera, unsigned char **im, struct timeval *ts);
00037 VWResult replayReleaseFrame(VWHCamera);
00038 VWResult replayResetCamera(VWHCamera, bool flag);
00039 VWResult replayShowProperties(VWHCamera);
00040 VWResult replayClose(VWHCamera);
00041 VWResult replayStartVideo(VWHCamera);
00042 VWResult replayStopVideo(VWHCamera);
00043 VWResult replayGetWidth(VWHCamera, int*);
00044 VWResult replayGetHeight(VWHCamera, int*);
00045 VWResult replayGetPixelFormat(VWHCamera, VWPixelFormat*);
00046 VWResult replayGetDepth(VWHCamera, int*);
00047 VWResult replayGetFrameRate(VWHCamera, double*);
00048 VWResult replaySetPropertyLong(VWHCamera, VWCamProp, long, long, VWBool);
00049 VWResult replayGetPropertyLong(VWHCamera, VWCamProp, long*, long*, VWBool*);
00050 VWResult replayGetPropertyRangeLong(VWHCamera, VWCamProp, long*, long*, VWBool*);
00051
00052 VWResult replaySetPlaybackPosition( VWHCamera, timeval);
00053 VWResult replaySetPlaybackLoop( VWHCamera hCam, VWBool bLoop);
00054 VWResult replayIsPlaybackFinished( VWHCamera hCam, VWBool* pbFinished);
00055
00056 #ifdef __cplusplus
00057 };
00058 #endif
00059
00060 #endif //ndef _VW_NO_CAPTURE