19 #ifndef SNARK_SENSORS_DC1394_TYPES_H_
20 #define SNARK_SENSORS_DC1394_TYPES_H_
22 #include <dc1394/dc1394.h>
25 namespace snark {
namespace camera {
27 std::string video_mode_to_string( dc1394video_mode_t mode );
28 std::string operation_mode_to_string( dc1394operation_mode_t mode );
29 std::string iso_speed_to_string( dc1394speed_t speed );
30 std::string frame_rate_to_string( dc1394framerate_t frame_rate );
32 dc1394video_mode_t video_mode_from_string(
const std::string& mode );
33 dc1394operation_mode_t operation_mode_from_string(
const std::string& mode );
34 dc1394speed_t iso_speed_from_string(
const std::string& speed );
35 dc1394framerate_t frame_rate_from_string(
const std::string& frame_rate );
37 void print_video_modes();
38 void print_operation_modes();
39 void print_iso_speeds();
40 void print_frame_rates();
45 #endif // SNARK_SENSORS_DC1394_TYPES_H_