Add semicolons after CV_INSTRUMENT macros

This commit is contained in:
Hamdi Sahloul
2018-09-14 06:35:26 +09:00
parent dbfeb8892d
commit 5d54def264
161 changed files with 695 additions and 695 deletions

View File

@@ -670,7 +670,7 @@ namespace
void BTVL1_Base::process(InputArrayOfArrays _src, OutputArray _dst, InputArrayOfArrays _forwardMotions,
InputArrayOfArrays _backwardMotions, int baseIdx)
{
CV_INSTRUMENT_REGION()
CV_INSTRUMENT_REGION();
CV_Assert( scale_ > 1 );
CV_Assert( iterations_ > 0 );
@@ -971,7 +971,7 @@ namespace
void BTVL1::processImpl(Ptr<FrameSource>& frameSource, OutputArray _output)
{
CV_INSTRUMENT_REGION()
CV_INSTRUMENT_REGION();
if (outPos_ >= storePos_)
{
@@ -1022,7 +1022,7 @@ namespace
void BTVL1::readNextFrame(Ptr<FrameSource>& frameSource)
{
CV_INSTRUMENT_REGION()
CV_INSTRUMENT_REGION();
frameSource->nextFrame(curFrame_);
if (curFrame_.empty())
@@ -1086,7 +1086,7 @@ namespace
void BTVL1::processFrame(int idx)
{
CV_INSTRUMENT_REGION()
CV_INSTRUMENT_REGION();
CV_OCL_RUN(isUmat_,
ocl_processFrame(idx))

View File

@@ -236,7 +236,7 @@ namespace
Mat cv::superres::convertToType(const Mat& src, int type, Mat& buf0, Mat& buf1)
{
CV_INSTRUMENT_REGION()
CV_INSTRUMENT_REGION();
if (src.type() == type)
return src;
@@ -263,7 +263,7 @@ Mat cv::superres::convertToType(const Mat& src, int type, Mat& buf0, Mat& buf1)
UMat cv::superres::convertToType(const UMat& src, int type, UMat& buf0, UMat& buf1)
{
CV_INSTRUMENT_REGION()
CV_INSTRUMENT_REGION();
if (src.type() == type)
return src;

View File

@@ -123,7 +123,7 @@ namespace
void CpuOpticalFlow::calc(InputArray _frame0, InputArray _frame1, OutputArray _flow1, OutputArray _flow2)
{
CV_INSTRUMENT_REGION()
CV_INSTRUMENT_REGION();
CV_OCL_RUN(_flow1.isUMat() && (_flow2.isUMat() || !_flow2.needed()),
ocl_calc(_frame0, _frame1, _flow1, _flow2))
@@ -227,7 +227,7 @@ namespace
void Farneback::calc(InputArray frame0, InputArray frame1, OutputArray flow1, OutputArray flow2)
{
CV_INSTRUMENT_REGION()
CV_INSTRUMENT_REGION();
CpuOpticalFlow::calc(frame0, frame1, flow1, flow2);
}
@@ -381,7 +381,7 @@ namespace
void DualTVL1::calc(InputArray frame0, InputArray frame1, OutputArray flow1, OutputArray flow2)
{
CV_INSTRUMENT_REGION()
CV_INSTRUMENT_REGION();
CpuOpticalFlow::calc(frame0, frame1, flow1, flow2);
}
@@ -455,7 +455,7 @@ namespace
void GpuOpticalFlow::calc(InputArray _frame0, InputArray _frame1, OutputArray _flow1, OutputArray _flow2)
{
CV_INSTRUMENT_REGION()
CV_INSTRUMENT_REGION();
GpuMat frame0 = arrGetGpuMat(_frame0, buf_[0]);
GpuMat frame1 = arrGetGpuMat(_frame1, buf_[1]);

View File

@@ -61,7 +61,7 @@ void cv::superres::SuperResolution::setInput(const Ptr<FrameSource>& frameSource
void cv::superres::SuperResolution::nextFrame(OutputArray frame)
{
CV_INSTRUMENT_REGION()
CV_INSTRUMENT_REGION();
isUmat_ = frame.isUMat();