Home
last modified time | relevance | path

Searched refs:CV_DbgAssert (Results 1 – 25 of 55) sorted by relevance

123

/external/opencv3/modules/core/src/cuda/
Dgpu_mat.cu111 CV_DbgAssert( _rows >= 0 && _cols >= 0 ); in create()
158 CV_DbgAssert( allocator != 0 ); in release()
175 CV_DbgAssert( !mat.empty() ); in upload()
186 CV_DbgAssert( !mat.empty() ); in upload()
199 CV_DbgAssert( !empty() ); in download()
209 CV_DbgAssert( !empty() ); in download()
223 CV_DbgAssert( !empty() ); in copyTo()
233 CV_DbgAssert( !empty() ); in copyTo()
269 CV_DbgAssert( !empty() ); in copyTo()
270 CV_DbgAssert( depth() <= CV_64F && channels() <= 4 ); in copyTo()
[all …]
/external/opencv3/modules/video/src/
Dtvl1flow.cpp635 CV_DbgAssert( u2.size() == u1.size() ); in buildFlowMap()
636 CV_DbgAssert( map1.size() == u1.size() ); in buildFlowMap()
637 CV_DbgAssert( map2.size() == u1.size() ); in buildFlowMap()
684 CV_DbgAssert( src.rows > 2 && src.cols > 2 ); in centeredGradient()
685 CV_DbgAssert( dx.size() == src.size() ); in centeredGradient()
686 CV_DbgAssert( dy.size() == src.size() ); in centeredGradient()
770 CV_DbgAssert( src.rows > 2 && src.cols > 2 ); in forwardGradient()
771 CV_DbgAssert( dx.size() == src.size() ); in forwardGradient()
772 CV_DbgAssert( dy.size() == src.size() ); in forwardGradient()
840 CV_DbgAssert( v1.rows > 2 && v1.cols > 2 ); in divergence()
[all …]
/external/opencv3/modules/core/include/opencv2/core/
Dmat.inl.hpp409 CV_DbgAssert( _step >= minstep ); in Mat()
440 CV_DbgAssert( _step >= minstep ); in Mat()
760 CV_DbgAssert( y == 0 || (data && dims >= 1 && (unsigned)y < (unsigned)size.p[0]) ); in ptr()
767 CV_DbgAssert( y == 0 || (data && dims >= 1 && (unsigned)y < (unsigned)size.p[0]) ); in ptr()
774 CV_DbgAssert( y == 0 || (data && dims >= 1 && (unsigned)y < (unsigned)size.p[0]) ); in ptr()
781 CV_DbgAssert( y == 0 || (data && dims >= 1 && data && (unsigned)y < (unsigned)size.p[0]) ); in ptr()
788 CV_DbgAssert( dims >= 2 && data && in ptr()
797 CV_DbgAssert( dims >= 2 && data && in ptr()
806 CV_DbgAssert( dims >= 2 && data && in ptr()
815 CV_DbgAssert( dims >= 2 && data && in ptr()
[all …]
Dmatx.hpp672 CV_DbgAssert(0 <= i && i+m1 <= m && 0 <= j && j+n1 <= n); in get_minor()
683 CV_DbgAssert((unsigned)i < (unsigned)m); in row()
690 CV_DbgAssert((unsigned)j < (unsigned)n); in col()
709 CV_DbgAssert( (unsigned)i < (unsigned)m && (unsigned)j < (unsigned)n ); in operator ()()
716 CV_DbgAssert( (unsigned)i < (unsigned)m && (unsigned)j < (unsigned)n ); in operator ()()
724 CV_DbgAssert( (unsigned)i < (unsigned)(m+n-1) ); in operator ()()
732 CV_DbgAssert( (unsigned)i < (unsigned)(m+n-1) ); in operator ()()
865 CV_DbgAssert( idx < m*n ); in operator ,()
873 CV_DbgAssert( idx == n*m ); in operator *()
1018 CV_DbgAssert( (unsigned)i < (unsigned)cn ); in operator []()
[all …]
Dprivate.hpp145 CV_DbgAssert ( (align & (align-1)) == 0 ); in cvAlignPtr()
151 CV_DbgAssert( (align & (align-1)) == 0 && size < INT_MAX ); in cvAlign()
/external/opencv3/modules/core/src/
Dcuda_stream.cpp95 CV_DbgAssert( ptr >= datastart && ptr < dataend ); in returnMemory()
196 CV_DbgAssert( stacks_[i].isFree ); in release()
197 CV_DbgAssert( stacks_[i].tip == stacks_[i].datastart ); in release()
234 CV_DbgAssert( !memStack->isFree ); in returnMemStack()
246 CV_DbgAssert( found ); in returnMemStack()
249 CV_DbgAssert( memStack->tip == memStack->datastart ); in returnMemStack()
369 CV_DbgAssert( deviceId >= 0 && deviceId < static_cast<int>(streams_.size()) ); in getNullStream()
393 CV_DbgAssert( deviceId >= 0 && deviceId < static_cast<int>(pools_.size()) ); in getMemoryPool()
Dalloc.cpp77 CV_DbgAssert(udata < (uchar*)ptr && in fastFree()
383 CV_DbgAssert( block->next->prev == block && block->prev->next == block ); in moveBlockToFreeList()
463 CV_DbgAssert( tls->bins[idx][FREE] == 0 && tls->bins[idx][GC] == 0 );
478 CV_DbgAssert( gcInside && freeInside );
518 CV_DbgAssert( block->next->prev == block && block->prev->next == block ); in fastMalloc()
555 CV_DbgAssert( block->next->prev == block && block->prev->next == block ); in fastMalloc()
639 CV_DbgAssert( startPtr == block && freePtr == block && gcPtr == block ); in fastFree()
Dsystem.cpp360 CV_DbgAssert( 0 <= feature && feature <= CV_HARDWARE_MAX_FEATURE ); in checkHardwareSupport()
681 CV_DbgAssert( 0 <= feature && feature <= CV_HARDWARE_MAX_FEATURE ); in cvCheckHardwareSupport()
933 CV_DbgAssert(key >= 0); in getData()
938 CV_DbgAssert(key >= 0); in setData()
1071 CV_DbgAssert(tlsContainers_[i] == NULL); // not all keys released in ~TLSContainerStorage()
1102 CV_DbgAssert(k == NULL); // Debug this! in destroyData()
1135 CV_DbgAssert(data != NULL); in getData()
Dcuda_gpu_mat.cpp67 CV_DbgAssert( step >= minstep ); in GpuMat()
93 CV_DbgAssert( step >= minstep ); in GpuMat()
206 CV_DbgAssert( step > 0 ); in locateROI()
221 CV_DbgAssert( data == datastart + ofs.y * step + ofs.x * esz ); in locateROI()
Docl.cpp1354 #define CV_OclDbgAssert CV_DbgAssert
3855 CV_DbgAssert(!reservedEntries_.empty()); in _checkSizeOfReservedEntries()
3857 CV_DbgAssert(currentReservedSize >= entry.capacity_); in _checkSizeOfReservedEntries()
3898 CV_DbgAssert(size <= entry.capacity_); in allocate()
3939 CV_DbgAssert(currentReservedSize >= entry.capacity_); in setMaxReservedSize()
3985 CV_DbgAssert(entry.clBuffer_ == NULL); in _allocateBufferEntry()
4029 CV_DbgAssert(entry.clBuffer_ == NULL); in _allocateBufferEntry()
4039 CV_DbgAssert(svmFns->isValid()); in _allocateBufferEntry()
4062 CV_DbgAssert(svmFns->isValid()); in _releaseBufferEntry()
4088 CV_DbgAssert((alignment & (alignment - 1)) == 0); // check for 2^n in AlignedDataPtr()
[all …]
Dopengl.cpp101 #define CV_CheckGlError() CV_DbgAssert( (checkError(__FILE__, __LINE__, CV_Func)) )
169 CV_DbgAssert( buffer != 0 ); in registerBuffer()
224 CV_DbgAssert( resource_ != 0 ); in copyFrom()
233 CV_DbgAssert( width * height == size ); in copyFrom()
243 CV_DbgAssert( resource_ != 0 ); in copyTo()
252 CV_DbgAssert( width * height == size ); in copyTo()
262 CV_DbgAssert( resource_ != 0 ); in map()
/external/opencv3/modules/imgproc/src/
Dsubdivision2d.cpp48 CV_DbgAssert((size_t)(edge >> 2) < qedges.size()); in nextEdge()
64 CV_DbgAssert((size_t)(edge >> 2) < qedges.size()); in getEdge()
71 CV_DbgAssert((size_t)(edge >> 2) < qedges.size()); in edgeOrg()
75 CV_DbgAssert((size_t)vidx < vtx.size()); in edgeOrg()
83 CV_DbgAssert((size_t)(edge >> 2) < qedges.size()); in edgeDst()
87 CV_DbgAssert((size_t)vidx < vtx.size()); in edgeDst()
96 CV_DbgAssert((size_t)vertex < vtx.size()); in getVertex()
130 CV_DbgAssert((edgeidx & 3) == 0); in QuadEdge()
243 CV_DbgAssert((size_t)(edge >> 2) < (size_t)qedges.size()); in deleteEdge()
270 CV_DbgAssert( (size_t)vidx < vtx.size() ); in deletePoint()
/external/opencv3/modules/cudev/include/opencv2/cudev/ptr2d/detail/
Dgpumat.hpp258 CV_DbgAssert( GpuMat::elemSize() == sizeof(T) ); in elemSize()
265 CV_DbgAssert( GpuMat::elemSize1() == sizeof(T) / DataType<T>::channels ); in elemSize1()
272 CV_DbgAssert( GpuMat::type() == DataType<T>::type ); in type()
279 CV_DbgAssert( GpuMat::depth() == DataType<T>::depth ); in depth()
286 CV_DbgAssert( GpuMat::channels() == DataType<T>::channels ); in channels()
/external/opencv3/modules/cudaarithm/src/cuda/
Dbitwise_scalar.cu163 CV_DbgAssert( depth <= CV_32F ); in bitScalar()
164 CV_DbgAssert( cn == 1 || cn == 3 || cn == 4 ); in bitScalar()
165 CV_DbgAssert( mask.empty() ); in bitScalar()
166 CV_DbgAssert( op >= 0 && op < 3 ); in bitScalar()
Dbitwise_mat.cu71 CV_DbgAssert( depth <= CV_32F ); in bitwise_not()
72 CV_DbgAssert( mask.empty() || (mask.type() == CV_8UC1 && mask.size() == src.size()) ); in bitwise_not()
177 CV_DbgAssert( depth <= CV_32F ); in bitMat()
178 CV_DbgAssert( op >= 0 && op < 3 ); in bitMat()
Dminmax_mat.cu164 CV_DbgAssert( depth <= CV_64F ); in minMaxMat()
237 CV_DbgAssert( depth <= CV_64F ); in minMaxScalar()
238 CV_DbgAssert( src.channels() == 1 ); in minMaxScalar()
Dabsdiff_scalar.cu105 CV_DbgAssert( depth <= CV_64F ); in absDiffScalar()
Dabsdiff_mat.cu151 CV_DbgAssert( depth <= CV_64F ); in absDiffMat()
/external/opencv3/modules/ml/test/
Dtest_mltests2.cpp115 CV_DbgAssert( fabs(responses.at<float>(sidx) - r) < FLT_EPSILON ); in ann_get_new_responses()
167 CV_DbgAssert( fabs(responses.at<float>(si) - r) < FLT_EPSILON ); in ann_calc_error()
286 CV_DbgAssert( !dataParamsNode.empty() ); in prepare_test_case()
288 CV_DbgAssert( !dataParamsNode["LS"].empty() ); in prepare_test_case()
291 CV_DbgAssert( !dataParamsNode["resp_idx"].empty() ); in prepare_test_case()
294 CV_DbgAssert( !dataParamsNode["types"].empty() ); in prepare_test_case()
/external/opencv3/modules/cudaoptflow/src/
Dtvl1flow.cpp303 CV_DbgAssert( I1.size() == I0.size() ); in procOneScale()
304 CV_DbgAssert( I1.type() == I0.type() ); in procOneScale()
305 CV_DbgAssert( u1.size() == I0.size() ); in procOneScale()
306 CV_DbgAssert( u2.size() == u1.size() ); in procOneScale()
/external/opencv3/apps/traincascade/
Dlbpfeatures.cpp24 CV_DbgAssert( !sum.empty() ); in setImage()
Dfeatures.cpp11 CV_DbgAssert( sum.cols > 3 && sqSum.rows > 3 ); in calcNormFactor()
Dhaarfeatures.cpp100 CV_DbgAssert( !sum.empty() && !tilted.empty() && !normfactor.empty() ); in setImage()
116 CV_DbgAssert( fi < (int)features.size() ); in writeFeature()
/external/opencv3/modules/videoio/src/
Dcap_openni.cpp646CV_DbgAssert( depthGenerator.SetMapOutputMode(defaultMapOutputMode()) == XN_STATUS_OK ); // xn::De… in CvCapture_OpenNI()
650 CV_DbgAssert( imageGenerator.SetMapOutputMode(defaultMapOutputMode()) == XN_STATUS_OK ); in CvCapture_OpenNI()
931 CV_DbgAssert( depthGenerator.IsValid() ); in getDepthGeneratorProperty()
1031 CV_DbgAssert( imageGenerator.IsValid() ); in getImageGeneratorProperty()
/external/opencv3/modules/ml/src/
Dem.cpp601 CV_DbgAssert(!logWeightDivDet.empty()); in computeProbabilities()
636 CV_DbgAssert(trainSamples.type() == CV_64FC1); in eStep()
637 CV_DbgAssert(means.type() == CV_64FC1); in eStep()

123