Merge pull request #1263 from abidrahmank:pyCLAHE_24
[profile/ivi/opencv.git] / modules / highgui / perf / perf_precomp.hpp
1 #ifdef __GNUC__
2 #  pragma GCC diagnostic ignored "-Wmissing-declarations"
3 #  if defined __clang__ || defined __APPLE__
4 #    pragma GCC diagnostic ignored "-Wmissing-prototypes"
5 #    pragma GCC diagnostic ignored "-Wextra"
6 #  endif
7 #endif
8
9 #ifndef __OPENCV_PERF_PRECOMP_HPP__
10 #define __OPENCV_PERF_PRECOMP_HPP__
11
12 #include "opencv2/ts/ts.hpp"
13 #include "opencv2/highgui/highgui.hpp"
14
15 #ifdef GTEST_CREATE_SHARED_LIBRARY
16 #error no modules except ts should have GTEST_CREATE_SHARED_LIBRARY defined
17 #endif
18
19 #if defined(HAVE_XINE)         || \
20     defined(HAVE_GSTREAMER)    || \
21     defined(HAVE_QUICKTIME)    || \
22     defined(HAVE_AVFOUNDATION) || \
23     defined(HAVE_FFMPEG)       || \
24     defined(HAVE_MSMF)         || \
25     defined(HAVE_VFW)
26     /*defined(HAVE_OPENNI) too specialized */ \
27
28 #  define BUILD_WITH_VIDEO_INPUT_SUPPORT 1
29 #else
30 #  define BUILD_WITH_VIDEO_INPUT_SUPPORT 0
31 #endif
32
33 #if /*defined(HAVE_XINE)       || */\
34     defined(HAVE_GSTREAMER)    || \
35     defined(HAVE_QUICKTIME)    || \
36     defined(HAVE_AVFOUNDATION) || \
37     defined(HAVE_FFMPEG)       || \
38     defined(HAVE_MSMF)         || \
39     defined(HAVE_VFW)
40 #  define BUILD_WITH_VIDEO_OUTPUT_SUPPORT 1
41 #else
42 #  define BUILD_WITH_VIDEO_OUTPUT_SUPPORT 0
43 #endif
44
45
46 #endif