Renamed ocl tests' precomp files according to convention.

Also, added the missing include guard to perf_precomp.hpp.
This should fix the build.
This commit is contained in:
Roman Donchenko 2013-08-08 18:18:54 +04:00
parent 6d7f29a03a
commit 4dc63273f0
45 changed files with 51 additions and 46 deletions

View File

@ -40,7 +40,7 @@
//
//M*/
#include "precomp.hpp"
#include "perf_precomp.hpp"
int main(int argc, const char *argv[])
{

View File

@ -44,7 +44,7 @@
//
//M*/
#include "precomp.hpp"
#include "perf_precomp.hpp"
///////////// Lut ////////////////////////
PERFTEST(lut)
{

View File

@ -44,7 +44,7 @@
//
//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)

View File

@ -43,7 +43,7 @@
// 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)

View File

@ -44,7 +44,7 @@
//
//M*/
#include "precomp.hpp"
#include "perf_precomp.hpp"
///////////// StereoMatchBM ////////////////////////
PERFTEST(StereoMatchBM)
{

View File

@ -43,7 +43,7 @@
// 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)

View File

@ -43,7 +43,7 @@
// 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)

View File

@ -43,7 +43,7 @@
// 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)

View File

@ -43,7 +43,7 @@
// 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)

View File

@ -43,7 +43,7 @@
// 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)

View File

@ -44,7 +44,7 @@
//M*/
#include "precomp.hpp"
#include "perf_precomp.hpp"
///////////// GoodFeaturesToTrack ////////////////////////
PERFTEST(GoodFeaturesToTrack)

View File

@ -43,7 +43,7 @@
// 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

View File

@ -43,7 +43,7 @@
// the use of this software, even if advised of the possibility of such damage.
//
//M*/
#include "precomp.hpp"
#include "perf_precomp.hpp"
///////////// HOG////////////////////////

View File

@ -43,7 +43,7 @@
// 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)

View File

@ -43,7 +43,7 @@
// 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()

View File

@ -43,7 +43,7 @@
// 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)

View File

@ -43,7 +43,7 @@
// 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)
{

View File

@ -43,7 +43,7 @@
// 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)

View File

@ -43,7 +43,7 @@
// 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)

View File

@ -40,7 +40,7 @@
//
//M*/
#include "precomp.hpp"
#include "perf_precomp.hpp"
#if GTEST_OS_WINDOWS
#ifndef NOMINMAX
#define NOMINMAX

View File

@ -40,6 +40,9 @@
//
//M*/
#ifndef __OPENCV_PERF_PRECOMP_HPP__
#define __OPENCV_PERF_PRECOMP_HPP__
#include <iomanip>
#include <stdexcept>
#include <string>
@ -506,3 +509,5 @@ struct name##_test: Runnable { \
#define WARMUP_OFF \
ocl::finish();\
} TestSystem::instance().warmupComplete()
#endif

View File

@ -43,7 +43,7 @@
// 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)

View File

@ -43,7 +43,7 @@
// 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)

View File

@ -39,7 +39,7 @@
//
//M*/
#include "precomp.hpp"
#include "test_precomp.hpp"
#ifdef HAVE_OPENCL

View File

@ -54,7 +54,7 @@
//#define PRINT_TIME
#include "precomp.hpp"
#include "test_precomp.hpp"
#include <iomanip>
#ifdef HAVE_OPENCL

View File

@ -42,7 +42,7 @@
// 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;

View File

@ -43,7 +43,7 @@
//
//M*/
#include "precomp.hpp"
#include "test_precomp.hpp"
#ifdef HAVE_OPENCL
namespace
{

View File

@ -43,7 +43,7 @@
//
//M*/
#include "precomp.hpp"
#include "test_precomp.hpp"
#include <iomanip>
#ifdef HAVE_OPENCL

View File

@ -43,7 +43,7 @@
//
//M*/
#include "precomp.hpp"
#include "test_precomp.hpp"
#ifdef HAVE_OPENCL
////////////////////////////////////////////////////////

View File

@ -43,7 +43,7 @@
//
//M*/
#include "precomp.hpp"
#include "test_precomp.hpp"
#ifdef HAVE_OPENCL
//#define MAT_DEBUG

View File

@ -43,7 +43,7 @@
//
//M*/
#include "precomp.hpp"
#include "test_precomp.hpp"
using namespace std;
#ifdef HAVE_CLAMDFFT
////////////////////////////////////////////////////////////////////////////

View File

@ -48,7 +48,7 @@
//
//M*/
#include "precomp.hpp"
#include "test_precomp.hpp"
#ifdef HAVE_OPENCL

View File

@ -43,7 +43,7 @@
//M*/
#include "precomp.hpp"
#include "test_precomp.hpp"
using namespace std;
#ifdef HAVE_CLAMDBLAS
////////////////////////////////////////////////////////////////////////////

View File

@ -51,7 +51,7 @@
//
//M*/
#include "precomp.hpp"
#include "test_precomp.hpp"
#ifdef HAVE_OPENCL

View File

@ -44,7 +44,7 @@
//
//M*/
#include "precomp.hpp"
#include "test_precomp.hpp"
#ifdef HAVE_OPENCL

View File

@ -43,7 +43,7 @@
//M*/
#include "precomp.hpp"
#include "test_precomp.hpp"
#ifdef HAVE_OPENCL
////////////////////////////////////////////////////////////////////////////////

View File

@ -44,7 +44,7 @@
//
//M*/
#include "precomp.hpp"
#include "test_precomp.hpp"
#ifdef HAVE_OPENCL

View File

@ -1,4 +1,4 @@
#include "precomp.hpp"
#include "test_precomp.hpp"
#include <iomanip>
#include "opencv2/imgproc/imgproc_c.h"

View File

@ -43,7 +43,7 @@
//
//M*/
#include "precomp.hpp"
#include "test_precomp.hpp"
#include "opencv2/core/core.hpp"
#include "opencv2/objdetect/objdetect.hpp"

View File

@ -43,7 +43,7 @@
//
//M*/
#include "precomp.hpp"
#include "test_precomp.hpp"
#include <iomanip>
#ifdef HAVE_OPENCL

View File

@ -44,7 +44,7 @@
//M*/
#include "precomp.hpp"
#include "test_precomp.hpp"
#include <iomanip>
#ifdef HAVE_OPENCL

View File

@ -44,7 +44,7 @@
//M*/
#include <map>
#include <functional>
#include "precomp.hpp"
#include "test_precomp.hpp"
using namespace std;
using namespace cvtest;

View File

@ -44,7 +44,7 @@
//
//M*/
#include "precomp.hpp"
#include "test_precomp.hpp"
#ifdef HAVE_OPENCL

View File

@ -39,7 +39,7 @@
//
//M*/
#include "precomp.hpp"
#include "test_precomp.hpp"
#define VARNAME(A) #A
using namespace std;
using namespace cv;