moved utility functions from gpu_perf_test and gpu_test to ts module

This commit is contained in:
Vladislav Vinogradov
2013-03-15 14:09:10 +04:00
parent 819ac111a2
commit abc9ef6809
45 changed files with 1232 additions and 1590 deletions

View File

@@ -8,18 +8,6 @@ using namespace cv;
using namespace cv::superres;
using namespace cv::gpu;
#define GPU_SANITY_CHECK(mat, ...) \
do{ \
Mat gpu_##mat(mat); \
SANITY_CHECK(gpu_##mat, ## __VA_ARGS__); \
} while(0)
#define CPU_SANITY_CHECK(mat, ...) \
do{ \
Mat cpu_##mat(mat); \
SANITY_CHECK(cpu_##mat, ## __VA_ARGS__); \
} while(0)
namespace
{
class OneFrameSource_CPU : public FrameSource