Home
last modified time | relevance | path

Searched refs:CvSparseMat (Results 1 – 18 of 18) sorted by relevance

/external/opencv3/modules/core/src/
Darray.cpp535 CV_IMPL CvSparseMat*
559CvSparseMat* arr = (CvSparseMat*)cvAlloc(sizeof(*arr)+MAX(0,dims-CV_MAX_DIM)*sizeof(arr->size[0])); in cvCreateSparseMat()
586 cvReleaseSparseMat( CvSparseMat** array ) in cvReleaseSparseMat()
593 CvSparseMat* arr = *array; in cvReleaseSparseMat()
609 CV_IMPL CvSparseMat*
610 cvCloneSparseMat( const CvSparseMat* src ) in cvCloneSparseMat()
615 CvSparseMat* dst = cvCreateSparseMat( src->dims, src->size, src->type ); in cvCloneSparseMat()
622 cvInitSparseMatIterator( const CvSparseMat* mat, CvSparseMatIterator* iterator ) in cvInitSparseMatIterator()
633 iterator->mat = (CvSparseMat*)mat; in cvInitSparseMatIterator()
650 icvGetNodePtr( CvSparseMat* mat, const int* idx, int* _type, in icvGetNodePtr()
[all …]
Dcopy.cpp1328 CvSparseMat* src1 = (CvSparseMat*)srcarr; in cvCopy()
1329 CvSparseMat* dst1 = (CvSparseMat*)dstarr; in cvCopy()
1402 CvSparseMat* mat1 = (CvSparseMat*)arr; in cvSetZero()
Dpersistence.cpp3711 const CvSparseMat* mat = (const CvSparseMat*)struct_ptr; in icvWriteSparseMat()
3780 CvSparseMat* mat; in icvReadSparseMat()
5495 Ptr<CvSparseMat> mat(cvCreateSparseMat(value)); in write()
5561 Ptr<CvSparseMat> m((CvSparseMat*)cvRead((CvFileStorage*)node.fs, (CvFileNode*)*node)); in read()
Dmatrix.cpp5416 CvSparseMat* cvCreateSparseMat(const cv::SparseMat& sm) in cvCreateSparseMat()
5421 CvSparseMat* m = cvCreateSparseMat(sm.hdr->dims, sm.hdr->size, sm.type()); in cvCreateSparseMat()
5435 void CvSparseMat::copyToSparseMat(cv::SparseMat& m) const in copyToSparseMat()
/external/opencv/cxcore/src/
Dcxarray.cpp638 CV_IMPL CvSparseMat*
641 CvSparseMat* arr = 0; in cvCreateSparseMat()
668 CV_CALL( arr = (CvSparseMat*)cvAlloc(sizeof(*arr)+MAX(0,dims-CV_MAX_DIM)*sizeof(arr->size[0]))); in cvCreateSparseMat()
700 cvReleaseSparseMat( CvSparseMat** array ) in cvReleaseSparseMat()
711 CvSparseMat* arr = *array; in cvReleaseSparseMat()
728 CV_IMPL CvSparseMat*
729 cvCloneSparseMat( const CvSparseMat* src ) in cvCloneSparseMat()
731 CvSparseMat* dst = 0; in cvCloneSparseMat()
753 cvInitSparseMatIterator( const CvSparseMat* mat, CvSparseMatIterator* iterator ) in cvInitSparseMatIterator()
769 iterator->mat = (CvSparseMat*)mat; in cvInitSparseMatIterator()
[all …]
Dcxcopy.cpp304 CvSparseMat* src1 = (CvSparseMat*)src; in cvCopy()
305 CvSparseMat* dst1 = (CvSparseMat*)dst; in cvCopy()
712 CvSparseMat* mat1 = (CvSparseMat*)mat; in cvSetZero()
Dcxpersistence.cpp3745 const CvSparseMat* mat = (const CvSparseMat*)struct_ptr; in icvWriteSparseMat()
3821 CvSparseMat* mat; in icvReadSparseMat()
/external/opencv3/modules/core/test/
Dtest_io.cpp38 static bool cvTsCheckSparse(const CvSparseMat* m1, const CvSparseMat* m2, double eps) in cvTsCheckSparse()
281 Ptr<CvSparseMat> m_s((CvSparseMat*)fs["test_sparse_mat"].readObj()); in run()
282 Ptr<CvSparseMat> _test_sparse_(cvCreateSparseMat(test_sparse_mat)); in run()
283 Ptr<CvSparseMat> _test_sparse((CvSparseMat*)cvClone(_test_sparse_)); in run()
286 Ptr<CvSparseMat> _m_s2(cvCreateSparseMat(m_s2)); in run()
Dtest_mat.cpp599 static double getValue(const CvSparseMat* M, const int* idx) in getValue()
625 static void eraseValue(CvSparseMat* M, const int* idx) in eraseValue()
814 Ptr<CvSparseMat> M2(cvCreateSparseMat(M)); in run()
/external/opencv/cv/src/
Dcvhistogram.cpp205 CvSparseMat* mat = (CvSparseMat*)hist->bins; in cvThreshHist()
245 CvSparseMat* mat = (CvSparseMat*)hist->bins; in cvNormalizeHist()
338 CvSparseMat* mat = (CvSparseMat*)hist->bins; in cvGetMinMaxHistValue()
513 CvSparseMat* mat1 = (CvSparseMat*)(hist1->bins); in cvCompareHist()
514 CvSparseMat* mat2 = (CvSparseMat*)(hist2->bins); in cvCompareHist()
520 CvSparseMat* t; in cvCompareHist()
1067 CvSparseMat* mat = (CvSparseMat*)(hist->bins); in icvCalcHist_8u_C1R()
1333 CvSparseMat* mat = (CvSparseMat*)(hist->bins); in icvCalcHist_32f_C1R()
1495 CvSparseMat* mat = (CvSparseMat*)(hist->bins); in cvCalcArrHist()
1533 CvSparseMat* mat = (CvSparseMat*)(hist->bins); in cvCalcArrHist()
[all …]
/external/opencv3/modules/imgproc/test/
Dtest_histograms.cpp634 ((CvSparseMat*)hist[0]->bins)->copyToSparseMat(h); in run_func()
719 ((CvSparseMat*)hist[0]->bins)->heap->active_count == 0 ) in prepare_test_case()
732 ((CvSparseMat*)hist[0]->bins)->copyToSparseMat(h); in run_func()
734 cvReleaseSparseMat((CvSparseMat**)&hist[0]->bins); in run_func()
757 CvSparseMat* sparse = (CvSparseMat*)hist[0]->bins; in validate_test_results()
850 CvSparseMat* sparse = (CvSparseMat*)hist[0]->bins; in prepare_test_case()
893 CvSparseMat* sparse = 0; in validate_test_results()
898 sparse = (CvSparseMat*)hist[0]->bins; in validate_test_results()
984 ((CvSparseMat*)hist[0]->bins)->copyToSparseMat(h0); in run_func()
985 ((CvSparseMat*)hist[1]->bins)->copyToSparseMat(h1); in run_func()
[all …]
/external/opencv3/modules/imgproc/src/
Dhistogram.cpp2669 cvReleaseSparseMat( (CvSparseMat**)&temp->bins ); in cvReleaseHist()
2706 CvSparseMat* mat = (CvSparseMat*)hist->bins; in cvThreshHist()
2741 CvSparseMat* mat = (CvSparseMat*)hist->bins; in cvNormalizeHist()
2826 CvSparseMat* mat = (CvSparseMat*)hist->bins; in cvGetMinMaxHistValue()
2920 CvSparseMat* mat1 = (CvSparseMat*)(hist1->bins); in cvCompareHist()
2921 CvSparseMat* mat2 = (CvSparseMat*)(hist2->bins); in cvCompareHist()
2927 CvSparseMat* t; in cvCompareHist()
3030 ((const CvSparseMat*)hist1->bins)->copyToSparseMat(sH1); in cvCompareHist()
3031 ((const CvSparseMat*)hist2->bins)->copyToSparseMat(sH2); in cvCompareHist()
3219 CvSparseMat* sparsemat = (CvSparseMat*)hist->bins; in cvCalcArrHist()
[all …]
/external/opencv3/modules/core/include/opencv2/core/
Dtypes_c.h677 CvSparseMat struct
695 CvSparseMat; argument
698 CV_EXPORTS CvSparseMat* cvCreateSparseMat(const cv::SparseMat& m);
703 (((const CvSparseMat*)(mat))->type & CV_MAGIC_MASK) == CV_SPARSE_MAT_MAGIC_VAL)
719 CvSparseMat* mat;
Dcore_c.h492 CVAPI(CvSparseMat*) cvCreateSparseMat( int dims, const int* sizes, int type );
499 CVAPI(void) cvReleaseSparseMat( CvSparseMat** mat );
502 CVAPI(CvSparseMat*) cvCloneSparseMat( const CvSparseMat* mat );
511 CVAPI(CvSparseNode*) cvInitSparseMatIterator( const CvSparseMat* mat,
2788 template<> CV_EXPORTS void DefaultDeleter<CvSparseMat>::operator ()(CvSparseMat* obj) const;
/external/opencv3/apps/traincascade/
Dold_ml_inner_functions.cpp1186 const CvSparseMat* sparse = (const CvSparseMat*)sample; in cvPreparePredictData()
1451 CvSparseMat** sparse_rows = 0;
1554 CvSparseMat* sparse = (CvSparseMat*)predict_input;
1567 CV_CALL( sparse_rows = (CvSparseMat**)cvAlloc( samples_selected*sizeof(sparse_rows[0])));
/external/opencv/cxcore/include/
Dcxtypes.h746 typedef struct CvSparseMat struct
760 CvSparseMat; argument
764 (((const CvSparseMat*)(mat))->type & CV_MAGIC_MASK) == CV_SPARSE_MAT_MAGIC_VAL)
780 CvSparseMat* mat;
Dcxcore.h255 CVAPI(CvSparseMat*) cvCreateSparseMat( int dims, const int* sizes, int type );
258 CVAPI(void) cvReleaseSparseMat( CvSparseMat** mat );
261 CVAPI(CvSparseMat*) cvCloneSparseMat( const CvSparseMat* mat );
265 CVAPI(CvSparseNode*) cvInitSparseMatIterator( const CvSparseMat* mat,
/external/opencv/ml/src/
Dml_inner_functions.cpp1260 const CvSparseMat* sparse = (const CvSparseMat*)sample; in cvPreparePredictData()
1525 CvSparseMat** sparse_rows = 0;
1628 CvSparseMat* sparse = (CvSparseMat*)predict_input;
1641 CV_CALL( sparse_rows = (CvSparseMat**)cvAlloc( samples_selected*sizeof(sparse_rows[0])));