#include "VideoWrapperCommon/VideoWrapperTypes.h"
#include <sys/time.h>
Go to the source code of this file.
Functions | |
| void DSWRAPPER_API DSDECLSPEC | setPrintFunction (printfcn *function) |
| Sets a callback function to be used for printing messages. | |
| VWHCamera DSWRAPPER_API DSDECLSPEC | initQTVideo (char *lpCmdLine) |
| Intializes a video camera. | |
| int DSWRAPPER_API DSDECLSPEC | closeQTVideo (VWHCamera hCam) |
| Close the video camera. | |
| int DSWRAPPER_API DSDECLSPEC | resetQTCamera (VWHCamera hCam, bool bAutomatic) |
| Resets all the camera parameters to defaults. | |
| int DSWRAPPER_API DSDECLSPEC | showQTFilterPropertities (VWHCamera hCam) |
| Pops up the properties screen associated with this device. | |
| int DSWRAPPER_API DSDECLSPEC | getQTFrame (VWHCamera hCam, unsigned char **ppbFrame, timeval *pTimestamp=NULL) |
| Captures a video frame. | |
| void DSWRAPPER_API DSDECLSPEC | releaseQTFrame (VWHCamera hCam) |
| Releases the frame so that the space can be freed. | |
| double DSWRAPPER_API DSDECLSPEC | getQTFrameRate (VWHCamera hCam) |
| Gets the frame rate of the camera as frames per second. | |
| int DSWRAPPER_API DSWRAPPER_API | getQTVideoWidth (VWHCamera hCam) |
| Gets the video width. | |
| int DSWRAPPER_API DSWRAPPER_API | getQTVideoHeight (VWHCamera hCam) |
| Gets the video height. | |
| int DSWRAPPER_API DSDECLSPEC | getQTVideoPixelFormat (VWHCamera hCam) |
| Gets the pixel format. | |
| int DSWRAPPER_API DSDECLSPEC | getQTOpenGLFormat (VWHCamera hCam) |
| Gets the OpenGL format. | |
| int DSWRAPPER_API DSDECLSPEC | getQTVideoDepth (VWHCamera hCam) |
| Gets color depth as bits ber pixel. | |
For use by VideoWrapper.
|
|
Close the video camera.
|
|
||||||||||||||||
|
Captures a video frame.
|
|
|
Gets the frame rate of the camera as frames per second.
|
|
|
Gets the OpenGL format.
|
|
|
Gets color depth as bits ber pixel. Always returns 24.
|
|
|
Gets the video height.
|
|
|
Gets the pixel format.
|
|
|
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.
|
|
|
Pops up the properties screen associated with this device.
|
1.4.1