diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2013-07-17 10:49:19 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2013-07-17 10:49:19 +0200 |
commit | f111dd5b0c80206d79bb73f0e5b546ae7d5e34a7 (patch) | |
tree | 9ce96303a75227393005739d04179c1ed65d710a /plugins/mock/uca-mock-camera.c | |
parent | a711e87f49e7c7dee62e9186a59f18348c76829e (diff) | |
download | libuca-f111dd5b0c80206d79bb73f0e5b546ae7d5e34a7.tar.gz libuca-f111dd5b0c80206d79bb73f0e5b546ae7d5e34a7.tar.bz2 libuca-f111dd5b0c80206d79bb73f0e5b546ae7d5e34a7.tar.xz libuca-f111dd5b0c80206d79bb73f0e5b546ae7d5e34a7.zip |
Provide binning default and let cameras use that
Diffstat (limited to 'plugins/mock/uca-mock-camera.c')
-rw-r--r-- | plugins/mock/uca-mock-camera.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/plugins/mock/uca-mock-camera.c b/plugins/mock/uca-mock-camera.c index 7219ff2..207a958 100644 --- a/plugins/mock/uca-mock-camera.c +++ b/plugins/mock/uca-mock-camera.c @@ -38,17 +38,11 @@ static const gint mock_overrideables[] = { PROP_SENSOR_WIDTH, PROP_SENSOR_HEIGHT, PROP_SENSOR_BITDEPTH, - PROP_SENSOR_HORIZONTAL_BINNING, - PROP_SENSOR_HORIZONTAL_BINNINGS, - PROP_SENSOR_VERTICAL_BINNING, - PROP_SENSOR_VERTICAL_BINNINGS, PROP_EXPOSURE_TIME, PROP_ROI_X, PROP_ROI_Y, PROP_ROI_WIDTH, PROP_ROI_HEIGHT, - PROP_ROI_HEIGHT_MULTIPLIER, - PROP_ROI_WIDTH_MULTIPLIER, PROP_SENSOR_MAX_FRAME_RATE, PROP_HAS_STREAMING, PROP_HAS_CAMRAM_RECORDING, @@ -302,18 +296,6 @@ uca_mock_camera_get_property(GObject *object, guint property_id, GValue *value, case PROP_SENSOR_BITDEPTH: g_value_set_uint(value, 8); break; - case PROP_SENSOR_HORIZONTAL_BINNING: - g_value_set_uint(value, 1); - break; - case PROP_SENSOR_HORIZONTAL_BINNINGS: - g_value_set_boxed(value, priv->binnings); - break; - case PROP_SENSOR_VERTICAL_BINNING: - g_value_set_uint(value, 1); - break; - case PROP_SENSOR_VERTICAL_BINNINGS: - g_value_set_boxed(value, priv->binnings); - break; case PROP_EXPOSURE_TIME: g_value_set_double(value, priv->exposure_time); break; @@ -329,12 +311,6 @@ uca_mock_camera_get_property(GObject *object, guint property_id, GValue *value, case PROP_ROI_HEIGHT: g_value_set_uint(value, priv->roi_height); break; - case PROP_ROI_WIDTH_MULTIPLIER: - g_value_set_uint(value, 1); - break; - case PROP_ROI_HEIGHT_MULTIPLIER: - g_value_set_uint(value, 1); - break; case PROP_SENSOR_MAX_FRAME_RATE: g_value_set_float(value, priv->max_frame_rate); break; |