Home | History | Annotate | Download | only in perf
      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.hpp"
     13 #include "opencv2/imgcodecs.hpp"
     14 #include "opencv2/videoio.hpp"
     15 
     16 #ifdef GTEST_CREATE_SHARED_LIBRARY
     17 #error no modules except ts should have GTEST_CREATE_SHARED_LIBRARY defined
     18 #endif
     19 
     20 #if defined(HAVE_XINE)         || \
     21     defined(HAVE_GSTREAMER)    || \
     22     defined(HAVE_QUICKTIME)    || \
     23     defined(HAVE_QTKIT)        || \
     24     defined(HAVE_AVFOUNDATION) || \
     25     defined(HAVE_FFMPEG)       || \
     26     defined(HAVE_MSMF)         || \
     27     defined(HAVE_VFW)
     28     /*defined(HAVE_OPENNI) too specialized */ \
     29 
     30 #  define BUILD_WITH_VIDEO_INPUT_SUPPORT 1
     31 #else
     32 #  define BUILD_WITH_VIDEO_INPUT_SUPPORT 0
     33 #endif
     34 
     35 #if /*defined(HAVE_XINE)       || */\
     36     defined(HAVE_GSTREAMER)    || \
     37     defined(HAVE_QUICKTIME)    || \
     38     defined(HAVE_QTKIT)        || \
     39     defined(HAVE_AVFOUNDATION) || \
     40     defined(HAVE_FFMPEG)       || \
     41     defined(HAVE_MSMF)         || \
     42     defined(HAVE_VFW)
     43 #  define BUILD_WITH_VIDEO_OUTPUT_SUPPORT 1
     44 #else
     45 #  define BUILD_WITH_VIDEO_OUTPUT_SUPPORT 0
     46 #endif
     47 
     48 
     49 #endif
     50