Home | History | Annotate | Download | only in src

Lines Matching refs:CvMat

44 //  CvMat, CvMatND, CvSparceMat and IplImage support functions
91 * CvMat creation and basic operations *
94 // Creates CvMat and underlying data
95 CV_IMPL CvMat*
98 CvMat* arr = 0;
116 static void icvCheckHuge( CvMat* arr )
122 // Creates CvMat header only
123 CV_IMPL CvMat*
126 CvMat* arr = 0;
142 CV_CALL( arr = (CvMat*)cvAlloc( sizeof(*arr)));
164 // Initializes CvMat header, allocated by the user
165 CV_IMPL CvMat*
166 cvInitMatHeader( CvMat* arr, int rows, int cols,
218 // Deallocates the CvMat structure and underlying data
220 cvReleaseMat( CvMat** array )
231 CvMat* arr = *array;
247 CV_IMPL CvMat*
248 cvCloneMat( const CvMat* src )
250 CvMat* dst = 0;
256 CV_ERROR( CV_StsBadArg, "Bad CvMat header" );
440 CvMat stub, *mat = (CvMat*)arr;
961 CvMat* mat = (CvMat*)arr;
1058 CvMat* mat = (CvMat*)arr;
1151 CvMat* mat = (CvMat*)arr;
1178 // Retrieves essential information about image ROI or CvMat data
1188 CvMat *mat = (CvMat*)arr;
1271 CvMat*)arr)->type );
1298 CvMat* mat = (CvMat*)arr;
1360 CvMat *mat = (CvMat*)arr;
1419 // Returns the size of CvMat or IplImage
1431 CvMat *mat = (CvMat*)arr;
1453 CV_ERROR( CV_StsBadArg, "Array should be CvMat or IplImage" );
1463 CV_IMPL CvMat*
1464 cvGetSubRect( const CvArr* arr, CvMat* submat, CvRect rect )
1466 CvMat* res = 0;
1472 CvMat stub, *mat = (CvMat*)arr;
1514 CV_IMPL CvMat*
1515 cvGetRows( const CvArr* arr, CvMat* submat,
1518 CvMat* res = 0;
1524 CvMat stub, *mat = (CvMat*)arr;
1573 CV_IMPL CvMat*
1574 cvGetCols( const CvArr* arr, CvMat* submat, int start_col, int end_col )
1576 CvMat* res = 0;
1582 CvMat stub, *mat = (CvMat*)arr;
1622 CV_IMPL CvMat*
1623 cvGetDiag( const CvArr* arr, CvMat* submat, int diag )
1625 CvMat* res = 0;
1631 CvMat stub, *mat = (CvMat*)arr;
1906 CvMat* mat = (CvMat*)arr;
2019 CvMat* mat = (CvMat*)arr;
2207 if( CV_IS_MAT( arr ) && CV_IS_MAT_CONT( ((CvMat*)arr)->type ))
2209 CvMat* mat = (CvMat*)arr;
2250 CvMat* mat = (CvMat*)arr;
2343 if( CV_IS_MAT( arr ) && CV_IS_MAT_CONT( ((CvMat*)arr)->type ))
2345 CvMat* mat = (CvMat*)arr;
2392 CvMat* mat = (CvMat*)arr;
2501 if( CV_IS_MAT( arr ) && CV_IS_MAT_CONT( ((CvMat*)arr)->type ))
2503 CvMat* mat = (CvMat*)arr;
2540 CvMat* mat = (CvMat*)arr;
2617 if( CV_IS_MAT( arr ) && CV_IS_MAT_CONT( ((CvMat*)arr)->type ))
2619 CvMat* mat = (CvMat*)arr;
2659 CvMat* mat = (CvMat*)arr;
2764 * Conversion to CvMat or IplImage *
2767 // convert array (CvMat or IplImage) to CvMat
2768 CV_IMPL CvMat*
2769 cvGetMat( const CvArr* array, CvMat* mat,
2772 CvMat* result = 0;
2773 CvMat* src = (CvMat*)array;
2788 result = (CvMat*)src;
2933 CvMat* mat = (CvMat*)arr;
2934 CvMat* header = (CvMat*)_header;
2939 if( sizeof_header != sizeof(CvMat))
2940 CV_ERROR( CV_StsBadArg, "The header should be CvMat" );
3098 CV_IMPL CvMat*
3099 cvReshape( const CvArr* array, CvMat* header,
3102 CvMat* result = 0;
3107 CvMat *mat = (CvMat*)array;
3181 // convert array (CvMat or IplImage) to IplImage
3199 const CvMat* mat = (const CvMat*)src;