summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2019-03-24 17:53:15 -0700
committeriximeow <me@iximeow.net>2019-03-24 17:53:15 -0700
commit81f1d17725d5b7a5895db52175a671ffdf2aaad9 (patch)
treeabc94149d9a7c114ee149753beb4f103c61b691c /src
parent571ee6acb18112088d2b9ebf264ee30d75001f3f (diff)
try using live mode (it didnt work)
Diffstat (limited to 'src')
-rw-r--r--src/qhyccd/QHYCCDCam.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qhyccd/QHYCCDCam.rs b/src/qhyccd/QHYCCDCam.rs
index 8419bb7..960993e 100644
--- a/src/qhyccd/QHYCCDCam.rs
+++ b/src/qhyccd/QHYCCDCam.rs
@@ -122,9 +122,12 @@ extern "C" {
pub fn SetQHYCCDBinMode(handle: *mut os::raw::c_void, wbin: os::raw::c_int, hbin: os::raw::c_int) -> os::raw::c_int;
pub fn SetQHYCCDBitsMode(handle: *mut os::raw::c_void, bits: os::raw::c_int) -> os::raw::c_int;
pub fn ExpQHYCCDSingleFrame(handle: *mut os::raw::c_void) -> os::raw::c_int;
+ pub fn BeginQHYCCDLive(handle: *mut os::raw::c_void) -> os::raw::c_int;
+ pub fn StopQHYCCDLive(handle: *mut os::raw::c_void) -> os::raw::c_int;
pub fn GetQHYCCDExposureRemaining(handle: *mut os::raw::c_void) -> os::raw::c_uint;
pub fn GetQHYCCDMemLength(handle: *mut os::raw::c_void) -> os::raw::c_int;
pub fn GetQHYCCDSingleFrame(handle: *mut os::raw::c_void, w: *mut os::raw::c_int, h: *mut os::raw::c_int, bpp: *mut os::raw::c_int, channels: *mut os::raw::c_int, data: *mut os::raw::c_uchar) -> os::raw::c_int;
+ pub fn GetQHYCCDLiveFrame(handle: *mut os::raw::c_void, w: *mut os::raw::c_int, h: *mut os::raw::c_int, bpp: *mut os::raw::c_int, channels: *mut os::raw::c_int, data: *mut os::raw::c_uchar) -> os::raw::c_int;
pub fn CloseQHYCCD(handle: *mut os::raw::c_void) -> os::raw::c_int;
pub fn ReleaseQHYCCDResource() -> os::raw::c_int;
}