diff options
author | Mihael Koep <koep@schneide.com> | 2012-09-18 14:11:14 +0200 |
---|---|---|
committer | Mihael Koep <koep@schneide.com> | 2012-09-18 14:11:14 +0200 |
commit | 7d8d5904eb7423a26a37cd3b0b69a7bd0cb59ab8 (patch) | |
tree | 596c6c32b78e3eae8d9548f491d655658b0a703d /src/cameras | |
parent | 77516f3ec1403c7b2beaf8d5a998472faec7d553 (diff) | |
download | uca-7d8d5904eb7423a26a37cd3b0b69a7bd0cb59ab8.tar.gz uca-7d8d5904eb7423a26a37cd3b0b69a7bd0cb59ab8.tar.bz2 uca-7d8d5904eb7423a26a37cd3b0b69a7bd0cb59ab8.tar.xz uca-7d8d5904eb7423a26a37cd3b0b69a7bd0cb59ab8.zip |
Return full dimensions as roi.
Diffstat (limited to 'src/cameras')
-rw-r--r-- | src/cameras/uca-dexela-camera.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/cameras/uca-dexela-camera.c b/src/cameras/uca-dexela-camera.c index 4671168..21b13b2 100644 --- a/src/cameras/uca-dexela-camera.c +++ b/src/cameras/uca-dexela-camera.c @@ -15,6 +15,7 @@ with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA */ +#include <string.h> #include "uca-camera.h" #include "uca-dexela-camera.h" #include "uca-enums.h" @@ -197,6 +198,18 @@ static void uca_dexela_camera_get_property(GObject *object, guint property_id, G g_value_set_uint(value, priv->height); break; } + case PROP_ROI_WIDTH: + { + // use full frame for now + g_value_set_uint(value, priv->width); + break; + } + case PROP_ROI_HEIGHT: + { + // use full frame for now + g_value_set_uint(value, priv->height); + break; + } case PROP_SENSOR_HORIZONTAL_BINNING: { g_value_set_uint(value, dexela_get_binning_mode_horizontal()); |