diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2012-07-27 14:19:48 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2012-07-27 14:19:48 +0200 |
commit | 63ef59492469c08e8d3c7d8a186e4a765eae87b0 (patch) | |
tree | 30cbec701a68f20b8d70bbbf30ce786581b670f0 /ipecamera/private.h | |
parent | 4d7dc1f258d94fb94ae473b483eb5a638b2ae119 (diff) | |
download | ipecamera-63ef59492469c08e8d3c7d8a186e4a765eae87b0.tar.gz ipecamera-63ef59492469c08e8d3c7d8a186e4a765eae87b0.tar.bz2 ipecamera-63ef59492469c08e8d3c7d8a186e4a765eae87b0.tar.xz ipecamera-63ef59492469c08e8d3c7d8a186e4a765eae87b0.zip |
Check for free space in camera DDR buffer before triggering event
Diffstat (limited to 'ipecamera/private.h')
-rw-r--r-- | ipecamera/private.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ipecamera/private.h b/ipecamera/private.h index 5dc10d1..a200b75 100644 --- a/ipecamera/private.h +++ b/ipecamera/private.h @@ -86,6 +86,9 @@ struct ipecamera_s { pcilib_register_t adc_resolution_reg; pcilib_register_t output_mode_reg; + + pcilib_register_t max_frames_reg; + pcilib_register_t num_frames_reg; int started; /**< Camera is in grabbing mode (start function is called) */ int streaming; /**< Camera is in streaming mode (we are within stream call) */ @@ -112,7 +115,8 @@ struct ipecamera_s { size_t image_size; /**< Size of a single image in bytes */ - int cmosis_outputs; + size_t max_frames; /**< Maximal number of frames what may be buffered in camera DDR memory */ + int cmosis_outputs; /**< Number of active cmosis outputs: 4 or 16 */ int width, height; |