Also, added the missing include guard to perf_precomp.hpp.
This should fix the build.
//
//M*/
-#include "precomp.hpp"
+#include "perf_precomp.hpp"
int main(int argc, const char *argv[])
{
//
//M*/
-#include "precomp.hpp"
+#include "perf_precomp.hpp"
///////////// Lut ////////////////////////
PERFTEST(lut)
{
//
//M*/
-#include "precomp.hpp"
+#include "perf_precomp.hpp"
///////////// blend ////////////////////////
template <typename T>
void blendLinearGold(const cv::Mat &img1, const cv::Mat &img2, const cv::Mat &weights1, const cv::Mat &weights2, cv::Mat &result_gold)
// the use of this software, even if advised of the possibility of such damage.
//
//M*/
-#include "precomp.hpp"
+#include "perf_precomp.hpp"
//////////////////// BruteForceMatch /////////////////
PERFTEST(BruteForceMatcher)
//
//M*/
-#include "precomp.hpp"
+#include "perf_precomp.hpp"
///////////// StereoMatchBM ////////////////////////
PERFTEST(StereoMatchBM)
{
// the use of this software, even if advised of the possibility of such damage.
//
//M*/
-#include "precomp.hpp"
+#include "perf_precomp.hpp"
///////////// Canny ////////////////////////
PERFTEST(Canny)
// the use of this software, even if advised of the possibility of such damage.
//
//M*/
-#include "precomp.hpp"
+#include "perf_precomp.hpp"
///////////// cvtColor////////////////////////
PERFTEST(cvtColor)
// the use of this software, even if advised of the possibility of such damage.
//
//M*/
-#include "precomp.hpp"
+#include "perf_precomp.hpp"
///////////// dft ////////////////////////
PERFTEST(dft)
// the use of this software, even if advised of the possibility of such damage.
//
//M*/
-#include "precomp.hpp"
+#include "perf_precomp.hpp"
///////////// Blur////////////////////////
PERFTEST(Blur)
// the use of this software, even if advised of the possibility of such damage.
//
//M*/
-#include "precomp.hpp"
+#include "perf_precomp.hpp"
///////////// gemm ////////////////////////
PERFTEST(gemm)
//M*/
-#include "precomp.hpp"
+#include "perf_precomp.hpp"
///////////// GoodFeaturesToTrack ////////////////////////
PERFTEST(GoodFeaturesToTrack)
// the use of this software, even if advised of the possibility of such damage.
//
//M*/
-#include "precomp.hpp"
+#include "perf_precomp.hpp"
///////////// Haar ////////////////////////
namespace cv
// the use of this software, even if advised of the possibility of such damage.
//
//M*/
-#include "precomp.hpp"
+#include "perf_precomp.hpp"
///////////// HOG////////////////////////
// the use of this software, even if advised of the possibility of such damage.
//
//M*/
-#include "precomp.hpp"
+#include "perf_precomp.hpp"
///////////// equalizeHist ////////////////////////
PERFTEST(equalizeHist)
// the use of this software, even if advised of the possibility of such damage.
//
//M*/
-#include "precomp.hpp"
+#include "perf_precomp.hpp"
/////////// matchTemplate ////////////////////////
//void InitMatchTemplate()
// the use of this software, even if advised of the possibility of such damage.
//
//M*/
-#include "precomp.hpp"
+#include "perf_precomp.hpp"
///////////// ConvertTo////////////////////////
PERFTEST(ConvertTo)
// the use of this software, even if advised of the possibility of such damage.
//
//M*/
-#include "precomp.hpp"
+#include "perf_precomp.hpp"
///////////// Moments ////////////////////////
PERFTEST(Moments)
{
// the use of this software, even if advised of the possibility of such damage.
//
//M*/
-#include "precomp.hpp"
+#include "perf_precomp.hpp"
///////////// norm////////////////////////
PERFTEST(norm)
// the use of this software, even if advised of the possibility of such damage.
//
//M*/
-#include "precomp.hpp"
+#include "perf_precomp.hpp"
///////////// PyrLKOpticalFlow ////////////////////////
PERFTEST(PyrLKOpticalFlow)
//
//M*/
-#include "precomp.hpp"
+#include "perf_precomp.hpp"
#if GTEST_OS_WINDOWS
#ifndef NOMINMAX
#define NOMINMAX
//
//M*/
+#ifndef __OPENCV_PERF_PRECOMP_HPP__
+#define __OPENCV_PERF_PRECOMP_HPP__
+
#include <iomanip>
#include <stdexcept>
#include <string>
testing::internal::Double lhs(expected);
testing::internal::Double rhs(actual);
- if (lhs.AlmostEquals(rhs))
+ if (lhs.AlmostEquals(rhs))
{
return 1;
}
if(accurate_diff_ <= eps)
is_accurate_ = 1;
else
- is_accurate_ = 0;
+ is_accurate_ = 0;
}
std::stringstream &getCurSubtestDescription()
speedup_full_faster_count_(0), speedup_full_slower_count_(0), speedup_full_equal_count_(0), is_list_mode_(false),
num_iters_(10), cpu_num_iters_(2),
gpu_warmup_iters_(1), cur_iter_idx_(0), cur_warmup_idx_(0),
- record_(0), recordname_("performance"), itname_changed_(true),
+ record_(0), recordname_("performance"), itname_changed_(true),
is_accurate_(-1), accurate_diff_(0.)
{
cpu_times_.reserve(num_iters_);
#define WARMUP_OFF \
ocl::finish();\
} TestSystem::instance().warmupComplete()
+
+#endif
// the use of this software, even if advised of the possibility of such damage.
//
//M*/
-#include "precomp.hpp"
+#include "perf_precomp.hpp"
///////////// pyrDown //////////////////////
PERFTEST(pyrDown)
// the use of this software, even if advised of the possibility of such damage.
//
//M*/
-#include "precomp.hpp"
+#include "perf_precomp.hpp"
///////////// Merge////////////////////////
PERFTEST(Merge)
//
//M*/
-#include "precomp.hpp"
+#include "test_precomp.hpp"
#ifdef HAVE_OPENCL
//#define PRINT_TIME
-#include "precomp.hpp"
+#include "test_precomp.hpp"
#include <iomanip>
#ifdef HAVE_OPENCL
// the use of this software, even if advised of the possibility of such damage.
//
//M*/
-#include "precomp.hpp"
+#include "test_precomp.hpp"
#include <iomanip>
using namespace cv;
//
//M*/
-#include "precomp.hpp"
+#include "test_precomp.hpp"
#ifdef HAVE_OPENCL
namespace
{
//
//M*/
-#include "precomp.hpp"
+#include "test_precomp.hpp"
#include <iomanip>
#ifdef HAVE_OPENCL
//
//M*/
-#include "precomp.hpp"
+#include "test_precomp.hpp"
#ifdef HAVE_OPENCL
////////////////////////////////////////////////////////
//
//M*/
-#include "precomp.hpp"
+#include "test_precomp.hpp"
#ifdef HAVE_OPENCL
//#define MAT_DEBUG
//
//M*/
-#include "precomp.hpp"
+#include "test_precomp.hpp"
using namespace std;
#ifdef HAVE_CLAMDFFT
////////////////////////////////////////////////////////////////////////////
//
//M*/
-#include "precomp.hpp"
+#include "test_precomp.hpp"
#ifdef HAVE_OPENCL
//M*/
-#include "precomp.hpp"
+#include "test_precomp.hpp"
using namespace std;
#ifdef HAVE_CLAMDBLAS
////////////////////////////////////////////////////////////////////////////
//
//M*/
-#include "precomp.hpp"
+#include "test_precomp.hpp"
#ifdef HAVE_OPENCL
//
//M*/
-#include "precomp.hpp"
+#include "test_precomp.hpp"
#ifdef HAVE_OPENCL
//M*/
-#include "precomp.hpp"
+#include "test_precomp.hpp"
#ifdef HAVE_OPENCL
////////////////////////////////////////////////////////////////////////////////
//
//M*/
-#include "precomp.hpp"
+#include "test_precomp.hpp"
#ifdef HAVE_OPENCL
-#include "precomp.hpp"
+#include "test_precomp.hpp"
#include <iomanip>
#include "opencv2/imgproc/imgproc_c.h"
//
//M*/
-#include "precomp.hpp"
+#include "test_precomp.hpp"
#include "opencv2/core/core.hpp"
#include "opencv2/objdetect/objdetect.hpp"
//
//M*/
-#include "precomp.hpp"
+#include "test_precomp.hpp"
#include <iomanip>
#ifdef HAVE_OPENCL
//M*/
-#include "precomp.hpp"
+#include "test_precomp.hpp"
#include <iomanip>
#ifdef HAVE_OPENCL
//M*/
#include <map>
#include <functional>
-#include "precomp.hpp"
+#include "test_precomp.hpp"
using namespace std;
using namespace cvtest;
//
//M*/
-#include "precomp.hpp"
+#include "test_precomp.hpp"
#ifdef HAVE_OPENCL
//
//M*/
-#include "precomp.hpp"
+#include "test_precomp.hpp"
#define VARNAME(A) #A
using namespace std;
using namespace cv;