summaryrefslogtreecommitdiff
path: root/include/qhy/config.h
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2020-08-14 20:20:25 -0700
committeriximeow <me@iximeow.net>2020-08-14 20:20:25 -0700
commit889d89bc652682763a4b6021d988195a1d8acb84 (patch)
tree7043451f085d8c969d53e653be64ff24d7b35f55 /include/qhy/config.h
parentfaedb8827d3cfc6f1f59b4b29da6c3556ffc5760 (diff)
update qhy sdk
Diffstat (limited to 'include/qhy/config.h')
-rw-r--r--include/qhy/config.h49
1 files changed, 49 insertions, 0 deletions
diff --git a/include/qhy/config.h b/include/qhy/config.h
new file mode 100644
index 0000000..6f3a5bb
--- /dev/null
+++ b/include/qhy/config.h
@@ -0,0 +1,49 @@
+#ifndef __CONFIG_H__
+#define __CONFIG_H__
+
+
+
+
+
+
+#define CALLBACK_MODE_SUPPORT 1
+#define IMAGEQUEUE_ORIG_MODE 1
+
+
+#define version_year 20
+#define version_month 7
+#define version_day 26
+#define version_subday 1
+
+#if defined (_WIN32)
+#define QHYCCD_OPENCV_SUPPORT
+#define WINDOWS_PTHREAD_SUPPORT 1
+#define WINPCAP_MODE_SUPPORT 0
+#define PCIE_MODE_SUPPORT 1
+#define CYUSB_MODE_SUPPORT 1
+#define WINUSB_MODE_SUPPORT 1
+#define LIBUSB_MODE_SUPPORT 0
+#define PCIE_MODE_TEST 1
+#else
+#undef QHYCCD_OPENCV_SUPPORT
+#define WINDOWS_PTHREAD_SUPPORT 0
+#define WINPCAP_MODE_SUPPORT 0
+
+#if defined(__arm__) || defined (__arm64__) || defined (__aarch64__) || defined(__APPLE__)||defined (__ANDROID__)
+#define PCIE_MODE_SUPPORT 0
+#elif defined(__i386__) || defined(__x86_64__)
+#define PCIE_MODE_SUPPORT 1
+#else
+#define PCIE_MODE_SUPPORT 0
+#endif
+
+
+#define CYUSB_MODE_SUPPORT 0
+#define WINUSB_MODE_SUPPORT 0
+#define LIBUSB_MODE_SUPPORT 1
+#endif
+
+
+
+#endif
+