2016-09-07 23:02:36 +08:00
|
|
|
#ifndef OPENCV_CVCONFIG_H_INCLUDED
|
|
|
|
#define OPENCV_CVCONFIG_H_INCLUDED
|
|
|
|
|
2013-07-11 20:01:46 +08:00
|
|
|
/* OpenCV compiled as static or dynamic libs */
|
|
|
|
#cmakedefine BUILD_SHARED_LIBS
|
2010-05-12 01:44:00 +08:00
|
|
|
|
2016-09-07 23:02:36 +08:00
|
|
|
/* OpenCV intrinsics optimized code */
|
|
|
|
#cmakedefine CV_ENABLE_INTRINSICS
|
|
|
|
|
|
|
|
/* OpenCV additional optimized code */
|
|
|
|
#cmakedefine CV_DISABLE_OPTIMIZATION
|
|
|
|
|
2013-07-11 20:01:46 +08:00
|
|
|
/* Compile for 'real' NVIDIA GPU architectures */
|
|
|
|
#define CUDA_ARCH_BIN "${OPENCV_CUDA_ARCH_BIN}"
|
2010-05-12 01:44:00 +08:00
|
|
|
|
2013-07-11 20:01:46 +08:00
|
|
|
/* Create PTX or BIN for 1.0 compute capability */
|
|
|
|
#cmakedefine CUDA_ARCH_BIN_OR_PTX_10
|
2010-05-12 01:44:00 +08:00
|
|
|
|
2013-07-11 20:01:46 +08:00
|
|
|
/* NVIDIA GPU features are used */
|
|
|
|
#define CUDA_ARCH_FEATURES "${OPENCV_CUDA_ARCH_FEATURES}"
|
2010-05-12 01:44:00 +08:00
|
|
|
|
2013-07-11 20:01:46 +08:00
|
|
|
/* Compile for 'virtual' NVIDIA PTX architectures */
|
|
|
|
#define CUDA_ARCH_PTX "${OPENCV_CUDA_ARCH_PTX}"
|
|
|
|
|
|
|
|
/* AVFoundation video libraries */
|
|
|
|
#cmakedefine HAVE_AVFOUNDATION
|
2013-03-27 23:03:51 +08:00
|
|
|
|
2010-05-12 01:44:00 +08:00
|
|
|
/* V4L capturing support */
|
|
|
|
#cmakedefine HAVE_CAMV4L
|
|
|
|
|
|
|
|
/* V4L2 capturing support */
|
|
|
|
#cmakedefine HAVE_CAMV4L2
|
|
|
|
|
|
|
|
/* Carbon windowing environment */
|
|
|
|
#cmakedefine HAVE_CARBON
|
|
|
|
|
2013-07-11 20:01:46 +08:00
|
|
|
/* AMD's Basic Linear Algebra Subprograms Library*/
|
|
|
|
#cmakedefine HAVE_CLAMDBLAS
|
|
|
|
|
|
|
|
/* AMD's OpenCL Fast Fourier Transform Library*/
|
|
|
|
#cmakedefine HAVE_CLAMDFFT
|
|
|
|
|
2013-08-06 17:56:49 +08:00
|
|
|
/* Clp support */
|
|
|
|
#cmakedefine HAVE_CLP
|
|
|
|
|
2013-07-10 22:20:34 +08:00
|
|
|
/* Cocoa API */
|
|
|
|
#cmakedefine HAVE_COCOA
|
|
|
|
|
2013-07-11 20:01:46 +08:00
|
|
|
/* C= */
|
|
|
|
#cmakedefine HAVE_CSTRIPES
|
|
|
|
|
2018-04-13 19:33:19 +08:00
|
|
|
/* NVIDIA CUDA Basic Linear Algebra Subprograms (BLAS) API*/
|
2013-07-11 20:01:46 +08:00
|
|
|
#cmakedefine HAVE_CUBLAS
|
|
|
|
|
2018-04-13 19:33:19 +08:00
|
|
|
/* NVIDIA CUDA Runtime API*/
|
2013-07-11 20:01:46 +08:00
|
|
|
#cmakedefine HAVE_CUDA
|
|
|
|
|
2018-04-13 19:33:19 +08:00
|
|
|
/* NVIDIA CUDA Fast Fourier Transform (FFT) API*/
|
2013-07-11 20:01:46 +08:00
|
|
|
#cmakedefine HAVE_CUFFT
|
|
|
|
|
2010-05-12 01:44:00 +08:00
|
|
|
/* IEEE1394 capturing support */
|
|
|
|
#cmakedefine HAVE_DC1394
|
|
|
|
|
|
|
|
/* IEEE1394 capturing support - libdc1394 v2.x */
|
|
|
|
#cmakedefine HAVE_DC1394_2
|
|
|
|
|
2013-11-28 21:42:40 +08:00
|
|
|
/* DirectX */
|
|
|
|
#cmakedefine HAVE_DIRECTX
|
2015-07-31 01:03:03 +08:00
|
|
|
#cmakedefine HAVE_DIRECTX_NV12
|
2013-11-28 21:42:40 +08:00
|
|
|
#cmakedefine HAVE_D3D11
|
|
|
|
#cmakedefine HAVE_D3D10
|
|
|
|
#cmakedefine HAVE_D3D9
|
|
|
|
|
2013-07-11 20:01:46 +08:00
|
|
|
/* DirectShow Video Capture library */
|
|
|
|
#cmakedefine HAVE_DSHOW
|
2010-05-12 01:44:00 +08:00
|
|
|
|
2013-07-11 20:01:46 +08:00
|
|
|
/* Eigen Matrix & Linear Algebra Library */
|
|
|
|
#cmakedefine HAVE_EIGEN
|
2012-04-14 05:50:59 +08:00
|
|
|
|
2010-05-12 01:44:00 +08:00
|
|
|
/* FFMpeg video library */
|
2013-07-11 20:01:46 +08:00
|
|
|
#cmakedefine HAVE_FFMPEG
|
2010-05-12 01:44:00 +08:00
|
|
|
|
2014-07-02 07:29:11 +08:00
|
|
|
/* Geospatial Data Abstraction Library */
|
|
|
|
#cmakedefine HAVE_GDAL
|
|
|
|
|
2010-05-12 01:44:00 +08:00
|
|
|
/* GStreamer multimedia framework */
|
2013-07-11 20:01:46 +08:00
|
|
|
#cmakedefine HAVE_GSTREAMER
|
2010-05-12 01:44:00 +08:00
|
|
|
|
|
|
|
/* GTK+ 2.0 Thread support */
|
2013-07-11 20:01:46 +08:00
|
|
|
#cmakedefine HAVE_GTHREAD
|
2013-03-27 23:03:51 +08:00
|
|
|
|
2010-05-12 01:44:00 +08:00
|
|
|
/* GTK+ 2.x toolkit */
|
2013-07-11 20:01:46 +08:00
|
|
|
#cmakedefine HAVE_GTK
|
2010-05-12 01:44:00 +08:00
|
|
|
|
2017-06-21 19:33:47 +08:00
|
|
|
/* Halide support */
|
|
|
|
#cmakedefine HAVE_HALIDE
|
|
|
|
|
2010-05-12 01:44:00 +08:00
|
|
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
2013-08-06 17:56:49 +08:00
|
|
|
#cmakedefine HAVE_INTTYPES_H 1
|
2013-07-11 20:01:46 +08:00
|
|
|
|
2013-12-17 20:13:55 +08:00
|
|
|
/* Intel Perceptual Computing SDK library */
|
|
|
|
#cmakedefine HAVE_INTELPERC
|
|
|
|
|
2013-07-11 20:01:46 +08:00
|
|
|
/* Intel Integrated Performance Primitives */
|
|
|
|
#cmakedefine HAVE_IPP
|
2017-08-17 19:57:58 +08:00
|
|
|
#cmakedefine HAVE_IPP_ICV
|
2017-04-13 20:50:23 +08:00
|
|
|
#cmakedefine HAVE_IPP_IW
|
2010-05-12 01:44:00 +08:00
|
|
|
|
|
|
|
/* JPEG-2000 codec */
|
2013-07-11 20:01:46 +08:00
|
|
|
#cmakedefine HAVE_JASPER
|
2010-05-12 01:44:00 +08:00
|
|
|
|
|
|
|
/* IJG JPEG codec */
|
2013-07-11 20:01:46 +08:00
|
|
|
#cmakedefine HAVE_JPEG
|
2010-05-12 01:44:00 +08:00
|
|
|
|
|
|
|
/* libpng/png.h needs to be included */
|
2013-07-11 20:01:46 +08:00
|
|
|
#cmakedefine HAVE_LIBPNG_PNG_H
|
2010-05-12 01:44:00 +08:00
|
|
|
|
2015-04-20 20:27:57 +08:00
|
|
|
/* GDCM DICOM codec */
|
|
|
|
#cmakedefine HAVE_GDCM
|
|
|
|
|
2013-07-11 20:01:46 +08:00
|
|
|
/* V4L/V4L2 capturing support via libv4l */
|
|
|
|
#cmakedefine HAVE_LIBV4L
|
2010-05-12 01:44:00 +08:00
|
|
|
|
2013-07-11 20:01:46 +08:00
|
|
|
/* Microsoft Media Foundation Capture library */
|
|
|
|
#cmakedefine HAVE_MSMF
|
2011-08-24 18:53:57 +08:00
|
|
|
|
2018-04-13 19:33:19 +08:00
|
|
|
/* NVIDIA Video Decoding API*/
|
2013-07-11 20:01:46 +08:00
|
|
|
#cmakedefine HAVE_NVCUVID
|
2010-05-12 01:44:00 +08:00
|
|
|
|
2018-04-13 19:33:19 +08:00
|
|
|
/* NVIDIA Video Encoding API*/
|
2016-02-01 19:59:11 +08:00
|
|
|
#cmakedefine HAVE_NVCUVENC
|
|
|
|
|
2013-07-11 20:01:46 +08:00
|
|
|
/* OpenCL Support */
|
|
|
|
#cmakedefine HAVE_OPENCL
|
2013-10-11 23:30:47 +08:00
|
|
|
#cmakedefine HAVE_OPENCL_STATIC
|
2015-01-02 08:33:40 +08:00
|
|
|
#cmakedefine HAVE_OPENCL_SVM
|
2010-05-12 01:44:00 +08:00
|
|
|
|
2013-07-11 20:01:46 +08:00
|
|
|
/* OpenEXR codec */
|
|
|
|
#cmakedefine HAVE_OPENEXR
|
2010-05-12 01:44:00 +08:00
|
|
|
|
2013-07-11 20:01:46 +08:00
|
|
|
/* OpenGL support*/
|
|
|
|
#cmakedefine HAVE_OPENGL
|
2010-05-12 01:44:00 +08:00
|
|
|
|
2011-01-22 01:00:08 +08:00
|
|
|
/* OpenNI library */
|
2013-07-11 20:01:46 +08:00
|
|
|
#cmakedefine HAVE_OPENNI
|
2010-05-12 01:44:00 +08:00
|
|
|
|
2014-07-01 16:07:01 +08:00
|
|
|
/* OpenNI library */
|
|
|
|
#cmakedefine HAVE_OPENNI2
|
|
|
|
|
2013-07-11 20:01:46 +08:00
|
|
|
/* PNG codec */
|
|
|
|
#cmakedefine HAVE_PNG
|
2010-05-12 01:44:00 +08:00
|
|
|
|
2015-06-11 21:53:07 +08:00
|
|
|
/* Posix threads (pthreads) */
|
2017-08-14 15:59:38 +08:00
|
|
|
#cmakedefine HAVE_PTHREAD
|
2015-06-11 21:53:07 +08:00
|
|
|
|
|
|
|
/* parallel_for with pthreads */
|
|
|
|
#cmakedefine HAVE_PTHREADS_PF
|
|
|
|
|
2013-07-11 20:01:46 +08:00
|
|
|
/* Qt support */
|
|
|
|
#cmakedefine HAVE_QT
|
2010-05-12 01:44:00 +08:00
|
|
|
|
2013-07-11 20:01:46 +08:00
|
|
|
/* Qt OpenGL support */
|
|
|
|
#cmakedefine HAVE_QT_OPENGL
|
2010-05-12 01:44:00 +08:00
|
|
|
|
2013-07-11 20:01:46 +08:00
|
|
|
/* QuickTime video libraries */
|
|
|
|
#cmakedefine HAVE_QUICKTIME
|
2010-05-12 01:44:00 +08:00
|
|
|
|
2013-08-14 19:33:47 +08:00
|
|
|
/* QTKit video libraries */
|
|
|
|
#cmakedefine HAVE_QTKIT
|
|
|
|
|
2010-05-12 01:44:00 +08:00
|
|
|
/* Intel Threading Building Blocks */
|
2013-07-11 20:01:46 +08:00
|
|
|
#cmakedefine HAVE_TBB
|
2011-10-19 17:53:22 +08:00
|
|
|
|
2013-07-11 20:01:46 +08:00
|
|
|
/* TIFF codec */
|
|
|
|
#cmakedefine HAVE_TIFF
|
2011-01-18 20:01:28 +08:00
|
|
|
|
2013-07-11 20:01:46 +08:00
|
|
|
/* Unicap video capture library */
|
|
|
|
#cmakedefine HAVE_UNICAP
|
2012-12-20 20:19:14 +08:00
|
|
|
|
2013-07-11 20:01:46 +08:00
|
|
|
/* Video for Windows support */
|
|
|
|
#cmakedefine HAVE_VFW
|
2012-12-20 20:19:14 +08:00
|
|
|
|
2013-07-11 20:01:46 +08:00
|
|
|
/* V4L2 capturing support in videoio.h */
|
|
|
|
#cmakedefine HAVE_VIDEOIO
|
2012-12-20 20:19:14 +08:00
|
|
|
|
2013-07-11 20:01:46 +08:00
|
|
|
/* Win32 UI */
|
|
|
|
#cmakedefine HAVE_WIN32UI
|
2013-04-03 09:01:20 +08:00
|
|
|
|
2011-08-12 01:59:30 +08:00
|
|
|
/* XIMEA camera support */
|
|
|
|
#cmakedefine HAVE_XIMEA
|
2011-11-21 19:58:52 +08:00
|
|
|
|
2013-07-11 20:01:46 +08:00
|
|
|
/* Xine video library */
|
|
|
|
#cmakedefine HAVE_XINE
|
2013-06-19 21:44:12 +08:00
|
|
|
|
2014-02-13 19:59:30 +08:00
|
|
|
/* Define if your processor stores words with the most significant byte
|
2013-07-11 20:01:46 +08:00
|
|
|
first (like Motorola and SPARC, unlike Intel and VAX). */
|
|
|
|
#cmakedefine WORDS_BIGENDIAN
|
2015-05-21 06:41:39 +08:00
|
|
|
|
|
|
|
/* gPhoto2 library */
|
|
|
|
#cmakedefine HAVE_GPHOTO2
|
2015-08-12 16:59:05 +08:00
|
|
|
|
2015-08-31 07:33:15 +08:00
|
|
|
/* VA library (libva) */
|
|
|
|
#cmakedefine HAVE_VA
|
|
|
|
|
|
|
|
/* Intel VA-API/OpenCL */
|
|
|
|
#cmakedefine HAVE_VA_INTEL
|
2016-06-03 15:38:30 +08:00
|
|
|
|
2017-03-23 16:55:43 +08:00
|
|
|
/* Intel Media SDK */
|
|
|
|
#cmakedefine HAVE_MFX
|
|
|
|
|
2016-06-03 15:38:30 +08:00
|
|
|
/* Lapack */
|
|
|
|
#cmakedefine HAVE_LAPACK
|
2016-07-18 22:45:16 +08:00
|
|
|
|
2016-08-15 22:12:45 +08:00
|
|
|
/* Library was compiled with functions instrumentation */
|
|
|
|
#cmakedefine ENABLE_INSTRUMENTATION
|
2016-09-28 20:27:11 +08:00
|
|
|
|
|
|
|
/* OpenVX */
|
|
|
|
#cmakedefine HAVE_OPENVX
|
2016-09-07 23:02:36 +08:00
|
|
|
|
2017-06-07 01:22:30 +08:00
|
|
|
#if defined(HAVE_XINE) || \
|
|
|
|
defined(HAVE_GSTREAMER) || \
|
|
|
|
defined(HAVE_QUICKTIME) || \
|
|
|
|
defined(HAVE_QTKIT) || \
|
|
|
|
defined(HAVE_AVFOUNDATION) || \
|
|
|
|
/*defined(HAVE_OPENNI) || too specialized */ \
|
|
|
|
defined(HAVE_FFMPEG) || \
|
|
|
|
defined(HAVE_MSMF)
|
|
|
|
#define HAVE_VIDEO_INPUT
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if /*defined(HAVE_XINE) || */\
|
|
|
|
defined(HAVE_GSTREAMER) || \
|
|
|
|
defined(HAVE_QUICKTIME) || \
|
|
|
|
defined(HAVE_QTKIT) || \
|
|
|
|
defined(HAVE_AVFOUNDATION) || \
|
|
|
|
defined(HAVE_FFMPEG) || \
|
|
|
|
defined(HAVE_MSMF)
|
|
|
|
#define HAVE_VIDEO_OUTPUT
|
|
|
|
#endif
|
2016-09-07 23:02:36 +08:00
|
|
|
|
2017-05-25 23:59:01 +08:00
|
|
|
/* OpenCV trace utilities */
|
|
|
|
#cmakedefine OPENCV_TRACE
|
|
|
|
|
2016-09-07 23:02:36 +08:00
|
|
|
|
|
|
|
#endif // OPENCV_CVCONFIG_H_INCLUDED
|