summaryrefslogtreecommitdiff
path: root/include/qhy/virtualwdm.h
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2019-03-14 15:52:30 -0700
committeriximeow <me@iximeow.net>2019-03-14 15:52:30 -0700
commitfa1bb24f1f8aaf8e598a3bc53d90922e445fe59a (patch)
treec5f65b4cecd6376a3b99646679f9714d5f9213a2 /include/qhy/virtualwdm.h
parent051a2e73d031475e08e37953007fbb7869515fb6 (diff)
add qhy headers.........
Diffstat (limited to 'include/qhy/virtualwdm.h')
-rw-r--r--include/qhy/virtualwdm.h52
1 files changed, 52 insertions, 0 deletions
diff --git a/include/qhy/virtualwdm.h b/include/qhy/virtualwdm.h
new file mode 100644
index 0000000..2e48cf2
--- /dev/null
+++ b/include/qhy/virtualwdm.h
@@ -0,0 +1,52 @@
+/*
+ QHYCCD SDK
+
+ Copyright (c) 2014 QHYCCD.
+ All Rights Reserved.
+
+ This program is free software; you can redistribute it and/or modify it
+ under the terms of the GNU General Public License as published by the Free
+ Software Foundation; either version 2 of the License, or (at your option)
+ any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program; if not, write to the Free Software Foundation, Inc., 59
+ Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+ The full GNU General Public License is included in this distribution in the
+ file called LICENSE.
+ */
+
+#include "qhybase.h"
+#include "stdint.h"
+
+#ifdef WIN32
+
+EXPORTC uint32_t STDCALL VirutalCamInit(qhyccd_handle *h);
+
+EXPORTC uint32_t STDCALL VirualCamRelease();
+
+EXPORTC uint32_t STDCALL VirualCamPlayVideoDevice(int32_t no);
+
+EXPORTC uint32_t STDCALL VirualCamPlayBuffer(uint8_t *buffer,uint32_t width,uint32_t height);
+
+EXPORTC uint32_t STDCALL VirualCamAddOverlay(bool on,uint8_t *buffer,uint32_t width,uint32_t height);
+
+EXPORTC uint32_t STDCALL VirualCamAddText(bool on,char *oltext,char *ftname,int32_t ftsize,int32_t ftstyle,int32_t ftcolor,int32_t bkcolor,int32_t px,int32_t py,int32_t bktype,int32_t whichone);
+
+EXPORTC uint32_t STDCALL VirualCamStopPlay();
+
+EXPORTC uint32_t STDCALL VirualCamChnageDefaultSettings(uint32_t fps,uint8_t videosize);
+
+EXPORTC uint32_t STDCALL VirtualCamGet_CurrentVideoDuration(uint32_t *duration);
+
+EXPORTC uint32_t STDCALL VirtualCamGet_CurrentVideoPosition(uint32_t *position);
+
+EXPORTC uint32_t STDCALL VirtualCamGet_IsPlaying(bool *isplaying);
+
+#endif \ No newline at end of file