2012-06-08 22:54:17 +08:00
|
|
|
#ifdef __GNUC__
|
|
|
|
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
2012-11-09 15:29:52 +08:00
|
|
|
# if defined __clang__ || defined __APPLE__
|
2012-10-25 00:36:30 +08:00
|
|
|
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
|
|
|
# pragma GCC diagnostic ignored "-Wextra"
|
|
|
|
# endif
|
2012-06-08 22:54:17 +08:00
|
|
|
#endif
|
|
|
|
|
2012-04-14 05:50:59 +08:00
|
|
|
#ifndef __OPENCV_PERF_PRECOMP_HPP__
|
|
|
|
#define __OPENCV_PERF_PRECOMP_HPP__
|
|
|
|
|
2013-03-13 20:22:44 +08:00
|
|
|
#include "opencv2/ts.hpp"
|
2014-07-04 22:48:15 +08:00
|
|
|
#include "opencv2/imgcodecs.hpp"
|
2014-07-10 22:27:32 +08:00
|
|
|
#include "opencv2/videoio.hpp"
|
2012-04-14 05:50:59 +08:00
|
|
|
|
2012-06-08 01:21:29 +08:00
|
|
|
#ifdef GTEST_CREATE_SHARED_LIBRARY
|
2012-04-14 05:50:59 +08:00
|
|
|
#error no modules except ts should have GTEST_CREATE_SHARED_LIBRARY defined
|
|
|
|
#endif
|
|
|
|
|
2013-01-28 17:14:47 +08:00
|
|
|
#if defined(HAVE_XINE) || \
|
|
|
|
defined(HAVE_GSTREAMER) || \
|
|
|
|
defined(HAVE_QUICKTIME) || \
|
2013-08-14 19:40:50 +08:00
|
|
|
defined(HAVE_QTKIT) || \
|
2013-01-28 17:14:47 +08:00
|
|
|
defined(HAVE_AVFOUNDATION) || \
|
|
|
|
defined(HAVE_FFMPEG) || \
|
2013-05-24 21:34:42 +08:00
|
|
|
defined(HAVE_MSMF) || \
|
2013-03-28 15:01:52 +08:00
|
|
|
defined(HAVE_VFW)
|
|
|
|
/*defined(HAVE_OPENNI) too specialized */ \
|
2013-01-28 17:14:47 +08:00
|
|
|
|
|
|
|
# define BUILD_WITH_VIDEO_INPUT_SUPPORT 1
|
|
|
|
#else
|
|
|
|
# define BUILD_WITH_VIDEO_INPUT_SUPPORT 0
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if /*defined(HAVE_XINE) || */\
|
|
|
|
defined(HAVE_GSTREAMER) || \
|
|
|
|
defined(HAVE_QUICKTIME) || \
|
2013-08-14 19:40:50 +08:00
|
|
|
defined(HAVE_QTKIT) || \
|
2013-01-28 17:14:47 +08:00
|
|
|
defined(HAVE_AVFOUNDATION) || \
|
|
|
|
defined(HAVE_FFMPEG) || \
|
2013-05-24 21:34:42 +08:00
|
|
|
defined(HAVE_MSMF) || \
|
2013-03-28 15:01:52 +08:00
|
|
|
defined(HAVE_VFW)
|
2013-01-28 17:14:47 +08:00
|
|
|
# define BUILD_WITH_VIDEO_OUTPUT_SUPPORT 1
|
|
|
|
#else
|
|
|
|
# define BUILD_WITH_VIDEO_OUTPUT_SUPPORT 0
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2012-04-14 05:50:59 +08:00
|
|
|
#endif
|