Merge remote-tracking branch 'origin/2.4' into merge-2.4
Conflicts: modules/calib3d/include/opencv2/calib3d/calib3d.hpp modules/contrib/doc/facerec/facerec_api.rst modules/contrib/include/opencv2/contrib/contrib.hpp modules/contrib/src/facerec.cpp modules/core/include/opencv2/core/mat.hpp modules/features2d/include/opencv2/features2d/features2d.hpp modules/highgui/src/loadsave.cpp modules/imgproc/src/pyramids.cpp modules/ocl/include/opencv2/ocl/cl_runtime/cl_runtime.hpp modules/python/src2/gen.py modules/python/test/test.py modules/superres/test/test_superres.cpp samples/cpp/facerec_demo.cpp
This commit is contained in:
@@ -1122,7 +1122,7 @@ CV_INLINE CvSetElem* cvSetNew( CvSet* set_header )
|
||||
set_header->active_count++;
|
||||
}
|
||||
else
|
||||
cvSetAdd( set_header, NULL, (CvSetElem**)&elem );
|
||||
cvSetAdd( set_header, NULL, &elem );
|
||||
return elem;
|
||||
}
|
||||
|
||||
|
@@ -643,7 +643,8 @@ inline void Mat::release()
|
||||
deallocate();
|
||||
u = NULL;
|
||||
data = datastart = dataend = datalimit = 0;
|
||||
size.p[0] = 0;
|
||||
for(int i = 0; i < dims; i++)
|
||||
size.p[i] = 0;
|
||||
}
|
||||
|
||||
inline
|
||||
@@ -2733,7 +2734,7 @@ SparseMatConstIterator_<_Tp>& SparseMatConstIterator_<_Tp>::operator ++()
|
||||
template<typename _Tp> inline
|
||||
SparseMatConstIterator_<_Tp> SparseMatConstIterator_<_Tp>::operator ++(int)
|
||||
{
|
||||
SparseMatConstIterator it = *this;
|
||||
SparseMatConstIterator_<_Tp> it = *this;
|
||||
SparseMatConstIterator::operator ++();
|
||||
return it;
|
||||
}
|
||||
@@ -2785,7 +2786,7 @@ SparseMatIterator_<_Tp>& SparseMatIterator_<_Tp>::operator ++()
|
||||
template<typename _Tp> inline
|
||||
SparseMatIterator_<_Tp> SparseMatIterator_<_Tp>::operator ++(int)
|
||||
{
|
||||
SparseMatIterator it = *this;
|
||||
SparseMatIterator_<_Tp> it = *this;
|
||||
SparseMatConstIterator::operator ++();
|
||||
return it;
|
||||
}
|
||||
|
@@ -548,7 +548,7 @@ CV_INLINE void cvmSet( CvMat* mat, int row, int col, double value )
|
||||
else
|
||||
{
|
||||
assert( type == CV_64FC1 );
|
||||
((double*)(void*)(mat->data.ptr + (size_t)mat->step*row))[col] = (double)value;
|
||||
((double*)(void*)(mat->data.ptr + (size_t)mat->step*row))[col] = value;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user