From 0a9c6f047db1f5244f1569d7bb9a0a6097f5620f Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Tue, 17 Apr 2012 11:29:26 +0200 Subject: Add prelimary UFO camera support --- src/uca-camera.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/uca-camera.c') diff --git a/src/uca-camera.c b/src/uca-camera.c index 563f736..1e35dc7 100644 --- a/src/uca-camera.c +++ b/src/uca-camera.c @@ -49,6 +49,9 @@ static gchar *uca_camera_types[] = { #endif #ifdef HAVE_MOCK_CAMERA "mock", +#endif +#ifdef HAVE_UFO_CAMERA + "ufo", #endif NULL }; @@ -67,6 +70,7 @@ enum { PROP_SENSOR_VERTICAL_BINNING, PROP_SENSOR_VERTICAL_BINNINGS, PROP_SENSOR_MAX_FRAME_RATE, + PROP_EXPOSURE_TIME, PROP_ROI_X, PROP_ROI_Y, PROP_ROI_WIDTH, @@ -225,6 +229,13 @@ static void uca_camera_class_init(UcaCameraClass *klass) 1, G_MAXUINT, 1, G_PARAM_READABLE); + camera_properties[PROP_EXPOSURE_TIME] = + g_param_spec_double("exposure-time", + "Exposure time in seconds", + "Exposure time in seconds", + 0.0, G_MAXDOUBLE, 1.0, + G_PARAM_READABLE); + camera_properties[PROP_SENSOR_MAX_FRAME_RATE] = g_param_spec_float("max-frame-rate", "Maximum frame rate", -- cgit v1.2.3