dc1394_capture_setup()
Arguments:
| dc1394camera_t
| :
| *camera
| :
| A pointer to an initialized camera structure | | uint_t
| :
| num_dma_buffers
| :
| The number of images in the ring buffer. Thanks to some hack you can even set this parameter to 1 but I recommend four to 10. If you request too much memory (above 30M) there is a chance that the function will fail | | uint_t
| :
| flags
| :
| capture flags |
Returns: dc1394error_t (error code)
dc1394_capture_stop()
Arguments:
| dc1394camera_t
| :
| *camera
| :
| A pointer to an initialized camera structure |
Returns: dc1394error_t (error code)
dc1394_capture_dequeue()
Arguments:
| dc1394camera_t
| :
| *camera
| :
| A pointer to an initialized camera structure | | dc1394capture_policy_t
| :
| policy
| :
| | | dc1394video_frame_t
| :
| **frame
| :
| |
Returns: dc1394error_t (error code)
dc1394_capture_enqueue()
Arguments:
| dc1394camera_t
| :
| *camera
| :
| A pointer to an initialized camera structure | | dc1394video_frame_t
| :
| *frame
| :
| |
Returns: dc1394error_t (error code)
dc1394_capture_set_device_filename()
Arguments:
| dc1394camera_t
| :
| *camera
| :
| A pointer to an initialized camera structure | | char
| :
| *filename
| :
| The filename of the video1394 device you wish to use (e.g. /dev/video1394/0) |
Returns: dc1394error_t (error code)
Note that you need to execute this function only if you use exotic video1394 device names. /dev/video1394, /dev/video1394/* and /dev/video1394-* are automatically recognized.
dc1394_capture_get_fileno()
Arguments:
| dc1394camera_t
| :
| *camera
| :
| A pointer to an initialized camera structure |
Returns: int
| |