summaryrefslogtreecommitdiffstats
path: root/src/uca.h
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2011-06-07 15:45:06 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2011-06-07 15:45:06 +0200
commitbf83e234755ea390c92f05c4b701cf8ee57c2526 (patch)
tree075b786b0fb954c80480b2d17e4a9082fd7d56c5 /src/uca.h
parentbbc279b61484fb073a6d0ab6cc368f26ded5f4d3 (diff)
downloaduca-bf83e234755ea390c92f05c4b701cf8ee57c2526.tar.gz
uca-bf83e234755ea390c92f05c4b701cf8ee57c2526.tar.bz2
uca-bf83e234755ea390c92f05c4b701cf8ee57c2526.tar.xz
uca-bf83e234755ea390c92f05c4b701cf8ee57c2526.zip
Hotpixel correction and cam_state -> uca.h
Diffstat (limited to 'src/uca.h')
-rw-r--r--src/uca.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/uca.h b/src/uca.h
index bcab72f..9ca21db 100644
--- a/src/uca.h
+++ b/src/uca.h
@@ -112,6 +112,7 @@ enum uca_property_ids {
/* pco.edge specific */
UCA_PROP_TIMESTAMP_MODE,
UCA_PROP_SCAN_MODE,
+ UCA_PROP_HOTPIXEL_CORRECTION,
/* IPE camera specific */
UCA_PROP_INTERLACE_SAMPLE_RATE,
@@ -225,6 +226,16 @@ union uca_value {
};
/**
+ * Describes the current state of the camera.
+ */
+enum uca_cam_state {
+ UCA_CAM_CONFIGURABLE, /**< Camera can be configured and is not recording */
+ UCA_CAM_ARMED, /**< Camera is ready for recording */
+ UCA_CAM_RECORDING, /**< Camera is currently recording */
+};
+
+
+/**
* Grab callback.
*
* Register such a callback function with uca_cam_register_callback() to