mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
Merge branch 4.x
This commit is contained in:
@@ -614,7 +614,7 @@ size_t Mat::total(int startDim, int endDim) const
|
||||
}
|
||||
|
||||
|
||||
Mat::Mat(Mat&& m)
|
||||
Mat::Mat(Mat&& m) CV_NOEXCEPT
|
||||
: flags(m.flags), dims(m.dims), rows(m.rows), cols(m.cols), data(m.data),
|
||||
datastart(m.datastart), dataend(m.dataend), datalimit(m.datalimit), allocator(m.allocator),
|
||||
u(m.u), size(&rows)
|
||||
|
||||
@@ -1316,6 +1316,12 @@ redirectError( ErrorCallback errCallback, void* userdata, void** prevUserdata)
|
||||
return prevCallback;
|
||||
}
|
||||
|
||||
void terminate(int _code, const String& _err, const char* _func, const char* _file, int _line) CV_NOEXCEPT
|
||||
{
|
||||
dumpException(cv::Exception(_code, _err, _func, _file, _line));
|
||||
std::terminate();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -2834,6 +2840,14 @@ bool restoreFPDenormalsState(const FPDenormalsModeState& state)
|
||||
|
||||
} // namespace details
|
||||
|
||||
AlgorithmHint getDefaultAlgorithmHint()
|
||||
{
|
||||
#ifdef OPENCV_ALGO_HINT_DEFAULT
|
||||
return OPENCV_ALGO_HINT_DEFAULT;
|
||||
#else
|
||||
return ALGO_HINT_ACCURATE;
|
||||
#endif
|
||||
};
|
||||
|
||||
} // namespace cv
|
||||
|
||||
|
||||
Reference in New Issue
Block a user