libdc1394: API version 2: Capture


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_get_fileno()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
Returns:   int

dc1394_capture_is_frame_corrupt()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
dc1394video_frame_t:*frame:
Returns:   dc1394bool_t