blob: 6f3a5bbb4cdb6256234c2b0482c535af8636633e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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
|