Home
last modified time | relevance | path

Searched refs:_dims (Results 1 – 7 of 7) sorted by relevance

/external/opencv3/modules/core/src/
Dumatrix.cpp126 static inline void setSize( UMat& m, int _dims, const int* _sz, in setSize() argument
129 CV_Assert( 0 <= _dims && _dims <= CV_MAX_DIM ); in setSize()
130 if( m.dims != _dims ) in setSize()
138 if( _dims > 2 ) in setSize()
140 … m.step.p = (size_t*)fastMalloc(_dims*sizeof(m.step.p[0]) + (_dims+1)*sizeof(m.size.p[0])); in setSize()
141 m.size.p = (int*)(m.step.p + _dims) + 1; in setSize()
142 m.size.p[-1] = _dims; in setSize()
147 m.dims = _dims; in setSize()
153 for( i = _dims-1; i >= 0; i-- ) in setSize()
160 m.step.p[i] = i < _dims-1 ? _steps[i] : esz; in setSize()
[all …]
Dkmeans.cpp65 int _dims, in KMeansPPDistanceComputer() argument
71 dims(_dims), in KMeansPPDistanceComputer()
Dmatrix.cpp263 static inline void setSize( Mat& m, int _dims, const int* _sz, in setSize() argument
266 CV_Assert( 0 <= _dims && _dims <= CV_MAX_DIM ); in setSize()
267 if( m.dims != _dims ) in setSize()
275 if( _dims > 2 ) in setSize()
277 … m.step.p = (size_t*)fastMalloc(_dims*sizeof(m.step.p[0]) + (_dims+1)*sizeof(m.size.p[0])); in setSize()
278 m.size.p = (int*)(m.step.p + _dims) + 1; in setSize()
279 m.size.p[-1] = _dims; in setSize()
284 m.dims = _dims; in setSize()
290 for( i = _dims-1; i >= 0; i-- ) in setSize()
303 m.step.p[i] = i < _dims-1 ? _steps[i] : esz; in setSize()
[all …]
/external/opencv/ml/src/
Dmlknearest.cpp105 int _count, _dims, _dims_all, _rsize; in train() local
115 &_count, &_dims, &_dims_all, &responses, 0, 0 )); in train()
117 if( _update_base && _dims != var_count ) in train()
126 var_count = _dims; in train()
/external/opencv3/modules/core/include/opencv2/core/
Dmat.inl.hpp358 Mat::Mat(int _dims, const int* _sz, int _type) in Mat() argument
362 create(_dims, _sz, _type); in Mat()
366 Mat::Mat(int _dims, const int* _sz, int _type, const Scalar& _s) in Mat() argument
370 create(_dims, _sz, _type); in Mat()
1230 Mat_<_Tp>::Mat_(int _dims, const int* _sz) in Mat_() argument
1231 : Mat(_dims, _sz, DataType<_Tp>::type) in Mat_()
1235 Mat_<_Tp>::Mat_(int _dims, const int* _sz, const _Tp& _s) in Mat_() argument
1236 : Mat(_dims, _sz, DataType<_Tp>::type, Scalar(_s)) in Mat_()
1363 void Mat_<_Tp>::create(int _dims, const int* _sz) in create() argument
1365 Mat::create(_dims, _sz, DataType<_Tp>::type); in create()
[all …]
Dmat.hpp2406 Hdr(int _dims, const int* _sizes, int _type);
/external/opencv3/modules/imgproc/src/
Dhistogram.cpp368 Size imsize, Mat& hist, const double* uniranges, int _dims, in calcHist3D_Invoker() argument
370 : mask_(_ptrs[_dims]), in calcHist3D_Invoker()
371 mstep_(_deltas[_dims*2 + 1]), in calcHist3D_Invoker()