CLAHE Python bindings
[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_VFW)
25     /*defined(HAVE_OPENNI) too specialized */ \
26
27 #  define BUILD_WITH_VIDEO_INPUT_SUPPORT 1
28 #else
29 #  define BUILD_WITH_VIDEO_INPUT_SUPPORT 0
30 #endif
31
32 #if /*defined(HAVE_XINE)       || */\
33     defined(HAVE_GSTREAMER)    || \
34     defined(HAVE_QUICKTIME)    || \
35     defined(HAVE_AVFOUNDATION) || \
36     defined(HAVE_FFMPEG)       || \
37     defined(HAVE_VFW)
38 #  define BUILD_WITH_VIDEO_OUTPUT_SUPPORT 1
39 #else
40 #  define BUILD_WITH_VIDEO_OUTPUT_SUPPORT 0
41 #endif
42
43
44 #endif