summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/mock/uca-mock-camera.c24
-rw-r--r--plugins/pf/uca-pf-camera.c20
-rw-r--r--plugins/ufo/uca-ufo-camera.c16
-rw-r--r--src/uca-camera.c8
4 files changed, 8 insertions, 60 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;
diff --git a/plugins/pf/uca-pf-camera.c b/plugins/pf/uca-pf-camera.c
index 1771798..bc98e31 100644
--- a/plugins/pf/uca-pf-camera.c
+++ b/plugins/pf/uca-pf-camera.c
@@ -71,18 +71,12 @@ static gint base_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_SENSOR_MAX_FRAME_RATE,
PROP_EXPOSURE_TIME,
PROP_ROI_X,
PROP_ROI_Y,
PROP_ROI_WIDTH,
PROP_ROI_HEIGHT,
- PROP_ROI_WIDTH_MULTIPLIER,
- PROP_ROI_HEIGHT_MULTIPLIER,
PROP_HAS_STREAMING,
PROP_HAS_CAMRAM_RECORDING,
0
@@ -235,14 +229,6 @@ uca_pf_camera_get_property(GObject *object, guint property_id, GValue *value, GP
case PROP_SENSOR_BITDEPTH:
g_value_set_uint(value, 8);
break;
- case PROP_SENSOR_HORIZONTAL_BINNING:
- break;
- case PROP_SENSOR_HORIZONTAL_BINNINGS:
- break;
- case PROP_SENSOR_VERTICAL_BINNING:
- break;
- case PROP_SENSOR_VERTICAL_BINNINGS:
- break;
case PROP_SENSOR_MAX_FRAME_RATE:
g_value_set_float(value, 488.0);
break;
@@ -267,12 +253,6 @@ uca_pf_camera_get_property(GObject *object, guint property_id, GValue *value, GP
case PROP_ROI_HEIGHT:
g_value_set_uint(value, 1024);
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_NAME:
g_value_set_string(value, "Photon Focus MV2-D1280-640-CL");
break;
diff --git a/plugins/ufo/uca-ufo-camera.c b/plugins/ufo/uca-ufo-camera.c
index 3f6d42c..16530cb 100644
--- a/plugins/ufo/uca-ufo-camera.c
+++ b/plugins/ufo/uca-ufo-camera.c
@@ -81,8 +81,6 @@ static gint base_overrideables[] = {
PROP_NAME,
PROP_SENSOR_WIDTH,
PROP_SENSOR_HEIGHT,
- PROP_SENSOR_HORIZONTAL_BINNING,
- PROP_SENSOR_VERTICAL_BINNING,
PROP_SENSOR_MAX_FRAME_RATE,
PROP_SENSOR_BITDEPTH,
PROP_EXPOSURE_TIME,
@@ -91,8 +89,6 @@ static gint base_overrideables[] = {
PROP_ROI_Y,
PROP_ROI_WIDTH,
PROP_ROI_HEIGHT,
- PROP_ROI_WIDTH_MULTIPLIER,
- PROP_ROI_HEIGHT_MULTIPLIER,
PROP_HAS_STREAMING,
PROP_HAS_CAMRAM_RECORDING,
0,
@@ -461,12 +457,6 @@ uca_ufo_camera_get_property(GObject *object, guint property_id, GValue *value, G
case PROP_SENSOR_BITDEPTH:
g_value_set_uint (value, priv->n_bits);
break;
- case PROP_SENSOR_HORIZONTAL_BINNING:
- g_value_set_uint(value, 1);
- break;
- case PROP_SENSOR_VERTICAL_BINNING:
- g_value_set_uint(value, 1);
- break;
case PROP_SENSOR_MAX_FRAME_RATE:
g_value_set_float(value, 340.0);
break;
@@ -533,12 +523,6 @@ uca_ufo_camera_get_property(GObject *object, guint property_id, GValue *value, G
case PROP_ROI_HEIGHT:
g_value_set_uint(value, SENSOR_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_NAME:
g_value_set_string(value, "Ufo Camera w/ CMOSIS CMV2000");
break;
diff --git a/src/uca-camera.c b/src/uca-camera.c
index ce21b42..417116f 100644
--- a/src/uca-camera.c
+++ b/src/uca-camera.c
@@ -207,6 +207,14 @@ uca_camera_get_property(GObject *object, guint property_id, GValue *value, GPara
g_value_set_double (value, 10e-6);
break;
+ case PROP_SENSOR_HORIZONTAL_BINNING:
+ g_value_set_uint (value, 1);
+ break;
+
+ case PROP_SENSOR_VERTICAL_BINNING:
+ g_value_set_uint (value, 1);
+ break;
+
case PROP_SENSOR_HORIZONTAL_BINNINGS:
g_value_set_boxed (value, priv->h_binnings);
break;