rename all the perf test files

fix the channel 3 bug in matrix operation
perf and buf fix for LUT haardetect convertC3C4 resize warpaffine copytom settom
add convovle
remove stereo
This commit is contained in:
niko
2012-09-12 10:20:04 +08:00
parent e94cd1ec72
commit 23244a3565
50 changed files with 2080 additions and 5377 deletions

View File

@@ -263,22 +263,4 @@ void PrintTo(const Inverse &inverse, std::ostream *os)
else
(*os) << "direct";
}
cv::ocl::oclMat createMat(cv::Size size,int type,bool useRoi)
{
cv::Size size0 = size;
if (useRoi)
{
size0.width += randomInt(5, 15);
size0.height += randomInt(5, 15);
}
cv::ocl::oclMat d_m(size0, type);
if (size0 != size)
d_m = cv::ocl::oclMat(size.width,size.height,type); // suspicious point
return d_m;
}
cv::ocl::oclMat loadMat(const cv::Mat& m, bool useRoi)
{
cv::ocl::oclMat d_m = ::createMat(m.size(), m.type(), useRoi);
d_m.upload(m);
return d_m;
}