diff options
author | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2012-04-17 11:29:26 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2012-04-17 11:29:26 +0200 |
commit | 0a9c6f047db1f5244f1569d7bb9a0a6097f5620f (patch) | |
tree | 909d62e6e3610587c223cf480ae206aceb05c7da /src/uca-camera.c | |
parent | 9a9d460d500c3ed1aec25a5a9bc6b14b13612e75 (diff) | |
download | libuca-0a9c6f047db1f5244f1569d7bb9a0a6097f5620f.tar.gz libuca-0a9c6f047db1f5244f1569d7bb9a0a6097f5620f.tar.bz2 libuca-0a9c6f047db1f5244f1569d7bb9a0a6097f5620f.tar.xz libuca-0a9c6f047db1f5244f1569d7bb9a0a6097f5620f.zip |
Add prelimary UFO camera support
Diffstat (limited to 'src/uca-camera.c')
-rw-r--r-- | src/uca-camera.c | 11 |
1 files changed, 11 insertions, 0 deletions
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 @@ -50,6 +50,9 @@ static gchar *uca_camera_types[] = { #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", |