Functions | |
| void | video_setcameratype (int type) |
| Configure the type of connection with device. | |
| void | video_setDeviceName (void) |
| Configure deviceName parameter from camera_type. | |
| void | video_setfirewire (char *_deviceName) |
| Configure firewire parameters. | |
| void | video_setv4l (char *_deviceName, int _channelNumber, int _videoMode) |
| Configure v4l parameters. | |
| int | test_device (char *dev) |
| Image * | video_open (void) |
| Open communication with video device. | |
| void | video_close (void) |
| Close communication with video device. | |
| Boolean | video_getimage (Image *i) |
| Gets the frame image. | |
| Boolean | video_getframe (Frame *f) |
| Gets the frame. | |
| int | video_gettype (void) |
| Gets the video type. | |
| void | video_stopReceive () |
| Stop receiving images from device. | |
| void | video_startReceive () |
| Start receiving images from device. | |
| void | video_stopThread () |
| Stop the thread for receiving images from device. | |
| void | video_startThread () |
| Start the thread for receiving images from device. | |
| int test_device | ( | char * | dev | ) |
| void video_close | ( | void | ) |
Close communication with video device.
| Boolean video_getframe | ( | Frame * | f | ) |
Gets the frame.
| f | the frame. |
| Boolean video_getimage | ( | Image * | i | ) |
| int video_gettype | ( | void | ) |
Gets the video type.
| void video_setcameratype | ( | int | type | ) |
Configure the type of connection with device.
| type,: | CAMERA_V4L or CAMERA_FIREWIRE. |
| void video_setDeviceName | ( | void | ) |
Configure deviceName parameter from camera_type.
| void video_setfirewire | ( | char * | _deviceName | ) |
Configure firewire parameters.
| _deviceName |
| void video_setv4l | ( | char * | _deviceName, | |
| int | _channelNumber, | |||
| int | _videoMode | |||
| ) |
Configure v4l parameters.
| _deviceName | ||
| _channelNumber | //0: TV 1:Composite1 2:S-Video 3:Composite3. | |
| _videoMode | //0: VIDEO_MODE_PAL 1: VIDEO_MODE_NTSC |
| void video_startReceive | ( | ) |
Start receiving images from device.
| void video_startThread | ( | ) |
Start the thread for receiving images from device.
| void video_stopReceive | ( | ) |
Stop receiving images from device.
| void video_stopThread | ( | ) |
Stop the thread for receiving images from device.
1.4.7