mirror of
https://github.com/opencv/opencv.git
synced 2024-11-26 04:00:30 +08:00
50 lines
1.3 KiB
C++
50 lines
1.3 KiB
C++
#ifdef __GNUC__
|
|
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
|
# if defined __clang__ || defined __APPLE__
|
|
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
|
# pragma GCC diagnostic ignored "-Wextra"
|
|
# endif
|
|
#endif
|
|
|
|
#ifndef __OPENCV_PERF_PRECOMP_HPP__
|
|
#define __OPENCV_PERF_PRECOMP_HPP__
|
|
|
|
#include "opencv2/ts.hpp"
|
|
#include "opencv2/imgcodecs.hpp"
|
|
#include "opencv2/videoio.hpp"
|
|
|
|
#ifdef GTEST_CREATE_SHARED_LIBRARY
|
|
#error no modules except ts should have GTEST_CREATE_SHARED_LIBRARY defined
|
|
#endif
|
|
|
|
#if defined(HAVE_XINE) || \
|
|
defined(HAVE_GSTREAMER) || \
|
|
defined(HAVE_QUICKTIME) || \
|
|
defined(HAVE_QTKIT) || \
|
|
defined(HAVE_AVFOUNDATION) || \
|
|
defined(HAVE_FFMPEG) || \
|
|
defined(HAVE_MSMF) || \
|
|
defined(HAVE_VFW)
|
|
/*defined(HAVE_OPENNI) too specialized */ \
|
|
|
|
# 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) || \
|
|
defined(HAVE_QTKIT) || \
|
|
defined(HAVE_AVFOUNDATION) || \
|
|
defined(HAVE_FFMPEG) || \
|
|
defined(HAVE_MSMF) || \
|
|
defined(HAVE_VFW)
|
|
# define BUILD_WITH_VIDEO_OUTPUT_SUPPORT 1
|
|
#else
|
|
# define BUILD_WITH_VIDEO_OUTPUT_SUPPORT 0
|
|
#endif
|
|
|
|
|
|
#endif
|