Merge branch 'master' into gpu-cuda-rename
Conflicts: modules/core/include/opencv2/core/cuda.hpp modules/cudacodec/src/thread.cpp modules/cudacodec/src/thread.hpp modules/superres/perf/perf_superres.cpp modules/superres/src/btv_l1_cuda.cpp modules/superres/src/optical_flow.cpp modules/videostab/src/global_motion.cpp modules/videostab/src/inpainting.cpp samples/cpp/stitching_detailed.cpp samples/cpp/videostab.cpp samples/gpu/stereo_multi.cpp
This commit is contained in:
@@ -58,7 +58,7 @@ cv::softcascade::ChannelsProcessor::ChannelsProcessor() { throw_no_cuda(); }
|
||||
cv::softcascade::ChannelsProcessor::~ChannelsProcessor() { throw_no_cuda(); }
|
||||
|
||||
cv::Ptr<cv::softcascade::ChannelsProcessor> cv::softcascade::ChannelsProcessor::create(const int, const int, const int)
|
||||
{ throw_no_cuda(); return cv::Ptr<cv::softcascade::ChannelsProcessor>(0); }
|
||||
{ throw_no_cuda(); return cv::Ptr<cv::softcascade::ChannelsProcessor>(); }
|
||||
|
||||
#else
|
||||
|
||||
@@ -594,7 +594,7 @@ private:
|
||||
cv::Ptr<cv::softcascade::ChannelsProcessor> cv::softcascade::ChannelsProcessor::create(const int s, const int b, const int m)
|
||||
{
|
||||
CV_Assert((m && SEPARABLE));
|
||||
return cv::Ptr<cv::softcascade::ChannelsProcessor>(new SeparablePreprocessor(s, b));
|
||||
return makePtr<SeparablePreprocessor>(s, b);
|
||||
}
|
||||
|
||||
cv::softcascade::ChannelsProcessor::ChannelsProcessor() { }
|
||||
|
||||
Reference in New Issue
Block a user