summaryrefslogtreecommitdiffstats
path: root/ipecamera/private.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2011-12-12 15:59:26 +0100
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2011-12-12 15:59:26 +0100
commit75a321d4c616ea914f7a7799574b2164ac41bb92 (patch)
tree55b756709acec48f974b7a0ed6d46baad80f03b0 /ipecamera/private.h
parentd2dc73cab5b1c08822ce0066251e362f01525f10 (diff)
downloadpcitool-75a321d4c616ea914f7a7799574b2164ac41bb92.tar.gz
pcitool-75a321d4c616ea914f7a7799574b2164ac41bb92.tar.bz2
pcitool-75a321d4c616ea914f7a7799574b2164ac41bb92.tar.xz
pcitool-75a321d4c616ea914f7a7799574b2164ac41bb92.zip
In preprocessing mode, announce the events only after reconstruction is done
Diffstat (limited to 'ipecamera/private.h')
-rw-r--r--ipecamera/private.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ipecamera/private.h b/ipecamera/private.h
index e15d6ba..0645715 100644
--- a/ipecamera/private.h
+++ b/ipecamera/private.h
@@ -7,6 +7,8 @@
#define IPECAMERA_BUG_MULTIFRAME_PACKETS
#define IPECAMERA_BUG_INCOMPLETE_PACKETS
+#define IPECAMERA_ANNOUNCE_READY //**< announce new event only after the reconstruction is done */
+
#define IPECAMERA_DEFAULT_BUFFER_SIZE 16//64 //**< should be power of 2 */
#define IPECAMERA_RESERVE_BUFFERS 2 //**< Return Frame is Lost error, if requested frame will be overwritten after specified number of frames
#define IPECAMERA_SLEEP_TIME 250000 //**< Michele thinks 250 should be enough, but reset failing in this case */
@@ -63,7 +65,7 @@ struct ipecamera_s {
void *cb_user;
volatile pcilib_event_id_t event_id;
- pcilib_event_id_t preproc_id;
+ volatile pcilib_event_id_t preproc_id;
pcilib_event_id_t reported_id;
pcilib_dma_engine_t rdma, wdma;